| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | BigInt5.ets | 29 let a = 123n; 30 assertEQ(a, 123n) 31 assertEQ(a.toString(), "123") 33 a = -123n; 34 assertEQ(a, -123n) 35 assertEQ(a.toString(), "-123") 37 a = 123n 38 assertEQ(a, 123n) 39 assertEQ(a.toString(), "123") 42 assertEQ(a, -123n) [all …]
|
| D | keyof_array_tuple.ets | 22 readonly field1:("abcd"|(keyof A)|number|A)[] = ["abcd","field1","foo",123,new A()]; 29 let x:("abcd"|keyofA|number|A)[] = ["abcd","field1","foo",123,a]; 30 let x2:("abcd"|(keyof A)|number|A)[] = ["abcd","field1","foo",123,a]; 31 let x3:("abcd"|(keyof Number)|number|A)[] = ["abcd","valueOf","toPrecision",123,a]; 33 let x4:["abcd",keyofA,number,A] = ["abcd","field1",123,a]; 34 let x5:["abcd",(keyof A),number,A] = ["abcd","field1",123,a]; 35 let x6:["abcd",(keyof Number),number,A] = ["abcd","valueOf",123,a]; 37 …let x7:("abcd"|keyofA|number|A)[][] = [["abcd","field1","foo",123,a],["abcd","field1","foo",123,a]… 38 …x8:("abcd"|(keyof A)|number|A)[][] = [["abcd","field1","foo",123,a],["abcd","field1","foo",123,a]]; 39 …mber)|number|A)[][] = [["abcd","valueOf","toPrecision",123,a],["abcd","valueOf","toPrecision",123,… [all …]
|
| D | UnionTypeCheckCast.ets | 38 assertEQ(foo1("123"), "123") 40 assertEQ(foo2("123"), "123") 42 assertEQ(foo3("123"), "123")
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/module_exports_test/ |
| D | exportFile1.js | 17 indirectProp1: 123 21 projectShorthandProp: 123 26 projectPropertyAssignment1: 123, 27 'projectPropertyAssignment2': 123, 28 ['projectPropertyAssignment3']: 123, 50 indirectProp2 = 123; 54 indirectProp3 = 123; 57 indirectProp4 = 123; 63 indirectProp5 = 123; 67 indirectProp6 = 123; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/oh_modules/ |
| D | exportFile.js | 17 ohIndirectProp1: 123 21 ohShorthandProp: 123 26 ohPropertyAssignment1: 123, 27 'ohPropertyAssignment2': 123, 28 ['ohPropertyAssignment3']: 123, 50 ohIndirectProp2 = 123; 54 ohIndirectProp3 = 123; 57 ohIndirectProp4 = 123; 63 ohIndirectProp5 = 123; 67 ohIndirectProp6 = 123; [all …]
|
| D | exportFile1.ts | 17 export let nsProp1 = "123"; 22 classProp1 = "123"; 24 innerProp: 123 29 prop4 = 123; 31 innerProp1: "123" 36 prop1 = "123"; 38 innerProp2: 123
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | string_helpers_test.cpp | 50 ASSERT_FALSE(ParseInt("123x", &i)); in TEST() 53 ASSERT_TRUE(ParseInt("123", &i)); in TEST() 54 ASSERT_EQ(123, i); in TEST() 57 EXPECT_TRUE(ParseInt(" 123", &i)); in TEST() 58 EXPECT_EQ(123, i); in TEST() 59 ASSERT_TRUE(ParseInt("-123", &i)); in TEST() 60 ASSERT_EQ(-123, i); in TEST() 62 EXPECT_TRUE(ParseInt(" -123", &i)); in TEST() 63 EXPECT_EQ(-123, i); in TEST() 88 ASSERT_FALSE(ParseInt<int>("123x", nullptr)); in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/ |
| D | compat_stringify.js | 25 z = 123; 28 x = '123'; 34 throw 123; 46 ASSERT_EQ(e, 123); 56 ASSERT_EQ(jsv, '{"x":"123","y":{"z":123}}'); 57 ASSERT_EQ(obj, '{"x":"123","y":{"z":123}}'); 59 ASSERT_EQ(jsvsield, '{"x":{"x":"123","y":{"z":123}}}');
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | string_helpers_test.cpp | 54 ASSERT_FALSE(ParseInt("123x", &i)); in TEST() 57 ASSERT_TRUE(ParseInt("123", &i)); in TEST() 58 ASSERT_EQ(123U, i); in TEST() 61 EXPECT_TRUE(ParseInt(" 123", &i)); in TEST() 62 EXPECT_EQ(123U, i); in TEST() 63 ASSERT_TRUE(ParseInt("-123", &i)); in TEST() 64 ASSERT_EQ(-123L, i); in TEST() 66 EXPECT_TRUE(ParseInt(" -123", &i)); in TEST() 67 EXPECT_EQ(-123L, i); in TEST() 92 ASSERT_FALSE(ParseInt<int>("123x", nullptr)); in TEST() [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/definesendableclass/ |
| D | expect_output.txt | 20 Parent.123 = 123 31 Parent.123 = 123 46 Parent.123 = 123 60 Parent.123 = 123 74 123
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_object/ |
| D | index.js | 16 return 123; 18 export let Lambda = () => 123; 23 return 123; 28 export let MultipleCall = () => () => 123; 32 return 123; 40 return 123; 45 export let ArrayOfLambda = [() => 123];
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | RegExpGroupsTest.ets | 170 "a:123,b:123,", 173 "a:123,b:345,", 185 "a:123,b:undefined,", 186 "a:123,b:undefined,", 189 "a:123,b:undefined,", 190 "a:123,b:undefined,", 206 "a:123,b:123,", 233 "(?<a>abacaba)123", 234 "123(?<a>abacaba)", 238 "(?<a>123|345)(?<b>345|123)", [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/crashStack/enableColumn/js/ |
| D | enable-column-callarg-expected.txt | 1 123 is not callable 4 123 is not callable 7 123 is not callable 10 123 is not callable 13 123 is not callable 16 123 is not callable
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/crashStack/offColumn/js/ |
| D | off-column-callarg-expected.txt | 1 123 is not callable 4 123 is not callable 7 123 is not callable 10 123 is not callable 13 123 is not callable 16 123 is not callable
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/implement_interfaces/ |
| D | implement_interfaces.ets | 20 const testObj = new TestClass('OneTestClass',123); 21 return testObj.name == 'OneTestClass' && testObj.id as number == 123; 25 const testObj = new TestClass('OneTestClass',123); 30 const testObj = new TestClass('OneTestClass',123); 31 return testObj.myId() as number == 123 35 const testObj = new TestClass('OneTestClass',123); 37 return objId as number == 123
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/language/expressions/assignment/ |
| D | test-logic-assigment-expression-with-assignment-done-expected.txt | 1 123 2 123 3 123 4 123
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/ |
| D | arkts-esobject-is-any.ts | 24 export let vb: CY<ESObject> = { data: '123', obj: '123' } 25 export let vc: CY<CY<ESObject>> = { data: { data: '123', obj: '123' }, obj: '123' } 30 return '123' 33 return '123'
|
| D | arkts-no-assignment-constant-bigint.ts | 19 export const dec = 123, decBig = 123n; 28 export const separatedDec = 123_456_789n; 36 export const neg = -123n; 44 export let bigint_v:123n=123n;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/unions/ |
| D | union_method.ets | 31 return v.foo('123') 35 return v.foo('123') 39 return v.foo('123') 43 arktest.assertEQ(test1(new A()), 'A:123'); 44 arktest.assertEQ(test1(new C()), 'C:123'); 45 arktest.assertEQ(test2(new B()), 'B:123'); 46 arktest.assertEQ(test3(new D()), 'C:123');
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/keep_export/ |
| D | exportFile1.ts | 17 prop1: string = "123"; 18 prop2: number = 123; 20 innerProp2: "123" 44 prop4 = 123; 46 innerProp: "123" 51 exportProp1 = "123";
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/classes/ |
| D | test-ts-class-auto-accessor-5.ts | 18 accessor 123 = "123"; 22 print(t[123]); 23 t[123] = "456"; 24 print(t[123]);
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | call.virt.range.negative.yaml | 436 movi v1, 123 442 movi v1, 123 448 movi v1, 123 460 movi v1, 123 471 movi v1, 123 536 movi v2, 123 541 movi v1, 123 549 movi v1, 123 557 movi v1, 123 567 movi v2, 123 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | typeinference_function_generic.ets | 17 fn1("123", "456") 20 fn2("123", "456") 23 fn3("123", "456") 26 fn4("123", "456") 33 fn6("123","456","321") 36 fn7("123","456")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/benchmarks/interop_js/get_values/bu_d2s/ |
| D | libValuesHolder.ets | 17 public static etsNumber: number = 123; 18 public static etsByte: byte = 123; 19 public static etsShort: short = 123; 20 public static etsInt: int = 123; 21 public static etsLong: long = 123;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/benchmarks/interop_js/shared/js/ |
| D | libValues.js | 17 export let jsNumber = 123; 18 export let jsByte = 123; 19 export let jsShort = 123; 20 export let jsInt = 123; 21 export let jsLong = 123;
|