/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmlnode_unittest.cpp | 32 CFX_XMLElement node1(L"node"); in TEST() local 36 node1.AppendLastChild(&node2); in TEST() 39 EXPECT_EQ(nullptr, node1.GetParent()); in TEST() 40 EXPECT_EQ(&node1, node2.GetParent()); in TEST() 45 CFX_XMLElement node1(L"node"); in TEST() local 49 node1.AppendLastChild(&node2); in TEST() 52 EXPECT_EQ(&node1, node1.GetRoot()); in TEST() 53 EXPECT_EQ(&node1, node2.GetRoot()); in TEST() 54 EXPECT_EQ(&node1, node3.GetRoot()); in TEST() 58 CFX_XMLElement node1(L"node"); in TEST() local [all …]
|
D | cfx_xmlelement_unittest.cpp | 23 CFX_XMLElement node1(L"node1"); in TEST() local 24 EXPECT_EQ(L"node1", node1.GetLocalTagName()); in TEST() 31 CFX_XMLElement node1(L"node1"); in TEST() local 32 EXPECT_EQ(L"", node1.GetNamespacePrefix()); in TEST() 39 CFX_XMLElement node1(L"node1"); in TEST() local 40 EXPECT_EQ(L"", node1.GetNamespaceURI()); in TEST() 42 node1.SetAttribute(L"xmlns", L"https://example.org/ns1"); in TEST() 43 EXPECT_EQ(L"https://example.org/ns1", node1.GetNamespaceURI()); in TEST()
|
/external/libchrome/mojo/core/ports/ |
D | ports_unittest.cc | 347 TestNode* node1, in CreatePortPair() argument 349 if (node0 == node1) { in CreatePortPair() 353 EXPECT_EQ(OK, node1->node().CreateUninitializedPort(port1)); in CreatePortPair() 354 EXPECT_EQ(OK, node0->node().InitializePort(*port0, node1->name(), in CreatePortPair() 356 EXPECT_EQ(OK, node1->node().InitializePort(*port1, node0->name(), in CreatePortPair() 416 TestNode node1(1); in TEST_F() local 417 AddNode(&node1); in TEST_F() 420 CreatePortPair(&node0, &x0, &node1, &x1); in TEST_F() 428 EXPECT_EQ(OK, node1.node().ClosePort(x1)); in TEST_F() 433 EXPECT_TRUE(node1.node().CanShutdownCleanly()); in TEST_F() [all …]
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | ast_unittest.py | 50 node1 = ast.NodeBase(filename="hello.mojom", lineno=123) 52 self.assertEquals(node1, node2) 53 self.assertEquals(node2, node1) 56 self.assertFalse(node1 != node2) 57 self.assertFalse(node2 != node1) 61 self.assertEquals(node1.filename, "hello.mojom") 62 self.assertEquals(node1.lineno, 123) 69 self.assertNotEqual(node1, node3) 70 self.assertNotEqual(node3, node1) 72 self.assertFalse(node1 == node3) [all …]
|
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | gen_node_test.cc | 78 NodeDef node1 = MakeNodeConst("node1"); in TEST() local 79 map["node1"] = absl::make_unique<GenNode>(&node1); in TEST() 90 NodeDef node1 = MakeNodeConst("node1"); in TEST() local 91 map["node1"] = absl::make_unique<GenNode>(&node1); in TEST() 136 NodeDef node1 = MakeNodeConst("node1"); in TEST() local 137 map["node1"] = absl::make_unique<GenNode>(&node1); in TEST() 171 NodeDef node1 = MakeNodeConst("node1"); in TEST() local 172 map["node1"] = absl::make_unique<GenNode>(&node1); in TEST() 207 NodeDef node1 = MakeNodeConst("node1"); in TEST() local 208 map["node1"] = absl::make_unique<GenNode>(&node1); in TEST() [all …]
|
D | sig_node_test.cc | 136 NodeDef node1 = MakeNodeConst("node1"); in TEST_F() local 140 SigNode sn1(&node1); in TEST_F() 234 NodeDef node1 = MakeNodeConst("node1"); in TEST_F() local 235 SigNode sn1(&node1); in TEST_F() 254 NodeDef node1 = MakeNodeConst("node1"); in TEST_F() local 255 SigNode sn1(&node1); in TEST_F() 274 NodeDef node1 = MakeNodeConst("node1"); in TEST_F() local 275 SigNode sn1(&node1); in TEST_F() 312 NodeDef node1 = MakeNodeConst("node1"); in TEST_F() local 313 SigNode sn1(&node1); in TEST_F() [all …]
|
/external/oss-fuzz/projects/libyaml/ |
D | libyaml_dumper_fuzzer.c | 36 yaml_node_t *node1 = yaml_document_get_node(document1, index1); in nodes_equal() local 38 if (!node1) in nodes_equal() 46 if (node1->type != node2->type) in nodes_equal() 49 if (strcmp((char *)node1->tag, (char *)node2->tag) != 0) in nodes_equal() 52 switch (node1->type) { in nodes_equal() 54 if (node1->data.scalar.length != node2->data.scalar.length) in nodes_equal() 56 if (strncmp((char *)node1->data.scalar.value, in nodes_equal() 58 node1->data.scalar.length) != 0) in nodes_equal() 62 if ((node1->data.sequence.items.top - node1->data.sequence.items.start) != in nodes_equal() 65 for (int k = 0; k < (node1->data.sequence.items.top - in nodes_equal() [all …]
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_testset.sh | 314 read node1 322 if [ "$node1" != "0" ]; then 323 tst_resm TFAIL "Allocated memory was moved to the Node#$node1(Expect: Node#0)." 359 read node1 367 if [ "$node1" != "1" ]; then 368 tst_resm TFAIL "Allocated memory was not moved to the Node#1(Result: Node#$node1)." 412 read node1 419 if [ "$node1" != "0" ]; then 420 tst_resm TFAIL "allocate memory on the Node#$node1(Expect: Node#0) after changing mems." 448 read node1 [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/ |
D | fuse_inline.cc | 38 Node* node1 = sequence.front(); in ApplyToNodesSequence() local 41 absl::any_cast<CompiledNodeAttributes&>(node1->operation.attributes); in ApplyToNodesSequence() 52 graph->FindOutputs(node1->id).size() != in ApplyToNodesSequence() 58 if (node1->operation.type.find('+') == std::string::npos) { in ApplyToNodesSequence() 67 node1->operation.type += "+" + node2->operation.type; in ApplyToNodesSequence() 69 if (!RemoveFollowingNode(graph, node2, node1).ok()) { in ApplyToNodesSequence()
|
D | fuse_inplace.cc | 99 Node* node1 = sequence.front(); in ApplyToNodesSequence() local 102 absl::any_cast<CompiledNodeAttributes&>(node1->operation.attributes); in ApplyToNodesSequence() 140 node1->operation.type += "+" + node2->operation.type; in ApplyToNodesSequence() 142 if (!RemoveFollowingNode(graph, node2, node1).ok()) { in ApplyToNodesSequence()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | graph_utils_test.cc | 258 NodeDef* node1 = AddNode("", "A", {}, {}, &graph); in TEST() local 260 EXPECT_NE(node1->name(), node2->name()); in TEST() 262 EXPECT_TRUE(graph.DeleteNodes({node1->name()}).ok()); in TEST() 282 NodeDef* node1 = AddNode("", "A", {}, {}, &graph); in TEST() local 283 NodeDef* node2 = AddNode("", "A", {node1->name()}, {}, &graph); in TEST() 285 EXPECT_EQ(GetInputNode(*node2, graph), node1); in TEST() 286 EXPECT_EQ(GetInputNode(*node1, graph), nullptr); in TEST() 293 NodeDef* node1 = AddNode("", "A", {}, {}, &graph); in TEST() local 295 NodeDef* node3 = AddNode("", "A", {node1->name(), node2->name()}, {}, &graph); in TEST() 297 EXPECT_EQ(GetInputNode(*node3, graph), node1); in TEST() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | model_test.cc | 354 Node* node1 = graph.NewNode(); in TEST() local 358 ASSERT_TRUE(graph.AddConsumer(node1->id, graph_input->id).ok()); in TEST() 359 ASSERT_TRUE(graph.SetProducer(node1->id, graph_output->id).ok()); in TEST() 367 EXPECT_THAT(graph.nodes(), ElementsAre(node1, node2)); in TEST() 368 EXPECT_THAT(graph.FindInputs(node1->id), UnorderedElementsAre(graph_input)); in TEST() 370 EXPECT_THAT(graph.FindOutputs(node1->id), UnorderedElementsAre()); in TEST() 373 UnorderedElementsAre(node1, node2)); in TEST() 381 Node* node1 = graph.NewNode(); in TEST() local 386 ASSERT_TRUE(graph.AddConsumer(node1->id, graph_input->id).ok()); in TEST() 387 ASSERT_TRUE(graph.SetProducer(node1->id, value->id).ok()); in TEST() [all …]
|
/external/libxml2/doc/examples/ |
D | tree2.c | 29 xmlNodePtr root_node = NULL, node = NULL, node1 = NULL;/* node pointers */ in main() local 74 node1 = xmlNewText(BAD_CAST in main() 76 xmlAddChild(node, node1); in main() 87 node1 = xmlNewChild(node, NULL, BAD_CAST buff, NULL); in main() 88 xmlNewProp(node1, BAD_CAST "odd", BAD_CAST((j % 2) ? "no" : "yes")); in main()
|
/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages02.c | 141 static void test_migrate_current_process(int node1, int node2, int cap_sys_nice) in test_migrate_current_process() argument 156 migrate_to_node(0, node1); in test_migrate_current_process() 157 check_addr_on_node(private, node1); in test_migrate_current_process() 182 migrate_to_node(0, node1); in test_migrate_current_process() 184 ret = check_addr_on_node(private, node1); in test_migrate_current_process() 193 check_addr_on_node(shared, node1); in test_migrate_current_process() 199 static void test_migrate_other_process(int node1, int node2, int cap_sys_nice) in test_migrate_other_process() argument 216 migrate_to_node(0, node1); in test_migrate_other_process() 217 check_addr_on_node(private, node1); in test_migrate_other_process()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | common_subgraph_elimination.cc | 88 bool SameNode(const NodeDef& node1, const NodeDef& node2) const; 120 bool UniqueNodes::SameNode(const NodeDef& node1, const NodeDef& node2) const { in SameNode() argument 121 if (node1.op() != node2.op()) { in SameNode() 124 if (node1.device() != node2.device()) { in SameNode() 127 if (node1.input_size() != node2.input_size()) { in SameNode() 130 if (node1.attr_size() != node2.attr_size()) { in SameNode() 135 auto it1 = node1.input().begin(); in SameNode() 137 for (; it1 != node1.input().end(); ++it1, ++it2) { in SameNode() 142 for (const auto& attr1 : node1.attr()) { in SameNode()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | DOM2Helper.java | 229 public static boolean isNodeAfter(Node node1, Node node2) in isNodeAfter() argument 234 if(node1 instanceof DOMOrder && node2 instanceof DOMOrder) in isNodeAfter() 236 int index1 = ((DOMOrder) node1).getUid(); in isNodeAfter() 246 return DOMHelper.isNodeAfter(node1, node2); in isNodeAfter()
|
D | DOMHelper.java | 204 public static boolean isNodeAfter(Node node1, Node node2) in isNodeAfter() argument 206 if (node1 == node2 || isNodeTheSame(node1, node2)) in isNodeAfter() 212 Node parent1 = getParentOfNode(node1); in isNodeAfter() 219 isNodeAfter = isNodeAfterSibling(parent1, node1, node2); in isNodeAfter() 263 Node startNode1 = node1, startNode2 = node2; in isNodeAfter() 339 public static boolean isNodeTheSame(Node node1, Node node2) in isNodeTheSame() argument 341 if (node1 instanceof DTMNodeProxy && node2 instanceof DTMNodeProxy) in isNodeTheSame() 342 return ((DTMNodeProxy)node1).equals((DTMNodeProxy)node2); in isNodeTheSame() 344 return (node1 == node2); in isNodeTheSame()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | immutable_constant_op_test.cc | 98 auto node1 = in TEST() local 102 auto result = ops::MatMul(root, node1, node2); in TEST() 130 auto node1 = in TEST() local 134 auto result = ops::MatMul(root, node1, node2); in TEST() 171 auto node1 = ops::ImmutableConst(root, DT_FLOAT, kFileTensorShape, two_file); in TEST() local 174 auto result = ops::MatMul(root, node1, node2, ops::MatMul::TransposeB(true)); in TEST()
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 88 static unsigned int node1, node2; variable 119 nodes[j] = node1; in do_child() 255 ret = get_allowed_nodes(NH_MEMS, TEST_NODES, &node1, &node2); in setup() 270 node1, hpsz); in setup() 281 hpsz, node1, orig_hugepages_node1 + 4); in setup() 305 alloc_free_huge_on_node(node1, 4L * hpsz); in setup()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64PBQPRegAlloc.cpp | 173 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint() local 177 &G.getNodeMetadata(node1).getAllowedRegs(); in addIntraChainConstraint() 181 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint() 202 G.addEdge(node1, node2, std::move(costs)); in addIntraChainConstraint() 207 std::swap(node1, node2); in addIntraChainConstraint() 260 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint() local 271 &G.getNodeMetadata(node1).getAllowedRegs(); in addInterChainConstraint() 277 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addInterChainConstraint() 284 std::swap(node1, node2); in addInterChainConstraint()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64PBQPRegAlloc.cpp | 173 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint() local 177 &G.getNodeMetadata(node1).getAllowedRegs(); in addIntraChainConstraint() 181 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint() 202 G.addEdge(node1, node2, std::move(costs)); in addIntraChainConstraint() 207 std::swap(node1, node2); in addIntraChainConstraint() 260 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint() local 271 &G.getNodeMetadata(node1).getAllowedRegs(); in addInterChainConstraint() 277 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addInterChainConstraint() 284 std::swap(node1, node2); in addInterChainConstraint()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64PBQPRegAlloc.cpp | 174 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint() local 178 &G.getNodeMetadata(node1).getAllowedRegs(); in addIntraChainConstraint() 182 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint() 203 G.addEdge(node1, node2, std::move(costs)); in addIntraChainConstraint() 208 std::swap(node1, node2); in addIntraChainConstraint() 261 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint() local 272 &G.getNodeMetadata(node1).getAllowedRegs(); in addInterChainConstraint() 278 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addInterChainConstraint() 285 std::swap(node1, node2); in addInterChainConstraint()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/ |
D | LockFreeLinkedListAtomicLFStressTest.kt | 72 val node1 = Node(index.incrementAndGet()) in <lambda>() constant 74 addTwoOp(list1, node1, list2, node2) in <lambda>() 76 tryRemoveOp(node1) in <lambda>() 122 …private fun addTwoOp(list1: LockFreeLinkedListHead, node1: Node, list2: LockFreeLinkedListHead, no… in <lambda>() 123 val add1 = list1.describeAddLast(node1) in <lambda>()
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | profile_analyzer_cli_test.py | 85 node1 = step_stats_pb2.NodeExecStats( 100 device1.node_stats.extend([node1, node2]) 121 node1 = step_stats_pb2.NodeExecStats( 130 device1.node_stats.extend([node1]) 134 device2.node_stats.extend([node1]) 180 node1 = step_stats_pb2.NodeExecStats( 197 device1.node_stats.extend([node1, node2]) 232 node1 = step_stats_pb2.NodeExecStats( 249 device1.node_stats.extend([node1, node2]) 286 node1 = step_stats_pb2.NodeExecStats( [all …]
|
/external/dtc/tests/ |
D | multilabel_merge.dts | 9 n1: node1 { 16 ref = <&{/node1}>; /* reference after target */ 51 nx: node1 {
|