Lines Matching full:parent_id
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);
1013 syncable::Id parentid = e.Get(PARENT_ID);
1036 parentid = parent.Get(PARENT_ID);
1281 Id Entry::ComputePrevIdFromServerPosition(const Id& parent_id) const {
1282 return dir()->ComputePrevIdFromServerPosition(kernel_, parent_id);
1357 const Id& parent_id, const string& name)
1360 Init(trans, parent_id, name);
1364 void MutableEntry::Init(WriteTransaction* trans, const Id& parent_id,
1371 kernel_->put(PARENT_ID, parent_id);
1475 } else if (PARENT_ID == field) {
1486 void MutableEntry::PutParentIdPropertyOnly(const Id& parent_id) {
1487 dir()->ReindexParentId(kernel_, parent_id);
1655 if (predecessor.Get(PARENT_ID) != Get(PARENT_ID))
1661 successor_id = dir->GetFirstChildId(trans(), Get(PARENT_ID));
1666 if (successor.Get(PARENT_ID) != Get(PARENT_ID))
1706 const Id& parent_id) {
1712 GetParentChildIndexLowerBound(lock, parent_id);
1714 GetParentChildIndexUpperBound(lock, parent_id);
1735 const Id& parent_id) {
1741 GetParentChildIndexLowerBound(lock, parent_id);
1743 GetParentChildIndexUpperBound(lock, parent_id);
1767 const syncable::Id& parent_id) {
1773 parent_id, entry->ref(SERVER_POSITION_IN_PARENT), entry->ref(ID));
1775 GetParentChildIndexLowerBound(lock, parent_id);
1821 ancestor_id = new_parent.Get(PARENT_ID);
1877 const Id& parent_id,
1880 kernel_->needle.put(PARENT_ID, parent_id);
1888 const Id& parent_id) {
1891 return LocateInParentChildIndex(lock, parent_id,
1899 const Id& parent_id) {
1900 // The upper bound of |parent_id|'s range is the lower
1901 // bound of |++parent_id|'s range.
1903 parent_id.GetLexicographicSuccessor());