/external/dbus/dbus/ |
H A D | 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 109 _dbus_counter_ref(DBusCounter *counter) argument 125 _dbus_counter_unref(DBusCounter *counter) argument 148 _dbus_counter_adjust_size(DBusCounter *counter, long delta) argument 178 _dbus_counter_adjust_unix_fd(DBusCounter *counter, long delta) argument 205 _dbus_counter_get_size_value(DBusCounter *counter) argument 217 _dbus_counter_get_unix_fd_value(DBusCounter *counter) argument 234 _dbus_counter_set_notify(DBusCounter *counter, long size_guard_value, long unix_fd_guard_value, DBusCounterNotifyFunction function, void *user_data) argument [all...] |
H A D | 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,
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | 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 < objArra [all...] |
H A D | 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...] |
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | 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 [all...] |
H A D | CountingOutputStreamTest.java | 31 CountingOutputStream counter = new CountingOutputStream(out); 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 [all...] |
/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 | 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) 10 DSAValidationParameters( byte[] seed, int counter) argument
|
/external/chromium/chrome/common/extensions/docs/examples/api/messaging/timer/ |
H A D | page.js | 3 port.postMessage({counter: msg.counter+1}); 9 sendResponse({counter: request.counter+1});
|
/external/chromium-trace/trace-viewer/src/tracks/ |
H A D | timeline_counter_track.css | 5 .timeline-counter-track {
|
/external/chromium/chrome/browser/instant/ |
H A D | 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 [all...] |
/external/v8/test/mjsunit/compiler/ |
H A D | inline-construct.js | 34 var counter = { value:0 }; 35 result = closure(11, 12, counter); 37 assertEquals(1, counter.value); 38 result = closure(23, 19, counter); 40 assertEquals(2, counter.value); 42 result = closure(1, 42, counter) 44 assertEquals(3, counter.value); 45 result = closure("foo", "bar", counter) 47 assertEquals(4, counter.value); 51 function value_context(a, b, counter) { [all...] |
/external/compiler-rt/BlocksRuntime/tests/ |
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/kernel-headers/original/asm-mips/ |
H A D | atomic.h | 23 typedef struct { volatile int counter; } atomic_t; member in struct:__anon7236 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:__anon7237 [all...] |
/external/qemu/telephony/ |
H A D | 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)
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
H A D | PasswordAuthenticationTest.java | 39 for (int counter = password.length - 1; counter >= 0; counter--) 41 returnedPassword[counter] == password[counter]);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
H A D | eap_psk_common.c | 44 u8 counter = 1; local 50 hash[aes_block_size - 1] ^= counter; 53 hash[aes_block_size - 1] ^= counter; 54 counter++; 57 hash[aes_block_size - 1] ^= counter; 60 hash[aes_block_size - 1] ^= counter; 61 counter++; 65 hash[aes_block_size - 1] ^= counter; 69 hash[aes_block_size - 1] ^= counter; 70 counter [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | 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...] |
/external/wpa_supplicant_8/src/eap_common/ |
H A D | 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...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | 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...] |
/external/oprofile/daemon/ |
H A D | opd_events.h | 3 * Event details for each counter 23 unsigned long counter; member in struct:opd_event 36 /** Find the event for the given counter */ 37 struct opd_event * find_counter_event(unsigned long counter); 42 void fill_header(struct opd_header * header, unsigned long counter,
|
H A D | opd_mangling.h | 22 * @param counter counter number 25 * Open image sample file for the sfile, counter 26 * counter and set up memory mappings for it. 31 struct sfile * sf, int counter, int cg);
|
/external/valgrind/main/none/tests/s390x/ |
H A D | ex_sig.c | 16 static int counter; local 19 counter++; 27 if (counter == 2) {
|
/external/chromium/chrome/browser/autofill/crypto/ |
H A D | rc4_decryptor.h | 65 short counter; local 68 for (counter = 0; counter < kKeyDataSize; ++counter) 69 state[counter] = static_cast<uint8>(counter); 73 for (counter = 0; counter < kKeyDataSize; counter++) { 74 index2 = (key_data[index1] + state[counter] 84 int counter; local [all...] |
/external/chromium/net/disk_cache/ |
H A D | histogram_macros.h | 21 // |counter| was made static (i.e., there will be no race for reinitialization). 25 static base::Histogram* counter(NULL); \ 26 if (!counter || name != counter->histogram_name()) \ 27 counter = base::Histogram::FactoryGet( \ 30 counter->Add(sample); \ 44 static base::Histogram* counter(NULL); \ 45 if (!counter || name != counter->histogram_name()) \ 46 counter [all...] |