| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/16.Support_for_GUI_Programming/annotations/ |
| D | annotation_@Link.sts | 2 * Copyright (c) 2022-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 16 /*--- 17 desc: 04.03 Bi-bidirectional syncing with a variable of parent component @Link 18 …name: 04.managing_state_owned_by_a_component/04.03.bi-bidirectional_syncing_with_a_variable_of_par… 19 tags: [compile-only] 20 ---*/ 29 .width(400).height(100) 40 .width(400).height(100) 56 .width(400).height(100)
|
| D | annotation_@Builder.sts | 2 * Copyright (c) 2022-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 16 /*--- 19 tags: [compile-only] 20 ---*/ 23 Text("0 - global builder") 24 .width(400) 31 .width(400) 51 this.aBuilder1({label: "1 - global Builder label" } ) 64 Text(`2 + 3 - component builder`) [all …]
|
| /arkcompiler/ets_runtime/test/quickfix/multi_patch/ |
| D | module_modify2.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 16 export var a = 400 18 var b = 400
|
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 17 print patch:200 - 200 22 print base:100 - 100 25 print patch1:300 - 300 30 print base:100 - 100 33 print patch2: 400 - 400 38 print base:100 - 100
|
| /arkcompiler/ets_runtime/test/moduletest/createobject/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 32 400 33 400
|
| D | createobject.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 32 400: "400", property
|
| /arkcompiler/ets_runtime/test/moduletest/ictest/ |
| D | ictest.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 51 for (let v5 =0; v5 < 400;v5++) { 74 for (let v5 =0;v5 < 400; v5++) { 82 for (let v5 =0; v5 < 400;v5++) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/04.overloading_and_overriding_in_classes/ |
| D | two_class_method_over_n.sts | 1 /*--- 7 http://www.apache.org/licenses/LICENSE-2.0 14 ---*/ 17 /*--- 18 desc: >- 20 If signatures are override-compatible, then overriding is used. Otherwise, overloading is used. 23 …If signatures are overload-equivalent, then the static method in the subclass hides the previous s… 25 ---*/ 55 res = 400 + {{c.res}}; 70 assert(res == 400 + {{c.res}});
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | SpreadExpressions.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 41 let expectedAssignment : Int[] = [100, 200, 77, 88, 99, 400, 600, 77, 88, 99] 43 arrayAssignment = [100, 200, ...intArray, 400, 600, ...intArray]
|
| D | local-class-capture-boxing.sts | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 106 assert(lp == 400); 178 lcb.local_method(400);
|
| D | getter_setter.sts | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 71 assert k == 400;
|
| D | MutatorAccessor.sts | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 77 assert get_field == 400;
|
| /arkcompiler/ets_runtime/test/quickfix/module_var/ |
| D | module.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 17 export var c = 400
|
| D | module_modify.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 18 export var c = 400
|
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 19 print patch: 400
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/function_validation/ |
| D | function_outer_variable.ts | 7 * http://www.apache.org/licenses/LICENSE-2.0 24 assert(addToZ(100, 200) === 400, 'success');
|
| /arkcompiler/ets_runtime/test/aottest/definefieldbyname/ |
| D | definefieldbyname.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 31 for (let i = 0; i < 400; i++){
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | template_literals.sts | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 20 const templateHead = `template-head ${20 + 40}`; 21 const templateTail = `${empty.length > 0 ? 100 : 200} template-tail`; 22 const templateCompound = `apple ${400} orange \n ${500} 24 const nested = `outer ${`inner ${1000} inner-end`} outer-end`;
|
| /arkcompiler/ets_frontend/test/scripts/sdk_test/ |
| D | utils.py | 2 # coding: utf-8 10 http://www.apache.org/licenses/LICENSE-2.0 57 return 'utf-8' 75 return time.strftime('%Y%m%d-%H%M%S') 101 run_cmd(['hdc', 'shell', 'power-shell', 'wakeup;power-shell', 'setmode 602']) 102 run_cmd(['hdc', 'shell', 'uinput', '-T', '-m', '420', '1000', '420', 103 '400;uinput', '-T', '-m', '420', '400', '420', '1000']) 109 …run_cmd(['hdc', 'shell', 'aa', 'start', '-a', f'{task.ability_name}', '-b', f'{task.bundle_name}']) 113 run_cmd(['hdc', 'shell', 'snapshot_display', '-f', f'{screen_path}']) 117 run_cmd(['hdc', 'shell', 'aa', 'force-stop', f'{task.bundle_name}']) [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | cleanup_empty_blocks_test.cpp | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 24 // NOLINTBEGIN(readability-magic-numbers) 45 CONSTANT(8U, 400U); in SRC_GRAPH() 50 BASIC_BLOCK(6U, -1L) in SRC_GRAPH() 78 CONSTANT(8U, 400U); in OUT_GRAPH() 90 BASIC_BLOCK(6U, -1L) in OUT_GRAPH() 100 if (GetGraph()->GetArch() == Arch::AARCH32 || !BackendSupport(GetGraph()->GetArch())) { in TEST_F() 108 ASSERT_FALSE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 109 ASSERT_TRUE(GetGraph()->RunPass<RegAllocGraphColoring>()); in TEST_F() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | class_instance_initializer.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 48 this.d -= 44; 56 this.d = 400; 62 this.d -= 44;
|
| /arkcompiler/ets_runtime/test/moduletest/deleteobjproperty/ |
| D | deleteobjproperty.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 23 var l = new ArrayBuffer(400);
|
| /arkcompiler/ets_runtime/test/moduletest/objoperate/ |
| D | objoperate.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 51 var b = new ArrayBuffer(400); 53 var str = '-' + '0';
|
| /arkcompiler/runtime_core/static_core/disassembler/tests/ |
| D | literals_test.cpp | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 21 #include "assembly-parser.h" 31 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractArrayBody() 69 .array array3 i8 3 { 1 -30 8} in TEST() 70 .array array4 i32 3 { 2 -300 4} in TEST() 71 .array array5 f32 3 { 5.1 6.2 -122.345 } in TEST() 87 EXPECT_TRUE(ss.str().find(".array array_3 i8 3 { 1 -30 8 }") != std::string::npos); in TEST() 88 EXPECT_TRUE(ss.str().find(".array array_4 i32 3 { 2 -300 4 }") != std::string::npos); in TEST() 89 EXPECT_TRUE(ss.str().find(".array array_5 f32 3 { 5.1 6.2 -122.345 }") != std::string::npos); in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/11.enumerations/01.enumeration_integer_values/ |
| D | enum_int.params.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 --- 16 - decl: |- 18 use: |- 23 - decl: |- 24 enum Enum { first, second = -2147483648, third} 25 use: |- 27 assert Enum.second.valueOf() == -2147483648 28 assert Enum.third.valueOf() == -2147483647 [all …]
|