Searched refs:counter (Results 1 - 25 of 457) sorted by relevance

1234567891011>>

/external/dbus/dbus/
H A Ddbus-resources.c58 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 Ddbus-resources.h34 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 DEmptyStackExceptionTest.java29 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 DRandomTest.java51 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...]
H A DArraysTest.java80 for (int counter = 0; counter < arraySize; counter++) {
83 convertedList.get(counter) == objectArray[counter]);
95 for (int counter = 0; counter < arraySize; counter++) {
98 convertedList.get(counter) == myArray[counter]);
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
H A DDHValidationParameters.java8 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 DDSAValidationParameters.java8 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 Dpage.js3 port.postMessage({counter: msg.counter+1});
9 sendResponse({counter: request.counter+1});
/external/chromium/chrome/browser/instant/
H A Dpromo_counter_unittest.cc17 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/qemu/telephony/
H A Dtest1.c17 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/webkit/Source/WebKit/android/WebCoreSupport/
H A DV8Counters.cpp57 Counter* counter = m_counters.get(name); local
58 if (!counter) {
59 counter = new Counter(false);
60 m_counters.add(name, counter);
62 return *counter;
69 Counter* counter = new Counter(true); local
70 m_counters.add(name, counter);
71 return counter;
77 Counter* counter = reinterpret_cast<Counter*>(histogram); local
78 counter
101 Counter* counter = iter->second; local
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DPasswordAuthenticationTest.java39 for (int counter = password.length - 1; counter >= 0; counter--)
41 returnedPassword[counter] == password[counter]);
/external/wpa_supplicant/
H A Deap_psk_common.c41 u8 counter = 1; local
46 hash[aes_block_size - 1] ^= counter;
48 hash[aes_block_size - 1] ^= counter;
49 counter++;
52 hash[aes_block_size - 1] ^= counter;
54 hash[aes_block_size - 1] ^= counter;
55 counter++;
59 hash[aes_block_size - 1] ^= counter;
61 hash[aes_block_size - 1] ^= counter;
62 counter
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
H A Deap_psk_common.c44 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 Deap_psk_common.c44 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/src/eap_common/
H A Deap_psk_common.c44 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/wpa_supplicant/src/eap_common/
H A Deap_psk_common.c44 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/oprofile/daemon/
H A Dopd_events.h3 * 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 Dopd_mangling.h22 * @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/chromium/chrome/browser/autofill/crypto/
H A Drc4_decryptor.h65 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 Dhistogram_macros.h21 // |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...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-ctr.c25 * @nonce: Nonce for counter mode (16 bytes)
37 u8 counter[AES_BLOCK_SIZE], buf[AES_BLOCK_SIZE]; local
42 os_memcpy(counter, nonce, AES_BLOCK_SIZE);
45 aes_encrypt(ctx, counter, buf);
54 counter[i]++;
55 if (counter[i])
/external/wpa_supplicant_8/src/crypto/
H A Daes-ctr.c25 * @nonce: Nonce for counter mode (16 bytes)
37 u8 counter[AES_BLOCK_SIZE], buf[AES_BLOCK_SIZE]; local
42 os_memcpy(counter, nonce, AES_BLOCK_SIZE);
45 aes_encrypt(ctx, counter, buf);
54 counter[i]++;
55 if (counter[i])
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-ctr.c25 * @nonce: Nonce for counter mode (16 bytes)
37 u8 counter[AES_BLOCK_SIZE], buf[AES_BLOCK_SIZE]; local
42 os_memcpy(counter, nonce, AES_BLOCK_SIZE);
45 aes_encrypt(ctx, counter, buf);
54 counter[i]++;
55 if (counter[i])
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_UnmodifiableCollectionTest.java78 for (int counter = 0; it.hasNext(); counter++) {
82 + counter + " got: " + nextValue,
83 nextValue == counter);
94 for (int counter = 0; it.hasNext(); counter++) {
97 objArray[counter] == it.next());
103 for (int counter = 0; it.hasNext(); counter++) {
106 objArray[counter]
[all...]

Completed in 1487 milliseconds

1234567891011>>