Searched refs:node_id (Results 1 - 25 of 78) sorted by relevance

1234

/external/chromium_org/net/spdy/
H A Dspdy_priority_forest.h41 bool NodeExists(NodeId node_id) const;
44 // on success, or false if the node_id already exists within the forest.
45 bool AddRootNode(NodeId node_id, Priority priority);
50 bool AddNonRootNode(NodeId node_id, NodeId parent_id, bool unordered);
54 bool RemoveNode(NodeId node_id);
58 Priority GetPriority(NodeId node_id) const;
62 NodeId GetParent(NodeId node_id) const;
67 bool IsNodeUnordered(NodeId node_id) const;
71 NodeId GetChild(NodeId node_id) const;
76 bool SetPriority(NodeId node_id, Priorit
167 AddRootNode( NodeId node_id, Priority priority) argument
179 AddNonRootNode( NodeId node_id, NodeId parent_id, bool unordered) argument
198 RemoveNode(NodeId node_id) argument
276 SetPriority( NodeId node_id, Priority priority) argument
296 SetParent( NodeId node_id, NodeId parent_id, bool unordered) argument
351 MarkReadyToRead(NodeId node_id) argument
356 MarkNoLongerReadyToRead( NodeId node_id) argument
373 MarkReadyToWrite(NodeId node_id) argument
378 MarkNoLongerReadyToWrite( NodeId node_id) argument
389 IsMarked( NodeId node_id, unsigned int flag) const argument
396 Mark( NodeId node_id, unsigned int flag) argument
406 Unmark( NodeId node_id, unsigned int flag) argument
458 NodeId node_id = root_id; local
499 const NodeId node_id = iter->first; local
[all...]
H A Dspdy_priority_forest_test.cc218 const uint32 node_id = forest.NextNodeToRead(); local
219 ASSERT_TRUE(node_id == 1 || node_id == 5 || node_id == 7)
220 << "node_id is " << node_id;
221 ++counts[node_id];
259 const uint32 node_id = forest.NextNodeToWrite(); local
260 ASSERT_TRUE(node_id == 2 || node_id
[all...]
/external/openfst/src/include/fst/extensions/pdt/
H A Dcollection.h41 I node_id; // Root is kNoNodeId; member in struct:fst::Collection::Node
44 Node() : node_id(kNoNodeId), element(T()) {}
45 Node(I i, const T &t) : node_id(i), element(t) {}
48 return n.node_id == node_id && n.element == element;
54 return n.node_id + hash_(n.element) * kPrime;
70 id_ = node_.node_id;
86 I node_id = kNoNodeId; local
88 Node node(node_id, set[i]);
89 node_id
[all...]
/external/chromium_org/chromeos/dbus/
H A Dcras_audio_client.h40 // Called when active audio output node changed to new node with |node_id|.
41 virtual void ActiveOutputNodeChanged(uint64 node_id);
43 // Called when active audio input node changed to new node with |node_id|.
44 virtual void ActiveInputNodeChanged(uint64 node_id);
75 // Sets output volume of the given |node_id| to |volume|, in the rage of
77 virtual void SetOutputNodeVolume(uint64 node_id, int32 volume) = 0;
82 // Sets input gain of the given |node_id| to |gain|, in the range of
84 virtual void SetInputNodeGain(uint64 node_id, int32 gain) = 0;
89 // Sets the active output node to |node_id|.
90 virtual void SetActiveOutputNode(uint64 node_id)
[all...]
H A Dcras_audio_client_stub_impl.cc87 void CrasAudioClientStubImpl::SetOutputNodeVolume(uint64 node_id, argument
98 void CrasAudioClientStubImpl::SetInputNodeGain(uint64 node_id, argument
109 void CrasAudioClientStubImpl::SetActiveOutputNode(uint64 node_id) { argument
110 if (active_output_node_id_ == node_id)
116 else if (node_list_[i].id == node_id)
119 active_output_node_id_ = node_id;
122 ActiveOutputNodeChanged(node_id));
125 void CrasAudioClientStubImpl::SetActiveInputNode(uint64 node_id) { argument
126 if (active_input_node_id_ == node_id)
132 else if (node_list_[i].id == node_id)
[all...]
H A Dcras_audio_client_stub_impl.h26 virtual void SetOutputNodeVolume(uint64 node_id, int32 volume) OVERRIDE;
28 virtual void SetInputNodeGain(uint64 node_id, int32 gain) OVERRIDE;
30 virtual void SetActiveOutputNode(uint64 node_id) OVERRIDE;
31 virtual void SetActiveInputNode(uint64 node_id) OVERRIDE;
H A Dcras_audio_client.cc116 virtual void SetOutputNodeVolume(uint64 node_id, int32 volume) OVERRIDE {
120 writer.AppendUint64(node_id);
139 virtual void SetInputNodeGain(uint64 node_id, int32 input_gain) OVERRIDE {
143 writer.AppendUint64(node_id);
162 virtual void SetActiveOutputNode(uint64 node_id) OVERRIDE {
166 writer.AppendUint64(node_id);
173 virtual void SetActiveInputNode(uint64 node_id) OVERRIDE {
177 writer.AppendUint64(node_id);
227 uint64 node_id; local
228 if (!reader.PopUint64(&node_id)) {
237 uint64 node_id; local
369 ActiveOutputNodeChanged(uint64 node_id) argument
372 ActiveInputNodeChanged(uint64 node_id) argument
[all...]
/external/chromium_org/chrome/test/chromedriver/chrome/
H A Ddom_tracker.cc21 int node_id, std::string* frame_id) {
22 if (node_to_frame_map_.count(node_id) == 0)
24 *frame_id = node_to_frame_map_[node_id];
87 int node_id; local
88 if (!dict->GetInteger("nodeId", &node_id))
92 node_to_frame_map_.insert(std::make_pair(node_id, frame_id));
20 GetFrameIdForNode( int node_id, std::string* frame_id) argument
H A Ddom_tracker.h29 Status GetFrameIdForNode(int node_id, std::string* frame_id);
/external/chromium_org/chrome/browser/sync/
H A Dabstract_profile_sync_service_test.cc24 int64 node_id, syncer::ChangeRecord::Action action) {
27 record.id = node_id;
35 int64 node_id, const sync_pb::EntitySpecifics& specifics) {
38 record.id = node_id;
23 MakeSingletonChangeRecordList( int64 node_id, syncer::ChangeRecord::Action action) argument
34 MakeSingletonDeletionChangeRecordList( int64 node_id, const sync_pb::EntitySpecifics& specifics) argument
H A Dabstract_profile_sync_service_test.h31 int64 node_id, syncer::ChangeRecord::Action action);
36 int64 node_id,
H A Dprofile_sync_service_preference_unittest.cc448 int64 node_id = SetSyncedValue(prefs::kHomePage, *expected); local
449 ASSERT_NE(node_id, syncer::kInvalidId);
455 node_id, ChangeRecord::ACTION_UPDATE));
469 int64 node_id = SetSyncedValue(prefs::kHomePage, *expected); local
470 ASSERT_NE(node_id, syncer::kInvalidId);
476 node_id, ChangeRecord::ACTION_ADD));
492 int64 node_id = SetSyncedValue("unknown preference", *expected); local
493 ASSERT_NE(node_id, syncer::kInvalidId);
499 node_id, ChangeRecord::ACTION_UPDATE));
527 int64 node_id local
580 int64 node_id = SetSyncedValue(prefs::kURLsToRestoreOnStartup, sync_value); local
646 int64 node_id = SetSyncedValue(prefs::kHomePage, *sync_value); local
[all...]
/external/chromium_org/chromeos/audio/
H A Dcras_audio_handler.h125 // Returns node_id of the active output node.
128 // Returns the node_id of the active input node.
176 virtual void ActiveOutputNodeChanged(uint64 node_id) OVERRIDE;
177 virtual void ActiveInputNodeChanged(uint64 node_id) OVERRIDE;
182 // Sets the active audio output/input node to the node with |node_id|.
183 void SetActiveOutputNode(uint64 node_id);
184 void SetActiveInputNode(uint64 node_id);
201 // Sets output volume of |node_id| to |volume|.
202 void SetOutputNodeVolume(uint64 node_id, int volume);
208 // Sets input gain of |node_id| t
[all...]
H A Dcras_audio_handler.cc249 void CrasAudioHandler::SetActiveOutputNode(uint64 node_id) { argument
251 SetActiveOutputNode(node_id);
255 void CrasAudioHandler::SetActiveInputNode(uint64 node_id) { argument
257 SetActiveInputNode(node_id);
343 void CrasAudioHandler::ActiveOutputNodeChanged(uint64 node_id) { argument
344 if (active_output_node_id_ == node_id)
348 LOG(WARNING) << "Active output node changed unexpectedly by system node_id="
349 << "0x" << std::hex << node_id; local
352 void CrasAudioHandler::ActiveInputNodeChanged(uint64 node_id) { argument
353 if (active_input_node_id_ == node_id)
358 << "0x" << std::hex << node_id; local
429 SetOutputNodeVolume(uint64 node_id, int volume) argument
444 SetInputNodeGain(uint64 node_id, int gain) argument
[all...]
/external/chromium_org/chrome/browser/bookmarks/
H A Dbookmark_expanded_state_tracker.cc46 int64 node_id; local
48 if ((*i)->GetAsString(&value) && base::StringToInt64(value, &node_id) &&
49 (node = bookmark_model_->GetNodeByID(node_id)) != NULL &&
/external/chromium/chrome/browser/sync/
H A Dprofile_sync_service_preference_unittest.cc114 int64 node_id = model_associator_->GetSyncIdFromChromeId(name); local
115 if (node_id == sync_api::kInvalidId)
117 if (!node.InitByIdLookup(node_id))
144 int64 node_id = model_associator_->GetSyncIdFromChromeId(name); local
145 if (node_id == sync_api::kInvalidId) {
150 } else if (node.InitByIdLookup(node_id)) {
158 int64 node_id = model_associator_->GetSyncIdFromChromeId(name); local
161 record->id = node_id;
369 int64 node_id = model_associator_->GetSyncIdFromChromeId(prefs::kHomePage); local
372 record->id = node_id;
388 int64 node_id = SetSyncedValue(prefs::kHomePage, *expected); local
410 int64 node_id = SetSyncedValue("unknown preference", *expected); local
443 int64 node_id = SetSyncedValue(prefs::kHomePage, *sync_value); local
482 int64 node_id = SetSyncedValue(prefs::kHomePage, *sync_value); local
[all...]
/external/chromium_org/tools/grit/grit/tool/
H A 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/chrome/browser/sync/glue/
H A Dmodel_associator.h78 virtual bool InitSyncNodeFromChromeId(const IDType& node_id,
H A Dbookmark_model_associator.h66 virtual int64 GetSyncIdFromChromeId(const int64& node_id);
75 virtual bool InitSyncNodeFromChromeId(const int64& node_id,
H A Dpreference_model_associator.h79 virtual bool InitSyncNodeFromChromeId(const std::string& node_id,
84 virtual int64 GetSyncIdFromChromeId(const std::string& node_id);
H A Dpassword_model_associator.h81 virtual bool InitSyncNodeFromChromeId(const std::string& node_id,
86 virtual int64 GetSyncIdFromChromeId(const std::string& node_id);
/external/chromium_org/chrome/browser/sync/glue/
H A Dmodel_associator.h83 const IDType& node_id,
H A Dbookmark_model_associator.h76 virtual int64 GetSyncIdFromChromeId(const int64& node_id) OVERRIDE;
86 const int64& node_id,
H A Dpassword_model_associator.h83 virtual bool InitSyncNodeFromChromeId(const std::string& node_id,
88 virtual int64 GetSyncIdFromChromeId(const std::string& node_id) OVERRIDE;
/external/chromium_org/content/browser/
H A Dsession_history_browsertest.cc59 void ClickLink(std::string node_id) { argument
60 GURL url("javascript:clickLink('" + node_id + "')");
66 void FillForm(std::string node_id, std::string value) { argument
67 GURL url("javascript:fillForm('" + node_id + "', '" + value + "')");
76 void SubmitForm(std::string node_id) { argument
77 GURL url("javascript:submitForm('" + node_id + "')");

Completed in 1030 milliseconds

1234