Home
last modified time | relevance | path

Searched refs:node1 (Results 1 – 25 of 39) sorted by relevance

12

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_testset.sh314 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 …]
/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)
113 if isinstance(node1, yaml.ScalarNode):
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):
69 data1 = _convert_node(node1)
88 for node1, node2 in zip(nodes1, nodes2):
89 data1 = _convert_node(node1)
/third_party/node/tools/gyp/tools/
Dpretty_vcproj.py230 def SeekToNode(node1, child2): argument
242 for sub_node in node1.childNodes:
252 def MergeAttributes(node1, node2): argument
261 value1 = node1.getAttribute(name)
266 node1.setAttribute(name, ";".join([value1, value2]))
269 node1.setAttribute(name, value2)
274 node1.removeAttribute(name)
277 def MergeProperties(node1, node2): argument
278 MergeAttributes(node1, node2)
280 child1 = SeekToNode(node1, child2)
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/
Dpretty_vcproj.py230 def SeekToNode(node1, child2): argument
242 for sub_node in node1.childNodes:
252 def MergeAttributes(node1, node2): argument
261 value1 = node1.getAttribute(name)
266 node1.setAttribute(name, ";".join([value1, value2]))
269 node1.setAttribute(name, value2)
274 node1.removeAttribute(name)
277 def MergeProperties(node1, node2): argument
278 MergeAttributes(node1, node2)
280 child1 = SeekToNode(node1, child2)
[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
151 migrate_to_node(0, node1); in test_migrate_current_process()
152 check_addr_on_node(private, node1); in test_migrate_current_process()
177 migrate_to_node(0, node1); in test_migrate_current_process()
179 ret = check_addr_on_node(private, node1); in test_migrate_current_process()
188 check_addr_on_node(shared, node1); 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
211 migrate_to_node(0, node1); in test_migrate_other_process()
212 check_addr_on_node(private, node1); in test_migrate_other_process()
/third_party/typescript/src/testRunner/unittests/services/
DorganizeImports.ts1052 function assertEqual(node1?: Node, node2?: Node) {
1053 if (node1 === undefined) {
1058 assert.isUndefined(node1); // Guaranteed to fail
1062 assert.equal(node1.kind, node2.kind);
1064 switch (node1.kind) {
1066 const decl1 = node1 as ImportDeclaration;
1072 const clause1 = node1 as ImportClause;
1078 const nsi1 = node1 as NamespaceImport;
1083 const ni1 = node1 as NamedImports;
1088 const is1 = node1 as ImportSpecifier;
[all …]
/third_party/typescript/src/harness/
DharnessUtils.ts268 export function assertStructuralEquals(node1: ts.Node, node2: ts.Node) {
269 if (node1 === node2) {
273 assert(node1, "node1");
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…
284 ts.forEachChild(node1,
286 const childName = findChildName(node1, child1);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PBQPRegAlloc.cpp173 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()
/third_party/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c99 static unsigned int node1, node2; variable
130 nodes[j] = node1; in do_child()
266 ret = get_allowed_nodes(NH_MEMS, TEST_NODES, &node1, &node2); in setup()
281 node1, hpsz); in setup()
292 hpsz, node1, orig_hugepages_node1 + 4); in setup()
316 alloc_free_huge_on_node(node1, 4L * hpsz); in setup()
/third_party/glslang/glslang/MachineIndependent/
DIntermediate.cpp893 TIntermediate::addPairConversion(TOperator op, TIntermTyped* node0, TIntermTyped* node1) in addPairConversion() argument
895 if (!isConversionAllowed(op, node0) || !isConversionAllowed(op, node1)) in addPairConversion()
898 if (node0->getType() != node1->getType()) { in addPairConversion()
900 if (node0->isStruct() || node1->isStruct()) in addPairConversion()
904 if (node0->getType().isArray() || node1->getType().isArray()) in addPairConversion()
908 if (node0->getType().isCoopMat() || node1->getType().isCoopMat()) in addPairConversion()
909 return std::make_tuple(node0, node1); in addPairConversion()
943 if (node0->getBasicType() == node1->getBasicType()) in addPairConversion()
944 return std::make_tuple(node0, node1); in addPairConversion()
946 promoteTo = getConversionDestinationType(node0->getBasicType(), node1->getBasicType(), op); in addPairConversion()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
Dglslang.y309 …$$ = context->addFunctionCallOrMethod($1.function, $1.nodePair.node1, $1.nodePair.node2, @1, &fata…
341 $$.nodePair.node1 = nullptr;
345 $$.nodePair.node1 = nullptr;
354 $$.nodePair.node1 = context->intermediate.makeAggregate($2, @2);
360 $$.nodePair.node1 = context->intermediate.growAggregate($1.intermNode, $3, @2);
1481 $$.node1 = $1;
1485 $$.node1 = $1;
1542 …$$ = context->intermediate.addLoop(ELoopFor, $4, reinterpret_cast<TIntermTyped*>($5.node1), reinte…
1567 $$.node1 = $1;
1571 $$.node1 = $1;
Dglslang_tab.cpp2509 …nctionCallOrMethod((yyvsp[0].interm).function, (yyvsp[0].interm).nodePair.node1, (yyvsp[0].interm)… in yyparse()
2557 (yyval.interm).nodePair.node1 = nullptr; in yyparse()
2566 (yyval.interm).nodePair.node1 = nullptr; in yyparse()
2577 …(yyval.interm).nodePair.node1 = context->intermediate.makeAggregate((yyvsp[0].interm.intermTypedNo… in yyparse()
2588 …(yyval.interm).nodePair.node1 = context->intermediate.growAggregate((yyvsp[-2].interm).intermNode,… in yyparse()
4607 (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode); in yyparse()
4616 (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode); in yyparse()
4724 ….intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node1), reinterpret_cast… in yyparse()
4765 (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermTypedNode); in yyparse()
4774 (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermTypedNode); in yyparse()
DIntermediate.cpp627 …return nodePair.node1 ? setAggregateOperator(nodePair.node1, EOpSequence, nodePair.node1->getLine(… in addSelection()
632 TIntermSelection* node = new TIntermSelection(cond, nodePair.node1, nodePair.node2); in addSelection()
/third_party/rust/crates/cxx/tests/ui/
Dstruct_cycle.rs17 node1: Node1, field
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Damf.c938 GstAmfNode *node1 = NULL, *node2 = NULL; in gst_amf_parse_command() local
948 node1 = parse_value (&parser); in gst_amf_parse_command()
949 if (gst_amf_node_get_type (node1) != GST_AMF_TYPE_STRING) { in gst_amf_parse_command()
961 gst_amf_node_peek_string (node1, NULL), gst_amf_node_get_number (node2)); in gst_amf_parse_command()
985 *command_name = gst_amf_node_get_string (node1, NULL); in gst_amf_parse_command()
993 g_clear_pointer (&node1, gst_amf_node_free); in gst_amf_parse_command()
Drtmpclient.c995 GstAmfNode *node1; in send_secure_token_response() local
1010 node1 = gst_amf_node_new_null (); in send_secure_token_response()
1013 "secureTokenResponse", node1, node2, NULL); in send_secure_token_response()
1014 gst_amf_node_free (node1); in send_secure_token_response()
/third_party/ffmpeg/libavcodec/
Dqdmc.c482 static void lin_calc(QDMCContext *s, float amplitude, int node1, int node2, int index) in lin_calc() argument
491 length = (subframe_size - node1) & 0xFFFC; in lin_calc()
492 j = node1; in lin_calc()
502 k = length + node1; in lin_calc()
504 for (i = length; i < subframe_size - node1; i++, k++, noise_ptr++) in lin_calc()
/third_party/python/Lib/test/
Dtest_uuid.py316 node1 = self.uuid.getnode()
317 self.assertTrue(0 < node1 < (1 << 48), '%012x' % node1)
321 self.assertEqual(node1, node2, '%012x != %012x' % (node1, node2))
/third_party/ninja/src/
Ddeps_log_test.cc77 Node* node1 = log1.nodes()[i]; in TEST_F() local
79 ASSERT_EQ(i, node1->id()); in TEST_F()
80 ASSERT_EQ(node1->id(), node2->id()); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.y1560 $$.node1 = $1;
1564 $$.node1 = $1;
1609 … $$ = context->addLoop(ELoopFor, $4, $5.node1, reinterpret_cast<TIntermTyped*>($5.node2), $7, @1);
1634 $$.node1 = $1;
1638 $$.node1 = $1;
Dglslang_tab_autogen.cpp5138 (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode); in yyparse()
5147 (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode); in yyparse()
5262 ELoopFor, (yyvsp[-3].interm.intermNode), (yyvsp[-2].interm.nodePair).node1, in yyparse()
5305 (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode); in yyparse()
5314 (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode); in yyparse()
/third_party/glslang/glslang/Include/
Dintermediate.h1106 TIntermNode* node1; member
1798 inline bool SameSpecializationConstants(TIntermTyped* node1, TIntermTyped* node2) in SameSpecializationConstants() argument
1800 return node1->getAsSymbolNode() && node2->getAsSymbolNode() && in SameSpecializationConstants()
1801 node1->getAsSymbolNode()->getId() == node2->getAsSymbolNode()->getId(); in SameSpecializationConstants()
/third_party/astc-encoder/Source/
Dastcenc_compress_symbolic.cpp1226 TRACE_NODE(node1, "pass"); in compress_block()
1322 TRACE_NODE(node1, "pass"); in compress_block()
1355 TRACE_NODE(node1, "pass"); in compress_block()
1408 TRACE_NODE(node1, "pass"); in compress_block()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c1103 ebitmap_node_t *node1, *node2; in __cil_type_rule_to_avtab() local
1121 ebitmap_for_each_positive_bit(&src_bitmap, node1, i) { in __cil_type_rule_to_avtab()
1135 ebitmap_for_each_positive_bit(&src_bitmap, node1, i) { in __cil_type_rule_to_avtab()
1216 ebitmap_node_t *node1, *node2; in __cil_typetransition_to_avtab() local
1249 ebitmap_for_each_positive_bit(&src_bitmap, node1, i) { in __cil_typetransition_to_avtab()
1263 ebitmap_for_each_positive_bit(&src_bitmap, node1, i) { in __cil_typetransition_to_avtab()
2504 ebitmap_node_t *node1, *node2; in cil_roleallow_to_policydb() local
2513 ebitmap_for_each_positive_bit(&src_bitmap, node1, i) { in cil_roleallow_to_policydb()
3258 ebitmap_node_t *node1, *node2; in cil_rangetransition_to_policydb() local
3271 ebitmap_for_each_positive_bit(&src_bitmap, node1, i) { in cil_rangetransition_to_policydb()

12