| /arkcompiler/ets_frontend/arkguard/test/grammar/interface_validation/ |
| D | interface_mix_type.ts | 19 interface Counter { interface 27 function getCounter(): Counter { 28 const counter = <Counter>function (start: number) { }; constant 29 counter.interval = 10; 30 counter.reset = function ():void { 31 counter.interval = 30 33 return counter;
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/ |
| D | perf_counter.cpp | 231 for (auto &[desc, counter] : counters_) { in ~PerfCollector() 232 auto data = counter.GetData(); in ~PerfCollector() 243 for (auto &[desc, counter] : counters_) { in Reset() 244 counter.Reset(); in Reset() 250 for (auto &[desc, counter] : counters_) { in Enable() 251 counter.Enable(); in Enable() 257 for (auto &[desc, counter] : counters_) { in Disable() 258 counter.Disable(); in Disable() 280 …virtual void Report(std::ostream &out, const char *title, CounterValue counter, const Perf *p) con… 292 static void ReportLongCounter(std::ostream &out, const char *title, CounterValue counter); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/ |
| D | test_runtime_capture.py | 68 counter = -1 72 counter, stop = _check(bp.label, expect, paused, counter) 77 def _check(bp_label: str | None, expect: Expect, paused: PausedStep, counter: int) -> tuple[int, bo… 80 counter = 0 85 assert [arkts_str(counter)] == paused.capture.stdout 86 counter += 1 90 return counter, True 91 return counter, False
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/public/ |
| D | ast_verifier_check_normal_loop_test.cpp | 41 let counter = 0; 42 while (counter < 10) { 43 counter = counter + 1; 51 let counter = 0; 53 counter = counter + 1 54 } while (counter < 10)
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/numeric/loop/ |
| D | numeric-loop-while-float-in.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) {
|
| D | numeric-loop-for-int-nonzero-expression.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) return 0;
|
| D | numeric-loop-for-short-zero-expression.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 0) { 32 if (counter == 0) return 0;
|
| D | numeric-loop-while-double.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 0) { 32 if (counter == 0) {
|
| D | numeric-loop-do-while-float-in.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) {
|
| D | numeric-loop-while-number-in.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) {
|
| D | numeric-loop-do-while-long.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 1) {
|
| D | numeric-loop-for-long-nonzero-expression.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) return 0;
|
| D | numeric-loop-for-float-zero-expression.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 0) { 32 if (counter == 0) return 0;
|
| D | numeric-loop-do-while-float.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 1) {
|
| D | numeric-loop-do-while-double.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 1) {
|
| D | numeric-loop-do-while-long-in.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) {
|
| D | numeric-loop-do-while-double-in.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) {
|
| D | numeric-loop-do-while-byte-in.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) {
|
| D | numeric-loop-do-while-number-in.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) {
|
| D | numeric-loop-for-float-nonzero-expression.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) return 0;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/nullish_expr/loop/ |
| D | undefined-expression-for-loop.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 0) {
|
| D | undefined-expression-loop-do-while.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 1) {
|
| D | undefined-expression-loop-while.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 0) {
|
| D | null-expression-for-loop.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 0) { 32 if (counter == 0) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/string/loop/ |
| D | string-expression-loop-while-in.sts | 24 let counter : int = 0; 26 counter = counter + 1; 27 if (counter > 10) { 32 if (counter == 11) {
|