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

  /external/chromium/chrome/browser/sync/sessions/
ordered_commit_set.h 36 bool HaveCommitItem(const int64 metahandle) const {
37 return inserted_metahandles_.count(metahandle) > 0;
40 void AddCommitItem(const int64 metahandle, const syncable::Id& commit_id,
ordered_commit_set.cc 21 void OrderedCommitSet::AddCommitItem(const int64 metahandle,
24 if (!HaveCommitItem(metahandle)) {
25 inserted_metahandles_.insert(metahandle);
26 metahandle_order_.push_back(metahandle);
  /external/chromium/chrome/browser/sync/engine/
get_commit_ids_command.cc 136 int64 metahandle = iterator.Current(); local
140 metahandle);
162 int64 metahandle = iterator.Current(); local
165 metahandle);
192 ordered_commit_set_->AddCommitItem(metahandle,
225 int64 metahandle = iterator.Current(); local
227 metahandle);
231 ordered_commit_set_->AddCommitItem(metahandle, entry.Get(syncable::ID),
get_commit_ids_command.h 84 bool ValidateMetahandleForCommit(int64 metahandle) {
85 if (commit_set_->HaveCommitItem(metahandle))
91 syncable::GET_BY_HANDLE, metahandle);
process_commit_response_command_unittest.cc 128 int64 metahandle = 0; local
130 &metahandle);
134 commit_set_->AddCommitItem(metahandle, item_id, model_type);
syncer_unittest.cc 412 ValueType GetField(int64 metahandle, FieldType field,
417 Entry entry(&trans, GET_BY_HANDLE, metahandle);
422 EXPECT_EQ(metahandle, entry.Get(META_HANDLE));
427 Id Get(int64 metahandle, syncable::IdField field) const {
428 return GetField(metahandle, field, syncable::kNullId);
431 string Get(int64 metahandle, syncable::StringField field) const {
432 return GetField(metahandle, field, string());
435 int64 Get(int64 metahandle, syncable::Int64Field field) const {
436 return GetField(metahandle, field, syncable::kInvalidMetaHandle);
439 int64 Get(int64 metahandle, syncable::BaseVersion field) const
1413 int64 metahandle; local
3686 int64 metahandle; local
    [all...]
  /external/chromium_org/sync/engine/
get_commit_ids.cc 368 void Traversal::AppendToTraversal(int64 metahandle) {
369 out_->push_back(metahandle);
370 added_handles_.insert(metahandle);
378 int64 metahandle = *iter; local
379 if (HaveItem(metahandle))
384 metahandle);
413 int64 metahandle = *iter; local
414 if (HaveItem(metahandle))
418 metahandle);
442 AppendToTraversal(metahandle);
470 int64 metahandle = *iter; local
    [all...]
commit_util.h 57 int64 metahandle,
commit_util.cc 369 int64 metahandle,
374 metahandle);
syncer_unittest.cc 3239 int64 metahandle; local
    [all...]
  /external/chromium_org/sync/syncable/
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);
directory.cc 129 const int64 metahandle = entry->ref(META_HANDLE); local
131 kernel_->unsynced_metahandles.insert(metahandle);
134 kernel_->unapplied_update_metahandles[type].insert(metahandle);
244 EntryKernel* Directory::GetEntryByHandle(int64 metahandle) {
246 return GetEntryByHandle(metahandle, &lock);
249 EntryKernel* Directory::GetEntryByHandle(int64 metahandle,
253 kernel_->metahandles_map.find(metahandle);
982 int64 metahandle = *i; local
1121 int64 metahandle = (kernel_->next_metahandle)++; local
    [all...]
entry.cc 36 Entry::Entry(BaseTransaction* trans, GetByHandle, int64 metahandle)
38 kernel_ = trans->directory()->GetEntryByHandle(metahandle);
mutable_entry.cc 90 int64 metahandle)
91 : ModelNeutralMutableEntry(trans, GET_BY_HANDLE, metahandle),
directory_backing_store.cc 184 SQL_FROM_HERE, "DELETE FROM metas WHERE metahandle = ?"));
188 SQL_FROM_HERE, "DELETE FROM deleted_metas WHERE metahandle = ?"));
580 "SELECT MAX(metahandle) FROM metas"));
666 "SELECT metahandle, %s, %s FROM metas", specifics_column, old_columns);
668 "UPDATE metas SET %s = ? WHERE metahandle = ?", specifics_column);
674 int64 metahandle = query.ColumnInt64(0); local
683 update.BindInt64(1, metahandle);
1074 int64 metahandle = get_positions.ColumnInt64(0); local
1195 int64 metahandle = get.ColumnInt64(0); local
    [all...]
