/external/compiler-rt/test/tsan/ |
H A D | fork_deadlock.cc | 7 int counter; variable 11 __sync_fetch_and_add(&counter, 1); 26 __sync_fetch_and_add(&counter, 1);
|
/external/compiler-rt/test/BlocksRuntime/ |
H A D | dispatch_async.c | 20 __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 D | 6-1.c | 28 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 D | 5-1.c | 30 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 D | EC_Ephemeral_fp.h | 16 UINT16 counter; member in struct:__anon27035
|
H A D | ZGen_2Phase_fp.h | 17 UINT16 counter; member in struct:__anon27196
|
/external/valgrind/none/tests/s390x/ |
H A D | ex_sig.c | 16 static int counter; local 19 counter++; 27 if (counter == 2) {
|
/external/clang/test/PCH/ |
H A D | cxx1y-init-captures.cpp | 11 auto counter = [a(0)] () mutable { return a++; }; variable 12 int x = counter(); 20 int y = counter();
|
/external/compiler-rt/test/tsan/Linux/ |
H A D | check_preinit.cc | 20 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 D | cxx11_tensor_notification.cpp | 28 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 D | resampler_down2_3.c | 46 opus_int32 nSamplesIn, counter, res_Q6; local 66 counter = nSamplesIn; 67 while( counter > 2 ) { 86 counter -= 3;
|
/external/ltp/lib/ |
H A D | tst_fill_file.c | 34 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 D | notification_test.cc | 30 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 D | internal.h | 50 } counter; member in struct:__anon964
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
H A D | DHValidationParameters.java | 8 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 D | DSAValidationParameters.java | 9 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 D | lib1552.c | 38 int counter = 3; local 59 while(still_running && counter--) {
|
H A D | lib510.c | 36 int counter; member in struct:WriteThis 47 data = post[pooh->counter]; 56 pooh->counter++; /* advance pointer */ 68 pooh.counter = 0;
|
H A D | lib547.c | 46 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 D | unit1606.c | 51 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 D | ListenerCallQueueTest.java | 46 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 D | Count.java | 24 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 D | ProbeCounterTest.java | 28 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 D | Synthetic.java | 19 private static int counter; // $line-field$ field in class:Synthetic 41 counter = counter + 2;
|
/external/javassist/src/test/test/javassist/proxy/ |
H A D | ProxyCacheGCTest.java | 61 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;
|