Home
last modified time | relevance | path

Searched full:j (Results 1 – 25 of 273) sorted by relevance

1234567891011

/arkcompiler/runtime_core/runtime/
Dhandle_storage-inl.h77 for (uint32_t j = offset; j < NODE_BLOCK_SIZE; ++j) { in ZapFreedHandles() local
78 node->at(j) = reinterpret_cast<T>(static_cast<uint64_t>(0)); in ZapFreedHandles()
95 for (uint32_t j = 0; j < count; ++j) { in UpdateHeapObject() local
96 coretypes::TaggedValue obj(node->at(j)); in UpdateHeapObject()
98 …(*node)[j] = coretypes::TaggedValue(panda::mem::GetForwardAddress(obj.GetHeapObject())).GetRawData… in UpdateHeapObject()
119 for (uint32_t j = 0; j < count; ++j) { in VisitGCRoots() local
120 coretypes::TaggedValue obj(node->at(j)); in VisitGCRoots()
143 for (uint32_t j = 0; j < count; ++j) { in UpdateHeapObject() local
144 auto *obj = reinterpret_cast<ObjectHeader *>(node->at(j)); in UpdateHeapObject()
146 (*node)[j] = ::panda::mem::GetForwardAddress(obj); in UpdateHeapObject()
[all …]
Dglobal_handle_storage-inl.h103 for (size_t j = 0; j < GLOBAL_BLOCK_SIZE; j++) { in UpdateHeapObject() local
104 DealUpdateObject(block, j); in UpdateHeapObject()
133 for (size_t j = 0; j < GLOBAL_BLOCK_SIZE; j++) { in VisitGCRoots() local
134 DealVisitGCRoots(block, j, cb); in VisitGCRoots()
Dvtable_builder.cpp26 for (size_t j = startindex; j < itable.Size(); j++) { in IsMaxSpecificMethod() local
27 auto current_iface = itable[j].GetInterface(); in IsMaxSpecificMethod()
/arkcompiler/ets_frontend/ts2panda/tests/expression/
DprefixOperations.test.ts47 let insns = compileMainSnippet("let i = 5; let j = ++i");
48 … IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = ++i"), 0, undefined);
60 new Sttoglobalrecord(new Imm(4), 'j'),
68 let insns = compileMainSnippet("let i = 5; let j = --i");
69 … IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = --i"), 0, undefined);
81 new Sttoglobalrecord(new Imm(4), 'j'),
88 it('let i = 5; let j = +i', function () {
89 let insns = compileMainSnippet("let i = 5; let j = +i");
90 IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = +i"), 0, undefined);
101 new Sttoglobalrecord(new Imm(3), 'j'),
[all …]
/arkcompiler/ets_frontend/ts2panda/src/
DregAllocator.ts70 for (let j = 0; j < operands.length; ++j) {
71 if (operands[j] instanceof VReg) {
72 if ((<VReg>operands[j]).num >= (1 << format[j][1])) {
84 for (let j = 0; j < operands.length; ++j) {
85 if (operands[j] instanceof VReg) {
86 let vOrigin = <VReg>operands[j];
87 if (vOrigin.num >= (1 << format[j][1])) {
89 operands[j] = spill;
90 if (format[j][0] == OperandKind.SrcVReg) {
92 } else if (format[j][0] == OperandKind.DstVReg) {
[all …]
/arkcompiler/ets_runtime/test/aottest/loops/
Dloops.ts19 for (var j:number = 0; j < 10; j++) {
20 if (i == j) {
48 var j:number = 0; variable
49 while (j < 100) {
50 j++;
51 if (j == 50) {
52 print(j);
75 j = 0;
77 j++;
78 if (j > 100) {
[all …]
/arkcompiler/ets_runtime/test/aottest/createarraywithbuffer/
Dcreatearraywithbuffer.ts38 for (let j = 0; j < 4; j++) {
40 newArrays[j][i] = this.currentArrays[j][i] + 1;
48 for (let j = 0; j < 4; j++) {
50 total += array[j][i];
/arkcompiler/ets_frontend/es2panda/util/
Dbase64.cpp28 …for (size_t i = 0, j = 0; i < encodedRes.length() - 2; i += TRANSFORMED_CHAR_NUM, j += TO_TRANSFOR… in Base64Encode() local
31 encodedRes[i] = base64CharSet[(inputString[j] & 0xff) >> 2]; in Base64Encode()
33 …encodedRes[i + 1] = base64CharSet[(inputString[j] & 0x03) << 4 | (inputString[j + 1] & 0xf0) >> 4]; in Base64Encode()
35 …encodedRes[i + 2] = base64CharSet[(inputString[j + 1] & 0x0f) << 2 | (inputString[j + 2] & 0xc0) >… in Base64Encode()
37 encodedRes[i + 3] = base64CharSet[inputString[j + 2] & 0x3f]; in Base64Encode()
84 … for (size_t i = 0, j = 0; i < strLen - 2; i += TRANSFORMED_CHAR_NUM, j += TO_TRANSFORM_CHAR_NUM) { in Base64Decode() local
94 decodedRes[j] = (firstChar << 2) | (secondChar >> 4); in Base64Decode()
95 if (j == decodedStrLen - 1) { in Base64Decode()
102 decodedRes[j + 1] = (secondChar << 4) | (thirdChar >> 2); in Base64Decode()
103 if (j + 1 == decodedStrLen - 1) { in Base64Decode()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dinterference_graph.cpp150 for (size_t j = 0; j < i; j++) { in IsChordal() local
151 if (HasEdge(peo[i], peo[j])) { in IsChordal()
152 processed_nbr.push_back(j); in IsChordal()
176 for (unsigned j = 0; j < ig.Size(); j++) { in GetNodeShape() local
177 if (i != j && ig.HasEdge(i, j) && ig.GetNode(j).IsPhysical()) { in GetNodeShape()
223 for (unsigned j = 0; j < node_num; j++) { in Dump() local
224 if (!(skip_physical && GetNode(j).IsPhysical()) && HasEdge(node_num, j)) { in Dump()
225 if (GetNode(node_num).GetColor() == GetNode(j).GetColor() && in Dump()
229 out << node_num << "--" << j << "\n"; in Dump()
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dllvm_stackmap_parser.cpp64 for (int j = 0; j < recordHead.NumLocations; j++) { in CalcCallSite() local
65 struct LocationTy loc = llvmStackMap_.StkMapRecord[recordNum + recordId].Locations[j]; in CalcCallSite()
69 if (j == LocationTy::CONSTANT_DEOPT_CNT_INDEX) { in CalcCallSite()
80 if (j > lastDeoptIndex) { in CalcCallSite()
86 } else if (j >= LocationTy::CONSTANT_FIRST_ELEMENT_INDEX) { in CalcCallSite()
90 if (j >= LocationTy::CONSTANT_FIRST_ELEMENT_INDEX && j <= lastDeoptIndex) { in CalcCallSite()
94 if (j >= LocationTy::CONSTANT_FIRST_ELEMENT_INDEX && j <= lastDeoptIndex) { in CalcCallSite()
99 if (j >= LocationTy::CONSTANT_FIRST_ELEMENT_INDEX && j <= lastDeoptIndex) { in CalcCallSite()
148 for (uint16_t j = 0; j < head.NumLocations; j++) { in CalculateStackMap() local
157 for (uint32_t j = 0; j < numLiveOuts; j++) { in CalculateStackMap() local
Dark_stackmap_builder.cpp69 for (size_t j = 0; j < m; j++) { in SaveArkStackMap() local
70 auto &stackmap = stackmaps.at(j); in SaveArkStackMap()
73 if (j == 0) { in SaveArkStackMap()
78 if (j == m - 1) { in SaveArkStackMap()
90 for (size_t j = 0; j < m; j++) { in SaveArkDeopt() local
91 auto &deopt = callsite2Deopt.at(j); in SaveArkDeopt()
92 if (j == 0) { in SaveArkDeopt()
123 for (uint32_t j = 0; j < arkStackMapNum; j++) { in ParseArkStackMap() local
144 for (uint32_t j = 0; j < deoptNum; j += 2) { // 2:<id, value> in ParseArkDeopt() local
/arkcompiler/ets_frontend/ts2panda/tests/statements/
Dfor.test.ts196 for (let j = 0; j < 6; j++) {
201 let j = new VReg(); variable
224 new Sta(j),
227 new Lda(j),
235 new Lda(j),
236 new Sta(j),
237 new Lda(j),
239 new Sta(j),
240 new Lda(j),
271 for (let j = 0; j < 6; j++) {
[all …]
DvariableDeclaration.test.ts131 it('var i, j in the global scope', function () {
133 snippetCompiler.compile("var i, j;");
138 let j = globalScope.findLocal("j"); variable
139 expect(j instanceof GlobalVariable).to.be.true;
142 it('let i, j in the global scope', function () {
144 snippetCompiler.compile("let i, j;");
149 let j = globalScope.findLocal("j"); variable
150 expect(j instanceof LocalVariable).to.be.true;
153 it('const i, j in the global scope', function () {
155 snippetCompiler.compile("const i=5, j=5;");
[all …]
/arkcompiler/ets_runtime/test/typeinfer/loopbeginphi/
Dloopbeginphi.ts62 for (let j = i + 1; j < size; j++) {
63 AssertType(j, "int");
73 for (let j = i + 1; j < size; j++) {
74 AssertType(j, "int");
/arkcompiler/toolchain/tooling/base/
Dpt_base64.cpp45 uint32_t j = 0; in Decode() local
55 base64Char[j++] = v; in Decode()
57 base64Char[j++] = '\0'; in Decode()
60 if (j == ENCODE_STR_LEN) { in Decode()
67 j = 0; in Decode()
97 uint32_t j = 0; in Encode() local
103 index = src[j] >> 2; // 2: shift 2bits in Encode()
105 index = ((src[j] & 0x03) << 4) | (src[j + 1] >> 4); // 4: shift 4bits in Encode()
107 index = ((src[j + 1] & 0x0F) << 2) | (src[j + 2] >> 6); // 2: shift 2bits, 6: shift 6bits in Encode()
109 index = src[j + 2] & 0x3F; // 2: the second char in Encode()
[all …]
/arkcompiler/ets_frontend/es2panda/test/hotfix/hotfix-throwerror/modify-lexenv-5/
Dbase_mod.js26 …for (let j = 1; j < 10; j++){ // add a for loop that use 'j' as lexenv, function a's lexenv chan…
28 return j + c;
/arkcompiler/ets_frontend/es2panda/test/hotreload/modify-lexenv-5/
Dbase_mod.js26 …for (let j = 1; j < 10; j++){ // add a for loop that use 'j' as lexenv, function a's lexenv chan…
28 return j + c;
/arkcompiler/runtime_core/runtime/tests/
Dmem_stats_gc_test.cpp70 for (size_t j = 0; j < object_size - sizeof(coretypes::String); j++) { in MemStatsTest() local
96 for (uint64_t j = 0; j < object_count; j++) { in MemStatsTest() local
101 handlers[j] = allocator->New<VMHandle<coretypes::String>>(thread_, string_obj); in MemStatsTest()
119 for (uint64_t j = 0; j < object_count; j++) { in MemStatsTest() local
120 allocator->Delete(handlers[j]); in MemStatsTest()
Dbitmap_page_alignment_test.cpp46 for (size_t j = 0; j < BIT_SET_RANGE_END; ++j) { in TEST_F() local
47 auto *obj = ToVoidPtr(heap_begin + j * DEFAULT_ALIGNMENT_IN_BYTES); in TEST_F()
57 for (size_t j = 0; j < BIT_VERIFY_RANGE_END; ++j) { in TEST_F() local
58 auto *end = ToVoidPtr(heap_begin + (i + j) * DEFAULT_ALIGNMENT_IN_BYTES); in TEST_F()
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_queue.js53 let j = 0 variable
55 if (data !== testArray[j]) {
58 j++;
103 for (let j = 5; j < 10; j++) {
104 if (arr1[j - 5] != j) {
Dcontainer_deque.js68 let j = 0 variable
70 if (data !== testArray[j]) {
73 j++;
121 for (let j = 5; j < 10; j++) {
122 if (arr1[j - 5] != j) {
/arkcompiler/ets_runtime/ecmascript/compiler/
Dfile_generators.h48 for (size_t j = 0; j < llvmModule_->GetFuncCount(); j++) { in CollectFuncEntryInfo() local
49 LLVMValueRef func = llvmModule_->GetFunction(j); in CollectFuncEntryInfo()
58 for (size_t j = 0; j < funcCount; j++) { in CollectFuncEntryInfo() local
59 auto cs = callSigns[j]; in CollectFuncEntryInfo()
60 LLVMValueRef func = llvmModule_->GetFunction(j); in CollectFuncEntryInfo()
65 if (j < funcCount - 1) { in CollectFuncEntryInfo()
66 funcSize = entrys[j + 1] - entrys[j]; in CollectFuncEntryInfo()
68 funcSize = codeBuff + assembler_->GetSectionSize(ElfSecName::TEXT) - entrys[j]; in CollectFuncEntryInfo()
71 …stubInfo.AddEntry(cs->GetTargetKind(), false, cs->GetID(), entrys[j] - codeBuff, moduleIndex, delt… in CollectFuncEntryInfo()
74 addr2name[entrys[j]] = cs->GetName(); in CollectFuncEntryInfo()
/arkcompiler/runtime_core/libpandafile/
Dfile_reader.cpp286 case 'J': { in CreateAnnotationItem()
297 for (size_t j = 0; j < array.GetCount(); j++) { in CreateAnnotationItem() local
298 ScalarValueItem scalar(static_cast<uint32_t>(array.Get<uint8_t>(j))); in CreateAnnotationItem()
308 for (size_t j = 0; j < array.GetCount(); j++) { in CreateAnnotationItem() local
309 ScalarValueItem scalar(static_cast<uint32_t>(array.Get<uint8_t>(j))); in CreateAnnotationItem()
319 for (size_t j = 0; j < array.GetCount(); j++) { in CreateAnnotationItem() local
320 ScalarValueItem scalar(static_cast<uint32_t>(array.Get<uint8_t>(j))); in CreateAnnotationItem()
330 for (size_t j = 0; j < array.GetCount(); j++) { in CreateAnnotationItem() local
331 ScalarValueItem scalar(static_cast<uint32_t>(array.Get<uint16_t>(j))); in CreateAnnotationItem()
341 for (size_t j = 0; j < array.GetCount(); j++) { in CreateAnnotationItem() local
[all …]
/arkcompiler/ets_runtime/test/moduletest/ldmodulensbyic/
Dldmodulensbyic.js26 for (let j = 0; j< 3; ++j) {
27 printName(animal, j);
/arkcompiler/runtime_core/compiler/tests/
Dreg_alloc_interference_graph_test.cpp45 for (unsigned j = 0; j < DEFAULT_CAPACITY1; j++) { in TEST_F() local
46 ASSERT_EQ(matrix.HasEdge(i, j), IsInSet(i, j)); in TEST_F()
59 for (unsigned j = 0; j < DEFAULT_CAPACITY1; j++) { in TEST_F() local
60 EXPECT_EQ(matrix.HasAffinityEdge(i, j), IsInSet(i, j)); in TEST_F()
133 for (unsigned j = 0; j < peo_count; j++) { in BuildSubgraph() local
134 if (x == peo[j] || y == peo[j]) { in BuildSubgraph()

1234567891011