| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Runtime.ets | 32 * @param o1 first object to compare 38 public static equals(o1: Any, o2: Any): boolean { 39 if (Runtime.isSameReference(o1, null)) { 42 if (Runtime.isSameReference(o1, undefined)) { 49 return o1 == o2 55 * @param o1 first object to compare 61 public static sameValue(o1: Any, o2: Any): boolean { 62 if (Runtime.isSameReference(o1, null)) { 65 if (Runtime.isSameReference(o1, undefined)) { 72 if (o1 instanceof Number && o2 instanceof Number) { [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+export/15_symbol/ |
| D | 01_symbol_01_expected.txt | 36 let o1 = { 50 assert(o1[Symbol.hasInstance] === 2); 51 assert(o1[Symbol.isConcatSpreadable] === 3); 52 assert(o1[Symbol.iterator] === 4); 53 assert(o1[Symbol.match] === 5); 54 assert(o1[Symbol.replace] === 6); 55 assert(o1[Symbol.search] === 7); 56 assert(o1[Symbol.species] === 8); 57 assert(o1[Symbol.split] === 9); 58 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp/15_symbol/ |
| D | 01_symbol_01_expected.txt | 36 let o1 = { 50 assert(o1[Symbol.hasInstance] === 2); 51 assert(o1[Symbol.isConcatSpreadable] === 3); 52 assert(o1[Symbol.iterator] === 4); 53 assert(o1[Symbol.match] === 5); 54 assert(o1[Symbol.replace] === 6); 55 assert(o1[Symbol.search] === 7); 56 assert(o1[Symbol.species] === 8); 57 assert(o1[Symbol.split] === 9); 58 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations/basic_grammar/15_symbol/ |
| D | 01_symbol_01.ts | 43 let o1 = { variable 58 assert(o1[Symbol.hasInstance] === 2); 59 assert(o1[Symbol.isConcatSpreadable] === 3); 60 assert(o1[Symbol.iterator] === 4); 61 assert(o1[Symbol.match] === 5); 62 assert(o1[Symbol.replace] === 6); 63 assert(o1[Symbol.search] === 7); 64 assert(o1[Symbol.species] === 8); 65 assert(o1[Symbol.split] === 9); 66 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/export/15_symbol/ |
| D | 01_symbol_01_expected.txt | 36 let o1 = { 50 assert(o1[Symbol.hasInstance] === 2); 51 assert(o1[Symbol.isConcatSpreadable] === 3); 52 assert(o1[Symbol.iterator] === 4); 53 assert(o1[Symbol.match] === 5); 54 assert(o1[Symbol.replace] === 6); 55 assert(o1[Symbol.search] === 7); 56 assert(o1[Symbol.species] === 8); 57 assert(o1[Symbol.split] === 9); 58 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+export/15_symbol/ |
| D | 01_symbol_01_expected.txt | 36 let o1 = { 50 assert(o1[Symbol.hasInstance] === 2); 51 assert(o1[Symbol.isConcatSpreadable] === 3); 52 assert(o1[Symbol.iterator] === 4); 53 assert(o1[Symbol.match] === 5); 54 assert(o1[Symbol.replace] === 6); 55 assert(o1[Symbol.search] === 7); 56 assert(o1[Symbol.species] === 8); 57 assert(o1[Symbol.split] === 9); 58 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+export/15_symbol/ |
| D | 01_symbol_01_expected.txt | 36 let o1 = { 50 assert(o1[Symbol.hasInstance] === 2); 51 assert(o1[Symbol.isConcatSpreadable] === 3); 52 assert(o1[Symbol.iterator] === 4); 53 assert(o1[Symbol.match] === 5); 54 assert(o1[Symbol.replace] === 6); 55 assert(o1[Symbol.search] === 7); 56 assert(o1[Symbol.species] === 8); 57 assert(o1[Symbol.split] === 9); 58 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp/15_symbol/ |
| D | 01_symbol_01_expected.txt | 36 let o1 = { 50 assert(o1[Symbol.hasInstance] === 2); 51 assert(o1[Symbol.isConcatSpreadable] === 3); 52 assert(o1[Symbol.iterator] === 4); 53 assert(o1[Symbol.match] === 5); 54 assert(o1[Symbol.replace] === 6); 55 assert(o1[Symbol.search] === 7); 56 assert(o1[Symbol.species] === 8); 57 assert(o1[Symbol.split] === 9); 58 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop/15_symbol/ |
| D | 01_symbol_01_expected.txt | 36 let o1 = { 50 assert(o1[Symbol.hasInstance] === 2); 51 assert(o1[Symbol.isConcatSpreadable] === 3); 52 assert(o1[Symbol.iterator] === 4); 53 assert(o1[Symbol.match] === 5); 54 assert(o1[Symbol.replace] === 6); 55 assert(o1[Symbol.search] === 7); 56 assert(o1[Symbol.species] === 8); 57 assert(o1[Symbol.split] === 9); 58 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/default/15_symbol/ |
| D | 01_symbol_01_expected.txt | 36 let o1 = { 50 assert(o1[Symbol.hasInstance] === 2); 51 assert(o1[Symbol.isConcatSpreadable] === 3); 52 assert(o1[Symbol.iterator] === 4); 53 assert(o1[Symbol.match] === 5); 54 assert(o1[Symbol.replace] === 6); 55 assert(o1[Symbol.search] === 7); 56 assert(o1[Symbol.species] === 8); 57 assert(o1[Symbol.split] === 9); 58 assert(o1[Symbol.toPrimitive] === 10); [all …]
|
| /arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/ |
| D | graph_test.js | 32 function foo(o1, o2) { argument 35 if (o1 > o2) { 36 c.Add(o1); 39 } else if (o1 < o2) { 41 a = o1; 43 a = o1 + o2; 48 function func2(o1, o2) { argument 49 console.log(o1, o2);
|
| D | callee_info_test.js | 20 function func1(o1, o2) { } argument 23 function foo(o1, o2) { argument 33 func4(o1.x); 35 let a = o1.x; 43 function foo1(o1, o2, o3) { argument 86 function func6(o1, o2) { argument 92 ns.sub(o2, o1); 112 function func10(o1, o2) { argument
|
| D | define_info_test.js | 22 function func2(o1, o2) { argument 45 func9(o1, o2, o3) { } argument 56 func12(o1) { } argument 59 func15(o1, o2) { } argument
|
| /arkcompiler/ets_runtime/test/aottest/aot_type_test/polyaccess/ |
| D | polyaccess.ts | 28 function foo(o1: C | D, o2: C) { 30 print(o1.x); 31 o1.y = 3; 32 print(o1.y); 38 function bar(o1: C, o2: C | D) { 40 print(o1.x);
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | cg_irbuilder.cpp | 34 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1) in BuildInsn() argument 37 return BuildInsn(opCode, tMd).AddOpndChain(o0).AddOpndChain(o1); in BuildInsn() 39 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2) in BuildInsn() argument 42 return BuildInsn(opCode, tMd).AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2); in BuildInsn() 45 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3) in BuildInsn() argument 48 … return BuildInsn(opCode, tMd).AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2).AddOpndChain(o3); in BuildInsn() 51 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3, … in BuildInsn() argument 55 return nI.AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2).AddOpndChain(o3).AddOpndChain(o4); in BuildInsn() 58 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, in BuildInsn() argument 63 return nI.AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2).AddOpndChain(o3). in BuildInsn() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_proepilog.cpp | 90 Operand &o1 = aarchCGFunc.GetOrCreatePhysicalRegisterOperand(reg1, GetPointerBitSize(), rty); in AppendInstructionPushPair() local 98 Insn &pushInsn = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o0, o1, *o2); in AppendInstructionPushPair() 113 Operand *o1 = &aarchCGFunc.CreateStkTopOpnd(static_cast<uint32>(offset), GetPointerBitSize()); in AppendInstructionPushSingle() local 115 MemOperand *aarchMemO1 = static_cast<MemOperand *>(o1); in AppendInstructionPushSingle() 120 o1 = &aarchCGFunc.SplitOffsetWithAddInstruction(*aarchMemO1, dataSize, R16); in AppendInstructionPushSingle() 124 Insn &pushInsn = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o0, *o1); in AppendInstructionPushSingle() 154 … RegOperand &o1 = aarchCGFunc.GetOrCreatePhysicalRegisterOperand(reg1, size * kBitsPerByte, rty); in AppendInstructionForAllocateOrDeallocateCallFrame() local 156 Insn &insn2 = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o1, *o2); in AppendInstructionForAllocateOrDeallocateCallFrame() 172 … RegOperand &o1 = aarchCGFunc.GetOrCreatePhysicalRegisterOperand(reg1, size * kBitsPerByte, rty); in AppendInstructionForAllocateOrDeallocateCallFrame() local 174 Insn &insn2 = cgFunc.GetInsnBuilder()->BuildInsn(isAllocate ? MOP_xstr : MOP_xldr, o1, *mo); in AppendInstructionForAllocateOrDeallocateCallFrame() [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top/04_class_cases/01_constructor/ |
| D | 02_class_constructor_property_expected.txt | 17 o1 = 5; 24 this.o1 = i1; 28 assert(e1.o1 === 4);
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+top/04_class_cases/01_constructor/ |
| D | 02_class_constructor_property_expected.txt | 17 o1 = 5; 24 this.o1 = i1; 28 assert(e1.o1 === 4);
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/namecache_removecomments/ |
| D | namecacheTest6_expected.txt | 20 a2(o1) { 21 if (o1.source !== undefined) { 22 this.source = o1.source;
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | cg_irbuilder.h | 39 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1); 40 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2); 41 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3); 42 …Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3, Operand &o4); 43 …Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3, Operand &o4,… 44 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2,
|
| /arkcompiler/ets_runtime/test/moduletest/storeicbyname/ |
| D | storeicbyname.js | 67 let o1; variable 68 if (o1) { 69 o["a"]= o1; 71 o1 = o["a"]; 80 let o3 = o1.valueOf();
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/04_class_cases/02_class_declaration/ |
| D | 05_abstract_expected.txt | 16 abstract class o1 { 22 class p1 extends o1 { 30 class r1 extends o1 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/04_class_cases/02_class_declaration/ |
| D | 05_abstract_expected.txt | 16 abstract class o1 { 22 class p1 extends o1 { 30 class r1 extends o1 {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+export/04_class_cases/01_constructor/ |
| D | 03_class_nested_constructor_expected.txt | 28 let o1 = new n1(1, "3"); 29 assert(o1.l1 === 4); 30 assert(o1.q1 === "3");
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+export/04_class_cases/01_constructor/ |
| D | 03_class_nested_constructor_expected.txt | 28 let o1 = new n1(1, "3"); 29 assert(o1.l1 === 4); 30 assert(o1.q1 === "3");
|