Home
last modified time | relevance | path

Searched refs:node_id (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/net/spdy/
Dspdy_priority_forest.h42 bool NodeExists(NodeId node_id) const;
46 bool AddRootNode(NodeId node_id, Priority priority);
51 bool AddNonRootNode(NodeId node_id, NodeId parent_id, bool unordered);
55 bool RemoveNode(NodeId node_id);
59 Priority GetPriority(NodeId node_id) const;
63 NodeId GetParent(NodeId node_id) const;
68 bool IsNodeUnordered(NodeId node_id) const;
72 NodeId GetChild(NodeId node_id) const;
77 bool SetPriority(NodeId node_id, Priority priority);
84 bool SetParent(NodeId node_id, NodeId parent_id, bool unordered);
[all …]
Dspdy_priority_tree.h86 bool NodeExists(NodeId node_id) const;
94 bool AddNode(NodeId node_id, NodeId parent_id, int weight, bool exclusive);
98 bool RemoveNode(NodeId node_id);
101 int GetWeight(NodeId node_id) const;
105 NodeId GetParent(NodeId node_id) const;
109 std::list<NodeId>* GetChildren(NodeId node_id) const;
112 bool SetWeight(NodeId node_id, int weight);
119 bool SetParent(NodeId node_id, NodeId parent_id, bool exclusive);
126 bool SetBlocked(NodeId node_id, bool blocked);
131 bool SetReady(NodeId node_id, bool ready);
[all …]
Dspdy_priority_forest_test.cc218 const uint32 node_id = forest.NextNodeToRead(); in TEST() local
219 ASSERT_TRUE(node_id == 1 || node_id == 5 || node_id == 7) in TEST()
220 << "node_id is " << node_id; in TEST()
221 ++counts[node_id]; in TEST()
259 const uint32 node_id = forest.NextNodeToWrite(); in TEST() local
260 ASSERT_TRUE(node_id == 2 || node_id == 4 || node_id == 6) in TEST()
261 << "node_id is " << node_id; in TEST()
262 ++counts[node_id]; in TEST()
/external/chromium_org/chromeos/dbus/
Dcras_audio_client_stub_impl.cc85 void CrasAudioClientStubImpl::SetOutputNodeVolume(uint64 node_id, in SetOutputNodeVolume() argument
96 void CrasAudioClientStubImpl::SetInputNodeGain(uint64 node_id, in SetInputNodeGain() argument
107 void CrasAudioClientStubImpl::SetActiveOutputNode(uint64 node_id) { in SetActiveOutputNode() argument
108 if (active_output_node_id_ == node_id) in SetActiveOutputNode()
114 else if (node_list_[i].id == node_id) in SetActiveOutputNode()
117 active_output_node_id_ = node_id; in SetActiveOutputNode()
120 ActiveOutputNodeChanged(node_id)); in SetActiveOutputNode()
123 void CrasAudioClientStubImpl::SetActiveInputNode(uint64 node_id) { in SetActiveInputNode() argument
124 if (active_input_node_id_ == node_id) in SetActiveInputNode()
130 else if (node_list_[i].id == node_id) in SetActiveInputNode()
[all …]
Dcras_audio_client.h37 virtual void ActiveOutputNodeChanged(uint64 node_id);
40 virtual void ActiveInputNodeChanged(uint64 node_id);
80 virtual void SetOutputNodeVolume(uint64 node_id, int32 volume) = 0;
87 virtual void SetInputNodeGain(uint64 node_id, int32 gain) = 0;
93 virtual void SetActiveOutputNode(uint64 node_id) = 0;
96 virtual void SetActiveInputNode(uint64 node_id) = 0;
102 virtual void AddActiveInputNode(uint64 node_id) = 0;
106 virtual void RemoveActiveInputNode(uint64 node_id) = 0;
112 virtual void AddActiveOutputNode(uint64 node_id) = 0;
116 virtual void RemoveActiveOutputNode(uint64 node_id) = 0;
Dcras_audio_client_stub_impl.h29 virtual void SetOutputNodeVolume(uint64 node_id, int32 volume) OVERRIDE;
31 virtual void SetInputNodeGain(uint64 node_id, int32 gain) OVERRIDE;
33 virtual void SetActiveOutputNode(uint64 node_id) OVERRIDE;
34 virtual void SetActiveInputNode(uint64 node_id) OVERRIDE;
35 virtual void AddActiveInputNode(uint64 node_id) OVERRIDE;
36 virtual void RemoveActiveInputNode(uint64 node_id) OVERRIDE;
37 virtual void AddActiveOutputNode(uint64 node_id) OVERRIDE;
38 virtual void RemoveActiveOutputNode(uint64 node_id) OVERRIDE;
Dcras_audio_client.cc67 virtual void SetOutputNodeVolume(uint64 node_id, int32 volume) OVERRIDE { in SetOutputNodeVolume() argument
71 writer.AppendUint64(node_id); in SetOutputNodeVolume()
90 virtual void SetInputNodeGain(uint64 node_id, int32 input_gain) OVERRIDE { in SetInputNodeGain() argument
94 writer.AppendUint64(node_id); in SetInputNodeGain()
113 virtual void SetActiveOutputNode(uint64 node_id) OVERRIDE { in SetActiveOutputNode() argument
117 writer.AppendUint64(node_id); in SetActiveOutputNode()
124 virtual void SetActiveInputNode(uint64 node_id) OVERRIDE { in SetActiveInputNode() argument
128 writer.AppendUint64(node_id); in SetActiveInputNode()
135 virtual void AddActiveInputNode(uint64 node_id) OVERRIDE { in AddActiveInputNode() argument
139 writer.AppendUint64(node_id); in AddActiveInputNode()
[all …]
/external/chromium_org/chromeos/audio/
Dcras_audio_handler.cc38 bool IsInNodeList(uint64 node_id, const CrasAudioHandler::NodeIdList& id_list) { in IsInNodeList() argument
39 return std::find(id_list.begin(), id_list.end(), node_id) != id_list.end(); in IsInNodeList()
213 void CrasAudioHandler::AddActiveNode(uint64 node_id, bool notify) { in AddActiveNode() argument
214 const AudioDevice* device = GetDeviceFromId(node_id); in AddActiveNode()
217 << "0x" << std::hex << node_id; in AddActiveNode()
228 AddAdditionalActiveNode(node_id, notify); in AddActiveNode()
362 void CrasAudioHandler::SetActiveOutputNode(uint64 node_id, bool notify) { in SetActiveOutputNode() argument
364 SetActiveOutputNode(node_id); in SetActiveOutputNode()
369 void CrasAudioHandler::SetActiveInputNode(uint64 node_id, bool notify) { in SetActiveInputNode() argument
371 SetActiveInputNode(node_id); in SetActiveInputNode()
[all …]
Dcras_audio_handler.h196 virtual void ActiveOutputNodeChanged(uint64 node_id) OVERRIDE;
197 virtual void ActiveInputNodeChanged(uint64 node_id) OVERRIDE;
207 void SetActiveOutputNode(uint64 node_id, bool notify);
208 void SetActiveInputNode(uint64 node_id, bool notify);
216 void SetupAdditionalActiveAudioNodeState(uint64 node_id);
230 void SetOutputNodeVolume(uint64 node_id, int volume);
232 void SetOutputNodeVolumePercent(uint64 node_id, int volume_percent);
239 void SetInputNodeGain(uint64 node_id, int gain);
241 void SetInputNodeGainPercent(uint64 node_id, int gain_percent);
280 void AddActiveNode(uint64 node_id, bool notify);
[all …]
/external/openfst/src/include/fst/extensions/pdt/
Dcollection.h41 I node_id; // Root is kNoNodeId; member
44 Node() : node_id(kNoNodeId), element(T()) {} in Node()
45 Node(I i, const T &t) : node_id(i), element(t) {} in Node()
48 return n.node_id == node_id && n.element == element;
54 return n.node_id + hash_(n.element) * kPrime; in operator()
70 id_ = node_.node_id; in Next()
86 I node_id = kNoNodeId; variable
88 Node node(node_id, set[i]);
89 node_id = node_table_.FindId(node, insert);
90 if (node_id == -1) break;
[all …]
/external/chromium_org/chrome/test/chromedriver/chrome/
Ddom_tracker.cc21 int node_id, std::string* frame_id) { in GetFrameIdForNode() argument
22 if (node_to_frame_map_.count(node_id) == 0) in GetFrameIdForNode()
24 *frame_id = node_to_frame_map_[node_id]; in GetFrameIdForNode()
87 int node_id; in ProcessNode() local
88 if (!dict->GetInteger("nodeId", &node_id)) in ProcessNode()
92 node_to_frame_map_.insert(std::make_pair(node_id, frame_id)); in ProcessNode()
Dweb_view_impl.cc230 int node_id; in GetFrameByFunction() local
232 client_.get(), context_id, function, args, &found_node, &node_id); in GetFrameByFunction()
237 return dom_tracker_->GetFrameIdForNode(node_id, out_frame); in GetFrameByFunction()
412 int node_id; in SetFileInputFiles() local
415 args, &found_node, &node_id); in SetFileInputFiles()
421 params.SetInteger("nodeId", node_id); in SetFileInputFiles()
684 int* node_id) { in GetNodeIdFromFunction() argument
726 if (!cmd_result->GetInteger("nodeId", node_id)) in GetNodeIdFromFunction()
/external/chromium_org/tools/telemetry/telemetry/core/heap/
Dchrome_js_heap_snapshot_parser.py121 for node_id in self._node_dict:
122 n = self._node_dict[node_id]
159 node_id = self._node_list[ix + self._node_id_ix]
167 n = live_heap_object.LiveHeapObject(node_id, type_string, ctor_name)
172 edge = self._ReadEdgeFromIndex(node_id, edge_ix)
178 self._node_dict[node_id] = n
207 def _ReadEdgeFromIndex(self, node_id, edge_ix): argument
247 return retaining_edge.RetainingEdge(node_id, child_node_id,
/external/chromium_org/tools/grit/grit/tool/
Dtransl2tc.py132 node_id = source_node.attrs['name']
133 self.ExtraVerboseOut('Processing node %s\n' % node_id)
134 transl_node = transl_grd.GetNodeById(node_id)
141 node_id)
144 self.Out('Warning: No translation for %s, skipping.\n' % node_id)
153 current_node = current_grd.GetNodeById(node_id)
162 self.VerboseOut('Info: Message %s has changed; skipping\n' % node_id)
190 'Info: Structure of message %s has changed; skipping.\n' % node_id)
/external/chromium_org/chrome/browser/sync/
Dabstract_profile_sync_service_test.cc24 int64 node_id, syncer::ChangeRecord::Action action) { in MakeSingletonChangeRecordList() argument
27 record.id = node_id; in MakeSingletonChangeRecordList()
35 int64 node_id, const sync_pb::EntitySpecifics& specifics) { in MakeSingletonDeletionChangeRecordList() argument
38 record.id = node_id; in MakeSingletonDeletionChangeRecordList()
Dabstract_profile_sync_service_test.h30 int64 node_id, syncer::ChangeRecord::Action action);
35 int64 node_id,
/external/chromium_org/components/bookmarks/browser/
Dbookmark_expanded_state_tracker.cc49 int64 node_id; in GetExpandedNodes() local
51 if ((*i)->GetAsString(&value) && base::StringToInt64(value, &node_id) && in GetExpandedNodes()
52 (node = GetBookmarkNodeByID(bookmark_model_, node_id)) != NULL && in GetExpandedNodes()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c224 static int get_node_id(unsigned char *node_id) in get_node_id() argument
295 if (node_id) { in get_node_id()
296 memcpy(node_id, a, 6); in get_node_id()
560 static unsigned char node_id[6]; in uuid__generate_time() local
566 if (get_node_id(node_id) <= 0) { in uuid__generate_time()
567 get_random_bytes(node_id, 6); in uuid__generate_time()
573 node_id[0] |= 0x01; in uuid__generate_time()
581 memcpy(uu.node, node_id, 6); in uuid__generate_time()
/external/chromium_org/content/browser/
Dsession_history_browsertest.cc59 void ClickLink(std::string node_id) { in ClickLink() argument
60 GURL url("javascript:clickLink('" + node_id + "')"); in ClickLink()
66 void FillForm(std::string node_id, std::string value) { in FillForm() argument
67 GURL url("javascript:fillForm('" + node_id + "', '" + value + "')"); in FillForm()
76 void SubmitForm(std::string node_id) { in SubmitForm() argument
77 GURL url("javascript:submitForm('" + node_id + "')"); in SubmitForm()
/external/chromium_org/v8/src/
Dallocation-tracker.h65 void AddRange(Address addr, int size, unsigned node_id);
74 RangeStack(Address start, unsigned node_id) in RangeStack()
75 : start(start), trace_node_id(node_id) {} in RangeStack()
/external/chromium_org/tools/grit/grit/node/
Dmisc.py238 for node_id in node.GetTextualIds():
239 if util.SYSTEM_IDENTIFIERS.match(node_id):
242 if node_id in unique_names and node_id not in duplicate_names:
243 duplicate_names.append(node_id)
244 unique_names[node_id] = 1
/external/chromium_org/chrome/test/remoting/
Dme2me_browsertest.cc130 std::string node_id = "delete-client-" + host_id; in ConnectPinlessAndCleanupPairings() local
131 ClickOnControl(node_id); in ConnectPinlessAndCleanupPairings()
/external/chromium_org/chrome/browser/ui/
Dchrome_pages.cc51 int64 node_id) { in OpenBookmarkManagerWithHash() argument
57 "/#%s%s", action.c_str(), base::Int64ToString(node_id).c_str())))); in OpenBookmarkManagerWithHash()
118 void ShowBookmarkManagerForNode(Browser* browser, int64 node_id) { in ShowBookmarkManagerForNode() argument
119 OpenBookmarkManagerWithHash(browser, std::string(), node_id); in ShowBookmarkManagerForNode()
/external/chromium_org/chrome/browser/sync/glue/
Dbookmark_model_associator.h76 virtual int64 GetSyncIdFromChromeId(const int64& node_id) OVERRIDE;
86 const int64& node_id,
/external/chromium_org/extensions/shell/browser/
Dshell_audio_controller_chromeos.cc22 uint64 node_id) { in GetDevice() argument
25 if (it->id == node_id) in GetDevice()

12