Home
last modified time | relevance | path

Searched refs:counter (Results 51 – 75 of 28597) sorted by relevance

12345678910>>...1144

/dports/devel/efl/efl-1.25.1/src/tests/eo/suite/
H A Deo_test_lifecycle.c173 ++(counter->shared); in _ownership_shared_event()
180 ++(counter->unique); in _ownership_unique_event()
187 ++(counter->invalidate); in _invalidate_ownership_event()
201 ck_assert_int_eq(counter.shared, 1); in EFL_START_TEST()
202 ck_assert_int_eq(counter.unique, 0); in EFL_START_TEST()
205 ck_assert_int_eq(counter.shared, 1); in EFL_START_TEST()
206 ck_assert_int_eq(counter.unique, 1); in EFL_START_TEST()
209 ck_assert_int_eq(counter.shared, 2); in EFL_START_TEST()
210 ck_assert_int_eq(counter.unique, 1); in EFL_START_TEST()
212 ck_assert_int_eq(counter.shared, 2); in EFL_START_TEST()
[all …]
/dports/www/kannel/gateway-1.4.4/gwlib/
H A Dcounter.c105 counter->n = 0; in counter_create()
106 return counter; in counter_create()
127 lock(counter); in counter_increase()
129 ++counter->n; in counter_increase()
130 unlock(counter); in counter_increase()
138 lock(counter); in counter_increase_with()
141 unlock(counter); in counter_increase_with()
149 lock(counter); in counter_value()
159 lock(counter); in counter_decrease()
171 lock(counter); in counter_set()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/rtc_base/numerics/
H A Dmoving_max_counter_unittest.cc17 counter.Add(1, 1); in TEST()
19 counter.Add(2, 30); in TEST()
21 counter.Add(100, 60); in TEST()
23 counter.Add(4, 70); in TEST()
25 counter.Add(5, 90); in TEST()
31 counter.Add(1, 1); in TEST()
32 counter.Add(2, 30); in TEST()
34 counter.Add(4, 70); in TEST()
35 counter.Add(5, 90); in TEST()
50 counter.Add(2, 30); in TEST()
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/rtc_base/numerics/
H A Dmoving_max_counter_unittest.cc17 counter.Add(1, 1); in TEST()
19 counter.Add(2, 30); in TEST()
21 counter.Add(100, 60); in TEST()
23 counter.Add(4, 70); in TEST()
25 counter.Add(5, 90); in TEST()
31 counter.Add(1, 1); in TEST()
32 counter.Add(2, 30); in TEST()
34 counter.Add(4, 70); in TEST()
35 counter.Add(5, 90); in TEST()
50 counter.Add(2, 30); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/rtc_base/numerics/
H A Dmoving_max_counter_unittest.cc17 counter.Add(1, 1); in TEST()
19 counter.Add(2, 30); in TEST()
21 counter.Add(100, 60); in TEST()
23 counter.Add(4, 70); in TEST()
25 counter.Add(5, 90); in TEST()
31 counter.Add(1, 1); in TEST()
32 counter.Add(2, 30); in TEST()
34 counter.Add(4, 70); in TEST()
35 counter.Add(5, 90); in TEST()
50 counter.Add(2, 30); in TEST()
[all …]
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/rtc_base/numerics/
H A Dmoving_max_counter_unittest.cc17 counter.Add(1, 1); in TEST()
19 counter.Add(2, 30); in TEST()
21 counter.Add(100, 60); in TEST()
23 counter.Add(4, 70); in TEST()
25 counter.Add(5, 90); in TEST()
31 counter.Add(1, 1); in TEST()
32 counter.Add(2, 30); in TEST()
34 counter.Add(4, 70); in TEST()
35 counter.Add(5, 90); in TEST()
50 counter.Add(2, 30); in TEST()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/rtc_base/numerics/
H A Dmoving_max_counter_unittest.cc16 counter.Add(1, 1); in TEST()
18 counter.Add(2, 30); in TEST()
20 counter.Add(100, 60); in TEST()
22 counter.Add(4, 70); in TEST()
24 counter.Add(5, 90); in TEST()
30 counter.Add(1, 1); in TEST()
31 counter.Add(2, 30); in TEST()
33 counter.Add(4, 70); in TEST()
34 counter.Add(5, 90); in TEST()
49 counter.Add(2, 30); in TEST()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/rtc_base/numerics/
H A Dmoving_max_counter_unittest.cc16 counter.Add(1, 1); in TEST()
18 counter.Add(2, 30); in TEST()
20 counter.Add(100, 60); in TEST()
22 counter.Add(4, 70); in TEST()
24 counter.Add(5, 90); in TEST()
30 counter.Add(1, 1); in TEST()
31 counter.Add(2, 30); in TEST()
33 counter.Add(4, 70); in TEST()
34 counter.Add(5, 90); in TEST()
49 counter.Add(2, 30); in TEST()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/rtc_base/numerics/
H A Dmoving_max_counter_unittest.cc16 counter.Add(1, 1); in TEST()
18 counter.Add(2, 30); in TEST()
20 counter.Add(100, 60); in TEST()
22 counter.Add(4, 70); in TEST()
24 counter.Add(5, 90); in TEST()
30 counter.Add(1, 1); in TEST()
31 counter.Add(2, 30); in TEST()
33 counter.Add(4, 70); in TEST()
34 counter.Add(5, 90); in TEST()
49 counter.Add(2, 30); in TEST()
[all …]
/dports/www/node10/node-v10.24.1/deps/v8/src/arm64/
H A Dinstrument-arm64.cc145 counter->Increment(); in Update()
147 if (counter->IsEnabled() && (counter->count() % sample_period_) == 0) { in Update()
234 counter->Increment(); in VisitPCRelAddressing()
241 counter->Increment(); in VisitAddSubImmediate()
248 counter->Increment(); in VisitLogicalImmediate()
268 counter->Increment(); in VisitBitfield()
275 counter->Increment(); in VisitExtract()
282 counter->Increment(); in VisitUnconditionalBranch()
289 counter->Increment(); in VisitUnconditionalBranchToRegister()
296 counter->Increment(); in VisitCompareBranch()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/comedi/drivers/
H A Dni_tio.c153 counter->counter_dev->write(counter, value, reg); in ni_tio_write()
165 return counter->counter_dev->read(counter, reg); in ni_tio_read()
541 ni_tio_set_sync_mode(counter); in ni_tio_set_counter_mode()
804 ni_tio_set_sync_mode(counter); in ni_tio_set_clock_src()
829 ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(counter->counter_index), in ni_tio_set_gate_raw()
836 ni_tio_set_bits(counter, NITIO_GATE2_REG(counter->counter_index), in ni_tio_set_gate2_raw()
860 ni_tio_set_bits(counter, NITIO_MODE_REG(counter->counter_index), in ni_tio_set_gate_mode()
892 ni_tio_set_bits(counter, NITIO_GATE2_REG(counter->counter_index), in ni_tio_set_gate2_mode()
1035 ni_tio_set_gate_raw(counter, src); in ni_tio_set_gate_src_raw()
1775 struct ni_gpct *counter; in ni_gpct_device_construct() local
[all …]
H A Dni_tiocmd.c78 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local
87 if (counter->mite_chan) in ni_tio_input_inttrig()
88 mite_dma_arm(counter->mite_chan); in ni_tio_input_inttrig()
130 mite_dma_arm(counter->mite_chan); in ni_tio_input_cmd()
213 if (!counter->mite_chan) { in ni_tio_cmd()
337 ni_tio_arm(counter, false, 0); in ni_tio_cancel()
339 if (counter->mite_chan) in ni_tio_cancel()
372 if (!counter->mite_chan || in should_ack_gate()
424 if (should_ack_gate(counter)) in ni_tio_acknowledge_and_confirm()
480 if (counter->mite_chan) in ni_tio_handle_interrupt()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/comedi/drivers/
H A Dni_tio.c153 counter->counter_dev->write(counter, value, reg); in ni_tio_write()
165 return counter->counter_dev->read(counter, reg); in ni_tio_read()
541 ni_tio_set_sync_mode(counter); in ni_tio_set_counter_mode()
804 ni_tio_set_sync_mode(counter); in ni_tio_set_clock_src()
829 ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(counter->counter_index), in ni_tio_set_gate_raw()
836 ni_tio_set_bits(counter, NITIO_GATE2_REG(counter->counter_index), in ni_tio_set_gate2_raw()
860 ni_tio_set_bits(counter, NITIO_MODE_REG(counter->counter_index), in ni_tio_set_gate_mode()
892 ni_tio_set_bits(counter, NITIO_GATE2_REG(counter->counter_index), in ni_tio_set_gate2_mode()
1035 ni_tio_set_gate_raw(counter, src); in ni_tio_set_gate_src_raw()
1775 struct ni_gpct *counter; in ni_gpct_device_construct() local
[all …]
H A Dni_tiocmd.c78 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local
87 if (counter->mite_chan) in ni_tio_input_inttrig()
88 mite_dma_arm(counter->mite_chan); in ni_tio_input_inttrig()
130 mite_dma_arm(counter->mite_chan); in ni_tio_input_cmd()
213 if (!counter->mite_chan) { in ni_tio_cmd()
337 ni_tio_arm(counter, false, 0); in ni_tio_cancel()
339 if (counter->mite_chan) in ni_tio_cancel()
372 if (!counter->mite_chan || in should_ack_gate()
424 if (should_ack_gate(counter)) in ni_tio_acknowledge_and_confirm()
480 if (counter->mite_chan) in ni_tio_handle_interrupt()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/comedi/drivers/
H A Dni_tio.c153 counter->counter_dev->write(counter, value, reg); in ni_tio_write()
165 return counter->counter_dev->read(counter, reg); in ni_tio_read()
541 ni_tio_set_sync_mode(counter); in ni_tio_set_counter_mode()
804 ni_tio_set_sync_mode(counter); in ni_tio_set_clock_src()
829 ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(counter->counter_index), in ni_tio_set_gate_raw()
836 ni_tio_set_bits(counter, NITIO_GATE2_REG(counter->counter_index), in ni_tio_set_gate2_raw()
860 ni_tio_set_bits(counter, NITIO_MODE_REG(counter->counter_index), in ni_tio_set_gate_mode()
892 ni_tio_set_bits(counter, NITIO_GATE2_REG(counter->counter_index), in ni_tio_set_gate2_mode()
1035 ni_tio_set_gate_raw(counter, src); in ni_tio_set_gate_src_raw()
1775 struct ni_gpct *counter; in ni_gpct_device_construct() local
[all …]
H A Dni_tiocmd.c78 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local
87 if (counter->mite_chan) in ni_tio_input_inttrig()
88 mite_dma_arm(counter->mite_chan); in ni_tio_input_inttrig()
130 mite_dma_arm(counter->mite_chan); in ni_tio_input_cmd()
213 if (!counter->mite_chan) { in ni_tio_cmd()
337 ni_tio_arm(counter, false, 0); in ni_tio_cancel()
339 if (counter->mite_chan) in ni_tio_cancel()
372 if (!counter->mite_chan || in should_ack_gate()
424 if (should_ack_gate(counter)) in ni_tio_acknowledge_and_confirm()
480 if (counter->mite_chan) in ni_tio_handle_interrupt()
[all …]
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/stats/
H A Dstats-counter.h46 return counter->external; in stats_counter_read_only()
52 if (counter) in stats_counter_add()
62 if (counter) in stats_counter_sub()
72 if (counter) in stats_counter_inc()
82 if (counter) in stats_counter_dec()
93 if (counter && !stats_counter_read_only(counter)) in stats_counter_set()
105 if (counter) in stats_counter_get()
107 if (!counter->external) in stats_counter_get()
118 if (counter) in stats_counter_get_name()
119 return counter->name; in stats_counter_get_name()
[all …]
/dports/lang/perl5.34/perl-5.34.0/ext/Hash-Util-FieldHash/t/
H A D05_perlhook.t29 my( $magref, $counter);
31 $counter = 123;
33 is( $counter, 0, "got magical scalar");
51 $counter = 0;
56 is( $counter, 2, "overwrite triggers");
69 my ( %h, $counter);
70 $counter = 123;
72 is( $counter, 0, "got magical hash");
162 is( $counter, 0, "got magical hash");
185 $counter = 123;
[all …]
/dports/lang/perl5.30/perl-5.30.3/ext/Hash-Util-FieldHash/t/
H A D05_perlhook.t29 my( $magref, $counter);
31 $counter = 123;
33 is( $counter, 0, "got magical scalar");
51 $counter = 0;
56 is( $counter, 2, "overwrite triggers");
69 my ( %h, $counter);
70 $counter = 123;
72 is( $counter, 0, "got magical hash");
162 is( $counter, 0, "got magical hash");
185 $counter = 123;
[all …]
/dports/lang/perl5.32/perl-5.32.1/ext/Hash-Util-FieldHash/t/
H A D05_perlhook.t29 my( $magref, $counter);
31 $counter = 123;
33 is( $counter, 0, "got magical scalar");
51 $counter = 0;
56 is( $counter, 2, "overwrite triggers");
69 my ( %h, $counter);
70 $counter = 123;
72 is( $counter, 0, "got magical hash");
162 is( $counter, 0, "got magical hash");
185 $counter = 123;
[all …]
/dports/sysutils/dnf/dnf-4.9.0/tests/
H A Dtest_match_counter.py55 counter.add(pkg, 'url', 'humbert')
68 counter.add(pkg1, 'name', '')
69 counter.add(pkg2, 'summary', '')
72 counter.add(pkg3, 'url', '')
85 srt = counter.sorted()
90 counter.add(pkg1, 'summary', 'a')
91 counter.add(pkg1, 'summary', 'b')
92 counter.add(pkg2, 'summary', 'b')
100 counter.add(pkg1, 'name', '')
101 counter.add(pkg2, 'url', '')
[all …]
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/ext/Hash-Util-FieldHash/t/
H A D05_perlhook.t29 my( $magref, $counter);
31 $counter = 123;
33 is( $counter, 0, "got magical scalar");
51 $counter = 0;
56 is( $counter, 2, "overwrite triggers");
69 my ( %h, $counter);
70 $counter = 123;
72 is( $counter, 0, "got magical hash");
162 is( $counter, 0, "got magical hash");
185 $counter = 123;
[all …]
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/perfprofiler/tests/
H A Dperfresourcecounter_test.cpp144 counter.request(1); in testUnitSized()
146 counter.obtain(id); in testUnitSized()
181 counter.obtain(i + 1); in testGuesses()
190 counter.release(i); in testGuesses()
206 counter.request(10); in testNegative()
226 counter.request(1000); in testInvalidId()
227 counter.obtain(0); in testInvalidId()
232 counter.request(500); in testInvalidId()
233 counter.obtain(1); in testInvalidId()
238 counter.release(0); in testInvalidId()
[all …]
/dports/math/qposases/qpOASES-3.2.1/testing/
H A DrunUnitTests54 counter=$[counter+1];
64 counter=0;
67 runTest $counter ../bin/test_matrices;
72 runTest $counter ../bin/test_example1;
75 runTest $counter ../bin/test_example2;
76 runTest $counter ../bin/test_example4;
79 runTest $counter ../bin/test_qrecipe;
83 runTest $counter ../bin/test_hs268;
89 runTest $counter ../bin/test_janick1;
90 runTest $counter ../bin/test_janick2;
[all …]
/dports/devel/grpc134/grpc-1.34.1/tools/run_tests/performance/
H A Dmassage_qps_stats.py28 "core_client_calls_created"] = massage_qps_stats_helpers.counter(
31 "core_server_calls_created"] = massage_qps_stats_helpers.counter(
33 stats["core_cqs_created"] = massage_qps_stats_helpers.counter(
44 stats["core_syscall_poll"] = massage_qps_stats_helpers.counter(
46 stats["core_syscall_wait"] = massage_qps_stats_helpers.counter(
48 stats["core_pollset_kick"] = massage_qps_stats_helpers.counter(
65 stats["core_syscall_epoll_ctl"] = massage_qps_stats_helpers.counter(
73 stats["core_syscall_write"] = massage_qps_stats_helpers.counter(
75 stats["core_syscall_read"] = massage_qps_stats_helpers.counter(
83 stats["core_http2_op_batches"] = massage_qps_stats_helpers.counter(
[all …]

12345678910>>...1144