| /arkcompiler/ets_runtime/test/moduletest/number/ |
| D | expect_output.txt | 16 1.12356e-4 18 1.1111111111111111e+21 33 -1.1111111111111111e+21 48 1e+0 49 1.1e+1 50 1.12e+2 51 1e-1 52 1.1e-1 53 1.12e-1 54 -1e+0 [all …]
|
| /arkcompiler/ets_runtime/test/aottest/pgo_extrainfomap_expand/ |
| D | pgo_extrainfomap_expand.ts | 17 set e(a1) {} method in C1 20 set e(a2) {} method in C2 23 set e(a3) {} method in C3 26 set e(a4) {} method in C4 29 set e(a5) {} method in C5 32 set e(a6) {} method in C6 35 set e(a7) {} method in C7 38 set e(a8) {} method in C8 41 set e(a9) {} method in C9 44 set e(a10) {} method in C10 [all …]
|
| /arkcompiler/ets_frontend/legacy_bin/api8/src/ |
| D | index.js | 2 …e=>{var t=Object.prototype.toString,r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&… class in F
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/ |
| D | GLFrame.js | 37 function touchStart(e) { argument 38 document.addEventListener('contextmenu', function (e) { argument 39 e.preventDefault(); 41 e.preventDefault(); 44 e.touches[0].clientX, 45 e.touches[0].clientY 48 function touchMove(e) { argument 49 e.preventDefault(); 52 e.touches[0].clientX, 53 e.touches[0].clientY [all …]
|
| D | RightMenu.js | 92 for (let e of grp) { 93 if (e.type != 2) { 104 for (let e of grp) { 105 e.rect = [x, y, w, 32]; 106 if (e.on) { 113 if (e.type == 2) { 114 e.rect = [x, y, w, 0]; 121 e.name, 132 if (e.type == 0) { 133 if (e.hk) { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | enum_indexing.sts | 16 enum E { a = 1, b = 2 }; 18 let ill = E; 21 E[E.a]; 22 (e: E.a) => E[e]; 23 (e: E) => E[e]; 26 E[1]; 27 (e: E.a | E.b) => E[e]; 28 (e: number) => E[e];
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | saturated_enum.h | 37 template <typename Enum, Enum E> 38 class SaturatedEnum<Enum, E> { 40 SaturatedEnum &operator=(Enum e) 42 value_ = e; 46 SaturatedEnum &operator|=(Enum e) 48 Set(e); 52 bool operator[](Enum e) const 54 return Check(e, false); 71 bool Check(Enum e, bool prevSet) const in Check() argument 73 bool Check([[maybe_unused]] Enum e, bool prevSet) const in Check() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/enums/ |
| D | test-ts-enum-11.ts | 17 namespace E { namespace 18 export enum E { enum 20 E = 1, enumerator 22 B = (() => {enum E{ 24 E = 3, 26 E_2 = E + 10, 29 } return E.C + 5;})(), 34 print(E.E.E); 35 print(E.E.E_2); 36 print(E.E.B); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/02.floating_point_literals/ |
| D | incorrect_float_literals.params.yaml | 17 - '0e' 18 - '0.0e' 19 - '0.0e+' 20 - '0.0e-' 21 - '0.0E' 22 - '0.0E+' 23 - '0.0E-' 25 - '.e' 26 - '.0e' 27 - '.0e+' [all …]
|
| D | float_literals.params.yaml | 29 - '0.0e+1' 30 - '0.0e-1' 31 - '0.0e-11' 35 - '0.0E+1' 36 - '0.0E-1' 37 - '0.0E-11' 40 - '.0e+1' 41 - '.0e-1' 45 - '.0E+1' 46 - '.0E-1' [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
| D | cocos_worker_test.js | 6 991: function(t, e, i) { argument 13 Object.defineProperty(e, "__esModule", { 16 e.launchEngine = e.loadModule = void 0; 36 const e = r[t]; 37 null == e || e(); 39 e.loadModule = o; 48 e.launchEngine = function() { 49 return new Promise(((t, e) => { 68 System.import("cc").then((e => { 70 e.macro.CLEANUP_IMAGE_CACHE = !1; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ReflectGetBadCases.sts | 58 } catch (e: Error) { 59 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 64 } catch (e: Error) { 65 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 70 } catch (e: Error) { 71 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 76 } catch (e: Error) { 77 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 82 } catch (e: Error) { 83 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/10.tuple_types/ |
| D | tt_n.params.yaml | 19 let e: [string, boolean] = ["A", true] 20 assert e[index] == true // only int indices allowed 23 let e: [string, boolean] = ["A", true] 24 assert e[2] == true // wrong index 27 let e: [string, boolean] = ["A", true] 28 assert e[-1] == true // wrong index 36 let e: [string, boolean] = ["A", true] 37 assert e[42 / getIndex()] == true // only const indices allowed 42 let e: [string, boolean] = ["A", true] 43 assert e[index] == true // only const indices allowed [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/optimizer/js/opt-try-catch-func/ |
| D | test-raw-try-catch.js | 20 } catch (e) { 21 print(e); 35 } catch (e) { 36 print(e); 60 } catch (e) { 61 print(e); 79 } catch (e) { 80 print(e); 100 } catch (e) { 101 print(e); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/06.statements/02.multiple_catch_clauses_in_try_statements/ |
| D | try.params.yaml | 20 } catch (e: Ex) { 28 } catch (e) { 34 try {} catch (e: X) { return 1; } catch (e: Y) { return 1 } 35 catch (e: Fx) { return 1 } catch (e: Ex) { return 1 } catch (e) { return 1 } 42 } catch (e: X) { 43 } catch (e: Y) { 44 } catch (e) { 54 } catch (e: Fx) { 56 } catch (e: X) { 58 } catch (e) { [all …]
|
| D | finally.params.yaml | 22 } catch (e: Ex) { 24 } catch (e) { 36 } catch (e: Ex) { 38 } catch (e) { 49 } catch (e: Ex) { 51 } catch (e: Er) { 64 } catch (e: Ex2) { 66 } catch (e: Er) { 78 } catch (e) { 92 } catch (e: Ex) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/14.throw_statements/ |
| D | throw.params.yaml | 23 } catch (e: Ex) { 26 } catch (e) { 39 } catch (e: Ex) { 42 } catch (e) { 53 } catch (e) { 64 } catch (e: NullPointerError) { 66 } catch (e: Ex) { 69 } catch (e) { 81 } catch (e: NullPointerError) { 83 } catch (e: Exception) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/ |
| D | bigint_from_double.sts | 24 } catch (e) { 25 return e.toString(); 40 positiveTest("1000e-2", "10"); 42 positiveTest("0e-6", "0"); 43 positiveTest("0e+6", "0"); 45 positiveTest(".e+4", "0"); 46 positiveTest("+1e+1", "10"); 48 positiveTest("-0.241e+5", "-24100"); 50 positiveTest("-126000e-2", "-1260"); 53 negativeTest("1e-7", "not an integer"); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/constructor_as_arg/error/ |
| D | error.sts | 35 } catch (e) { 45 } catch (e) { 55 } catch (e) { 65 } catch (e) { 75 } catch (e) { 85 } catch (e) { 95 } catch (e) { 105 } catch (e) { 115 } catch (e) { 125 } catch (e) { [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/asmstackoverflow/ |
| D | asmstackoverflow.js | 27 } catch (e) { 28 if ((e instanceof RangeError)) { 38 } catch (e) { 39 if ((e instanceof RangeError)) { 49 } catch (e) { 50 if (e instanceof RangeError) { 70 } catch (e) { 79 } catch (e) { 88 } catch (e) { 97 } catch (e) { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | AccessNBody.sts | 100 let e : double = 0.0; 104 … e += 0.5 * bodyi.mass * (bodyi.vx * bodyi.vx + bodyi.vy * bodyi.vy + bodyi.vz * bodyi.vz); 111 e -= (bodyi.mass * bodyj.mass) / distance; 114 return e; 125 …e+00, -1.16032004402742839e+00, -1.03622044471123109e-01, 1.66007664274403694e-03 * AccessNBody.DA… 128 …e+00, 4.12479856412430479e+00, -4.03523417114321381e-01, -2.76742510726862411e-03 * AccessNBody.DA… 131 …e+01, -1.51111514016986312e+01, -2.23307578892655734e-01, 2.96460137564761618e-03 * AccessNBody.DA… 134 …e+01, -2.59193146099879641e+01, 1.79258772950371181e-01, 2.68067772490389322e-03 * AccessNBody.DAY…
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | AccessNBody.sts | 100 let e : double = 0.0; 104 … e += 0.5 * bodyi.mass * (bodyi.vx * bodyi.vx + bodyi.vy * bodyi.vy + bodyi.vz * bodyi.vz); 111 e -= (bodyi.mass * bodyj.mass) / distance; 114 return e; 125 …e+00, -1.16032004402742839e+00, -1.03622044471123109e-01, 1.66007664274403694e-03 * AccessNBody.DA… 128 …e+00, 4.12479856412430479e+00, -4.03523417114321381e-01, -2.76742510726862411e-03 * AccessNBody.DA… 131 …e+01, -1.51111514016986312e+01, -2.23307578892655734e-01, 2.96460137564761618e-03 * AccessNBody.DA… 134 …e+01, -2.59193146099879641e+01, 1.79258772950371181e-01, 2.68067772490389322e-03 * AccessNBody.DAY…
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedset/ |
| D | sharedset.ts | 94 } catch(e) { 95 print("add extension(.): " + e); 99 } catch(e) { 100 print("add extension([]): " + e); 123 } catch (e) { 124 print("Add Scenario[for-of]: " + e); 134 } catch (e) { 135 print("Delete Scenario[for-of]: " + e); 143 } catch (e) { 144 print("Clear Scenario[for-of]: " + e); [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedJSON/ |
| D | expect_output.txt | 43 1.79e+308 44 1.7976931348623157e+308 45 …88999,"small":123,"deci":1234567890.0123456,"shortExp":1.79e+308,"longExp":1.7976931348623157e+308} 46 …88999,"small":123,"deci":1234567890.0123456,"shortExp":1.79e+308,"longExp":1.7976931348623157e+308} 54 1.79e+308 55 1.7976931348623157e+308 56 …88999,"small":123,"deci":1234567890.0123456,"shortExp":1.79e+308,"longExp":1.7976931348623157e+308} 57 …88999,"small":123,"deci":1234567890.0123456,"shortExp":1.79e+308,"longExp":1.7976931348623157e+308} 61 1.79e+308 62 1.7976931348623157e+308 [all …]
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | expected.h | 26 template <class E> 29 explicit Unexpected(E e) noexcept(std::is_nothrow_move_constructible_v<E>) : e_(std::move(e)) {} in Unexpected() argument 31 const E &Value() const &noexcept in Value() 35 E &Value() & noexcept in Value() 39 E &&Value() && noexcept in Value() 50 E e_; 64 // Expected with T or E for a reference type is ill-formed. 65 template <class T, class E> 76 …Expected(Unexpected<E> e) noexcept(std::is_nothrow_move_constructible_v<E>) : v_(std::move(e.Value… in noexcept() argument 87 const E &Error() const &noexcept(ExpectedConfig::RELEASE) in Error() [all …]
|