HomeSort by relevance Sort by last modified time
    Searched refs:PARENT_ID (Results 1 - 25 of 49) sorted by null

1 2

  /external/chromium/chrome/browser/sync/engine/
conflict_resolver.cc 76 if (!entry.Get(syncable::PARENT_ID).ServerKnows()) {
106 bool parent_matches = entry.Get(syncable::PARENT_ID) ==
180 if (entryi.Get(syncable::PARENT_ID) ==
201 parentid = parent.Get(syncable::PARENT_ID);
220 Id parentid = entry.Get(syncable::PARENT_ID);
239 id = parent.Get(syncable::PARENT_ID);
253 id = parent.Get(syncable::PARENT_ID);
266 Id parent_id = entry.Get(syncable::SERVER_PARENT_ID);
267 MutableEntry parent(trans, syncable::GET_BY_ID, parent_id);
269 !binary_search(conflict_set->begin(), conflict_set->end(), parent_id)) {
327 Id parent_id = entry.Get(syncable::PARENT_ID); local
    [all...]
get_commit_ids_command.cc 51 syncable::Id parent_id,
57 while (!parent_id.ServerKnows()) {
58 Entry parent(trans, GET_BY_ID, parent_id);
69 parent_id = parent.Get(PARENT_ID);
143 entry.Get(syncable::PARENT_ID), routes);
169 entry.Get(syncable::PARENT_ID));
187 entry.Get(syncable::PARENT_ID) !=
203 legal_delete_parents.insert(entry.Get(syncable::PARENT_ID));
229 syncable::Id parent_id = entry.Get(syncable::PARENT_ID) local
    [all...]
build_and_process_conflict_sets_command.cc 115 entry.Put(syncable::PARENT_ID, backup->ref(syncable::PARENT_ID));
141 entry.Put(syncable::PARENT_ID, trans->root_id());
246 entry.Get(syncable::PARENT_ID) != entry.Get(syncable::SERVER_PARENT_ID);
263 syncable::Id parent_id = entry->Get(syncable::SERVER_PARENT_ID); local
264 syncable::Entry parent(trans, syncable::GET_BY_ID, parent_id);
272 while (!parent_id.IsRoot()) {
273 syncable::Entry parent(trans, syncable::GET_BY_ID, parent_id);
276 << parent_id << " entry: " << *entry;
280 entry->Get(syncable::PARENT_ID) !
322 syncable::Id parent_id = parent.Get(syncable::PARENT_ID); local
356 syncable::Id parent_id = entry.Get(syncable::PARENT_ID); local
396 syncable::Id parent_id = entry->Get(syncable::SERVER_PARENT_ID); local
    [all...]
syncer_unittest.cc 78 using syncable::PARENT_ID;
270 syncable::Id parent_id; member in struct:browser_sync::SyncerTest::CommitOrderingTest
292 MutableEntry entry(&trans, CREATE, test->parent_id, name);
298 entry.Put(SERVER_PARENT_ID, test->parent_id);
519 entry_b.Put(PARENT_ID, entry_x.Get(ID));
520 entry_c.Put(PARENT_ID, entry_x.Get(ID));
522 entry_d.Put(PARENT_ID, entry_b.Get(ID));
523 entry_e.Put(PARENT_ID, entry_c.Get(ID));
1198 string parent_id = "0"; local
1954 syncable::Id parent_id = ids_.NewServerId(); local
2212 syncable::Id parent_id = ids_.NewServerId(); local
3576 syncable::Id parent_id = ids_.MakeServer("Parent"); local
    [all...]
build_commit_command.cc 134 !meta_entry.Get(syncable::PARENT_ID).ServerKnows()) {
137 new_parent_id = meta_entry.Get(syncable::PARENT_ID);
syncer_util.cc 46 using syncable::PARENT_ID;
98 // and PREV_ID fields (which Put(PARENT_ID) would normally do to
272 if (entry->Get(PARENT_ID) != new_parent) {
411 target->Put(SERVER_PARENT_ID, update.parent_id());
497 if (entry->Get(PARENT_ID) != entry->Get(SERVER_PARENT_ID) ||
563 entry->Put(PARENT_ID, entry->Get(SERVER_PARENT_ID));
582 if (id == entry->Get(PARENT_ID)) {
669 syncable::Id id = entry.Get(PARENT_ID);
679 id = parent.Get(PARENT_ID);
    [all...]
process_commit_response_command.cc 35 using syncable::PARENT_ID;
395 local_entry->Get(syncable::PARENT_ID));
437 // value we got applies to the PARENT_ID we submitted.
439 local_entry->Get(PARENT_ID));
verify_updates_command_unittest.cc 42 const std::string& parent_id,
54 entry.Put(syncable::PARENT_ID, Id::CreateFromServerId(parent_id));
syncer_proto_util.cc 29 using syncable::PARENT_ID;
283 if (local_entry.Get(PARENT_ID) != server_entry.parent_id()) {
345 return StringPrintf("id: %s, parent_id: %s, "
  /external/chromium_org/sync/syncable/
parent_child_index.cc 59 const syncable::Id& parent_id = entry->ref(PARENT_ID); local
61 ParentChildrenMap::iterator i = parent_children_map_.find(parent_id);
66 parent_children_map_.insert(std::make_pair(parent_id, children));
77 parent_children_map_.find(e->ref(PARENT_ID));
92 const syncable::Id& parent_id = e->ref(PARENT_ID); local
94 parent_children_map_.find(parent_id);
parent_child_index_unittest.cc 53 root->put(PARENT_ID, syncable::Id());
69 folder->put(PARENT_ID, syncable::Id());
84 bm->put(PARENT_ID, GetBookmarkRootId());
107 item->put(PARENT_ID, syncable::Id());
182 f1_b1->put(PARENT_ID, GetBookmarkId(1));
184 f1_b2->put(PARENT_ID, GetBookmarkId(1));
188 f2_b1->put(PARENT_ID, GetBookmarkId(2));
252 f1_b1->put(PARENT_ID, GetBookmarkId(1));
254 f1_b2->put(PARENT_ID, GetBookmarkId(1));
258 f2_b1->put(PARENT_ID, GetBookmarkId(2))
    [all...]
syncable_enum_conversions.cc 79 ENUM_CASE(PARENT_ID);
syncable_util.cc 44 ancestor_id = new_parent.Get(PARENT_ID);
directory.cc 262 BaseTransaction* trans, const Id& parent_id,
270 AppendChildHandles(lock, parent_id, result);
336 kernel_->parent_child_index.GetChildren(kernel->ref(PARENT_ID));
422 // Update the indices that depend on the PARENT_ID field.
425 entry->put(PARENT_ID, new_parent_id);
    [all...]
  /external/chromium_org/sync/engine/
get_commit_ids_command.cc 147 if (id == entry.Get(syncable::PARENT_ID)) {
191 syncable::Id parent_id = item.Get(syncable::PARENT_ID); local
194 while (!parent_id.ServerKnows()) {
195 syncable::Entry parent(trans, syncable::GET_BY_ID, parent_id);
213 parent_id = parent.Get(syncable::PARENT_ID);
346 entry.Get(syncable::PARENT_ID));
364 entry.Get(syncable::PARENT_ID) !=
380 legal_delete_parents.insert(entry.Get(syncable::PARENT_ID));
405 syncable::Id parent_id = entry.Get(syncable::PARENT_ID); local
    [all...]
syncer_util.cc 56 using syncable::PARENT_ID;
237 if (entry->Get(PARENT_ID) != new_parent) {
452 entry->Put(PARENT_ID, entry->Get(SERVER_PARENT_ID));
466 if (id == entry->Get(PARENT_ID)) {
509 syncable::Id id = entry.Get(PARENT_ID);
519 id = parent.Get(PARENT_ID);
build_commit_command.cc 164 !meta_entry.Get(syncable::PARENT_ID).ServerKnows()) {
167 new_parent_id = meta_entry.Get(syncable::PARENT_ID);
process_commit_response_command_unittest.cc 73 ModelType model_type, const Id& parent_id) {
77 ASSERT_EQ(parent_id, e->Get(syncable::PARENT_ID));
88 const Id& parent_id,
96 test_entry_factory_->CreateUnsyncedItem(item_id, parent_id, name,
115 SyncableIdToProto(entry.Get(syncable::PARENT_ID)));
286 // these items PARENT_ID should be updated, and their ordering should be
341 ASSERT_EQ(new_fid, c.Get(syncable::PARENT_ID));
conflict_resolver.cc 94 bool parent_matches = entry.Get(syncable::PARENT_ID) ==
  /external/chromium/chrome/browser/sync/syncable/
syncable_enum_conversions.cc 68 ENUM_CASE(PARENT_ID);
syncable.cc 154 int cmp = a->ref(PARENT_ID).compare(b->ref(PARENT_ID));
483 void Directory::GetChildHandles(BaseTransaction* trans, const Id& parent_id,
491 for (iterator i = GetParentChildIndexLowerBound(lock, parent_id),
492 end = GetParentChildIndexUpperBound(lock, parent_id);
494 DCHECK_EQ(parent_id, (*i)->ref(PARENT_ID));
559 // Update the indices that depend on the PARENT_ID field.
562 entry->put(PARENT_ID, new_parent_id);
    [all...]
  /external/chromium_org/chrome/browser/history/android/
android_history_types.h 43 PARENT_ID,
142 void set_parent_id(int64 parent_id) {
143 set_value_explicitly(PARENT_ID);
144 parent_id_ = parent_id;
146 const int64 parent_id() const { function in class:history::HistoryAndBookmarkRow
bookmark_model_sql_handler.cc 45 int64 parent_id) {
49 const BookmarkNode* parent = bookmark_model->GetNodeByID(parent_id);
109 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::PARENT_ID)) {
114 i->url, url_row.title(), row.parent_id()));
157 if (row->is_value_set_explicitly(HistoryAndBookmarkRow::PARENT_ID)) {
162 row->url(), row->title(), row->parent_id()));
  /packages/apps/Gallery2/src/com/android/photos/data/
PhotoDatabase.java 60 // Albums.PARENT_ID is a foreign key to Albums._ID
61 { Albums.PARENT_ID, "INTEGER" },
69 createUniqueConstraint(Albums.PARENT_ID, Albums.TITLE),
  /external/chromium_org/sync/internal_api/
write_node.cc 353 syncable::Id parent_id = parent.GetEntry()->Get(syncable::ID); local
361 parent_id, dummy);
392 syncable::Id parent_id = parent.GetEntry()->Get(syncable::ID); local
429 existing_entry->Put(syncable::PARENT_ID, parent_id);
437 model_type, parent_id, dummy);
467 if (new_parent_id == entry_->Get(syncable::PARENT_ID)) {
477 if (!entry_->Put(syncable::PARENT_ID, new_parent_id))

Completed in 267 milliseconds

1 2