Searched defs:counter (Results 1 - 25 of 383) 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:__anon22641
H A DZGen_2Phase_fp.h17 UINT16 counter; member in struct:__anon22802
/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/boringssl/src/crypto/fipsmodule/rand/
H A Dinternal.h50 } counter; member in struct:__anon687
/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 Dlib510.c36 int counter; member in struct:WriteThis
47 data = post[pooh->counter];
52 pooh->counter++; /* advance pointer */
64 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
108 test_setopt(curl, CURLOPT_IOCTLDATA, &counter);
110 test_setopt(curl, CURLOPT_READDATA, &counter);
/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;
/external/libpng/contrib/arm-neon/
H A Dlinux.c41 int counter; local
43 for (state=StartLine, counter=0;;)
63 counter=0;
69 if ((ch & ~0x20) == ch_feature[counter])
71 if (++counter == (sizeof ch_feature))
112 counter = 0;
117 if ((ch & ~0x20) == ch_neon[counter])
119 if (++counter == (sizeof ch_neon))
/external/linux-kselftest/tools/testing/selftests/sync/
H A Dsync_stress_parallelism.c37 int counter; member in struct:__anon12314
61 ASSERT(test_data_two_threads.counter == i * 2 + thread_id,
63 test_data_two_threads.counter++;
85 test_data_two_threads.counter = 0;
90 * hammmering on the same counter.
104 ASSERT(test_data_two_threads.counter ==
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D6-1.c56 int counter = 0; local
68 counter++;
72 return counter;

Completed in 1097 milliseconds

1234567891011>>