Home
last modified time | relevance | path

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

123

/third_party/libxml2/include/libxml/
DdebugXML.h137 xmlNodePtr node2);
148 xmlNodePtr node2);
153 xmlNodePtr node2);
158 xmlNodePtr node2);
163 xmlNodePtr node2);
171 xmlNodePtr node2);
176 xmlNodePtr node2);
181 xmlNodePtr node2);
188 xmlNodePtr node2);
194 xmlNodePtr node2);
[all …]
/third_party/PyYAML/tests/lib/
Dtest_structure.py110 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)
Dtest_resolver.py68 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/
Dcpuset_memory_testset.sh315 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/
Dmigrate_pages02.c136 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/
DorganizeImports.ts969 function assertEqual(node1?: Node, node2?: Node) {
971 assert.isUndefined(node2);
974 else if (node2 === undefined) {
979 assert.equal(node1.kind, node2.kind);
984 const decl2 = node2 as ImportDeclaration;
990 const clause2 = node2 as ImportClause;
996 const nsi2 = node2 as NamespaceImport;
1001 const ni2 = node2 as NamedImports;
1006 const is2 = node2 as ImportSpecifier;
1012 const ed2 = node2 as ExportDeclaration;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PBQPRegAlloc.cpp174 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/libxml2/os400/libxmlrpg/
DdebugXML.rpgle147 * @node2: a second node
170 d node2 value like(xmlNodePtr)
177 d node2 value like(xmlNodePtr)
184 d node2 value like(xmlNodePtr)
191 d node2 value like(xmlNodePtr)
203 d node2 value like(xmlNodePtr)
210 d node2 value like(xmlNodePtr)
217 d node2 value like(xmlNodePtr)
227 d node2 value like(xmlNodePtr)
235 d node2 value like(xmlNodePtr)
[all …]
/third_party/typescript/src/harness/
DharnessUtils.ts288 export function assertStructuralEquals(node1: ts.Node, node2: ts.Node) {
289 if (node1 === node2) {
294 assert(node2, "node2");
295 assert.equal(node1.pos, node2.pos, "node1.pos !== node2.pos");
296 assert.equal(node1.end, node2.end, "node1.end !== node2.end");
297 assert.equal(node1.kind, node2.kind, "node1.kind !== node2.kind");
301 assert.equal(ts.containsParseError(node1), ts.containsParseError(node2));
302 …assert.equal(node1.flags & ~ts.NodeFlags.ReachabilityAndEmitFlags, node2.flags & ~ts.NodeFlags.Rea…
307 const child2: ts.Node = (<any>node2)[childName];
313 const array2: ts.NodeArray<ts.Node> = (<any>node2)[childName];
/third_party/rust/crates/cxx/tests/ui/
Dstruct_cycle.rs8 node2: Node2, field
26 node2: Node2, field
30 node2: Node2, field
Dstruct_cycle.stderr4 26 | node2: Node2,
22 8 | node2: Node2,
/third_party/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c99 static unsigned int node1, node2; variable
132 nodes[j] = node2; in do_child()
266 ret = get_allowed_nodes(NH_MEMS, TEST_NODES, &node1, &node2); in setup()
285 node2, hpsz); in setup()
302 hpsz, node2, orig_hugepages_node2 + 4); in setup()
317 alloc_free_huge_on_node(node2, 4L * hpsz); in setup()
/third_party/node/tools/gyp/tools/
Dpretty_vcproj.py258 def MergeAttributes(node1, node2): argument
260 if not node2.attributes:
263 for (name, value2) in node2.attributes.items():
283 def MergeProperties(node1, node2): argument
284 MergeAttributes(node1, node2)
285 for child2 in node2.childNodes:
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/
Dpretty_vcproj.py252 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/
Dtree.c94 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/
Dnode_record.c332 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/
Dhash_table_base.h516 Node* node2 = new_buckets + dst_index; in GrowBuckets() local
517 if (node2->is_null()) { in GrowBuckets()
518 *node2 = *node; in GrowBuckets()
/third_party/libxml2/
Dxpath.c169 xmlXPathCmpNodesExt(xmlNodePtr node1, xmlNodePtr node2) { in xmlXPathCmpNodesExt() argument
176 if ((node1 == NULL) || (node2 == NULL)) in xmlXPathCmpNodesExt()
179 if (node1 == node2) in xmlXPathCmpNodesExt()
187 if (node2->type == XML_ELEMENT_NODE) { in xmlXPathCmpNodesExt()
189 (0 > (ptrdiff_t) node2->content) && in xmlXPathCmpNodesExt()
190 (node1->doc == node2->doc)) in xmlXPathCmpNodesExt()
193 l2 = -((ptrdiff_t) node2->content); in xmlXPathCmpNodesExt()
256 switch (node2->type) { in xmlXPathCmpNodesExt()
261 miscNode2 = node2; in xmlXPathCmpNodesExt()
262 node2 = node2->parent; in xmlXPathCmpNodesExt()
[all …]
DdebugXML.c2007 xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellList()
2050 xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellBase()
2087 xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellSetBase()
2110 xmlNodePtr node ATTRIBUTE_UNUSED, xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellRegisterNamespace()
2166 xmlNodePtr root, xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellRegisterRootNamespaces()
2199 char *arg, xmlNodePtr node, xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellGrep()
2278 xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellDir()
2312 xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellSetContent()
2358 xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellRNGValidate()
2407 xmlNodePtr node, xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellCat()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Damf.c938 GstAmfNode *node1 = NULL, *node2 = NULL; in gst_amf_parse_command() local
954 node2 = parse_value (&parser); in gst_amf_parse_command()
955 if (gst_amf_node_get_type (node2) != GST_AMF_TYPE_NUMBER) { in gst_amf_parse_command()
961 gst_amf_node_peek_string (node1, NULL), gst_amf_node_get_number (node2)); in gst_amf_parse_command()
989 *transaction_id = gst_amf_node_get_number (node2); in gst_amf_parse_command()
994 g_clear_pointer (&node2, gst_amf_node_free); in gst_amf_parse_command()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
Dglslang.y309 …$$ = 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/
Dtest_uuid.py320 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/
Dnode_record.h25 const sepol_node_t * node2);
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.y1337 $$.node2 = $3;
1341 $$.node2 = nullptr;
1385 … $$ = context->addLoop(ELoopFor, $4, $5.node1, reinterpret_cast<TIntermTyped*>($5.node2), $7, @1);
1411 $$.node2 = 0;
1415 $$.node2 = $3;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.y1561 $$.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;

123