Home
last modified time | relevance | path

Searched defs:counter (Results 1 – 25 of 921) sorted by relevance

12345678910>>...37

/external/webrtc/video/
Dstats_counter_unittest.cc37 void AddSampleAndAdvance(int sample, int interval_ms, AvgCounter* counter) { in AddSampleAndAdvance()
44 RateAccCounter* counter) { in SetSampleAndAdvance()
60 AvgCounter counter(&clock_, nullptr, false); in TEST_F() local
67 AvgCounter counter(&clock_, observer, false); in TEST_F() local
75 AvgCounter counter(&clock_, nullptr, false); in TEST_F() local
83 AvgCounter counter(&clock_, observer, false); in TEST_F() local
103 AvgCounter counter(&clock_, observer, false); in TEST_F() local
124 MaxCounter counter(&clock_, observer, kProcessIntervalMs); in TEST_F() local
144 PercentCounter counter(&clock_, observer); in TEST_F() local
162 PermilleCounter counter(&clock_, observer); in TEST_F() local
[all …]
/external/libchrome/base/test/
Dtest_mock_time_task_runner_unittest.cc32 int counter = 0; in TEST() local
36 base::Bind([](int* counter) { *counter += 1; }, Unretained(&counter))); in TEST()
39 base::Bind([](int* counter) { *counter += 32; }, Unretained(&counter))); in TEST()
42 base::Bind([](int* counter) { *counter += 256; }, Unretained(&counter)), in TEST()
46 base::Bind([](int* counter) { *counter += 64; }, Unretained(&counter)), in TEST()
50 base::Bind([](int* counter) { *counter += 1024; }, in TEST()
55 base::Bind([](int* counter) { *counter += 4096; }, in TEST()
96 int counter = 0; in TEST() local
99 base::Bind([](int* counter) { *counter += 1; }, Unretained(&counter))); in TEST()
102 base::Bind([](int* counter) { *counter += 32; }, Unretained(&counter))); in TEST()
[all …]
Dscoped_task_environment_unittest.cc155 subtle::Atomic32 counter = 0; in TEST_P() local
162 [](subtle::Atomic32* counter) { in TEST_P()
171 [](subtle::Atomic32* counter) { in TEST_P()
183 [](subtle::Atomic32* counter) { in TEST_P()
191 [](subtle::Atomic32* counter) { in TEST_P()
199 [](subtle::Atomic32* counter) { in TEST_P()
204 [](subtle::Atomic32* counter) { in TEST_P()
/external/webrtc/rtc_base/numerics/
Dmoving_max_counter_unittest.cc16 rtc::MovingMaxCounter<int> counter(100); in TEST() local
30 rtc::MovingMaxCounter<int> counter(100); in TEST() local
42 rtc::MovingMaxCounter<int> counter(100); in TEST() local
49 rtc::MovingMaxCounter<int> counter(100); in TEST() local
Dsample_counter_unittest.cc24 SampleCounter counter; in TEST() local
31 SampleCounter counter; in TEST() local
42 SampleCounter counter; in TEST() local
53 SampleCounterWithVariance counter; in TEST() local
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dwindow.cpp8 int counter = 0; variable
24 int counter = 0; variable
40 int counter = 0; variable
61 int counter = 0; variable
81 int counter = 0; variable
101 int counter = 0; variable
120 int counter = 0; variable
139 int counter = 0; variable
157 int counter = 0; variable
178 int counter = 0; variable
[all …]
/external/opencensus-java/impl/src/test/java/io/opencensus/impl/internal/
DDisruptorEventQueueTest.java62 private final Counter counter; field in DisruptorEventQueueTest.IncrementEvent
64 IncrementEvent(Counter counter) { in IncrementEvent()
76 Counter counter = new Counter(); in incrementOnce() local
91 Counter counter = new Counter(); in incrementTenK() local
/external/python/cryptography/src/cryptography/hazmat/primitives/twofactor/
Dhotp.py47 def generate(self, counter): argument
52 def verify(self, hotp, counter): argument
56 def _dynamic_truncate(self, counter): argument
65 def get_provisioning_uri(self, account_name, counter, issuer): argument
/external/mockito/src/test/java/org/mockitousage/bugs/
DShouldNotDeadlockAnswerExecutionTest.java26 AtomicInteger counter = new AtomicInteger(2); in failIfMockIsSharedBetweenThreads() local
52 AtomicInteger counter = new AtomicInteger(2); in successIfEveryThreadHasItsOwnMock() local
76 private AtomicInteger counter; field in ShouldNotDeadlockAnswerExecutionTest.LockingAnswer
78 public LockingAnswer(AtomicInteger counter) { in LockingAnswer()
/external/guava/guava-tests/test/com/google/common/primitives/
DImmutableLongArrayTest.java170 AtomicLong counter = new AtomicLong(0); in testBuilder_bruteForce() local
185 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
191 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
201 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
212 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
223 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
233 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
243 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
259 abstract void doIt(ImmutableLongArray.Builder builder, AtomicLong counter); in doIt()
DImmutableIntArrayTest.java168 AtomicInteger counter = new AtomicInteger(0); in testBuilder_bruteForce() local
183 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
189 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
199 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
210 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
221 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
231 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
241 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
257 abstract void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter); in doIt()
DImmutableDoubleArrayTest.java171 AtomicInteger counter = new AtomicInteger(0); in testBuilder_bruteForce() local
186 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
192 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
202 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
213 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
224 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
234 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
244 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
260 abstract void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter); in doIt()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_perf.h73 #define LP_COUNT(counter) lp_count.counter++ argument
74 #define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr) argument
75 #define LP_COUNT_GET(counter) (lp_count.counter) argument
77 #define LP_COUNT(counter) do {} while (0) argument
78 #define LP_COUNT_ADD(counter, incr) (void)(incr) argument
79 #define LP_COUNT_GET(counter) 0 argument
/external/guava/android/guava-tests/test/com/google/common/primitives/
DImmutableIntArrayTest.java159 AtomicInteger counter = new AtomicInteger(0); in testBuilder_bruteForce() local
174 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
180 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
190 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
201 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
212 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
222 void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { in doIt()
238 abstract void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter); in doIt()
DImmutableLongArrayTest.java161 AtomicLong counter = new AtomicLong(0); in testBuilder_bruteForce() local
176 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
182 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
192 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
203 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
214 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
224 void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) { in doIt()
240 abstract void doIt(ImmutableLongArray.Builder builder, AtomicLong counter); in doIt()
DImmutableDoubleArrayTest.java162 AtomicInteger counter = new AtomicInteger(0); in testBuilder_bruteForce() local
177 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
183 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
193 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
204 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
215 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
225 void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { in doIt()
241 abstract void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter); in doIt()
/external/rust/crates/crossbeam-utils/tests/
Dthread.rs15 let counter = AtomicUsize::new(0); in join() localVariable
34 fn counter() { in counter() function
35 let counter = AtomicUsize::new(0); in counter() localVariable
50 let counter = AtomicUsize::new(0); in counter_builder() localVariable
72 let counter = AtomicUsize::new(0); in counter_panic() localVariable
/external/eigen/unsupported/test/
Dcxx11_tensor_notification.cpp28 void WaitAndAdd(Eigen::Notification* n, int* counter) { in WaitAndAdd()
39 int counter = 0; in test_notification_single() local
63 int counter = 0; in test_notification_multiple() local
/external/curl/tests/libtest/
Dlib547.c46 int *counter = (int *)clientp; in readcallback() local
67 int *counter = (int *)clientp; in ioctlcallback() local
85 int counter = 0; in test() local
/external/tensorflow/tensorflow/cc/training/
Dcoordinator_test.cc70 void StartCounting(std::atomic<int>* counter, int until, in StartCounting()
76 void StartSettingStatus(const Status& status, BlockingCounter* counter, in StartSettingStatus()
99 void CountThread(std::atomic<int>* counter, int until, Notification* start) { in CountThread()
107 void SetStatusThread(const Status& status, BlockingCounter* counter, in SetStatusThread()
121 std::atomic<int> counter(0); in TEST() local
145 std::atomic<int> counter(0); in TEST() local
179 BlockingCounter counter(3); in TEST() local
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DDSAValidationParameters.java13 private int counter; field in DSAValidationParameters
17 int counter) in DSAValidationParameters()
24 int counter, in DSAValidationParameters()
/external/webrtc/modules/video_coding/
Dunique_timestamp_counter_unittest.cc18 UniqueTimestampCounter counter; in TEST() local
23 UniqueTimestampCounter counter; in TEST() local
36 UniqueTimestampCounter counter; in TEST() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDSAValidationParameters.java9 private int counter; field in DSAValidationParameters
13 int counter) in DSAValidationParameters()
20 int counter, in DSAValidationParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DDSAValidationParameters.java13 private int counter; field in DSAValidationParameters
17 int counter) in DSAValidationParameters()
24 int counter, in DSAValidationParameters()
/external/proguard/src/proguard/optimize/peephole/
DClassMerger.java495 MemberCounter counter = new MemberCounter(); in haveAnyIdenticalFields() local
522 MemberCounter counter = new MemberCounter(); in introducesUnwantedFields() local
538 MemberCounter counter = new MemberCounter(); in shadowsAnyFields() local
558 MemberCounter counter = new MemberCounter(); in haveAnyIdenticalMethods() local
589 MemberCounter counter = new MemberCounter(); in introducesUnwantedAbstractMethods() local
613 MemberCounter counter = new MemberCounter(); in overridesAnyMethods() local
634 MemberCounter counter = new MemberCounter(); in shadowsAnyMethods() local

12345678910>>...37