Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/arkcompiler/ets_runtime/test/aottest/frame_states/
Dframe_states.ts19 let j: number = 0;
21 while (i < 1 && j < 1) {
23 j = 0;
24 while (i < n && j < n) {
26 perm1[j] = 0;
28 j = j + 1;
34 while (j < n) {
35 perm1[j] = 0;
36 j = j + 1;
38 while (i < n && j < n) {
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dbinary_op.ets18 let j = 2;
37 let i01 = i & j;
38 let i02 = i ^ j;
39 let i03 = i | j;
40 let i04 = i & j ^ i & j | i ^ j;
43 let b07 = i != j;
44 let b08 = i == j;
49 let b12 = i < j;
50 let b13 = i > j;
51 let b14 = i <= j;
[all …]
Dloops.ets18 let j = 1;
19 for (j = 1; i < 5; i++) continue;
22 for (let i = 1, j = 3; i + j < 30; i += j) {
50 for (let j = 1; j < 5; j++) {
61 for (let j = 1; j < 5; j++) {
DMathSpectralNorm.ets17 private static fnA(i: double, j: double): double {
18 return 1 / ((i + j) * (i + j + 1) / 2 + i + 1);
24 for (let j: int = 0; j < u.length; j++) {
25 t += MathSpectralNorm.fnA(i, j) * u[j];
34 for (let j: int = 0; j < u.length; j++) {
35 t += MathSpectralNorm.fnA(j, i) * u[j];
/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/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/moduletest/forin_primitive/
Dforin_primitive.js25 for (let j in str) {
26 print(j)
30 for (let j in num) {
31 print(j)
35 for (let j in boolv) {
36 print(j)
40 for (let j in symbol) {
41 print(j)
/arkcompiler/ets_runtime/test/aottest/await_loop/
Dawait_loop.ts27 for (let j = 0; j < 1; ++j) {
42 for (let j = 0; j < 1; ++j) {
55 for (let j = 0; j < 1; ++j) {
/arkcompiler/runtime_core/static_core/static_linker/
Dlinker_context_misc.cpp109 auto j = static_cast<const panda_file::ForeignClassItem *>(i); in ReprItem() local
110 DemangleName(o, j->GetNameItemData()); in ReprItem()
114 auto j = static_cast<const panda_file::ClassItem *>(i); in ReprItem() local
115 DemangleName(o, j->GetNameItemData()); in ReprItem()
119 auto j = static_cast<const panda_file::ForeignFieldItem *>(i); in ReprItem() local
120 ReprItem(o, j->GetTypeItem()); in ReprItem()
122 ReprItem(o, j->GetClassItem()); in ReprItem()
123 o << "." << j->GetNameItem()->GetData(); in ReprItem()
127 auto j = static_cast<const panda_file::FieldItem *>(i); in ReprItem() local
128 ReprItem(o, j->GetTypeItem()); in ReprItem()
[all …]
/arkcompiler/ets_runtime/test/aottest/loop_hoist/
Dloop_hoist.ts24 for (let j = 0; j < 10; ++j) { variable
38 for (let j = 0; j < 10; ++j) { variable
52 for (let j = 0; j < 10; ++j) { variable
/arkcompiler/runtime_core/static_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 …]
/arkcompiler/ets_runtime/test/aottest/forloop/
Dforloop.ts64 for (let j = 0; j < n; j++) {
79 for (let j = 0; j < n; j++) {
95 for (let j = 0; j < n; j++) {
110 let j = 0;
113 while (j < n) {
114 j++;
/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/loop_peeling/
Dloop_peeling.ts29 for (let j = 0; j < u.length; ++j) {
30 s += u[i] * u[j];
41 for (let j = i; j < v.length; ++j) {
43 u[i] += v[j] * v[k];
/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/runtime_core/static_core/plugins/ets/tests/checked/
Dmemory_coalescing.ets70 for (let j: int = 0; j < u.length; j = j + 2) {
71 t += u[j];
72 t += u[j + 1];
87 for (let j: int = 0; j < u.length; j = j + 2) {
88 t += u[j];
89 Test.__noinline__fnMem(u, v, j);
90 t += u[j + 1];
103 for (let j: int = 0; j < u.length; j = j + 2) {
104 t += u[j];
106 t += u[j + 1];
[all …]
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dinterference_graph.cpp149 for (size_t j = 0; j < i; j++) { in IsChordal() local
150 if (HasEdge(peo[i], peo[j])) { in IsChordal()
151 processed_nbr.push_back(j); in IsChordal()
175 for (unsigned j = 0; j < ig.Size(); j++) { in GetNodeShape() local
176 if (i != j && ig.HasEdge(i, j) && ig.GetNode(j).IsPhysical()) { in GetNodeShape()
222 for (unsigned j = 0; j < node_num; j++) { in Dump() local
223 if (!(skip_physical && GetNode(j).IsPhysical()) && HasEdge(node_num, j)) { in Dump()
224 if (GetNode(node_num).GetColor() == GetNode(j).GetColor() && in Dump()
228 out << node_num << "--" << j << "\n"; in Dump()
/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_runtime/ecmascript/compiler/codegen/maple/mempool/src/
Dmaple_string.cpp63 size_t j = 0; in find() local
64 for (; j < str.dataLength; ++j) { in find()
65 if (data[i + j] == str[j]) { in find()
71 if (j == str.dataLength) { in find()
90 size_t j = 0; in find() local
91 for (; j < strLen; ++j) { in find()
92 if (data[i + j] == str[j]) { in find()
98 if (j == strLen) { in find()
117 size_t j = 0; in find_last_of() local
118 for (; j < strLen; ++j) { in find_last_of()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dinterference_graph.cpp164 for (size_t j = 0; j < i; j++) { in IsChordal() local
165 if (HasEdge(peo[i], peo[j])) { in IsChordal()
166 processedNbr.push_back(j); in IsChordal()
190 for (unsigned j = 0; j < ig.Size(); j++) { in GetNodeShape() local
191 if (i != j && ig.HasEdge(i, j) && ig.GetNode(j).IsPhysical()) { in GetNodeShape()
237 for (unsigned j = 0; j < nodeNum; j++) { in Dump() local
238 if (!(skipPhysical && GetNode(j).IsPhysical()) && HasEdge(nodeNum, j)) { in Dump()
239 if (GetNode(nodeNum).GetColor() == GetNode(j).GetColor() && in Dump()
243 out << nodeNum << "--" << j << "\n"; in Dump()
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule71.ts16 for (let i = 0, j = 0; i < 10; ++i, j += 2) { variable
18 console.log(j)
24 for (let i = 0, j = 0; i < 10; ++i, j += 2) { variable
26 console.log(j)
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test_rules/
Drule71.ts16 for (let i = 0, j = 0; i < 10; ++i, j += 2) { variable
18 console.log(j)
24 for (let i = 0, j = 0; i < 10; ++i, j += 2) { variable
26 console.log(j)
/arkcompiler/ets_frontend/arkguard/test/ut/
DNameGenerator.spec.ts125 for (let j = 0; j < 8; j++) { variable
126 …const isHex = (hexName[j] >= '0' && hexName[j] <= '9') || (hexName[j] >= 'a' && hexName[j] <= 'f');
155 for (let j = 0; j < 20; j++) { variable
156 …const isHex = (hexName[j] >= '0' && hexName[j] <= '9') || (hexName[j] >= 'a' && hexName[j] <= 'f');
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DXMat4.js35 for (let j = 0; j < 4; j++) {
36 this.mat[i][j] = m.mat[i][j];
110 for (let j = 0; j < 4; j++) {
111 tmp[i][j] =
112 this.mat[i][0] * m4.mat[0][j] +
113 this.mat[i][1] * m4.mat[1][j] +
114 this.mat[i][2] * m4.mat[2][j] +
115 this.mat[i][3] * m4.mat[3][j];
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DMathSpectralNorm.ets17 private static fnA(i: double, j: double): double {
18 return 1 / ((i + j) * (i + j + 1) / 2 + i + 1);
24 for (let j: int = 0; j < u.length; j++) {
25 t += MathSpectralNorm.fnA(i, j) * u[j];
34 for (let j: int = 0; j < u.length; j++) {
35 t += MathSpectralNorm.fnA(j, i) * u[j];

12345678910>>...21