directory.h 327 // Get metahandle counts for various criteria to show on the
372 virtual EntryKernel* GetEntryByHandle(int64 metahandle,
417 // Entries indexed by metahandle. This container is considered to be the
468 // The next metahandle is protected by kernel mutex.
syncable_unittest.cc 474 bool IsInDirtyMetahandles(int64 metahandle) {
475 return 1 == dir_->kernel_->dirty_metahandles.count(metahandle);
478 bool IsInMetahandlesToPurge(int64 metahandle) {
479 return 1 == dir_->kernel_->metahandles_to_purge.count(metahandle);
623 // Make sure there's an entry for each new metahandle. Make sure all
656 // Make sure there's an entry for each new metahandle. Make sure all
745 // Make sure there's an entry for each changed metahandle. Make sure all
    [all...]
directory_backing_store_unittest.cc 252 // Returns a map from metahandle -> expected legacy time (in proto
275 // Returns a map from metahandle -> expected time (in proto format).
297 // Returns a map from metahandle -> expected time (as a Time object).
310 // Extracts a map from metahandle -> time (in proto format) from the
315 "SELECT metahandle, mtime, server_mtime, ctime, server_ctime "
320 int64 metahandle = s.ColumnInt64(0); local
328 meta_times[metahandle] = mtime;
365 // the given map (from metahandle to expect time).
391 "CREATE TABLE extended_attributes(metahandle bigint, key varchar(127), "
392 "value blob, PRIMARY KEY(metahandle, key) ON CONFLICT REPLACE);
    [all...]
  /external/chromium_org/sync/internal_api/test/
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;
  /external/chromium/chrome/browser/sync/syncable/
syncable.cc 454 // So, we just iterate over the items in sorted metahandle order,
465 EntryKernel* Directory::GetEntryByHandle(int64 metahandle) {
467 return GetEntryByHandle(metahandle, &lock);
470 EntryKernel* Directory::GetEntryByHandle(int64 metahandle,
473 kernel_->needle.put(META_HANDLE, metahandle);
1009 int64 metahandle = *i; local
1688 int64 metahandle = (kernel_->next_metahandle)++; local
    [all...]
syncable_unittest.cc 351 bool IsInDirtyMetahandles(int64 metahandle) {
352 return 1 == dir_->kernel_->dirty_metahandles->count(metahandle);
355 bool IsInMetahandlesToPurge(int64 metahandle) {
356 return 1 == dir_->kernel_->metahandles_to_purge->count(metahandle);
472 // Make sure there's an entry for each new metahandle. Make sure all
505 // Make sure there's an entry for each new metahandle. Make sure all
667 // Make sure there's an entry for each changed metahandle. Make sure all
1434 int64 metahandle; member in struct:syncable::__anon4951::Step
    [all...]
directory_backing_store.cc 334 string query = "DELETE FROM metas WHERE metahandle IN (";
629 "SELECT MAX(metahandle) FROM metas");
667 static const char delete_metas[] = "DELETE FROM metas WHERE metahandle IN "
668 "(SELECT metahandle from death_row)";
674 "CREATE TEMP TABLE death_row (metahandle BIGINT)")) {
679 "SELECT metahandle from metas WHERE is_del > 0 "
743 std::string query_sql = StringPrintf("SELECT metahandle, %s, %s FROM metas",
746 "UPDATE metas SET %s = ? WHERE metahandle = ?", specifics_column);
750 int64 metahandle = query.column_int64(0); local
761 update.bind_int64(1, metahandle);
    [all...]
syncable.h 236 // Set the dirty bit, and optionally add this entry's metahandle to
247 // Clear the dirty bit, and optionally remove this entry's metahandle from
570 // Traits type for metahandle index.
572 // This index is of the metahandle field values.
601 // This index contains EntryKernels ordered by parent ID and metahandle.
604 // This index is of the parent ID and metahandle. We use a custom
800 virtual EntryKernel* GetEntryByHandle(int64 metahandle,
    [all...]

Completed in 587 milliseconds