Searched defs:now (Results 276 - 300 of 760) sorted by last modified time

<<11121314151617181920>>

/external/e2fsprogs/lib/blkid/
H A Dprobe.c285 time_t now = time(0); local
287 if (ret != -1 || (now - last_check) < 5)
289 last_check = now;
298 time_t now = time(0); local
300 if (ret != -1 || (now - last_check) < 5)
302 last_check = now;
311 time_t now = time(0); local
313 if (ret != -1 || (now - last_check) < 5)
315 last_check = now;
1508 time_t now; local
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dext2fs.h238 time_t now; member in struct:struct_ext2_filsys
H A Dgen_bitmap64.c185 struct timeval now; local
203 if (gettimeofday(&now, (struct timezone *) NULL) == -1) {
208 inuse = (double) now.tv_sec + \
209 (((double) now.tv_usec) * 0.000001);
H A Dprogress.c70 time_t now; local
76 now = time(0);
77 if (now == last_update)
79 last_update = now;
/external/e2fsprogs/lib/quota/
H A Dquotaio.c78 time_t now; local
80 time(&now);
85 now + q->dq_h->qh_info.dqi_bgrace;
94 now + q->dq_h->qh_info.dqi_igrace;
121 inode.i_dtime = fs->now ? fs->now : time(0);
263 inode.i_ctime = fs->now ? fs->now : time(0);
/external/e2fsprogs/lib/uuid/
H A Dgen_uuid.c591 time_t now; local
594 now = time(0);
595 if (now > last_time+1)
/external/e2fsprogs/misc/
H A Dfindsuper.c197 time_t now, diff; local
199 now = time(0);
200 diff = now - last;
203 s = ctime(&now);
213 last = now;
/external/dhcpcd/
H A Ddhcp.c1474 struct timeval now; local
1488 get_monotonic(&now);
1489 if (now.tv_sec + (time_t)lease->leasetime < now.tv_sec)
H A Ddhcpcd.c636 /* We now have an offer, so close the DHCP sockets.
1169 struct timeval now; local
1228 gettimeofday(&now, NULL);
1230 (time_t)(now.tv_sec - st.st_mtime))
1239 l = now.tv_sec - st.st_mtime;
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);
H A Dipv6rs.c572 struct timeval now; local
580 get_monotonic(&now);
685 struct timeval now, lt, expire, next; local
690 get_monotonic(&now);
702 if (timercmp(&now, &expire, >)) {
714 timersub(&expire, &now, &lt);
724 if (timercmp(&now, &rao->expire, >)) {
735 timersub(&rao->expire, &now, &lt);
/external/dnsmasq/src/
H A Dcache.c246 static int is_expired(time_t now, struct crec *crecp) argument
251 if (difftime(now, crecp->ttd) < 0)
257 static int cache_scan_free(char *name, struct all_addr *addr, time_t now, unsigned short flags) argument
277 if (is_expired(now, crecp) || is_outdated_cname_pointer(crecp))
311 if (is_expired(now, crecp))
360 time_t now, unsigned long ttl, unsigned short flags)
372 /* if previous insertion failed give up now. */
379 if (!cache_scan_free(name, addr, now, flags))
394 chains for expired entries do that now. If we already tried that
411 free_avail = 1; /* Must be free space now
359 cache_insert(char *name, struct all_addr *addr, time_t now, unsigned long ttl, unsigned short flags) argument
412 cache_scan_free(cache_get_name(new), &new->addr.addr, now, new->flags); local
495 cache_find_by_name(struct crec *crecp, char *name, time_t now, unsigned short prot) argument
579 cache_find_by_addr(struct crec *crecp, struct all_addr *addr, time_t now, unsigned short prot) argument
1125 dump_cache(time_t now) argument
[all...]
H A Ddhcp.c102 void dhcp_packet(time_t now) argument
244 lease_prune(NULL, now); /* lose any expired leases */
246 now, unicast_dest, &is_inform);
247 lease_update_file(now);
485 /* Only one context allowed now */
532 struct dhcp_netid *netids, time_t now)
593 if (difftime(now, r->time) > (float)PING_CACHE_TIME)
619 victim->time = now;
530 address_allocate(struct dhcp_context *context, struct in_addr *addrp, unsigned char *hwaddr, int hw_len, struct dhcp_netid *netids, time_t now) argument
H A Ddnsmasq.c61 static int set_dns_listeners(time_t now, fd_set *set, int *maxfdp);
62 static void check_dns_listeners(fd_set *set, time_t now);
64 static void async_event(int pipe, time_t now);
75 time_t now; local
160 now = dnsmasq_time();
168 lease_init(now);
589 if ((t.tv_sec = set_dns_listeners(now, &rset, &maxfd)) != 0)
629 while (helper_buf_empty() && do_script_run(now));
638 while (do_script_run(now));
652 now
803 async_event(int pipe, time_t now) argument
964 clear_cache_and_reload(time_t now) argument
1037 set_dns_listeners(time_t now, fd_set *set, int *maxfdp) argument
1105 check_dns_listeners(fd_set *set, time_t now) argument
1273 time_t start, now; local
[all...]
H A Dforward.c113 static unsigned short search_servers(time_t now, struct all_addr **addrpp, argument
188 if (flags == F_NXDOMAIN && check_for_local_domain(qdomain, now))
206 HEADER *header, size_t plen, time_t now, struct frec *forward)
237 flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain);
239 if (!flags && !(forward = get_new_frec(now, NULL)))
267 difftime(now, daemon->forwardtime) > FORWARD_TIME)
272 daemon->forwardtime = now;
392 static size_t process_reply(HEADER *header, time_t now, argument
427 check_for_bogus_wildcard(header, n, daemon->namebuff, daemon->bogus_addr, now))
437 check_for_local_domain(daemon->namebuff, now))
204 forward_query(int udpfd, union mysockaddr *udpaddr, struct all_addr *dst_addr, unsigned int dst_iface, HEADER *header, size_t plen, time_t now, struct frec *forward) argument
471 reply_query(int fd, int family, time_t now) argument
574 receive_query(struct listener *listen, time_t now) argument
733 tcp_request(int confd, time_t now, struct in_addr local_addr, struct in_addr netmask) argument
899 allocate_frec(time_t now) argument
974 get_new_frec(time_t now, int *wait) argument
[all...]
H A Dhelper.c298 void queue_script(int action, struct dhcp_lease *lease, char *hostname, time_t now) argument
368 buf->remaining_time = (unsigned int)difftime(lease->expires, now);
H A Dlease.c24 void lease_init(time_t now) argument
96 lease->expires = (time_t)ei + now;
141 lease_prune(NULL, now);
173 void lease_update_file(time_t now) argument
231 if (next_event == 0 || difftime(next_event, LEASE_RETRY + now) > 0.0)
232 next_event = LEASE_RETRY + now;
236 (unsigned int)difftime(next_event, now));
240 alarm((unsigned)difftime(next_event, now));
264 void lease_prune(struct dhcp_lease *target, time_t now) argument
271 if ((lease->expires != 0 && difftime(now, leas
349 lease_set_expires(struct dhcp_lease *lease, unsigned int len, time_t now) argument
529 do_script_run(time_t now) argument
[all...]
H A Drfc1035.c639 int extract_addresses(HEADER *header, size_t qlen, char *name, time_t now) argument
720 cache_insert(name, &addr, now, cttl, name_encoding | F_REVERSE);
738 cache_insert(NULL, &addr, now, ttl, name_encoding | F_REVERSE | F_NEG | flags);
785 newc = cache_insert(name, NULL, now, attl, F_CNAME | F_FORWARD);
815 newc = cache_insert(name, &addr, now, attl, flags | F_FORWARD);
842 newc = cache_insert(name, NULL, now, ttl ? ttl : cttl, F_FORWARD | F_NEG | flags);
941 int check_for_local_domain(char *name, time_t now) argument
949 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) &&
976 struct bogus_addr *baddr, time_t now)
1008 cache_insert(name, NULL, now, tt
975 check_for_bogus_wildcard(HEADER *header, size_t qlen, char *name, struct bogus_addr *baddr, time_t now) argument
1115 crec_ttl(struct crec *crecp, time_t now) argument
1128 answer_request(HEADER *header, char *limit, size_t qlen, struct in_addr local_addr, struct in_addr local_netmask, time_t now) argument
[all...]
H A Drfc2131.c122 size_t sz, time_t now, int unicast_dest, int *is_inform)
443 lease_prune(lease, now);
446 if (!address_allocate(context, &mess->yiaddr, mess->chaddr, mess->hlen, netid, now))
485 now);
578 /* Search again now we have a hostname.
847 lease_prune(lease, now);
856 config->decline_time = now;
872 lease_prune(lease, now);
918 difftime(now, config->decline_time) < (float)DECLINE_BACKOFF)
936 else if (!address_allocate(context, &mess->yiaddr, emac, emac_len, netid, now))
121 dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index, size_t sz, time_t now, int unicast_dest, int *is_inform) argument
[all...]
H A Dtftp.c41 void tftp_request(struct listener *listen, time_t now) argument
154 transfer->timeout = now + 2;
371 void check_tftp_listeners(fd_set *rset, time_t now) argument
395 transfer->timeout = now;
421 transfer->timeout = now;
427 if (difftime(now, transfer->timeout) >= 0.0)
/external/deqp/modules/gles3/performance/
H A Des3pDepthTests.cpp799 deUint64 now = 0; local
820 now = deGetMicroseconds();
822 sample.testTime = now - prev;
860 deInt64 now; local
873 now = deGetMicroseconds();
875 calibrator.recordIteration(now - prev);
953 const deInt64 now = deGetMicroseconds(); local
955 calibrator.recordIteration(now - prev);
974 deUint64 now = 0; local
998 now
1700 deUint64 now = 0; local
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cc166 u64 now = NanoTime(); local
170 if (last_flush + flags()->flush_memory_ms * kMs2Ns < now) {
178 if (flags()->memory_limit_mb > 0 && last_rss_check + 1000 * kMs2Ns < now) {
179 last_rss_check = now;
207 if (last != 0 && last + flags()->flush_symbolizer_ms * kMs2Ns < now) {
/external/chromium_org/v8/src/base/platform/
H A Dcondition-variable.cc93 Time now = Time::FromTimespec(ts); local
96 Time now = Time::NowFromSystemTime(); local
98 Time end_time = now + rel_time;
99 DCHECK_GE(end_time, now);
293 TimeTicks now = TimeTicks::Now();
294 TimeTicks end = now + rel_time;
297 int64_t msec = (end - now).InMilliseconds();
303 now = TimeTicks::Now();
H A Delapsed-timer.h84 TimeTicks now = TimeTicks::HighResolutionNow(); local
85 DCHECK(!now.IsNull());
86 return now;
H A Dsemaphore.cc55 TimeTicks now = TimeTicks::Now(); local
56 TimeTicks end = now + rel_time;
59 if (now >= end) {
64 ts = (end - now).ToMachTimespec();
70 now = TimeTicks::Now();
179 TimeTicks now = TimeTicks::Now();
180 TimeTicks end = now + rel_time;
182 int64_t msec = (end - now).InMilliseconds();
189 now = TimeTicks::Now();

Completed in 290 milliseconds

<<11121314151617181920>>