HomeSort by relevance Sort by last modified time
    Searched refs:UniquePosition (Results 1 - 23 of 23) sorted by null

  /external/chromium_org/sync/internal_api/public/base/
unique_position.h 14 class UniquePosition;
21 // Valid UniquePosition objects have the following properties:
25 // - if a < b, there is a UniquePosition such that a < x < b (density);
31 // UniquePosition value has to change to represent the new order, and all other
41 class SYNC_EXPORT_PRIVATE UniquePosition {
50 static UniquePosition CreateInvalid();
52 // Converts from a 'sync_pb::UniquePosition' protobuf to a UniquePosition.
54 static UniquePosition FromProto(const sync_pb::UniquePosition& proto)
    [all...]
unique_position_unittest.cc 32 size_t GetLength(const UniquePosition& pos) {
33 sync_pb::UniquePosition proto;
41 static UniquePosition FromBytes(const std::string& bytes) {
42 sync_pb::UniquePosition proto;
44 return UniquePosition::FromProto(proto);
47 const size_t kMinLength = UniquePosition::kSuffixLength;
55 const UniquePosition kGenericPredecessor = FromBytes(
57 const UniquePosition kGenericSuccessor = FromBytes(
59 const UniquePosition kBigPosition = FromBytes(
61 const UniquePosition kBigPositionLessTwo = FromBytes
    [all...]
unique_position.cc 16 const size_t UniquePosition::kSuffixLength = 28;
17 const size_t UniquePosition::kCompressBytesThreshold = 128;
20 bool UniquePosition::IsValidSuffix(const std::string& suffix) {
28 bool UniquePosition::IsValidBytes(const std::string& bytes) {
39 UniquePosition UniquePosition::CreateInvalid() {
40 UniquePosition pos;
46 UniquePosition UniquePosition::FromProto(const sync_pb::UniquePosition& proto)
    [all...]
  /external/chromium_org/sync/syncable/
parent_child_index.cc 18 const UniquePosition& a_pos = a->ref(UNIQUE_POSITION);
19 const UniquePosition& b_pos = b->ref(UNIQUE_POSITION);
entry_kernel.h 185 UniquePosition unique_position_fields[UNIQUE_POSITION_FIELDS_COUNT];
253 inline void put(UniquePositionField field, const UniquePosition& value) {
291 inline const UniquePosition& ref(UniquePositionField field) const {
308 inline UniquePosition& mutable_ref(UniquePositionField field) {
model_neutral_mutable_entry.h 73 void PutServerUniquePosition(const UniquePosition& value);
mutable_entry.h 54 void PutUniquePosition(const UniquePosition& value);
entry.h 189 const UniquePosition& GetServerUniquePosition() const {
194 const UniquePosition& GetUniquePosition() const {
mutable_entry.cc 70 kernel_->put(UNIQUE_POSITION, UniquePosition::InitialPosition(unique_tag));
214 void MutableEntry::PutUniquePosition(const UniquePosition& value) {
directory.cc     [all...]
model_neutral_mutable_entry.cc 275 if (!UniquePosition::IsValidSuffix(tag)) {
284 // the UniquePosition migration.
344 const UniquePosition& value) {
parent_child_index_unittest.cc 91 UniquePosition unique_pos =
92 UniquePosition::FromInt64(pos, bm->ref(UNIQUE_BOOKMARK_TAG));
directory_backing_store.cc 108 sync_pb::UniquePosition proto;
115 UniquePosition::FromProto(proto);
    [all...]
entry_kernel.cc 128 base::StringValue* UniquePositionToValue(const UniquePosition& pos) {
184 // UniquePosition fields
syncable_unittest.cc     [all...]
directory_backing_store_unittest.cc     [all...]
  /external/chromium_org/sync/engine/
syncer_util.h 61 UniquePosition GetUpdatePosition(const sync_pb::SyncEntity& update,
syncer_util.cc 288 UniquePosition GetUpdatePosition(const sync_pb::SyncEntity& update,
290 DCHECK(UniquePosition::IsValidSuffix(suffix));
292 return UniquePosition::CreateInvalid();
294 return UniquePosition::FromProto(update.unique_position());
296 return UniquePosition::FromInt64(update.position_in_parent(), suffix);
298 return UniquePosition::CreateInvalid();
335 if (UniquePosition::IsValidSuffix(bookmark_tag)) {
340 UniquePosition update_pos =
process_updates_util.cc 285 if (UniquePosition::IsValidSuffix(update_tag)) {
commit_util.cc 297 UniquePosition::FromProto(
sync_directory_update_handler_unittest.cc 142 EXPECT_TRUE(UniquePosition::IsValidSuffix(entry.GetUniqueBookmarkTag()));
syncer_unittest.cc 745 UniquePosition pos1;
746 UniquePosition pos2;
747 UniquePosition pos3;
    [all...]
  /external/chromium_org/sync/protocol/
proto_value_conversions.cc 744 const sync_pb::UniquePosition& proto) {
745 UniquePosition pos = UniquePosition::FromProto(proto);
    [all...]

Completed in 224 milliseconds