/external/compiler-rt/test/tsan/ |
fork_deadlock.cc | 7 int counter; variable 11 __sync_fetch_and_add(&counter, 1); 26 __sync_fetch_and_add(&counter, 1);
|
/external/ltp/lib/ |
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/compiler-rt/test/BlocksRuntime/ |
dispatch_async.c | 20 __block CFIndex counter; local 25 counter = 0; 31 counter++; 34 counter--; 35 if(counter == 0) { 40 if(counter == 0) {
|
/prebuilts/go/darwin-x86/test/chan/ |
select.go | 11 var counter uint var 15 counter++ 54 if counter != 10 { 55 println("counter is", counter, "!= 10")
|
/prebuilts/go/linux-x86/test/chan/ |
select.go | 11 var counter uint var 15 counter++ 54 if counter != 10 { 55 println("counter is", counter, "!= 10")
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
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.hasMethods()) [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/csv/ |
ClassRowWriter.java | 84 final ICounter counter = node.getCounter(entity); local 85 writer.write(counter.getMissedCount()); 86 writer.write(counter.getCoveredCount());
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
mboxconvert.py | 79 counter = 0 # for generating unique Message-ID headers
variable 100 global counter
101 counter = counter + 1
102 msgid = "<%s.%d>" % (hex(t), counter)
|
/external/clang/test/PCH/ |
cxx1y-init-captures.cpp | 11 auto counter = [a(0)] () mutable { return a++; }; variable 12 int x = counter(); 20 int y = counter();
|
/external/curl/tests/libtest/ |
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);
|
lib1552.c | 38 int counter = 3; local 59 while(still_running && counter--) {
|
/external/libopus/silk/ |
resampler_down2_3.c | 46 opus_int32 nSamplesIn, counter, res_Q6; local 66 counter = nSamplesIn; 67 while( counter > 2 ) { 86 counter -= 3;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
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/ |
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/python/cpython2/Demo/scripts/ |
mboxconvert.py | 79 counter = 0 # for generating unique Message-ID headers variable 100 global counter 101 counter = counter + 1 102 msgid = "<%s.%d>" % (hex(t), counter)
|
/external/tpm2/ |
EC_Ephemeral_fp.h | 16 UINT16 counter; member in struct:__anon40356
|
/external/valgrind/none/tests/s390x/ |
ex_sig.c | 16 static int counter; local 19 counter++; 27 if (counter == 2) {
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_psk_common.c | 38 u8 counter = 1; local 44 hash[aes_block_size - 1] ^= counter; 47 hash[aes_block_size - 1] ^= counter; 48 counter++; 51 hash[aes_block_size - 1] ^= counter; 54 hash[aes_block_size - 1] ^= counter; 55 counter++; 59 hash[aes_block_size - 1] ^= counter; 63 hash[aes_block_size - 1] ^= counter; 64 counter++ [all...] |
/system/core/base/ |
quick_exit_test.cpp | 48 static int counter = 4; local 50 ASSERT_EQ(0, android::base::at_quick_exit([]() { _exit(counter); })); 51 ASSERT_EQ(0, android::base::at_quick_exit([]() { counter += 2; })); 52 ASSERT_EQ(0, android::base::at_quick_exit([]() { counter *= 10; }));
|
/external/guava/guava-tests/test/com/google/common/io/ |
CountingOutputStreamTest.java | 31 CountingOutputStream counter = new CountingOutputStream(out); local 33 assertEquals(written, counter.getCount()); 35 counter.write(0); 38 assertEquals(written, counter.getCount()); 41 counter.write(data); 44 assertEquals(written, counter.getCount()); 46 counter.write(data, 0, 5); 49 assertEquals(written, counter.getCount()); 51 counter.write(data, 2, 5); 54 assertEquals(written, counter.getCount()) [all...] |
CountingInputStreamTest.java | 29 private CountingInputStream counter; field in class:CountingInputStreamTest 33 counter = new CountingInputStream(new ByteArrayInputStream(new byte[20])); 37 assertEquals(0, counter.getCount()); 38 assertEquals(0, counter.read()); 39 assertEquals(1, counter.getCount()); 43 assertEquals(10, counter.read(new byte[10])); 44 assertEquals(10, counter.getCount()); 48 assertEquals(3, counter.read(new byte[10], 1, 3)); 49 assertEquals(3, counter.getCount()); 53 assertEquals(10, counter.skip(10)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/ |
T_monitor_enter_1.java | 20 public int counter = 0; field in class:T_monitor_enter_1 24 int a = counter; 26 counter = ++a;
|
/external/compiler-rt/test/tsan/Linux/ |
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/curl/tests/unit/ |
unit1606.c | 51 int counter = 1; local 67 now.tv_sec = ++counter; 69 } while(counter < 100);
|
/external/eigen/unsupported/test/ |
cxx11_tensor_notification.cpp | 28 void WaitAndAdd(Eigen::Notification* n, int* counter) { 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...] |