/external/dbus/dbus/ |
dbus-resources.c | 58 long size_value; /**< current size counter value */ 59 long unix_fd_value; /**< current unix fd counter value */ 79 * @returns new counter or #NULL on failure 84 DBusCounter *counter; local 86 counter = dbus_new (DBusCounter, 1); 87 if (counter == NULL) 90 counter->refcount = 1; 91 counter->size_value = 0; 92 counter->unix_fd_value = 0; 94 counter->notify_size_guard_value = 0 [all...] |
dbus-resources.h | 34 typedef void (* DBusCounterNotifyFunction) (DBusCounter *counter, 38 DBusCounter* _dbus_counter_ref (DBusCounter *counter); 39 void _dbus_counter_unref (DBusCounter *counter); 41 void _dbus_counter_adjust_size (DBusCounter *counter, 43 void _dbus_counter_adjust_unix_fd (DBusCounter *counter, 45 long _dbus_counter_get_size_value (DBusCounter *counter); 46 long _dbus_counter_get_unix_fd_value (DBusCounter *counter); 48 void _dbus_counter_set_notify (DBusCounter *counter,
|
/bionic/libc/unistd/ |
eventfd.c | 7 int eventfd_read(int fd, eventfd_t *counter) 9 int ret = read(fd, counter, sizeof(*counter)); 11 if (ret == sizeof(*counter)) 17 int eventfd_write(int fd, eventfd_t counter) 19 int ret = write(fd, &counter, sizeof(counter)); 21 if (ret == sizeof(counter))
|
/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...] |
/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/bouncycastle/src/main/java/org/bouncycastle/crypto/params/ |
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);
|
DSAValidationParameters.java | 8 private int counter; field in class:DSAValidationParameters 12 int counter) 15 this.counter = counter; 20 return counter; 30 return counter ^ Arrays.hashCode(seed); 43 if (other.counter != this.counter)
|
/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/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/kernel-headers/original/asm-mips/ |
atomic.h | 23 typedef struct { volatile int counter; } atomic_t; member in struct:__anon7662 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:__anon7663 [all...] |
/bionic/libc/kernel/arch-arm/asm/ |
atomic.h | 22 typedef struct { volatile int counter; } atomic_t; member in struct:__anon62
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon881
|
/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/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon27302
|
/prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon27656
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon28010
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon28790
|
/prebuilts/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon29578
|
/prebuilts/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon30197
|
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon31326
|
/prebuilts/ndk/android-ndk-r7/platforms/android-3/arch-arm/usr/include/asm/ |
atomic.h | 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon32135
|