/external/guava/guava-tests/test/com/google/common/io/ |
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...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
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) [all...] |
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);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_perf.h | 71 /** Increment the named counter (only for debug builds) */ 73 #define LP_COUNT(counter) lp_count.counter++ 74 #define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr) 75 #define LP_COUNT_GET(counter) (lp_count.counter) 77 #define LP_COUNT(counter) 78 #define LP_COUNT_ADD(counter, incr) (void)(incr) 79 #define LP_COUNT_GET(counter) [all...] |
/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;
|
/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;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
EmptyStackExceptionTest.java | 34 for (int counter = 0; counter < objArray.length + 1; counter++) 47 for (int counter = 0; counter < objArray.length; counter++) { 48 objArray[counter] = new Integer(counter); 52 for (int counter = 0; counter < objArray.length; counter++) [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
ProbeCounterTest.java | 27 private ProbeCounter counter; field in class:ProbeCounterTest 31 counter = new ProbeCounter(); 36 assertFalse(counter.hasMethods()); 37 assertEquals(0, counter.getCount()); 42 counter.visitTotalProbeCount(42); 43 assertEquals(42, counter.getCount()); 48 assertNull(counter.visitMethod(0, "<clinit>", null, null, null)); 49 assertFalse(counter.hasMethods()); 54 assertNull(counter.visitMethod(0, "foo", null, null, null)); 55 assertTrue(counter.hasMethods()) [all...] |
/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) {
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_time.h | 58 int64_t counter; member in struct:util_time 66 t->counter = os_time_get(); 79 t2->counter = t1->counter + usecs; 91 return t2->counter - t1->counter; 105 if (t1->counter < t2->counter) 107 else if(t1->counter > t2->counter) [all...] |
/external/vixl/src/aarch64/ |
instrument-aarch64.cc | 32 Counter::Counter(const char* name, CounterType type) 39 void Counter::Enable() { enabled_ = true; } 42 void Counter::Disable() { enabled_ = false; } 45 bool Counter::IsEnabled() { return enabled_; } 48 void Counter::Increment() { 55 uint64_t Counter::GetCount() { 58 // If the counter is a Gauge, reset the count after reading. 65 const char* Counter::GetName() { return name_; } 68 CounterType Counter::GetType() { return type_; 130 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local 157 static Counter* counter = GetCounter("Instruction"); local 209 static Counter* counter = GetCounter("Instruction"); local 257 static Counter* counter = GetCounter("PC Addressing"); local 265 static Counter* counter = GetCounter("Add\/Sub DP"); local 273 static Counter* counter = GetCounter("Logical DP"); local 280 static Counter* counter = GetCounter("Move Immediate"); local 294 static Counter* counter = GetCounter("Other Int DP"); local 302 static Counter* counter = GetCounter("Other Int DP"); local 310 static Counter* counter = GetCounter("Unconditional Branch"); local 318 static Counter* counter = GetCounter("Unconditional Branch"); local 326 static Counter* counter = GetCounter("Compare and Branch"); local 334 static Counter* counter = GetCounter("Test and Branch"); local 342 static Counter* counter = GetCounter("Conditional Branch"); local 350 static Counter* counter = GetCounter("Other"); local 358 static Counter* counter = GetCounter("Other"); local 402 static Counter* counter = GetCounter("Other"); local 410 static Counter* counter = GetCounter("Load Literal"); local 489 static Counter* counter = GetCounter("Logical DP"); local 497 static Counter* counter = GetCounter("Add\/Sub DP"); local 505 static Counter* counter = GetCounter("Add\/Sub DP"); local 513 static Counter* counter = GetCounter("Add\/Sub DP"); local 521 static Counter* counter = GetCounter("Conditional Compare"); local 529 static Counter* counter = GetCounter("Conditional Compare"); local 537 static Counter* counter = GetCounter("Conditional Select"); local 545 static Counter* counter = GetCounter("Other Int DP"); local 553 static Counter* counter = GetCounter("Other Int DP"); local 561 static Counter* counter = GetCounter("Other Int DP"); local 569 static Counter* counter = GetCounter("FP DP"); local 577 static Counter* counter = GetCounter("Conditional Compare"); local 585 static Counter* counter = GetCounter("Conditional Select"); local 593 static Counter* counter = GetCounter("FP DP"); local 601 static Counter* counter = GetCounter("FP DP"); local 609 static Counter* counter = GetCounter("FP DP"); local 617 static Counter* counter = GetCounter("FP DP"); local 625 static Counter* counter = GetCounter("FP DP"); local 633 static Counter* counter = GetCounter("FP DP"); local 641 static Counter* counter = GetCounter("Crypto"); local 649 static Counter* counter = GetCounter("Crypto"); local 657 static Counter* counter = GetCounter("Crypto"); local 665 static Counter* counter = GetCounter("NEON"); local 673 static Counter* counter = GetCounter("NEON"); local 681 static Counter* counter = GetCounter("NEON"); local 689 static Counter* counter = GetCounter("NEON"); local 697 static Counter* counter = GetCounter("NEON"); local 705 static Counter* counter = GetCounter("NEON"); local 713 static Counter* counter = GetCounter("NEON"); local 721 static Counter* counter = GetCounter("NEON"); local 730 static Counter* counter = GetCounter("NEON"); local 738 static Counter* counter = GetCounter("NEON"); local 747 static Counter* counter = GetCounter("NEON"); local 755 static Counter* counter = GetCounter("NEON"); local 763 static Counter* counter = GetCounter("NEON"); local 771 static Counter* counter = GetCounter("NEON"); local 779 static Counter* counter = GetCounter("NEON"); local 787 static Counter* counter = GetCounter("NEON"); local 795 static Counter* counter = GetCounter("NEON"); local 803 static Counter* counter = GetCounter("NEON"); local 811 static Counter* counter = GetCounter("NEON"); local 819 static Counter* counter = GetCounter("NEON"); local 827 static Counter* counter = GetCounter("NEON"); local 835 static Counter* counter = GetCounter("NEON"); local 843 static Counter* counter = GetCounter("Other"); local 851 static Counter* counter = GetCounter("Other"); local [all...] |
/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++) {
|
/development/ndk/platforms/android-9/arch-arm/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon2403
|
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon53863
|
/prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon55179
|
/prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon56511
|
/prebuilts/ndk/r10/platforms/android-15/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon57847
|
/prebuilts/ndk/r10/platforms/android-16/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon59183
|
/prebuilts/ndk/r10/platforms/android-17/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon60519
|
/prebuilts/ndk/r10/platforms/android-18/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon61855
|
/prebuilts/ndk/r10/platforms/android-19/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon63197
|
/prebuilts/ndk/r10/platforms/android-3/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon73799
|
/prebuilts/ndk/r10/platforms/android-4/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon74164
|
/prebuilts/ndk/r10/platforms/android-5/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon74529
|
/prebuilts/ndk/r10/platforms/android-8/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon74895
|