/external/chromium_org/net/spdy/ |
D | spdy_priority_tree.h | 59 NodeId parent_id; member 94 bool AddNode(NodeId node_id, NodeId parent_id, int weight, bool exclusive); 119 bool SetParent(NodeId node_id, NodeId parent_id, bool exclusive); 122 bool HasChild(NodeId parent_id, NodeId child_id) const; 163 root_node->parent_id = static_cast<NodeId>(kRootNodeId); in SpdyPriorityTree() 174 parent_id(kRootNodeId), in Node() 208 NodeId parent_id, in AddNode() argument 211 if (NodeExists(node_id) || !NodeExists(parent_id)) { in AddNode() 217 Node* parent = &all_nodes_[parent_id]; in AddNode() 221 new_node->parent_id = parent_id; in AddNode() [all …]
|
D | spdy_priority_forest.h | 51 bool AddNonRootNode(NodeId node_id, NodeId parent_id, bool unordered); 84 bool SetParent(NodeId node_id, NodeId parent_id, bool unordered); 122 NodeId parent_id; // used for non-root nodes member 181 NodeId node_id, NodeId parent_id, bool unordered) { in AddNonRootNode() argument 182 if (NodeExists(node_id) || !NodeExists(parent_id)) { in AddNonRootNode() 186 Node* parent = &all_nodes_[parent_id]; in AddNonRootNode() 193 new_node->depends_on.parent_id = parent_id; in AddNonRootNode() 208 DCHECK(NodeExists(node.depends_on.parent_id)); in RemoveNode() 209 Node* parent = &all_nodes_[node.depends_on.parent_id]; in RemoveNode() 219 DCHECK_EQ(node_id, child->depends_on.parent_id); in RemoveNode() [all …]
|
/external/chromium_org/content/browser/fileapi/ |
D | sandbox_directory_database_unittest.cc | 58 FileId parent_id, const base::FilePath::StringType& name) { in AddFileInfo() argument 61 info.parent_id = parent_id; in AddFileInfo() 66 void CreateDirectory(FileId parent_id, in CreateDirectory() argument 70 info.parent_id = parent_id; in CreateDirectory() 75 void CreateFile(FileId parent_id, in CreateFile() argument 82 info.parent_id = parent_id; in CreateFile() 117 void MakeHierarchyLink(FileId parent_id, in MakeHierarchyLink() argument 122 "CHILD_OF:" + base::Int64ToString(parent_id) + ":" + in MakeHierarchyLink() 133 "CHILD_OF:" + base::Int64ToString(file_info.parent_id) + ":" + in DeleteHierarchyLink() 156 EXPECT_EQ(0, info.parent_id); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
D | context_menus_api_helpers.h | 25 if (!property.parent_id) in GetParentId() 28 scoped_ptr<extensions::MenuItem::Id> parent_id( in GetParentId() 30 if (property.parent_id->as_integer) in GetParentId() 31 parent_id->uid = *property.parent_id->as_integer; in GetParentId() 32 else if (property.parent_id->as_string) in GetParentId() 33 parent_id->string_uid = *property.parent_id->as_string; in GetParentId() 36 return parent_id.Pass(); in GetParentId() 53 MenuItem* GetParent(MenuItem::Id parent_id, 206 scoped_ptr<MenuItem::Id> parent_id(GetParentId( in CreateMenuItem() 208 if (parent_id.get()) { in CreateMenuItem() [all …]
|
D | context_menus_api_helpers.cc | 38 MenuItem* GetParent(MenuItem::Id parent_id, in GetParent() argument 41 MenuItem* parent = menu_manager->GetItemById(parent_id); in GetParent() 44 kCannotFindItemError, GetIDString(parent_id)); in GetParent()
|
/external/chromium_org/sync/test/engine/ |
D | test_syncable_utils.cc | 22 const syncable::Id& parent_id, in CountEntriesWithName() argument 25 rtrans->directory()->GetChildHandlesById(rtrans, parent_id, &child_handles); in CountEntriesWithName() 43 const syncable::Id& parent_id, in GetFirstEntryWithName() argument 46 rtrans->directory()->GetChildHandlesById(rtrans, parent_id, &child_handles); in GetFirstEntryWithName() 62 const syncable::Id& parent_id, in GetOnlyEntryWithName() argument 64 CHECK(1 == CountEntriesWithName(rtrans, parent_id, name)); in GetOnlyEntryWithName() 65 return GetFirstEntryWithName(rtrans, parent_id, name); in GetOnlyEntryWithName()
|
D | mock_connection_manager.cc | 202 int parent_id, in AddUpdateDirectory() argument 209 TestIdFactory::FromNumber(parent_id), in AddUpdateDirectory() 232 int id, int parent_id, in AddUpdateBookmark() argument 238 TestIdFactory::FromNumber(parent_id), in AddUpdateBookmark() 248 int parent_id, in AddUpdateSpecifics() argument 257 TestIdFactory::FromNumber(parent_id).GetServerId(), in AddUpdateSpecifics() 267 int parent_id, in AddUpdateSpecifics() argument 277 id, parent_id, name, version, sync_ts, is_dir, position, specifics); in AddUpdateSpecifics() 305 string parent_id, in AddUpdatePref() argument 310 AddUpdateMeta(id, parent_id, " ", version, sync_ts); in AddUpdatePref() [all …]
|
D | mock_connection_manager.h | 63 syncable::Id parent_id, 70 syncable::Id parent_id, 79 int parent_id, 86 int parent_id, 95 std::string parent_id, 102 std::string parent_id, 111 int parent_id, 120 int parent_id, 136 std::string parent_id,
|
D | test_syncable_utils.h | 28 const syncable::Id& parent_id, 33 const syncable::Id& parent_id, 39 const syncable::Id& parent_id,
|
/external/libmtp/examples/ |
D | sendfile.c | 57 uint32_t parent_id = 0; in sendfile_function() local 67 parent_id = parse_path (to_path,files,folders); in sendfile_function() 68 if (parent_id == -1) { in sendfile_function() 77 genfile->parent_id = parent_id; in sendfile_function()
|
/external/chromium_org/sync/internal_api/test/ |
D | test_entry_factory.cc | 34 const string& parent_id) { in CreateUnappliedNewItemWithParent() argument 43 entry.PutServerParentId(Id::CreateFromServerId(parent_id)); in CreateUnappliedNewItemWithParent() 52 const string& parent_id) { in CreateUnappliedNewBookmarkItemWithParent() argument 61 entry.PutServerParentId(Id::CreateFromServerId(parent_id)); in CreateUnappliedNewBookmarkItemWithParent() 91 const Id& parent_id, in CreateUnsyncedItem() argument 102 MutableEntry entry(&trans, syncable::CREATE, model_type, parent_id, name); in CreateUnsyncedItem() 110 entry.PutParentId(parent_id); in CreateUnsyncedItem() 118 entry.PutServerParentId(parent_id); in CreateUnsyncedItem() 149 syncable::Id parent_id(TestIdFactory::root()); in CreateSyncedItem() local 153 MutableEntry entry(&trans, syncable::CREATE, model_type, parent_id, name); in CreateSyncedItem() [all …]
|
/external/chromium_org/storage/browser/fileapi/ |
D | sandbox_directory_database.cc | 38 if (pickle->WriteInt64(info.parent_id) && in PickleFromFileInfo() 55 if (pickle.ReadInt64(&iter, &info->parent_id) && in FileInfoFromPickle() 94 storage::SandboxDirectoryDatabase::FileId parent_id, in GetChildLookupKey() argument 98 return std::string(kChildLookupPrefix) + base::Int64ToString(parent_id) + in GetChildLookupKey() 103 storage::SandboxDirectoryDatabase::FileId parent_id) { in GetChildListingKeyPrefix() argument 104 return std::string(kChildLookupPrefix) + base::Int64ToString(parent_id) + in GetChildListingKeyPrefix() 336 if (file_info.parent_id != 0 || in ScanHierarchy() 359 if (file_info.parent_id != dir_id) in ScanHierarchy() 407 SandboxDirectoryDatabase::FileInfo::FileInfo() : parent_id(0) { in FileInfo() 424 FileId parent_id, in GetChildWithName() argument [all …]
|
D | sandbox_directory_database.h | 55 FileId parent_id; member 70 FileId parent_id, 76 bool ListChildren(FileId parent_id, std::vector<FileId>* children);
|
/external/chromium_org/sync/test/fake_server/ |
D | bookmark_entity.cc | 33 const string& parent_id, in CreateNew() argument 51 parent_id, in CreateNew() 60 const string& parent_id) { in CreateUpdatedVersion() argument 80 parent_id, in CreateUpdatedVersion() 94 const string& parent_id, in BookmarkEntity() argument 103 parent_id_(parent_id), in BookmarkEntity()
|
D | permanent_entity.cc | 42 string parent_id = FakeServerEntity::CreateId(model_type, parent_server_tag); in Create() local 48 parent_id, in Create() 89 const string& parent_id, in PermanentEntity() argument 94 parent_id_(parent_id), in PermanentEntity()
|
D | bookmark_entity.h | 27 const std::string& parent_id, 37 const std::string& parent_id); 47 const std::string& parent_id,
|
D | fake_server.cc | 319 string parent_id) { in CommitEntity() argument 346 parent_id); in CommitEntity() 348 entity = BookmarkEntity::CreateNew(client_entity, parent_id, client_guid); in CommitEntity() 427 string parent_id = client_entity.parent_id_string(); in HandleCommitRequest() local 428 if (client_to_server_ids.find(parent_id) != in HandleCommitRequest() 430 parent_id = client_to_server_ids[parent_id]; in HandleCommitRequest() 436 parent_id); in HandleCommitRequest()
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
D | metadata_database_index_on_disk.cc | 110 int64 parent_id, const std::string& title) { in GenerateActiveTrackerIDByParentAndTitleKey() argument 112 oss << kActiveTrackerIDByParentAndTitleKeyPrefix << parent_id in GenerateActiveTrackerIDByParentAndTitleKey() 118 int64 parent_id, const std::string& title) { in GenerateTrackerIDByParentAndTitleKeyPrefix() argument 120 oss << kTrackerIDByParentAndTitleKeyPrefix << parent_id << '\0' in GenerateTrackerIDByParentAndTitleKeyPrefix() 125 std::string GenerateTrackerIDsByParentIDKeyPrefix(int64 parent_id) { in GenerateTrackerIDsByParentIDKeyPrefix() argument 127 oss << kTrackerIDByParentAndTitleKeyPrefix << parent_id << '\0'; in GenerateTrackerIDsByParentIDKeyPrefix() 132 int64 parent_id, const std::string& title) { in GenerateMultiBackingParentAndTitleKey() argument 134 oss << kMultiBackingParentAndTitleKeyPrefix << parent_id << '\0' in GenerateMultiBackingParentAndTitleKey() 428 int64 parent_id) const { in GetFileTrackerIDsByParent() 431 const std::string prefix = GenerateTrackerIDsByParentIDKeyPrefix(parent_id); in GetFileTrackerIDsByParent() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | menu_manager.cc | 272 scoped_ptr<Id> parent_id( in Populate() local 275 if (!value.GetString(kParentUIDKey, &parent_id->string_uid)) in Populate() 277 result->parent_id_.swap(parent_id); in Populate() 374 bool MenuManager::AddChildItem(const MenuItem::Id& parent_id, in AddChildItem() argument 376 MenuItem* parent = GetItemById(parent_id); in AddChildItem() 393 MenuItem::Id* id = item->parent_id(); in DescendantOf() 403 id = next->parent_id(); in DescendantOf() 409 const MenuItem::Id* parent_id) { in ChangeParent() argument 411 MenuItem* new_parent = parent_id ? GetItemById(*parent_id) : NULL; in ChangeParent() 412 if ((parent_id && (child_id == *parent_id)) || !child || in ChangeParent() [all …]
|
/external/chromium_org/sync/syncable/ |
D | parent_child_index.cc | 59 const syncable::Id& parent_id = entry->ref(PARENT_ID); in Insert() local 61 ParentChildrenMap::iterator i = parent_children_map_.find(parent_id); in Insert() 66 parent_children_map_.insert(std::make_pair(parent_id, children)); in Insert() 92 const syncable::Id& parent_id = e->ref(PARENT_ID); in Contains() local 94 parent_children_map_.find(parent_id); in Contains()
|
/external/chromium_org/chrome/browser/android/provider/ |
D | chrome_browser_provider.h | 48 jlong parent_id); 63 jlong parent_id); 76 jlong parent_id); 95 jlong parent_id, 138 jlong parent_id);
|
D | chrome_browser_provider.cc | 202 const int64 parent_id) { in Run() argument 206 model(), title, url, is_folder, parent_id, &result)); in Run() 214 const int64 parent_id, in RunOnUIThread() argument 224 if (parent_id >= 0) in RunOnUIThread() 225 parent_node = bookmarks::GetBookmarkNodeByID(model, parent_id); in RunOnUIThread() 319 const int64 parent_id) { in Run() argument 323 model(), id, title, url, parent_id)); in Run() 331 const int64 parent_id) { in RunOnUIThread() argument 344 if (parent_id >= 0 && in RunOnUIThread() 345 (!node->parent() || parent_id != node->parent()->id())) { in RunOnUIThread() [all …]
|
/external/chromium_org/tools/grit/grit/format/ |
D | rc_header.py | 149 parent_id = long(parent_text) 151 parent_id = tids[parent_text] 153 id = parent_id + offset_id 154 reason = 'first_id %d + offset %d' % (parent_id, offset_id)
|
/external/chromium_org/sync/internal_api/public/test/ |
D | test_entry_factory.h | 30 const std::string& parent_id); 35 const std::string& parent_id); 48 const syncable::Id& parent_id,
|
/external/chromium_org/sync/engine/ |
D | get_commit_ids.cc | 292 syncable::Id parent_id = item.GetParentId(); in AddUncommittedParentsAndTheirPredecessors() local 295 while (!parent_id.ServerKnows()) { in AddUncommittedParentsAndTheirPredecessors() 296 syncable::Entry parent(trans_, syncable::GET_BY_ID, parent_id); in AddUncommittedParentsAndTheirPredecessors() 313 parent_id = parent.GetParentId(); in AddUncommittedParentsAndTheirPredecessors() 397 syncable::Id parent_id = item.GetParentId(); in AddDeletedParents() local 400 while (!parent_id.IsRoot()) { in AddDeletedParents() 401 syncable::Entry parent(trans_, syncable::GET_BY_ID, parent_id); in AddDeletedParents() 435 parent_id = parent.GetParentId(); in AddDeletedParents()
|