/third_party/PyYAML/tests/lib/ |
D | test_structure.py | 110 def _compare_nodes(node1, node2): argument 111 assert node1.__class__ == node2.__class__, (node1, node2) 112 assert node1.tag == node2.tag, (node1, node2) 114 assert node1.value == node2.value, (node1, node2) 116 assert len(node1.value) == len(node2.value), (node1, node2) 117 for item1, item2 in zip(node1.value, node2.value): 133 for node1, node2 in zip(nodes1, nodes2): 134 _compare_nodes(node1, node2)
|
D | test_resolver.py | 68 for node1, node2 in zip(nodes1, nodes2): 70 data2 = _convert_node(node2) 88 for node1, node2 in zip(nodes1, nodes2): 90 data2 = _convert_node(node2)
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_testset.sh | 315 read node2 326 if [ "$node2" != "1" ]; then 327 tst_resm TFAIL "allocate memory on the Node#$node2(Expect: Node#1) after changing group." 360 read node2 371 if [ "$node2" != "1" ]; then 372 tst_resm TFAIL "allocate memory on the Node#$node2(Expect: Node#1) after changing group." 449 read node2 460 if [ "$node2" != "0" ]; then 461 tst_resm TFAIL "allocate memory on the Node#$node2(Expect: Node#0) after changing mems." 636 read node2 [all …]
|
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages02.c | 136 static void test_migrate_current_process(int node1, int node2, int cap_sys_nice) in test_migrate_current_process() argument 149 migrate_to_node(0, node2); in test_migrate_current_process() 150 check_addr_on_node(private, node2); in test_migrate_current_process() 160 migrate_to_node(0, node2); in test_migrate_current_process() 161 check_addr_on_node(shared, node2); in test_migrate_current_process() 190 check_addr_on_node(shared, node2); in test_migrate_current_process() 194 static void test_migrate_other_process(int node1, int node2, int cap_sys_nice) in test_migrate_other_process() argument 226 ret = check_addr_on_node(private, node2); in test_migrate_other_process() 240 migrate_to_node(child1, node2); in test_migrate_other_process()
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | organizeImports.ts | 1052 function assertEqual(node1?: Node, node2?: Node) { 1054 assert.isUndefined(node2); 1057 else if (node2 === undefined) { 1062 assert.equal(node1.kind, node2.kind); 1067 const decl2 = node2 as ImportDeclaration; 1073 const clause2 = node2 as ImportClause; 1079 const nsi2 = node2 as NamespaceImport; 1084 const ni2 = node2 as NamedImports; 1089 const is2 = node2 as ImportSpecifier; 1095 const ed2 = node2 as ExportDeclaration; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64PBQPRegAlloc.cpp | 174 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint() local 179 &G.getNodeMetadata(node2).getAllowedRegs(); in addIntraChainConstraint() 181 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint() 202 G.addEdge(node1, node2, std::move(costs)); in addIntraChainConstraint() 206 if (G.getEdgeNode1Id(edge) == node2) { in addIntraChainConstraint() 207 std::swap(node1, node2); in addIntraChainConstraint() 273 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(r); in addInterChainConstraint() local 275 &G.getNodeMetadata(node2).getAllowedRegs(); in addInterChainConstraint() 277 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addInterChainConstraint() 283 if (G.getEdgeNode1Id(edge) == node2) { in addInterChainConstraint() [all …]
|
/third_party/typescript/src/harness/ |
D | harnessUtils.ts | 268 export function assertStructuralEquals(node1: ts.Node, node2: ts.Node) { 269 if (node1 === node2) { 274 assert(node2, "node2"); 275 assert.equal(node1.pos, node2.pos, "node1.pos !== node2.pos"); 276 assert.equal(node1.end, node2.end, "node1.end !== node2.end"); 277 assert.equal(node1.kind, node2.kind, "node1.kind !== node2.kind"); 281 assert.equal(ts.containsParseError(node1), ts.containsParseError(node2)); 282 …assert.equal(node1.flags & ~ts.NodeFlags.ReachabilityAndEmitFlags, node2.flags & ~ts.NodeFlags.Rea… 287 const child2: ts.Node = (node2 as any)[childName]; 293 const array2: ts.NodeArray<ts.Node> = (node2 as any)[childName];
|
/third_party/rust/crates/cxx/tests/ui/ |
D | struct_cycle.rs | 8 node2: Node2, field 26 node2: Node2, field 30 node2: Node2, field
|
D | struct_cycle.stderr | 4 26 | node2: Node2, 22 8 | node2: Node2,
|
/third_party/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 99 static unsigned int node1, node2; variable 132 nodes[j] = node2; in do_child() 265 ret = get_allowed_nodes(NH_MEMS, TEST_NODES, &node1, &node2); in setup() 284 node2, hpsz); in setup() 301 hpsz, node2, orig_hugepages_node2 + 4); in setup() 316 alloc_free_huge_on_node(node2, 4L * hpsz); in setup()
|
/third_party/node/tools/gyp/tools/ |
D | pretty_vcproj.py | 252 def MergeAttributes(node1, node2): argument 254 if not node2.attributes: 257 for (name, value2) in node2.attributes.items(): 277 def MergeProperties(node1, node2): argument 278 MergeAttributes(node1, node2) 279 for child2 in node2.childNodes:
|
/third_party/ffmpeg/libavutil/tests/ |
D | tree.c | 94 AVTreeNode *node2 = NULL; in main() local 96 av_tree_insert(&root, (void *)(j + 1), cmp, &node2); in main() 100 av_free(node2); in main()
|
/third_party/selinux/libsepol/src/ |
D | node_record.c | 332 int sepol_node_compare2(const sepol_node_t * node, const sepol_node_t * node2) in sepol_node_compare2() argument 337 if ((node->addr_sz < node2->addr_sz) || in sepol_node_compare2() 338 (node->mask_sz < node2->mask_sz)) in sepol_node_compare2() 341 else if ((node->addr_sz > node2->addr_sz) || in sepol_node_compare2() 342 (node->mask_sz > node2->mask_sz)) in sepol_node_compare2() 345 rc1 = memcmp(node->addr, node2->addr, node->addr_sz); in sepol_node_compare2() 346 rc2 = memcmp(node->mask, node2->mask, node->mask_sz); in sepol_node_compare2()
|
/third_party/gn/src/gn/ |
D | hash_table_base.h | 516 Node* node2 = new_buckets + dst_index; in GrowBuckets() local 517 if (node2->is_null()) { in GrowBuckets() 518 *node2 = *node; in GrowBuckets()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | glslang.y | 309 …$$ = context->addFunctionCallOrMethod($1.function, $1.nodePair.node1, $1.nodePair.node2, @1, &fata… 320 $$.nodePair.node2 = nullptr; 325 $$.nodePair.node2 = $1; 1482 $$.node2 = $3; 1486 $$.node2 = 0; 1542 … $4, reinterpret_cast<TIntermTyped*>($5.node1), reinterpret_cast<TIntermTyped*>($5.node2), $7, @1); 1568 $$.node2 = 0; 1572 $$.node2 = $3;
|
/third_party/python/Lib/test/ |
D | test_uuid.py | 320 node2 = self.uuid.getnode() 321 self.assertEqual(node1, node2, '%012x != %012x' % (node1, node2)) 864 node2 = self.uuid._random_getnode() 865 self.assertNotEqual(node2, node, '%012x' % node)
|
/third_party/selinux/libsepol/include/sepol/ |
D | node_record.h | 25 const sepol_node_t * node2);
|
/third_party/lzma/C/ |
D | Ppmd7.c | 222 CPpmd7_Node *node2 = node + nu; in Ppmd7_GlueFreeBlocks() local 223 nu += node2->NU; in Ppmd7_GlueFreeBlocks() 224 if (node2->Stamp != EMPTY_NODE || nu >= 0x10000) in Ppmd7_GlueFreeBlocks() 227 node2->NU = 0; in Ppmd7_GlueFreeBlocks()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | glslang.y | 1561 $$.node2 = $3; 1565 $$.node2 = nullptr; 1609 … $$ = context->addLoop(ELoopFor, $4, $5.node1, reinterpret_cast<TIntermTyped*>($5.node2), $7, @1); 1635 $$.node2 = 0; 1639 $$.node2 = $3;
|
/third_party/ffmpeg/libavcodec/ |
D | qdmc.c | 487 static void lin_calc(QDMCContext *s, float amplitude, int node1, int node2, int index) in lin_calc() argument 494 if (subframe_size >= node2) in lin_calc() 495 subframe_size = node2; in lin_calc()
|
/third_party/python/Lib/lib2to3/ |
D | fixer_util.py | 333 for offset, node2 in enumerate(root.children[idx:]): 334 if not is_import_stmt(node2):
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/ |
D | LocaleDistanceBuilder.java | 277 Output<DistanceTable> node2 = new Output<>(); in addSubtables() local 278 int distance = getDistance(desired, supported, node2, true); in addSubtables() 281 if (node2.value != null) { in addSubtables() 282 DistanceTable nextTable = node2.value; in addSubtables()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/ |
D | LocaleDistanceBuilder.java | 277 Output<DistanceTable> node2 = new Output<>(); in addSubtables() local 278 int distance = getDistance(desired, supported, node2, true); in addSubtables() 281 if (node2.value != null) { in addSubtables() 282 DistanceTable nextTable = node2.value; in addSubtables()
|
/third_party/ninja/src/ |
D | deps_log_test.cc | 78 Node* node2 = log2.nodes()[i]; in TEST_F() local 80 ASSERT_EQ(node1->id(), node2->id()); in TEST_F()
|
/third_party/glslang/glslang/Include/ |
D | intermediate.h | 1182 TIntermNode* node2; member 1879 inline bool SameSpecializationConstants(TIntermTyped* node1, TIntermTyped* node2) in SameSpecializationConstants() argument 1881 return node1->getAsSymbolNode() && node2->getAsSymbolNode() && in SameSpecializationConstants() 1882 node1->getAsSymbolNode()->getId() == node2->getAsSymbolNode()->getId(); in SameSpecializationConstants()
|