Home
last modified time | relevance | path

Searched refs:NodeName (Results 1 – 25 of 66) sorted by relevance

123

/external/libchrome/mojo/core/
Dnode_channel.h35 virtual void OnAcceptInvitee(const ports::NodeName& from_node,
36 const ports::NodeName& inviter_name,
37 const ports::NodeName& token) = 0;
38 virtual void OnAcceptInvitation(const ports::NodeName& from_node,
39 const ports::NodeName& token,
40 const ports::NodeName& invitee_name) = 0;
41 virtual void OnAddBrokerClient(const ports::NodeName& from_node,
42 const ports::NodeName& client_name,
44 virtual void OnBrokerClientAdded(const ports::NodeName& from_node,
45 const ports::NodeName& client_name,
[all …]
Dnode_controller.h62 const ports::NodeName& name() const { return name_; } in name()
130 void NotifyBadMessageFrom(const ports::NodeName& source_node,
137 std::unordered_map<ports::NodeName, scoped_refptr<NodeChannel>>;
162 ports::NodeName token,
171 scoped_refptr<NodeChannel> GetPeerChannel(const ports::NodeName& name);
175 void AddPeer(const ports::NodeName& name,
178 void DropPeer(const ports::NodeName& name, NodeChannel* channel);
179 void SendPeerEvent(const ports::NodeName& name, ports::ScopedEvent event);
183 void ForwardEvent(const ports::NodeName& node,
189 void OnAcceptInvitee(const ports::NodeName& from_node,
[all …]
Dnode_controller.cc60 ports::NodeName GetRandomNodeName() { in GetRandomNodeName()
61 ports::NodeName name; in GetRandomNodeName()
81 const ports::NodeName& from_node, in DeserializeEventMessage()
182 ports::NodeName temporary_node_name; in SendBrokerClientInvitation()
314 void NodeController::NotifyBadMessageFrom(const ports::NodeName& source_node, in NotifyBadMessageFrom()
324 ports::NodeName temporary_node_name, in SendBrokerClientInvitationOnIOThread()
408 ports::NodeName token; in ConnectIsolatedOnIOThread()
416 ports::NodeName connection_node = it->second; in ConnectIsolatedOnIOThread()
438 const ports::NodeName& name) { in GetPeerChannel()
447 ports::NodeName inviter_name; in GetInviterChannel()
[all …]
Dnode_channel.cc55 ports::NodeName inviter_name;
56 ports::NodeName token;
60 ports::NodeName token;
61 ports::NodeName invitee_name;
65 ports::NodeName token;
66 ports::NodeName peer_name;
72 ports::NodeName client_name;
88 ports::NodeName client_name;
94 ports::NodeName broker_name;
110 ports::NodeName name;
[all …]
Duser_message_impl.h117 void set_source_node(const ports::NodeName& name) { source_node_ = name; } in set_source_node()
118 const ports::NodeName& source_node() const { return source_node_; } in source_node()
210 ports::NodeName source_node_ = ports::kInvalidNodeName;
/external/yapf/yapftests/
Dpytree_utils_test.py40 self.assertEqual('LPAR', pytree_utils.NodeName(leaf))
45 self.assertEqual('suite', pytree_utils.NodeName(node))
54 self.assertEqual('file_input', pytree_utils.NodeName(tree))
56 self.assertEqual('simple_stmt', pytree_utils.NodeName(tree.children[0]))
61 self.assertEqual('file_input', pytree_utils.NodeName(tree))
63 self.assertEqual('simple_stmt', pytree_utils.NodeName(tree.children[0]))
67 self.assertEqual('file_input', pytree_utils.NodeName(tree))
69 self.assertEqual('simple_stmt', pytree_utils.NodeName(tree.children[0]))
73 self.assertEqual('file_input', pytree_utils.NodeName(tree))
75 self.assertEqual('classdef', pytree_utils.NodeName(tree.children[0]))
[all …]
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc202 const string feed_name = NodeName(feed_node); in GrapplerItemFromMetaGraphDef()
206 new_item->fetch.emplace_back(NodeName(fetch_node)); in GrapplerItemFromMetaGraphDef()
215 new_item->fetch.push_back(NodeName(node)); in GrapplerItemFromMetaGraphDef()
237 NodeName(input.coo_sparse().values_tensor_name()))) { in GrapplerItemFromMetaGraphDef()
241 NodeName(input.coo_sparse().values_tensor_name()), value_tensor); in GrapplerItemFromMetaGraphDef()
245 NodeName(input.coo_sparse().indices_tensor_name()))) { in GrapplerItemFromMetaGraphDef()
249 NodeName(input.coo_sparse().indices_tensor_name()), in GrapplerItemFromMetaGraphDef()
254 NodeName(input.coo_sparse().dense_shape_tensor_name()))) { in GrapplerItemFromMetaGraphDef()
258 NodeName(input.coo_sparse().dense_shape_tensor_name()), in GrapplerItemFromMetaGraphDef()
263 NodeName(input.name()))) { in GrapplerItemFromMetaGraphDef()
[all …]
Dgrappler_item.cc84 result.insert(NodeName(f)); in NodesToPreserve()
88 result.insert(NodeName(f.first)); in NodesToPreserve()
91 result.insert(NodeName(node)); in NodesToPreserve()
94 result.insert(NodeName(node)); in NodesToPreserve()
97 result.insert(NodeName(save_op)); in NodesToPreserve()
100 result.insert(NodeName(restore_op)); in NodesToPreserve()
103 result.insert(NodeName(save_restore_loc_tensor)); in NodesToPreserve()
108 result.insert(NodeName(enqueue_op)); in NodesToPreserve()
111 result.insert(NodeName(queue_runner.close_op_name())); in NodesToPreserve()
114 result.insert(NodeName(queue_runner.cancel_op_name())); in NodesToPreserve()
[all …]
Dutils_test.cc128 TEST_F(UtilsTest, NodeName) { in TEST_F() argument
129 EXPECT_EQ(NodeName("abc"), "abc"); in TEST_F()
130 EXPECT_EQ(NodeName("^abc"), "abc"); in TEST_F()
131 EXPECT_EQ(NodeName("abc:0"), "abc"); in TEST_F()
132 EXPECT_EQ(NodeName("^abc:0"), "abc"); in TEST_F()
134 EXPECT_EQ(NodeName("abc/def"), "abc/def"); in TEST_F()
135 EXPECT_EQ(NodeName("^abc/def"), "abc/def"); in TEST_F()
136 EXPECT_EQ(NodeName("abc/def:1"), "abc/def"); in TEST_F()
137 EXPECT_EQ(NodeName("^abc/def:1"), "abc/def"); in TEST_F()
139 EXPECT_EQ(NodeName("abc/def0"), "abc/def0"); in TEST_F()
[all …]
Dutils.cc86 outputs_[NodeName(input)].insert(nodes_[node_name]); in NodeMap()
92 nodes_.erase(NodeName(name)); in RemoveNode()
93 outputs_.erase(NodeName(name)); in RemoveNode()
97 const string node_name = NodeName(name); in GetNode()
106 const string node_name = NodeName(name); in NodeExists()
125 auto output_node = nodes_[NodeName(output_name)]; in AddOutput()
132 outputs_[node_name].erase(nodes_[NodeName(output_name)]); in RemoveOutput()
137 RemoveOutput(NodeName(old_input_name), node_name); in UpdateInput()
138 AddOutput(NodeName(new_input_name), node_name); in UpdateInput()
144 RemoveOutput(NodeName(input), node->name()); in RemoveInputs()
[all …]
/external/libchrome/mojo/core/ports/
Dnode.h75 Node(const NodeName& name, NodeDelegate* delegate); in COMPONENT_EXPORT()
102 const NodeName& peer_node_name, in COMPONENT_EXPORT()
157 const NodeName& destination_node_name, in COMPONENT_EXPORT()
168 int LostConnectionToNode(const NodeName& node_name); in COMPONENT_EXPORT()
212 const NodeName& to_node_name, in COMPONENT_EXPORT()
222 NodeName* forward_to_node); in COMPONENT_EXPORT()
227 void DestroyAllPortsWithPeer(const NodeName& node_name, in COMPONENT_EXPORT()
230 const NodeName name_; in COMPONENT_EXPORT()
Dname.h47 struct COMPONENT_EXPORT(MOJO_CORE_PORTS) NodeName : Name { in COMPONENT_EXPORT()
48 NodeName() : Name(0, 0) {} in COMPONENT_EXPORT()
49 NodeName(uint64_t v1, uint64_t v2) : Name(v1, v2) {} in COMPONENT_EXPORT()
52 extern COMPONENT_EXPORT(MOJO_CORE_PORTS) const NodeName kInvalidNodeName;
68 struct COMPONENT_EXPORT(MOJO_CORE_PORTS) hash<mojo::core::ports::NodeName> { in COMPONENT_EXPORT()
69 std::size_t operator()(const mojo::core::ports::NodeName& name) const { in COMPONENT_EXPORT()
Dname_unittest.cc18 NodeName default_node_name; in TEST()
48 NodeName node_name_a(50, 100); in TEST()
49 NodeName node_name_b(50, 100); in TEST()
50 NodeName node_name_c(100, 50); in TEST()
61 std::hash<NodeName> node_hash_fn; in TEST()
Devent.h65 NodeName peer_node_name; in COMPONENT_EXPORT()
67 NodeName referring_node_name; in COMPONENT_EXPORT()
177 const NodeName& proxy_node_name, in COMPONENT_EXPORT()
179 const NodeName& proxy_target_node_name, in COMPONENT_EXPORT()
183 const NodeName& proxy_node_name() const { return proxy_node_name_; } in COMPONENT_EXPORT()
185 const NodeName& proxy_target_node_name() const { in COMPONENT_EXPORT()
201 const NodeName proxy_node_name_; in COMPONENT_EXPORT()
203 const NodeName proxy_target_node_name_; in COMPONENT_EXPORT()
Dnode.cc101 Node::Node(const NodeName& name, NodeDelegate* delegate) in Node()
180 const NodeName& peer_node_name, in InitializePort()
246 NodeName peer_node_name; in ClosePort()
398 const NodeName& destination_node_name, in MergePorts()
438 int Node::LostConnectionToNode(const NodeName& node_name) { in LostConnectionToNode()
589 NodeName event_target_node; in OnObserveProxy()
620 port->send_on_proxy_removal.reset(new std::pair<NodeName, ScopedEvent>( in OnObserveProxy()
691 NodeName peer_node_name; in OnObserveClosure()
827 NodeName target_node; in SendUserMessageInternal()
913 NodeName closure_event_target_node; in MergePortsInternal()
[all …]
Dport.h106 NodeName peer_node_name;
134 std::unique_ptr<std::pair<NodeName, ScopedEvent>> send_on_proxy_removal;
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner_test.cc79 EXPECT_EQ(NodeName(a.name()), new_a.name()); in TEST_F()
81 EXPECT_EQ(NodeName(b.name()), new_b.name()); in TEST_F()
83 EXPECT_EQ(NodeName(c.name()), new_c.name()); in TEST_F()
85 EXPECT_EQ(NodeName(d.name()), new_d.name()); in TEST_F()
87 EXPECT_EQ(NodeName(e.name()), new_e.name()); in TEST_F()
90 EXPECT_EQ(NodeName(b.name()), new_e.input(0)); in TEST_F()
92 EXPECT_EQ(NodeName(b.name()), new_d.input(0)); in TEST_F()
122 EXPECT_EQ(NodeName(a.name()), new_a.name()); in TEST_F()
124 EXPECT_EQ(NodeName(b.name()), new_b.name()); in TEST_F()
126 EXPECT_EQ(NodeName(c.name()), new_c.name()); in TEST_F()
[all …]
Ddebug_stripper.cc41 inp = AsControlDependency(NodeName(inp)); in Optimize()
57 *node.mutable_input(i) = AsControlDependency(NodeName(node.input(i))); in Optimize()
/external/yapf/yapf/yapflib/
Dsplit_penalty.py95 while pytree_utils.NodeName(node.children[colon_idx]) == 'simple_stmt':
120 if pytree_utils.NodeName(child) == 'COMMENT':
149 if pytree_utils.NodeName(child) == 'atom':
188 if pytree_utils.NodeName(child) == 'COLON':
202 name = pytree_utils.NodeName(node.children[1])
207 pytree_utils.NodeName(node.children[1].children[1]) == 'comp_for'):
214 elif (pytree_utils.NodeName(node.children[0]) == 'LSQB' and
253 pytree_utils.NodeName(node.children[1]) == 'trailer'):
268 if pytree_utils.NodeName(cur_trailer) == 'trailer':
287 if pytree_utils.NodeName(trailer) != 'trailer':
[all …]
Dpytree_utils.py54 def NodeName(node): function
309 name=NodeName(node),
318 node=NodeName(node),
326 return '%s(%s, %r)' % (node.__class__.__name__, NodeName(node),
329 return '%s(%s, %r)' % (node.__class__.__name__, NodeName(node), node.value)
333 return (NodeName(node) == 'simple_stmt' and
Dsubtype_assigner.py74 if pytree_utils.NodeName(child) == 'comp_for':
78 elif pytree_utils.NodeName(child) in ('COLON', 'DOUBLESTAR'):
85 if pytree_utils.NodeName(child) == 'DOUBLESTAR':
103 last_was_colon = pytree_utils.NodeName(child) == 'COLON'
104 if pytree_utils.NodeName(child) == 'DOUBLESTAR':
146 elif pytree_utils.NodeName(child) == 'comp_op':
266 if pytree_utils.NodeName(child) == 'NAME' and child.value != 'def':
283 if pytree_utils.NodeName(child) == 'tname':
346 if pytree_utils.NodeName(child) != 'arglist':
352 if pytree_utils.NodeName(child) != 'COMMA':
Didentify_container.py45 if pytree_utils.NodeName(node.children[0]) != 'LPAR':
48 if pytree_utils.NodeName(node.children[1]) == 'arglist':
62 if pytree_utils.NodeName(node.children[0]) != 'LPAR':
Dpytree_unwrapper.py138 node.parent and pytree_utils.NodeName(node.parent) in self._STMT_TYPES)
205 if pytree_utils.NodeName(child) == 'ASYNC':
221 if pytree_utils.NodeName(child) == 'ASYNC':
229 if (pytree_utils.NodeName(child) == 'COMMENT' and
352 if pytree_utils.NodeName(ch) == 'COMMA') < 2:
/external/clang/utils/TableGen/
DClangASTNodesEmitter.cpp89 std::string NodeName = macroName(R->getName()); in EmitNode() local
91 OS << "#ifndef " << NodeName << "\n"; in EmitNode()
92 OS << "# define " << NodeName << "(Type, Base) " in EmitNode()
97 OS << "ABSTRACT_" << macroName(Root.getName()) << "(" << NodeName << "(" in EmitNode()
100 OS << NodeName << "(" << R->getName() << ", " in EmitNode()
119 OS << "#undef " << NodeName << "\n\n"; in EmitNode()
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp372 bool consumeNameSuffix(StringRef NodeName, bool CanSkip) { in consumeNameSuffix() argument
374 if (internal::consumeNameSuffix(Patterns[I].P, NodeName) || in consumeNameSuffix()
407 StringRef NodeName = getNodeName(Node, Scratch); in matchesNodeUnqualified() local
409 return consumeNameSuffix(Name, NodeName) && Name.empty(); in matchesNodeUnqualified()
469 llvm::SmallString<128> NodeName = StringRef("::"); in matchesNodeFullSlow() local
470 llvm::raw_svector_ostream OS(NodeName); in matchesNodeFullSlow()

123