Searched defs:counter (Results 1 - 25 of 442) sorted by relevance

1234567891011>>

/external/compiler-rt/test/tsan/
H A Dfork_deadlock.cc7 int counter; variable
11 __sync_fetch_and_add(&counter, 1);
26 __sync_fetch_and_add(&counter, 1);
/external/compiler-rt/test/BlocksRuntime/
H A Ddispatch_async.c20 __block CFIndex counter; local
25 counter = 0;
31 counter++;
34 counter--;
35 if(counter == 0) {
40 if(counter == 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
H A D6-1.c28 int counter = SEM_VALUE_MAX; local
35 ++counter;
36 sem_init(&mysemp, 0, counter);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
H A D5-1.c30 int counter = SEM_VALUE_MAX; local
32 if (counter >= INT_MAX) {
38 ++counter;
39 mysemp = sem_open(semname, O_CREAT, 0444, counter);
/external/tpm2/
H A DEC_Ephemeral_fp.h16 UINT16 counter; member in struct:__anon27035
H A DZGen_2Phase_fp.h17 UINT16 counter; member in struct:__anon27196
/external/valgrind/none/tests/s390x/
H A Dex_sig.c16 static int counter; local
19 counter++;
27 if (counter == 2) {
/external/clang/test/PCH/
H A Dcxx1y-init-captures.cpp11 auto counter = [a(0)] () mutable { return a++; }; variable
12 int x = counter();
20 int y = counter();
/external/compiler-rt/test/tsan/Linux/
H A Dcheck_preinit.cc20 volatile int counter = 0; variable
26 lib_constructor_call = ++counter;
31 extern int counter;
39 bin_constructor_call = ++counter;
45 tsan_init_call = ++counter;
/external/eigen/unsupported/test/
H A Dcxx11_tensor_notification.cpp28 void WaitAndAdd(Eigen::Notification* n, int* counter) { argument
30 *counter = *counter + 1;
39 int counter = 0; local
41 std::function<void()> func = std::bind(&WaitAndAdd, &n, &counter);
46 VERIFY_IS_EQUAL(counter, 0);
53 // Verify the counter has been incremented
54 VERIFY_IS_EQUAL(counter, 1);
63 int counter = 0; local
65 std::function<void()> func = std::bind(&WaitAndAdd, &n, &counter);
[all...]
/external/libopus/silk/
H A Dresampler_down2_3.c46 opus_int32 nSamplesIn, counter, res_Q6; local
66 counter = nSamplesIn;
67 while( counter > 2 ) {
86 counter -= 3;
/external/ltp/lib/
H A Dtst_fill_file.c34 size_t counter; local
49 for (counter = 0; counter < bs; counter++)
50 buf[counter] = pattern;
53 for (counter = 0; counter < bcount; counter++) {
/external/tensorflow/tensorflow/core/lib/core/
H A Dnotification_test.cc30 int counter = 0; local
33 thread_pool->Schedule([&start, &proceed, &counter] {
36 ++counter;
43 EXPECT_EQ(0, counter);
50 // Verify the counter has been incremented
51 EXPECT_EQ(1, counter);
60 int counter = 0; local
64 thread_pool->Schedule([&n, &lock, &counter] {
67 ++counter;
74 EXPECT_EQ(0, counter);
[all...]
/external/boringssl/src/crypto/fipsmodule/rand/
H A Dinternal.h50 } counter; member in struct:__anon964
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DDHValidationParameters.java8 private int counter; field in class:DHValidationParameters
12 int counter)
15 this.counter = counter;
20 return counter;
38 if (other.counter != this.counter)
48 return counter ^ Arrays.hashCode(seed);
10 DHValidationParameters( byte[] seed, int counter) argument
H A DDSAValidationParameters.java9 private int counter; field in class:DSAValidationParameters
13 int counter)
15 this(seed, counter, -1);
20 int counter,
24 this.counter = counter;
30 return counter;
45 return counter ^ Arrays.hashCode(seed);
58 if (other.counter != this.counter)
11 DSAValidationParameters( byte[] seed, int counter) argument
18 DSAValidationParameters( byte[] seed, int counter, int usageIndex) argument
[all...]
/external/curl/tests/libtest/
H A Dlib1552.c38 int counter = 3; local
59 while(still_running && counter--) {
H A Dlib510.c36 int counter; member in struct:WriteThis
47 data = post[pooh->counter];
56 pooh->counter++; /* advance pointer */
68 pooh.counter = 0;
H A Dlib547.c46 int *counter = (int *)clientp; local
48 if(*counter) {
53 (*counter)++; /* bump */
67 int *counter = (int *)clientp; local
71 *counter = 0; /* clear counter to make the read callback restart */
85 int counter = 0; local
109 test_setopt(curl, CURLOPT_IOCTLDATA, &counter);
111 test_setopt(curl, CURLOPT_READDATA, &counter);
/external/curl/tests/unit/
H A Dunit1606.c51 int counter = 1; local
67 now.tv_sec = ++counter;
69 } while(counter < 100);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DListenerCallQueueTest.java46 AtomicInteger counter = new AtomicInteger();
47 queue.add(incrementingCallback(counter, 1));
48 queue.add(incrementingCallback(counter, 2));
49 queue.add(incrementingCallback(counter, 3));
50 queue.add(incrementingCallback(counter, 4));
51 assertEquals(0, counter.get());
53 assertEquals(4, counter.get());
61 AtomicInteger counter = new AtomicInteger();
62 queue.add(incrementingCallback(counter, 1));
64 queue.add(incrementingCallback(counter,
123 incrementingCallback(final AtomicInteger counter, final int expected) argument
[all...]
/external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/
H A DCount.java24 final Counter counter; field in class:Count
29 public Count(Counter counter, Service service) { argument
30 this.counter = counter;
39 return counter.increment();
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
H A DProbeCounterTest.java28 private ProbeCounter counter; field in class:ProbeCounterTest
32 counter = new ProbeCounter();
37 assertFalse(counter.hasMethods());
38 assertEquals(0, counter.getCount());
43 counter.visitTotalProbeCount(42);
44 assertEquals(42, counter.getCount());
49 assertNull(counter.visitMethod(0, "<clinit>", null, null, null));
50 assertFalse(counter.hasMethods());
55 counter.visitMethod(Opcodes.ACC_ABSTRACT, "foo", null, null, null);
56 assertFalse(counter
[all...]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/filter/targets/
H A DSynthetic.java19 private static int counter; // $line-field$ field in class:Synthetic
41 counter = counter + 2;
/external/javassist/src/test/test/javassist/proxy/
H A DProxyCacheGCTest.java61 public void createProxy(int counter) argument
67 String targetName = "test.javassist.MyTarget_" + counter;
68 String targetConstructorName = "MyTarget_" + counter;
76 String handlerName = "test.javassist.MyHandler_" + counter;
83 String filterName = "test.javassist.MyFilter" + counter;

Completed in 1094 milliseconds

1234567891011>>