/arkcompiler/ets_runtime/test/quickfix/multiconstpool_multifunc/ |
D | base_modify.js | 1046 print("patch foo") 1050 print("patch foo1") 1054 print("patch foo2") 1058 print("patch foo3") 1062 print("patch foo4") 1066 print("patch foo5") 1070 print("patch foo6") 1074 print("patch foo7") 1078 print("patch foo8") 1082 print("patch foo9") [all …]
|
D | base.js | 1046 print("base foo") 1050 print("base foo1") 1054 print("base foo2") 1058 print("base foo3") 1062 print("base foo4") 1066 print("base foo5") 1070 print("base foo6") 1074 print("base foo7") 1078 print("base foo8") 1082 print("base foo9") [all …]
|
/arkcompiler/ets_runtime/test/aottest/logic_op/ |
D | logic_op.ts | 17 declare function print(str:any):number; function 34 print("operator == test list:") 35 print(num1 == num2) 36 print(num3 == num4) 37 print(str1 == str2) 38 print(str1 == str1) 39 print(str3 == str4) 40 print(flag1 == flag2) 42 print("operator != test list:") 43 print(num1 != num2) [all …]
|
/arkcompiler/ets_runtime/test/moduletest/array/ |
D | array.js | 24 print(a.length); 28 print(arr1); 33 print(arr2.length); 34 print(a1); 38 print(arr3.length); 39 print(arr3); 43 print(arr4.length); 44 print(arr4); 48 print(arr4.length); 49 print(arr4); [all …]
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/language/arguments-object/ |
D | test-key-named-called-func-bound-value.js | 99 print(obj[2e3]); // call key 2e3 100 print(obj[2000]); // call key 2e3 101 print(obj[1000]); 103 print(obj[NaN]); 104 print(obj[0]); // 0.0 == 0 105 print(obj[Infinity]); 107 print(obj[1e-6]); 108 print(obj[0.000001]); 109 print(obj[0.000002]); 110 print(obj[1e-7]); [all …]
|
D | test-key-named-bound-value.js | 37 print(number[2e3]); // call key 2e3 38 print(number[2000]); // call key 2e3 39 print(number[1000]); 41 print(number[NaN]); 42 print(number[0]); // equal to 0.0 43 print(number[Infinity]); 45 print(number[1e-6]); 46 print(number[0.000001]); 47 print(number[0.000002]); 48 print(number[1e-7]); [all …]
|
/arkcompiler/ets_runtime/test/aottest/calls/ |
D | calls.ts | 15 declare function print(str: any): string; function 37 print(foo()); 38 print(foo1(1)); 39 print(foo1(1)); 40 print(foo1(1)); 41 print(foo2(1, 2)); 42 print(foo3(1, 2, 3)); 43 print(foo4(1, 2, 3, 4)); 49 print(dt); 50 print(new.target.name); [all …]
|
/arkcompiler/ets_runtime/test/aottest/mod/ |
D | mod.ts | 17 declare function print(str:any):number; function 22 print(res) 25 print(num3 % num4) 30 print(num8 % num4) 31 print(num4 % num8) 32 print(num4 % num5) 33 print(num4 % num6) 34 print(num4 % num7) 35 print(num5 % num4) 36 print(num6 % num4) [all …]
|
/arkcompiler/ets_runtime/test/aottest/builtinmath/ |
D | builtinmath.ts | 16 declare function print(arg:any):string; function 23 print(len); 27 print(len); 28 print(NaN); 30 print(len); 33 print(len) 35 print(len) 37 print(len) 39 print(len) 44 print(len) [all …]
|
/arkcompiler/ets_runtime/test/aottest/aot_type_test/uint32Array/ |
D | uint32Array.ts | 16 declare function print(arg:any):string; function 19 print(typedArray[2]); 21 print(typedArray[0]); 23 print(typedArray[1]); 25 print(typedArray[0]); 27 print(typedArray[1]); 29 print(s); 31 print(s); 34 print(typedArray[8] & 1); 35 print(typedArray[8] & -1); [all …]
|
/arkcompiler/ets_runtime/test/moduletest/datecase/ |
D | datecase.js | 34 print(d1.getFullYear() == 2022); 35 print(d1.getMonth() == 0); 36 print(d1.getDate() == 1); 38 print(d2.getFullYear() == 2022); 39 print(d2.getMonth() == 1); 40 print(d2.getDate() == 2); 42 print(d3.getFullYear() == 2022); 43 print(d3.getMonth() == 2); 44 print(d3.getDate() == 3); 46 print(d4.getFullYear() == 2022); [all …]
|
/arkcompiler/ets_runtime/test/aottest/aot_compatibility_test/builtins_api/ |
D | builtins_api.ts | 16 declare function print(arg:string, arg2:any):string; function 22 print("this.hasOwnProperty:", this.hasOwnProperty("b")); 23 print("Object.getOwnPropertyNames:", Object.getOwnPropertyNames(this)); 24 print("Object.getOwnPropertyDescriptor:", Object.getOwnPropertyDescriptor(this,"b")); 25 print("Object.keys():", Object.keys(this)); 26 print("Reflect.has:", Reflect.has(this, "b")); 27 print("Reflect.ownKeys():", Reflect.ownKeys(this)); 28 print("Reflect.get:", Reflect.get(this, "b")); 29 … print("Reflect.getOwnPropertyDescriptor():", Reflect.getOwnPropertyDescriptor(this, "b")); 31 print("this.hasOwnProperty:", this.hasOwnProperty("b")); [all …]
|
/arkcompiler/ets_runtime/test/moduletest/dateparse/ |
D | dateparse.js | 28 print(d1.getTime() == 1676805228132); 29 print(d1.getFullYear() == 2023); 30 print(d1.getMonth() == 1); 31 print(d1.getDate() == 19); 33 print(d2.getTime() == 1605817098000); 34 print(d2.getFullYear() == 2020); 35 print(d3.getMonth() == 10); 37 print(d3.getTime() == 1700573006000); 38 print(d3.getFullYear() == 2023); 39 print(d3.getMonth() == 10); [all …]
|
/arkcompiler/ets_runtime/test/moduletest/callframe/ |
D | callframe.js | 83 print(foo0(1,2,3)); 84 print(foo1(1,2,3)); // 'this' is undefined in strict mode 85 print(foo2(1,2,3)); 86 print(foo3(1,2,3)); 87 print(foo4(1,2,3)); 88 print(foo5(1,2,3)); // 'this' is undefined in strict mode 89 print(foo6(1,2,3)); 90 print(foo7(1,2,3)); 91 print(new foo0(1,2,3).a); 92 print(new foo1(1,2,3).a); [all …]
|
/arkcompiler/ets_runtime/test/aottest/istrue/ |
D | istrue.ts | 16 declare function print(tmp:any):string; function 29 print(true && true); 30 print(true && false); 31 print(false && true); 32 print(false && false); 33 print(num1 && 1); 34 print(num2 && 1); 35 print(num3 && 1); 36 print(num4 && 1); 37 print(num5 && 1); [all …]
|
/arkcompiler/ets_runtime/test/aottest/isfalse/ |
D | isfalse.ts | 16 declare function print(tmp:any):string; function 29 print(true || true); 30 print(true || false); 31 print(false || true); 32 print(false || false); 33 print(num1 || 1); 34 print(num2 || 1); 35 print(num3 || 1); 36 print(num4 || 1); 37 print(num5 || 1); [all …]
|
/arkcompiler/ets_runtime/test/aottest/aot_type_test/typelogicalop/ |
D | typelogicalop.ts | 16 declare function print(str:any):number; function 23 print("operator < test list:") 24 print(num1 < num2) 26 print(num1 < num2); 28 print(num5 < num6) 30 print("operator <= test list:") 31 print(num1 <= num2) 34 print(num1 <= num2); 36 print(num5 <= num6) 38 print("operator > test list:") [all …]
|
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/classes/ |
D | test-ts-classes-11.ts | 41 print(obj.prop); 42 print(obj[1]); 43 print(obj["str_prop"]); 44 print(obj[computed1]); 45 print(obj["computed2"]); 46 print(obj[2]); 47 print(obj[3]); 49 print(A.sprop); 50 print(A[1]); 51 print(A["s_str_prop"]); [all …]
|
D | test-ts-classes-10.ts | 36 print(obj.prop); 37 print(obj[1]); 38 print(obj["str_prop"]); 39 print(obj[computed1]); 40 print(obj["computed2"]); 41 print(obj[2]); 43 print(A.sprop); 44 print(A[1]); 45 print(A["s_str_prop"]); 46 print(A[computed1]); [all …]
|
/arkcompiler/ets_runtime/test/moduletest/spreadoperator/ |
D | spreadoperator.js | 24 print(arr1.length); 25 print(arr1); 29 print(arr3.length); 30 print(arr3); 40 print(arr4.length); 41 print(arr4); 44 print(arr5.length); 45 print(arr5); 54 print(arr6.length); 55 print(arr6); [all …]
|
/arkcompiler/ets_runtime/test/moduletest/bitwiseop/ |
D | bitwiseop.js | 22 print(13 & 3) 23 print(13 | 3) 24 print(13 ^ 3) 25 print(13 << 3) 26 print(13 >> 3) 27 print(13 >>> 3) 28 print(0 | -1) 29 print(1 & -1) 30 print(0 ^ -1) 31 print(-1 >>> 0) [all …]
|
/arkcompiler/ets_runtime/test/aottest/class_method_signature/ |
D | class_method_signature.ts | 16 declare function print(str:any):string; function 33 print(a.bar()); 34 print(a.bar2()); 35 print(Reflect.ownKeys(A.prototype)); //constructor,bar,bar2 55 print(a2.foo()); 56 print(a2.bar()); 57 print(a2.bar2()); 58 print(Reflect.ownKeys(A2.prototype)); //constructor,foo,bar,bar2 76 print(b.bar()); 77 print(b.bar2()); [all …]
|
/arkcompiler/ets_runtime/test/aottest/vtable/not_inherit_info/not_meet_rule3/ |
D | not_meet_rule3.ts | 28 declare function print(arg:any):string; function 51 print(ArkTools.hasTSSubtyping(a)); // true 52 print(a.foo()); // typedpath ---> 1 56 print(ArkTools.hasTSSubtyping(b)); // false 57 print(b.foo); // slowpath ---> 1 67 print(ArkTools.hasTSSubtyping(c)); // false 68 print(c.hasOwnProperty); 77 print(ArkTools.hasTSSubtyping(c2)); // false 78 print(c2.isPrototypeOf); 87 print(ArkTools.hasTSSubtyping(c3)); // false [all …]
|
/arkcompiler/ets_runtime/test/moduletest/builtins/ |
D | builtinsir.js | 22 print("builtins ir start"); 24 print(str1.charCodeAt(1.231)); 25 print(str1.charCodeAt(undefined)); 26 print(str1.charCodeAt(new Date())); 27 print(str1.charCodeAt(14)); 28 print(str1.charCodeAt(3)); 29 print(str1.indexOf("wpy")); 30 print(str1.indexOf("py", 0)); 31 print(str1.indexOf("py", 5)); 32 print(str1.indexOf("hhh", 0)); [all …]
|
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/enums/ |
D | test-ts-enum-1.ts | 30 print(tsEnum2.a); 31 print(tsEnum2.b); 32 print(tsEnum2.e); 33 print(tsEnum2.f); 34 print(tsEnum2.g); 35 print(tsEnum2.h); 36 print(tsEnum2.length); 37 print(tsEnum2.i); 39 print(tsEnum2[33]); 40 print(tsEnum2[45]); [all …]
|