Home
last modified time | relevance | path

Searched refs:META_HANDLE (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/sync/syncable/
Dentry_kernel.h49 META_HANDLE = INT64_FIELDS_BEGIN enumerator
55 BASE_VERSION = META_HANDLE + 1,
214 DCHECK_NE(0, ref(META_HANDLE)); in mark_dirty()
215 dirty_index->insert(ref(META_HANDLE)); in mark_dirty()
225 DCHECK_NE(0, ref(META_HANDLE)); in clear_dirty()
226 dirty_index->erase(ref(META_HANDLE)); in clear_dirty()
361 return a->ref(META_HANDLE) < b->ref(META_HANDLE); in operator()
Dsyncable_delete_journal.cc46 delete_journals_to_purge_.erase(t->ref(META_HANDLE)); in UpdateDeleteJournalForServerDelete()
58 delete_journals_to_purge_.insert((*it)->ref(META_HANDLE)); in UpdateDeleteJournalForServerDelete()
62 delete_journals_to_purge_.insert(entry.ref(META_HANDLE)); in UpdateDeleteJournalForServerDelete()
86 int64 handle = (*it)->ref(META_HANDLE); in PurgeDeleteJournals()
128 delete_journals_to_purge_.erase((*i)->ref(META_HANDLE)); in AddJournalBatch()
Dsyncable_enum_conversions.cc28 ASSERT_ENUM_BOUNDS(META_HANDLE, META_HANDLE, in GetMetahandleFieldString()
31 ENUM_CASE(META_HANDLE); in GetMetahandleFieldString()
39 META_HANDLE + 1, SERVER_VERSION - 1); in GetBaseVersionString()
Dmodel_neutral_mutable_entry.cc34 kernel->put(META_HANDLE, trans->directory()->NextMetahandle()); in ModelNeutralMutableEntry()
133 if (!SyncAssert(index->insert(kernel_->ref(META_HANDLE)).second, in PutIsUnsynced()
140 if (!SyncAssert(1U == index->erase(kernel_->ref(META_HANDLE)), in PutIsUnsynced()
165 if (!SyncAssert(index->insert(kernel_->ref(META_HANDLE)).second, in PutIsUnappliedUpdate()
172 if (!SyncAssert(1U == index->erase(kernel_->ref(META_HANDLE)), in PutIsUnappliedUpdate()
308 const int64 metahandle = kernel_->ref(META_HANDLE); in PutServerSpecifics()
322 const int64 metahandle = kernel_->ref(META_HANDLE); in PutServerSpecifics()
Dsyncable_enum_conversions_unittest.cc32 GetMetahandleFieldString, INT64_FIELDS_BEGIN, META_HANDLE); in TEST_F()
37 GetBaseVersionString, META_HANDLE + 1, BASE_VERSION); in TEST_F()
Dparent_child_index_unittest.cc48 root->put(META_HANDLE, 1); in MakeRoot()
63 folder->put(META_HANDLE, 1); in MakeBookmarkRoot()
79 bm->put(META_HANDLE, n); in MakeBookmark()
102 item->put(META_HANDLE, n); in MakeUniqueClientItem()
Ddirectory.cc134 const int64 metahandle = entry->ref(META_HANDLE); in InitializeIndices()
351 std::make_pair(entry->ref(META_HANDLE), entry)).second, in InsertEntry()
374 entry->ref(META_HANDLE), entry->ref(ATTACHMENT_METADATA), *lock); in InsertEntry()
499 int64 handle = entry->ref(META_HANDLE); in SafeToPurgeFromMemory()
596 kernel_->metahandles_map.find((*i)->ref(META_HANDLE)); in VacuumAfterSaveChanges()
603 num_erased = kernel_->metahandles_map.erase(entry->ref(META_HANDLE)); in VacuumAfterSaveChanges()
623 entry->ref(META_HANDLE), entry->ref(ATTACHMENT_METADATA), lock); in VacuumAfterSaveChanges()
634 int64 handle = entry->ref(META_HANDLE); in UnapplyEntry()
686 int64 handle = entry->ref(META_HANDLE); in DeleteEntry()
693 num_erased = kernel_->metahandles_map.erase(entry->ref(META_HANDLE)); in DeleteEntry()
[all …]
Dsyncable_model_neutral_write_transaction.cc29 modified_handles_.insert(entry->ref(META_HANDLE)); in TrackChangesTo()
Dentry_kernel.cc148 INT64_FIELDS_BEGIN, META_HANDLE); in ToValue()
151 META_HANDLE + 1, BASE_VERSION); in ToValue()
Ddirectory_backing_store_unittest.cc3510 ASSERT_EQ(1, it->second->ref(META_HANDLE)); in TEST_P()
3526 ASSERT_EQ(6, it->second->ref(META_HANDLE)); in TEST_P()
3540 ASSERT_EQ(7, it->second->ref(META_HANDLE)); in TEST_P()
3551 ASSERT_EQ(8, it->second->ref(META_HANDLE)); in TEST_P()
3563 ASSERT_EQ(9, it->second->ref(META_HANDLE)); in TEST_P()
3574 ASSERT_EQ(10, it->second->ref(META_HANDLE)); in TEST_P()
3594 ASSERT_EQ(11, it->second->ref(META_HANDLE)); in TEST_P()
3616 ASSERT_EQ(12, it->second->ref(META_HANDLE)); in TEST_P()
3634 ASSERT_EQ(13, it->second->ref(META_HANDLE)); in TEST_P()
3642 ASSERT_EQ(14, it->second->ref(META_HANDLE)); in TEST_P()
[all …]
Dsyncable_write_transaction.cc40 const int64 handle = entry->ref(META_HANDLE); in TrackChangesTo()
Dentry.h70 return kernel_->ref(META_HANDLE); in GetMetahandle()
Dmutable_entry.cc30 kernel->put(META_HANDLE, trans->directory_->NextMetahandle()); in Init()
Ddirectory_unittest.cc501 tmp.put(META_HANDLE, handle1); in TEST_F()
503 tmp.put(META_HANDLE, handle2); in TEST_F()
531 tmp.put(META_HANDLE, handle1); in TEST_F()
Ddirectory_backing_store.cc551 int64 handle = kernel->ref(META_HANDLE); in LoadEntries()
/external/chromium_org/sync/internal_api/
Ddelete_journal.cc23 delete_journal_list->back().id = (*i)->ref(syncer::syncable::META_HANDLE); in GetBookmarkDeleteJournals()
Dsync_manager_impl.cc777 entries_changed->push_back(it->second.mutated.ref(syncable::META_HANDLE)); in HandleCalculateChangesChangeEventFromSyncApi()
/external/chromium_org/sync/engine/
Dsyncer_util.cc55 using syncable::META_HANDLE;