/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
EmptyStackExceptionTest.java | 29 for (int counter = 0; counter < objArray.length; counter++) 30 objArray[counter] = new Integer(counter); 39 for (int counter = 0; counter < objArray.length + 1; counter++) 53 for (int counter = 0; counter < objArray.length; counter++ [all...] |
RandomTest.java | 51 for (int counter = 0; counter < 100; counter++) 71 for (int counter = 1; counter < randomBytes.length; counter++) 72 if (randomBytes[counter] != firstByte) 88 for (int counter = 0; counter < 100; counter++) [all...] |
/libcore/luni/src/test/java/tests/api/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/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/chromium_org/third_party/mesa/src/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/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...] |
/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;
|
/system/extras/tests/bionic/libc/bionic/ |
lib_static_init.cpp | 7 value = ++Foo::counter; 8 fprintf(stderr, "Foo::Foo for this=%p called (counter = %d)\n", this, counter); 16 int Foo::counter; member in class:Foo
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
counter_track.css | 6 .counter-track {
|
/external/chromium/chrome/browser/instant/ |
promo_counter_unittest.cc | 17 PromoCounter counter(&profile, "test", "test", 2, 2); 18 ASSERT_TRUE(counter.ShouldShow(test_time)); 19 ASSERT_TRUE(counter.ShouldShow(test_time + base::TimeDelta::FromHours(2))); 20 ASSERT_FALSE(counter.ShouldShow(test_time + base::TimeDelta::FromDays(4))); 30 PromoCounter counter(&profile, "test", "test", 2, 2); 31 ASSERT_TRUE(counter.ShouldShow(test_time)); 35 PromoCounter counter(&profile, "test", "test", 2, 2); 36 ASSERT_TRUE(counter.ShouldShow(test_time)); 40 PromoCounter counter(&profile, "test", "test", 2, 2); 41 ASSERT_FALSE(counter.ShouldShow(test_time)) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
AesCtrParams.cpp | 38 Uint8Array* AesCtrParams::counter() function in class:WebCore::AesCtrParams 41 const blink::WebVector<unsigned char>& counter = m_algorithm.aesCtrParams()->counter(); local 42 m_counter = Uint8Array::create(counter.data(), counter.size());
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
device_oauth2_token_service_factory_unittest.cc | 20 // Copies the token service and increments the counter. 23 int* counter, 26 ++(*counter); 67 int counter = 0; local 69 base::Bind(&CopyTokenServiceAndCount, &token_service, &counter)); 71 EXPECT_EQ(0, counter); 76 EXPECT_EQ(1, counter); 85 int counter = 0; local 87 base::Bind(&CopyTokenServiceAndCount, &token_service, &counter)); 89 EXPECT_EQ(0, counter); 114 int counter = 0; local 146 int counter = 0; local [all...] |
/external/compiler-rt/BlocksRuntime/tests/ |
dispatch_async.c | 20 __block CFIndex counter; local 25 counter = 0; 31 counter++; 34 counter--; 35 if(counter == 0) { 40 if(counter == 0) {
|
/external/chromium_org/third_party/mesa/src/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/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/kernel-headers/original/asm-mips/ |
atomic.h | 23 typedef struct { volatile int counter; } atomic_t; member in struct:__anon22421 33 #define atomic_read(v) ((v)->counter) 42 #define atomic_set(v, i) ((v)->counter = (i)) 63 : "=&r" (temp), "=m" (v->counter) 64 : "Ir" (i), "m" (v->counter)); 78 : "=&r" (temp), "=m" (v->counter) 79 : "Ir" (i), "m" (v->counter)); 84 v->counter += i; 108 : "=&r" (temp), "=m" (v->counter) 109 : "Ir" (i), "m" (v->counter)); 407 typedef struct { volatile long counter; } atomic64_t; member in struct:__anon22422 [all...] |
/bionic/libc/kernel/arch-arm/asm/ |
atomic.h | 22 typedef struct { volatile int counter; } atomic_t; member in struct:__anon146
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon966
|
/external/qemu/telephony/ |
test1.c | 17 static int counter = 0; variable 25 ++counter; 26 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. ); 27 if (counter < MAX_COUNTER)
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon44150
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon44504
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon44858
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45638
|