Home
last modified time | relevance | path

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

12345678910

/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/runtime/tooling/
Dperf_counter.cpp231 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/
Dtest_runtime_capture.py68 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/
Dast_verifier_check_normal_loop_test.cpp41 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/
Dnumeric-loop-while-float-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dnumeric-loop-for-int-nonzero-expression.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) return 0;
Dnumeric-loop-for-short-zero-expression.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 0) return 0;
Dnumeric-loop-while-double.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 0) {
32 if (counter == 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-while-number-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
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-long-nonzero-expression.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) return 0;
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;
Dnumeric-loop-do-while-float.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
Dnumeric-loop-do-while-double.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-do-while-double-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dnumeric-loop-do-while-byte-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dnumeric-loop-do-while-number-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {
Dnumeric-loop-for-float-nonzero-expression.sts24 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/
Dundefined-expression-for-loop.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 0) {
Dundefined-expression-loop-do-while.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 1) {
Dundefined-expression-loop-while.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 0) {
Dnull-expression-for-loop.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_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/string/loop/
Dstring-expression-loop-while-in.sts24 let counter : int = 0;
26 counter = counter + 1;
27 if (counter > 10) {
32 if (counter == 11) {

12345678910