Searched refs:now (Results 126 - 150 of 659) sorted by relevance

1234567891011>>

/external/dhcpcd/
H A Deloop.c40 static struct timeval now; variable in typeref:struct:timeval
119 get_monotonic(&now);
120 timeradd(&now, when, &w);
122 if (timercmp(&w, &now, <)) {
299 if (timercmp(&now, &timeouts->when, >)) {
307 timersub(&timeouts->when, &now, &tv);
344 get_monotonic(&now);
351 /* Get the now time and process any triggered events. */
352 get_monotonic(&now);
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
H A Dtoy.ml19 (* Run the main "interpreter loop" now. *)
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
H A D15.9.5.23-4.js49 var now = (new Date()).valueOf();
60 test_times = new Array( now, TIME_YEAR_0, TIME_1970, TIME_1900, TIME_2000,
H A D15.9.5.23-5.js49 var now = (new Date()).valueOf();
60 test_times = new Array( now, TIME_YEAR_0, TIME_1970, TIME_1900, TIME_2000,
H A D15.9.5.23-6.js49 var now = (new Date()).valueOf();
60 test_times = new Array( now, TIME_YEAR_0, TIME_1970, TIME_1900, TIME_2000,
H A D15.9.5.23-7.js49 var now = (new Date()).valueOf();
60 test_times = new Array( now, TIME_YEAR_0, TIME_1970, TIME_1900, TIME_2000,
H A D15.9.5.23-8.js49 var now = (new Date()).valueOf();
59 test_times = new Array( now, TIME_YEAR_0, TIME_1970, TIME_1900, TIME_2000,
H A D15.9.5.23-9.js49 var now = (new Date()).valueOf();
60 test_times = new Array( now, TIME_YEAR_0, TIME_1970, TIME_1900, TIME_2000,
H A D15.9.5.5.js51 var now = (new Date()).valueOf();
57 addTestCase( now );
H A D15.9.5.6.js46 var now = (new Date()).valueOf();
57 addTestCase( now );
H A D15.9.5.7.js46 var now = (new Date()).valueOf();
57 addTestCase( now );
H A D15.9.5.8.js47 var now = (new Date()).valueOf();
58 addTestCase( now );
H A D15.9.5.9.js47 var now = (new Date()).valueOf();
58 addTestCase( now );
/external/dnsmasq/src/
H A Ddnsmasq.h695 struct all_addr *addr, time_t now,
698 char *name, time_t now, unsigned short prot);
702 time_t now, unsigned long ttl, unsigned short flags);
706 void dump_cache(time_t now);
716 int extract_addresses(HEADER *header, size_t qlen, char *namebuff, time_t now);
718 struct in_addr local_addr, struct in_addr local_netmask, time_t now);
720 struct bogus_addr *addr, time_t now);
723 int check_for_local_domain(char *name, time_t now);
769 void reply_query(int fd, int family, time_t now);
770 void receive_query(struct listener *listen, time_t now);
[all...]
/external/qemu/hw/
H A Dgoldfish_timer.c134 int64_t now; member in struct:rtc_state
138 * (i.e. it has read the low 32-bit of s->now, but not the high 32-bits yet */
145 qemu_put_be64(f, s->now);
156 s->now = qemu_get_be64(f);
165 s->now = (int64_t)time(NULL) * 1000000000;
166 return s->now;
168 return s->now >> 32;
H A Ddma.c39 int now[2]; member in struct:dma_regs
138 r->now[ADDR] = r->base[ADDR] << d->dshift;
139 r->now[COUNT] = 0;
165 val = (r->base[COUNT] << d->dshift) - r->now[COUNT];
167 val = r->now[ADDR] + r->now[COUNT] * dir;
350 r->now[COUNT], (r->base[COUNT] + 1) << ncont);
351 r->now[COUNT] = n;
406 target_phys_addr_t addr = ((r->pageh & 0x7f) << 24) | (r->page << 16) | r->now[ADDR];
428 target_phys_addr_t addr = ((r->pageh & 0x7f) << 24) | (r->page << 16) | r->now[ADD
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dbgscan_simple.c48 * every now and then) to reduce effect on the data connection.
214 struct os_time now; local
228 os_get_time(&now);
229 if (now.sec > data->last_bgscan.sec + 1 &&
239 now.sec + data->scan_interval) {
262 os_get_time(&now);
263 if (now.sec > data->last_bgscan.sec + 10)
/external/chromium/chrome/browser/safe_browsing/
H A Dsafe_browsing_store_unittest_helper.cc62 const base::Time now = base::Time::Now(); local
69 EXPECT_TRUE(store->WriteAddHash(kAddChunk1, now, kHash2));
109 // EXPECT_TRUE(add_full_hashes_result[0].received == now)?
110 EXPECT_EQ(now.ToTimeT(), add_full_hashes_result[0].received);
144 EXPECT_EQ(now.ToTimeT(), add_full_hashes_result[0].received);
151 const base::Time now = base::Time::Now(); local
157 EXPECT_TRUE(store->WriteAddHash(kAddChunk1, now, kHash2));
224 const base::Time now = base::Time::Now(); local
232 EXPECT_TRUE(store->WriteAddHash(kAddChunk1, now, kHash2));
240 EXPECT_TRUE(store->WriteAddHash(kAddChunk2, now, kHash
[all...]
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h84 struct timeval now; local
85 gettimeofday(&now, NULL);
86 return now.tv_sec * 1000 + now.tv_usec / 1000;
236 struct timeval now; local
239 gettimeofday(&now, NULL);
240 timeval2timespec(&now, &timeout, millis);
282 struct timeval now; local
284 gettimeofday(&now, NULL);
285 timeval2timespec(&now,
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Daccounting.c250 struct os_time now; local
264 os_get_time(&now);
266 now.sec - sta->acct_session_start)) {
321 now.sec)) {
455 struct os_time now; local
459 os_get_time(&now);
460 hapd->acct_session_id_hi = now.sec;
H A Dpmksa_cache_auth.c94 struct os_time now; local
96 os_get_time(&now);
97 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
112 struct os_time now; local
117 os_get_time(&now);
118 sec = pmksa->pmksa->expiration - now.sec;
244 struct os_time now; local
256 os_get_time(&now);
257 entry->expiration = now.sec;
/external/wpa_supplicant_8/src/ap/
H A Daccounting.c250 struct os_time now; local
264 os_get_time(&now);
266 now.sec - sta->acct_session_start)) {
321 now.sec)) {
455 struct os_time now; local
459 os_get_time(&now);
460 hapd->acct_session_id_hi = now.sec;
H A Dpmksa_cache_auth.c94 struct os_time now; local
96 os_get_time(&now);
97 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
112 struct os_time now; local
117 os_get_time(&now);
118 sec = pmksa->pmksa->expiration - now.sec;
244 struct os_time now; local
256 os_get_time(&now);
257 entry->expiration = now.sec;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Daccounting.c250 struct os_time now; local
264 os_get_time(&now);
266 now.sec - sta->acct_session_start)) {
321 now.sec)) {
455 struct os_time now; local
459 os_get_time(&now);
460 hapd->acct_session_id_hi = now.sec;
/external/guava/guava/src/com/google/common/cache/
H A DLocalCache.java1908 boolean isLive(ReferenceEntry<K, V> entry, long now) { argument
1909 return segmentFor(entry.getHash()).getLiveValue(entry, now) != null;
1935 V getLiveValue(ReferenceEntry<K, V> entry, long now) { argument
1944 if (isExpired(entry, now)) {
1955 boolean isExpired(ReferenceEntry<K, V> entry, long now) { argument
1957 && (now - entry.getAccessTime() > expireAfterAccessNanos)) {
1961 && (now - entry.getWriteTime() > expireAfterWriteNanos)) {
2193 void setValue(ReferenceEntry<K, V> entry, K key, V value, long now) { argument
2201 recordWrite(entry, weight, now);
2213 long now
2396 scheduleRefresh(ReferenceEntry<K, V> entry, K key, int hash, V oldValue, long now, CacheLoader<? super K, V> loader) argument
2568 recordRead(ReferenceEntry<K, V> entry, long now) argument
2583 recordLockedRead(ReferenceEntry<K, V> entry, long now) argument
2595 recordWrite(ReferenceEntry<K, V> entry, int weight, long now) argument
2635 tryExpireEntries(long now) argument
2647 expireEntries(long now) argument
2747 getLiveEntry(Object key, int hash, long now) argument
2762 getLiveValue(ReferenceEntry<K, V> entry, long now) argument
3458 preWriteCleanup(long now) argument
3475 runLockedCleanup(long now) argument
[all...]

Completed in 299 milliseconds

1234567891011>>