Home
last modified time | relevance | path

Searched full:counter (Results 1 – 25 of 221) sorted by relevance

123456789

/arkcompiler/ets_frontend/arkguard/test/grammar/interface_validation/
Dinterface_mix_type.ts19 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/plugins/ets/tests/ets_func_tests/spec/04.Names_Declarations_and_Scopes/4.7.Function_Declarations/
Dfunction-optional-parameters-02.sts130 let counter = 0;
132 counter += test1();
133 counter += test2();
134 counter += test3();
135 counter += test4();
136 counter += test5();
137 counter += test6();
138 counter += test7();
140 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/
Dstring-expression-for-loop-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dstring-expression-loop-do-while.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/numeric/loop/
Dnumeric-loop-while-long.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) {
Dnumeric-loop-do-while-long.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
Dnumeric-loop-for-number-zero-expression.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) return 0;
Dnumeric-loop-do-while-int.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
Dnumeric-loop-do-while-short-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dnumeric-loop-for-double-zero-expression.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) return 0;
Dnumeric-loop-while-int-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dnumeric-loop-do-while-short.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
Dnumeric-loop-for-long-zero-expression.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) return 0;
Dnumeric-loop-do-while-double.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
Dnumeric-loop-while-short.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) {
Dnumeric-loop-for-byte-nonzero-expression.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) return 0;
Dnumeric-loop-do-while-float-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dnumeric-loop-do-while-number.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
Dnumeric-loop-do-while-long-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dnumeric-loop-while-number.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) {
Dnumeric-loop-do-while-byte.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
Dnumeric-loop-for-float-zero-expression.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) 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/
Dnull-expression-for-loop.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) {
Dnull-expression-loop-while.sts24 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_test_suite/coroutines/
Dlaunch_yield.sts16 let counter = 0;
19 counter += a;
26 if (counter != 5) {
27 console.println("Invalid counter: expected 5 but was " + counter);

123456789