Home
last modified time | relevance | path

Searched refs:node1 (Results 1 - 25 of 33) sorted by relevance

12

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
H A 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/
H A Dtest_structure.py110 def _compare_nodes(node1, node2):
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, node
[all...]
H A 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/ltp/testcases/kernel/syscalls/migrate_pages/
H A 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()
163 /* shared mem is on node2, try to migrate in child to 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
210 /* make sure we are on node1 */ in test_migrate_other_process()
211 migrate_to_node(0, node1); in test_migrate_other_process()
[all...]
/third_party/node/tools/gyp/tools/
H A Dpretty_vcproj.py230 def SeekToNode(node1, child2):
242 for sub_node in node1.childNodes:
252 def MergeAttributes(node1, node2):
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):
278 MergeAttributes(node1, node2)
280 child1 = SeekToNode(node1, child
[all...]
/third_party/ltp/testcases/kernel/syscalls/move_pages/
H A Dmove_pages12.c99 static unsigned int node1, node2; variable
130 nodes[j] = node1; in do_child()
265 ret = get_allowed_nodes(NH_MEMS, TEST_NODES, &node1, &node2); in setup()
280 node1, hpsz); in setup()
291 hpsz, node1, orig_hugepages_node1 + 4); in setup()
315 alloc_free_huge_on_node(node1, 4L * hpsz); in setup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A 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/glslang/glslang/MachineIndependent/
H A DIntermediate.cpp880 TIntermediate::addPairConversion(TOperator op, TIntermTyped* node0, TIntermTyped* node1) in addPairConversion() argument
882 if (!isConversionAllowed(op, node0) || !isConversionAllowed(op, node1)) in addPairConversion()
885 if (node0->getType() != node1->getType()) { in addPairConversion()
887 if (node0->isStruct() || node1->isStruct()) in addPairConversion()
891 if (node0->getType().isArray() || node1->getType().isArray()) in addPairConversion()
895 if (node0->getType().isCoopMat() || node1->getType().isCoopMat()) in addPairConversion()
896 return std::make_tuple(node0, node1); in addPairConversion()
930 if (node0->getBasicType() == node1->getBasicType()) in addPairConversion()
931 return std::make_tuple(node0, node1); in addPairConversion()
933 promoteTo = getConversionDestinationType(node0->getBasicType(), node1 in addPairConversion()
3972 specConstantPropagates(const TIntermTyped& node1, const TIntermTyped& node2) specConstantPropagates() argument
[all...]
H A Dlocalintermediate.h512 std::tuple<TIntermTyped*, TIntermTyped*> addPairConversion(TOperator op, TIntermTyped* node0, TIntermTyped* node1);
/third_party/rust/crates/cxx/tests/ui/
H A Dstruct_cycle.rs17 node1: Node1,
/third_party/ffmpeg/libavcodec/
H A Dqdmc.c487 static void lin_calc(QDMCContext *s, float amplitude, int node1, int node2, int index) in lin_calc() argument
496 length = (subframe_size - node1) & 0xFFFC; in lin_calc()
497 j = node1; in lin_calc()
507 k = length + node1; in lin_calc()
509 for (i = length; i < subframe_size - node1; i++, k++, noise_ptr++) in lin_calc()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A Dglslang.y309 $$ = context->addFunctionCallOrMethod($1.function, $1.nodePair.node1, $1.nodePair.node2, @1, &fatalError);
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), reinterpret_cast<TIntermTyped*>($5.node2), $7, @1);
1567 $$.node1 = $1;
1571 $$.node1
[all...]
H A DIntermediate.cpp627 return nodePair.node1 ? setAggregateOperator(nodePair.node1, EOpSequence, nodePair.node1->getLine()) : nullptr; in addSelection()
632 TIntermSelection* node = new TIntermSelection(cond, nodePair.node1, nodePair.node2); in addSelection()
H A Dintermediate.h298 TIntermNode* node1; member
/third_party/ninja/src/
H A 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/
H A 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;
H A DParseContext.cpp2486 if (code.node1) in addIfElse()
2488 markStaticReadIfSymbol(code.node1); in addIfElse()
2500 return EnsureBlock(code.node1); in addIfElse()
2508 TIntermIfElse *node = new TIntermIfElse(cond, EnsureBlock(code.node1), EnsureBlock(code.node2)); in addIfElse()
H A DIntermNode.h127 TIntermNode *node1; member
/third_party/python/Lib/test/
H A Dtest_uuid.py324 node1 = self.uuid.getnode()
325 self.assertTrue(0 < node1 < (1 << 48), '%012x' % node1)
329 self.assertEqual(node1, node2, '%012x != %012x' % (node1, node2))
H A Dtest_unparse.py153 for node1, node2 in zip(a, b, strict=True):
154 traverse_compare(node1, node2)
/third_party/glslang/glslang/Include/
H A Dintermediate.h1181 TIntermNode* node1; 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()
/third_party/selinux/libsepol/cil/src/
H A 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, in cil_rangetransition_to_policydb()
[all...]
/third_party/astc-encoder/Source/
H A Dastcenc_compress_symbolic.cpp1470 TRACE_NODE(node1, "pass"); in compress_block()
1585 TRACE_NODE(node1, "pass"); in compress_block()
1622 TRACE_NODE(node1, "pass"); in compress_block()
1681 TRACE_NODE(node1, "pass"); in compress_block()
/third_party/ffmpeg/tools/python/
H A Dconvert_from_tensorflow.py261 node1 = self.name_node_dict[node.input[1]]
266 knode = node1
/third_party/libfuse/lib/
H A Dfuse.c1249 struct node *node, *node1, *node2; in check_dir_loop() local
1252 node1 = lookup_node(f, nodeid1, name1); in check_dir_loop()
1253 id1 = node1 ? node1->nodeid : nodeid1; in check_dir_loop()

Completed in 90 milliseconds

12