UniquePosition 297 sync/engine/commit_util.cc UniquePosition::FromProto( UniquePosition 151 sync/engine/directory_update_handler_unittest.cc EXPECT_TRUE(UniquePosition::IsValidSuffix(entry.GetUniqueBookmarkTag())); UniquePosition 237 sync/engine/process_updates_util.cc if (UniquePosition::IsValidSuffix(update_tag)) { UniquePosition 746 sync/engine/syncer_unittest.cc UniquePosition pos1; UniquePosition 747 sync/engine/syncer_unittest.cc UniquePosition pos2; UniquePosition 748 sync/engine/syncer_unittest.cc UniquePosition pos3; UniquePosition 288 sync/engine/syncer_util.cc UniquePosition GetUpdatePosition(const sync_pb::SyncEntity& update, UniquePosition 290 sync/engine/syncer_util.cc DCHECK(UniquePosition::IsValidSuffix(suffix)); UniquePosition 292 sync/engine/syncer_util.cc return UniquePosition::CreateInvalid(); UniquePosition 294 sync/engine/syncer_util.cc return UniquePosition::FromProto(update.unique_position()); UniquePosition 296 sync/engine/syncer_util.cc return UniquePosition::FromInt64(update.position_in_parent(), suffix); UniquePosition 298 sync/engine/syncer_util.cc return UniquePosition::CreateInvalid(); UniquePosition 335 sync/engine/syncer_util.cc if (UniquePosition::IsValidSuffix(bookmark_tag)) { UniquePosition 340 sync/engine/syncer_util.cc UniquePosition update_pos = UniquePosition 61 sync/engine/syncer_util.h UniquePosition GetUpdatePosition(const sync_pb::SyncEntity& update, UniquePosition 16 sync/internal_api/public/base/unique_position.cc const size_t UniquePosition::kSuffixLength = 28; UniquePosition 17 sync/internal_api/public/base/unique_position.cc const size_t UniquePosition::kCompressBytesThreshold = 128; UniquePosition 20 sync/internal_api/public/base/unique_position.cc bool UniquePosition::IsValidSuffix(const std::string& suffix) { UniquePosition 28 sync/internal_api/public/base/unique_position.cc bool UniquePosition::IsValidBytes(const std::string& bytes) { UniquePosition 39 sync/internal_api/public/base/unique_position.cc UniquePosition UniquePosition::CreateInvalid() { UniquePosition 40 sync/internal_api/public/base/unique_position.cc UniquePosition pos; UniquePosition 46 sync/internal_api/public/base/unique_position.cc UniquePosition UniquePosition::FromProto(const sync_pb::UniquePosition& proto) { UniquePosition 48 sync/internal_api/public/base/unique_position.cc return UniquePosition(proto.custom_compressed_v1()); UniquePosition 50 sync/internal_api/public/base/unique_position.cc return UniquePosition(Compress(proto.value())); UniquePosition 63 sync/internal_api/public/base/unique_position.cc return UniquePosition::CreateInvalid(); UniquePosition 69 sync/internal_api/public/base/unique_position.cc return UniquePosition::CreateInvalid(); UniquePosition 71 sync/internal_api/public/base/unique_position.cc return UniquePosition(Compress(un_gzipped)); UniquePosition 73 sync/internal_api/public/base/unique_position.cc return UniquePosition::CreateInvalid(); UniquePosition 78 sync/internal_api/public/base/unique_position.cc UniquePosition UniquePosition::FromInt64( UniquePosition 87 sync/internal_api/public/base/unique_position.cc return UniquePosition(bytes + suffix, suffix); UniquePosition 91 sync/internal_api/public/base/unique_position.cc UniquePosition UniquePosition::InitialPosition( UniquePosition 94 sync/internal_api/public/base/unique_position.cc return UniquePosition(suffix, suffix); UniquePosition 98 sync/internal_api/public/base/unique_position.cc UniquePosition UniquePosition::Before( UniquePosition 99 sync/internal_api/public/base/unique_position.cc const UniquePosition& x, UniquePosition 105 sync/internal_api/public/base/unique_position.cc return UniquePosition(before + suffix, suffix); UniquePosition 109 sync/internal_api/public/base/unique_position.cc UniquePosition UniquePosition::After( UniquePosition 110 sync/internal_api/public/base/unique_position.cc const UniquePosition& x, UniquePosition 116 sync/internal_api/public/base/unique_position.cc return UniquePosition(after + suffix, suffix); UniquePosition 120 sync/internal_api/public/base/unique_position.cc UniquePosition UniquePosition::Between( UniquePosition 121 sync/internal_api/public/base/unique_position.cc const UniquePosition& before, UniquePosition 122 sync/internal_api/public/base/unique_position.cc const UniquePosition& after, UniquePosition 132 sync/internal_api/public/base/unique_position.cc return UniquePosition(mid + suffix, suffix); UniquePosition 135 sync/internal_api/public/base/unique_position.cc UniquePosition::UniquePosition() : is_valid_(false) {} UniquePosition 137 sync/internal_api/public/base/unique_position.cc bool UniquePosition::LessThan(const UniquePosition& other) const { UniquePosition 144 sync/internal_api/public/base/unique_position.cc bool UniquePosition::Equals(const UniquePosition& other) const { UniquePosition 151 sync/internal_api/public/base/unique_position.cc void UniquePosition::ToProto(sync_pb::UniquePosition* proto) const { UniquePosition 163 sync/internal_api/public/base/unique_position.cc void UniquePosition::SerializeToString(std::string* blob) const { UniquePosition 165 sync/internal_api/public/base/unique_position.cc sync_pb::UniquePosition proto; UniquePosition 170 sync/internal_api/public/base/unique_position.cc int64 UniquePosition::ToInt64() const { UniquePosition 188 sync/internal_api/public/base/unique_position.cc bool UniquePosition::IsValid() const { UniquePosition 192 sync/internal_api/public/base/unique_position.cc std::string UniquePosition::ToDebugString() const { UniquePosition 208 sync/internal_api/public/base/unique_position.cc std::string UniquePosition::GetSuffixForTest() const { UniquePosition 214 sync/internal_api/public/base/unique_position.cc std::string UniquePosition::FindSmallerWithSuffix( UniquePosition 247 sync/internal_api/public/base/unique_position.cc std::string UniquePosition::FindGreaterWithSuffix( UniquePosition 283 sync/internal_api/public/base/unique_position.cc std::string UniquePosition::FindBetweenWithSuffix( UniquePosition 362 sync/internal_api/public/base/unique_position.cc UniquePosition::UniquePosition(const std::string& internal_rep) UniquePosition 367 sync/internal_api/public/base/unique_position.cc UniquePosition::UniquePosition( UniquePosition 513 sync/internal_api/public/base/unique_position.cc std::string UniquePosition::Compress(const std::string& str) { UniquePosition 523 sync/internal_api/public/base/unique_position.cc std::string UniquePosition::CompressImpl(const std::string& str) { UniquePosition 574 sync/internal_api/public/base/unique_position.cc std::string UniquePosition::Uncompress(const std::string& str) { UniquePosition 594 sync/internal_api/public/base/unique_position.cc bool UniquePosition::IsValidCompressed(const std::string& str) { UniquePosition 14 sync/internal_api/public/base/unique_position.h class UniquePosition; UniquePosition 41 sync/internal_api/public/base/unique_position.h class SYNC_EXPORT_PRIVATE UniquePosition { UniquePosition 50 sync/internal_api/public/base/unique_position.h static UniquePosition CreateInvalid(); UniquePosition 54 sync/internal_api/public/base/unique_position.h static UniquePosition FromProto(const sync_pb::UniquePosition& proto); UniquePosition 59 sync/internal_api/public/base/unique_position.h static UniquePosition FromInt64(int64 i, const std::string& suffix); UniquePosition 62 sync/internal_api/public/base/unique_position.h static UniquePosition InitialPosition(const std::string& suffix); UniquePosition 66 sync/internal_api/public/base/unique_position.h static UniquePosition Before(const UniquePosition& x, UniquePosition 68 sync/internal_api/public/base/unique_position.h static UniquePosition After(const UniquePosition& x, UniquePosition 70 sync/internal_api/public/base/unique_position.h static UniquePosition Between(const UniquePosition& before, UniquePosition 71 sync/internal_api/public/base/unique_position.h const UniquePosition& after, UniquePosition 75 sync/internal_api/public/base/unique_position.h UniquePosition(); UniquePosition 77 sync/internal_api/public/base/unique_position.h bool LessThan(const UniquePosition& other) const; UniquePosition 78 sync/internal_api/public/base/unique_position.h bool Equals(const UniquePosition& other) const; UniquePosition 81 sync/internal_api/public/base/unique_position.h void ToProto(sync_pb::UniquePosition* proto) const; UniquePosition 120 sync/internal_api/public/base/unique_position.h explicit UniquePosition(const std::string& internal_rep); UniquePosition 124 sync/internal_api/public/base/unique_position.h UniquePosition(const std::string& uncompressed, const std::string& suffix); UniquePosition 32 sync/internal_api/public/base/unique_position_unittest.cc size_t GetLength(const UniquePosition& pos) { UniquePosition 33 sync/internal_api/public/base/unique_position_unittest.cc sync_pb::UniquePosition proto; UniquePosition 41 sync/internal_api/public/base/unique_position_unittest.cc static UniquePosition FromBytes(const std::string& bytes) { UniquePosition 42 sync/internal_api/public/base/unique_position_unittest.cc sync_pb::UniquePosition proto; UniquePosition 44 sync/internal_api/public/base/unique_position_unittest.cc return UniquePosition::FromProto(proto); UniquePosition 47 sync/internal_api/public/base/unique_position_unittest.cc const size_t kMinLength = UniquePosition::kSuffixLength; UniquePosition 55 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kGenericPredecessor = FromBytes( UniquePosition 57 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kGenericSuccessor = FromBytes( UniquePosition 59 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kBigPosition = FromBytes( UniquePosition 61 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kBigPositionLessTwo = FromBytes( UniquePosition 63 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kBiggerPosition = FromBytes( UniquePosition 65 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kSmallPosition = FromBytes( UniquePosition 67 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kSmallPositionPlusOne = FromBytes( UniquePosition 69 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kHugePosition = FromBytes( UniquePosition 70 sync/internal_api/public/base/unique_position_unittest.cc std::string(UniquePosition::kCompressBytesThreshold, '\xFF') + '\xAB'); UniquePosition 73 sync/internal_api/public/base/unique_position_unittest.cc std::string(UniquePosition::kSuffixLength - 1, '\x00') + '\x01'; UniquePosition 74 sync/internal_api/public/base/unique_position_unittest.cc const std::string kMaxSuffix(UniquePosition::kSuffixLength, '\xFF'); UniquePosition 81 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition &m, UniquePosition 82 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition &n) { UniquePosition 93 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition &m, UniquePosition 94 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition &n) { UniquePosition 115 sync/internal_api/public/base/unique_position_unittest.cc sync_pb::UniquePosition proto; UniquePosition 123 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition pos = UniquePosition::FromProto(proto); UniquePosition 137 sync/internal_api/public/base/unique_position_unittest.cc sync_pb::UniquePosition proto; UniquePosition 145 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition pos = UniquePosition::FromProto(proto); UniquePosition 151 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kPositionArray[] = { UniquePosition 161 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition kSortedPositionArray[] = { UniquePosition 175 sync/internal_api/public/base/unique_position_unittest.cc bool operator()(const UniquePosition& a, const UniquePosition& b) { UniquePosition 182 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition& pos, const std::string& suffix) { UniquePosition 188 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition& a = kPositionArray[0]; UniquePosition 198 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition& a = kPositionArray[0]; UniquePosition 199 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition& b = kPositionArray[1]; UniquePosition 210 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition positions[arraysize(kPositionArray)]; UniquePosition 228 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition positions[arraysize(kPositionArray)]; UniquePosition 250 sync/internal_api/public/base/unique_position_unittest.cc ASSERT_TRUE(UniquePosition::IsValidSuffix(suffix)); UniquePosition 253 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition& predecessor = kSortedPositionArray[i]; UniquePosition 259 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition& successor = kSortedPositionArray[j]; UniquePosition 265 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition midpoint = UniquePosition 266 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition::Between(predecessor, successor, suffix); UniquePosition 277 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition& successor = kSortedPositionArray[i]; UniquePosition 282 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition before = UniquePosition::Before(successor, suffix); UniquePosition 291 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition& predecessor = kSortedPositionArray[i]; UniquePosition 296 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition after = UniquePosition::After(predecessor, suffix); UniquePosition 308 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition pos = UniquePosition::InitialPosition(suffix_a); UniquePosition 311 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition next_pos = UniquePosition::After(pos, suffix); UniquePosition 325 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition pos = UniquePosition::InitialPosition(suffix_a); UniquePosition 328 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition prev_pos = UniquePosition::Before(pos, suffix); UniquePosition 344 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition right_pos = UniquePosition::InitialPosition(suffix_c); UniquePosition 345 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition left_pos = UniquePosition::Before(right_pos, suffix_a); UniquePosition 348 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition new_pos = UniquePosition 349 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition::Between(left_pos, right_pos, suffix); UniquePosition 366 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition right_pos = UniquePosition::InitialPosition(suffix_a); UniquePosition 367 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition left_pos = UniquePosition::Before(right_pos, suffix_c); UniquePosition 370 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition new_pos = UniquePosition 371 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition::Between(left_pos, right_pos, suffix); UniquePosition 430 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition pos = UniquePosition 431 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition::InitialPosition(NextClient1Suffix()); UniquePosition 434 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition new_pos = UniquePosition::After(pos, suffix); UniquePosition 450 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition pos = UniquePosition 451 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition::InitialPosition(NextClient1Suffix()); UniquePosition 460 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition new_pos = UniquePosition::After(pos, suffix); UniquePosition 471 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition pos = UniquePosition 472 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition::InitialPosition(NextClient1Suffix()); UniquePosition 481 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition new_pos = UniquePosition::After(pos, suffix); UniquePosition 546 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition pos = UniquePosition 547 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition::FromInt64(kTestValues[i], NextSuffix()); UniquePosition 555 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition pos = UniquePosition 556 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition::FromInt64(kTestValues[i], NextSuffix()); UniquePosition 577 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition positions[kNumTestValues]; UniquePosition 582 sync/internal_api/public/base/unique_position_unittest.cc positions[i] = UniquePosition::FromInt64( UniquePosition 590 sync/internal_api/public/base/unique_position_unittest.cc IndexedLessThan<UniquePosition, PositionLessThan>(positions)); UniquePosition 617 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition MakePosition(const std::string& compressed_prefix, UniquePosition 622 sync/internal_api/public/base/unique_position_unittest.cc std::vector<UniquePosition> positions_; UniquePosition 625 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition CompressedPositionTest::MakePosition( UniquePosition 628 sync/internal_api/public/base/unique_position_unittest.cc sync_pb::UniquePosition proto; UniquePosition 631 sync/internal_api/public/base/unique_position_unittest.cc return UniquePosition::FromProto(proto); UniquePosition 640 sync/internal_api/public/base/unique_position_unittest.cc for (size_t i = 0; i < UniquePosition::kSuffixLength; ++i) { UniquePosition 643 sync/internal_api/public/base/unique_position_unittest.cc suffix[UniquePosition::kSuffixLength-1] = unique_value; UniquePosition 649 sync/internal_api/public/base/unique_position_unittest.cc for (std::vector<UniquePosition>::const_iterator it = positions_.begin(); UniquePosition 653 sync/internal_api/public/base/unique_position_unittest.cc sync_pb::UniquePosition proto; UniquePosition 655 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition deserialized = UniquePosition::FromProto(proto); UniquePosition 665 sync/internal_api/public/base/unique_position_unittest.cc sync_pb::UniquePosition proto; UniquePosition 666 sync/internal_api/public/base/unique_position_unittest.cc UniquePosition deserialized = UniquePosition::FromProto(proto); UniquePosition 785 sync/protocol/proto_value_conversions.cc const sync_pb::UniquePosition& proto) { UniquePosition 786 sync/protocol/proto_value_conversions.cc UniquePosition pos = UniquePosition::FromProto(proto); UniquePosition 1246 sync/syncable/directory.cc UniquePosition pos = UniquePosition::InitialPosition(suffix); UniquePosition 1253 sync/syncable/directory.cc UniquePosition successor_pos = (*siblings->begin())->ref(UNIQUE_POSITION); UniquePosition 1255 sync/syncable/directory.cc UniquePosition pos; UniquePosition 1262 sync/syncable/directory.cc pos = UniquePosition::InitialPosition(suffix); UniquePosition 1265 sync/syncable/directory.cc pos = UniquePosition::Before(successor_pos, suffix); UniquePosition 1283 sync/syncable/directory.cc UniquePosition pos = UniquePosition::After( UniquePosition 1298 sync/syncable/directory.cc UniquePosition pos = UniquePosition::Between( UniquePosition 108 sync/syncable/directory_backing_store.cc sync_pb::UniquePosition proto; UniquePosition 115 sync/syncable/directory_backing_store.cc UniquePosition::FromProto(proto); UniquePosition 1237 sync/syncable/directory_backing_store.cc UniquePosition position; UniquePosition 1267 sync/syncable/directory_backing_store.cc position = UniquePosition::FromInt64(int_position, unique_bookmark_tag); UniquePosition 3535 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ(UniquePosition::kSuffixLength, UniquePosition 3611 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ(UniquePosition::kSuffixLength, UniquePosition 3629 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ(UniquePosition::kSuffixLength, UniquePosition 3637 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ(UniquePosition::kSuffixLength, UniquePosition 3645 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ(UniquePosition::kSuffixLength, UniquePosition 189 sync/syncable/entry.h const UniquePosition& GetServerUniquePosition() const { UniquePosition 194 sync/syncable/entry.h const UniquePosition& GetUniquePosition() const { UniquePosition 128 sync/syncable/entry_kernel.cc base::StringValue* UniquePositionToValue(const UniquePosition& pos) { UniquePosition 199 sync/syncable/entry_kernel.h UniquePosition unique_position_fields[UNIQUE_POSITION_FIELDS_COUNT]; UniquePosition 269 sync/syncable/entry_kernel.h inline void put(UniquePositionField field, const UniquePosition& value) { UniquePosition 312 sync/syncable/entry_kernel.h inline const UniquePosition& ref(UniquePositionField field) const { UniquePosition 333 sync/syncable/entry_kernel.h inline UniquePosition& mutable_ref(UniquePositionField field) { UniquePosition 275 sync/syncable/model_neutral_mutable_entry.cc if (!UniquePosition::IsValidSuffix(tag)) { UniquePosition 344 sync/syncable/model_neutral_mutable_entry.cc const UniquePosition& value) { UniquePosition 73 sync/syncable/model_neutral_mutable_entry.h void PutServerUniquePosition(const UniquePosition& value); UniquePosition 70 sync/syncable/mutable_entry.cc kernel_->put(UNIQUE_POSITION, UniquePosition::InitialPosition(unique_tag)); UniquePosition 214 sync/syncable/mutable_entry.cc void MutableEntry::PutUniquePosition(const UniquePosition& value) { UniquePosition 54 sync/syncable/mutable_entry.h void PutUniquePosition(const UniquePosition& value); UniquePosition 18 sync/syncable/parent_child_index.cc const UniquePosition& a_pos = a->ref(UNIQUE_POSITION); UniquePosition 19 sync/syncable/parent_child_index.cc const UniquePosition& b_pos = b->ref(UNIQUE_POSITION); UniquePosition 91 sync/syncable/parent_child_index_unittest.cc UniquePosition unique_pos = UniquePosition 92 sync/syncable/parent_child_index_unittest.cc UniquePosition::FromInt64(pos, bm->ref(UNIQUE_BOOKMARK_TAG)); UniquePosition 1515 sync/syncable/syncable_unittest.cc std::string(UniquePosition::kSuffixLength - null_str.length(), '\x7f') UniquePosition 1517 sync/syncable/syncable_unittest.cc UniquePosition null_pos = UniquePosition::FromInt64(10, suffix); UniquePosition 91 sync/test/fake_server/bookmark_entity.cc const sync_pb::UniquePosition& unique_position, UniquePosition 125 sync/test/fake_server/bookmark_entity.cc sync_pb::UniquePosition* unique_position = UniquePosition 52 sync/test/fake_server/bookmark_entity.h const sync_pb::UniquePosition& unique_position, UniquePosition 62 sync/test/fake_server/bookmark_entity.h sync_pb::UniquePosition unique_position_;