/external/chromium_org/sync/syncable/ |
H A D | directory_unittest.h | 85 bool IsInDirtyMetahandles(int64 metahandle); 86 bool IsInMetahandlesToPurge(int64 metahandle);
|
H A D | model_neutral_mutable_entry.cc | 53 BaseWriteTransaction* trans, GetByHandle, int64 metahandle) 54 : Entry(trans, GET_BY_HANDLE, metahandle), base_write_transaction_(trans) { 308 const int64 metahandle = kernel_->ref(META_HANDLE); local 311 .erase(metahandle); 322 const int64 metahandle = kernel_->ref(META_HANDLE); local 324 .insert(metahandle); 52 ModelNeutralMutableEntry( BaseWriteTransaction* trans, GetByHandle, int64 metahandle) argument
|
H A D | directory.cc | 142 const int64 metahandle = entry->ref(META_HANDLE); local 144 kernel_->unsynced_metahandles.insert(metahandle); 147 kernel_->unapplied_update_metahandles[type].insert(metahandle); 165 AddToAttachmentIndex(lock, metahandle, entry->ref(ATTACHMENT_METADATA)); 263 EntryKernel* Directory::GetEntryByHandle(int64 metahandle) { argument 265 return GetEntryByHandle(lock, metahandle); 269 int64 metahandle) { 272 kernel_->metahandles_map.find(metahandle); 430 const int64 metahandle, 438 iter->second.erase(metahandle); 268 GetEntryByHandle(const ScopedKernelLock& lock, int64 metahandle) argument 428 RemoveFromAttachmentIndex( const ScopedKernelLock& lock, const int64 metahandle, const sync_pb::AttachmentMetadata& attachment_metadata) argument 446 AddToAttachmentIndex( const ScopedKernelLock& lock, const int64 metahandle, const sync_pb::AttachmentMetadata& attachment_metadata) argument 464 UpdateAttachmentIndex( const int64 metahandle, const sync_pb::AttachmentMetadata& old_metadata, const sync_pb::AttachmentMetadata& new_metadata) argument 1162 int64 metahandle = *i; local 1301 int64 metahandle = (kernel_->next_metahandle)++; local [all...] |
H A D | directory.h | 344 // Get metahandle counts for various criteria to show on the 451 // Entries indexed by metahandle. This container is considered to be the 513 // The next metahandle is protected by kernel mutex. 530 int64 metahandle); 550 // Update the attachment index for |metahandle| removing it from the index 552 void UpdateAttachmentIndex(const int64 metahandle, 556 // Remove each of |metahandle|'s attachment ids from index_by_attachment_id. 559 const int64 metahandle, 562 // Add each of |metahandle|'s attachment ids to the index_by_attachment_id. 565 const int64 metahandle, [all...] |
H A D | entry.cc | 37 Entry::Entry(BaseTransaction* trans, GetByHandle, int64 metahandle) argument 39 kernel_ = trans->directory()->GetEntryByHandle(metahandle);
|
H A D | mutable_entry.cc | 90 int64 metahandle) 91 : ModelNeutralMutableEntry(trans, GET_BY_HANDLE, metahandle), 89 MutableEntry(WriteTransaction* trans, GetByHandle, int64 metahandle) argument
|
H A D | directory_backing_store.cc | 203 SQL_FROM_HERE, "DELETE FROM metas WHERE metahandle = ?")); 207 SQL_FROM_HERE, "DELETE FROM deleted_metas WHERE metahandle = ?")); 625 "SELECT MAX(metahandle) FROM metas")); 711 "SELECT metahandle, %s, %s FROM metas", specifics_column, old_columns); 713 "UPDATE metas SET %s = ? WHERE metahandle = ?", specifics_column); 719 int64 metahandle = query.ColumnInt64(0); local 728 update.BindInt64(1, metahandle); 1112 "SELECT metahandle, server_position_in_parent FROM metas")); 1116 "WHERE metahandle = ?")); 1119 int64 metahandle local 1240 int64 metahandle = get.ColumnInt64(0); local [all...] |
H A D | directory_unittest.cc | 189 bool SyncableDirectoryTest::IsInDirtyMetahandles(int64 metahandle) { argument 190 return 1 == dir_->kernel_->dirty_metahandles.count(metahandle); 193 bool SyncableDirectoryTest::IsInMetahandlesToPurge(int64 metahandle) { argument 194 return 1 == dir_->kernel_->metahandles_to_purge.count(metahandle); 290 // Make sure there's an entry for each new metahandle. Make sure all 326 // Make sure there's an entry for each new metahandle. Make sure all 420 // Make sure there's an entry for each changed metahandle. Make sure all
|
H A D | directory_backing_store_unittest.cc | 255 // Returns a map from metahandle -> expected legacy time (in proto 278 // Returns a map from metahandle -> expected time (in proto format). 300 // Returns a map from metahandle -> expected time (as a Time object). 313 // Extracts a map from metahandle -> time (in proto format) from the 318 "SELECT metahandle, mtime, server_mtime, ctime, server_ctime " 323 int64 metahandle = s.ColumnInt64(0); local 331 meta_times[metahandle] = mtime; 368 // the given map (from metahandle to expect time). 394 "CREATE TABLE extended_attributes(metahandle bigint, key varchar(127), " 395 "value blob, PRIMARY KEY(metahandle, ke [all...] |
/external/chromium_org/sync/engine/ |
H A D | commit_util.h | 57 int64 metahandle,
|
H A D | get_commit_ids.cc | 457 void Traversal::AppendToTraversal(int64 metahandle) { argument 458 out_->push_back(metahandle); 459 added_handles_.insert(metahandle); 467 int64 metahandle = *iter; local 468 if (HaveItem(metahandle)) 473 metahandle); 501 int64 metahandle = *iter; local 503 if (HaveItem(metahandle)) 506 if (std::find(deletion_list.begin(), deletion_list.end(), metahandle) != 512 metahandle); [all...] |
H A D | commit_util.cc | 400 int64 metahandle, 405 metahandle); 396 ProcessSingleCommitResponse( syncable::BaseWriteTransaction* trans, const sync_pb::CommitResponse_EntryResponse& server_entry, const sync_pb::SyncEntity& commit_request_entry, int64 metahandle, set<syncable::Id>* deleted_folders) argument
|
H A D | syncer_unittest.cc | 812 // some GetCommitIds edge cases, since it uses metahandle ordering as 3476 int64 metahandle; local 3482 metahandle = entry.GetMetahandle(); 3500 EXPECT_NE(entry.GetMetahandle(), metahandle); 3971 // This should cause client tag reunion, preserving the metahandle. 3982 // metahandle; client should have won the conflict resolution. 4002 // metahandle; client should have won the conflict resolution.
|
/external/chromium_org/sync/internal_api/test/ |
H A D | test_entry_factory.cc | 127 int64 metahandle = 0; local 130 name, false, BOOKMARKS, &metahandle); local 133 MutableEntry entry(&trans, syncable::GET_BY_HANDLE, metahandle); 142 return metahandle;
|