Home
last modified time | relevance | path

Searched refs:now (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/dns/resolv/
Dres_stats.c39 _res_stats_set_sample(struct __res_sample* sample, time_t now, int rcode, int rtt) in _res_stats_set_sample() argument
44 sample->at = now; in _res_stats_set_sample()
145 time_t now = evNowTime().tv_sec; in _res_stats_usable_server() local
146 if (now - last_sample_time > params->sample_validity) { in _res_stats_usable_server()
Dres_send.c492 time_t now = 0; in res_nsend() local
547 ns, &now, &rcode, &delay); in res_nsend()
556 _res_stats_set_sample(&sample, now, rcode, delay); in res_nsend()
578 ns, &v_circuit, &gotsomewhere, &now, &rcode, &delay); in res_nsend()
583 _res_stats_set_sample(&sample, now, rcode, delay); in res_nsend()
784 struct timespec now = evNowTime(); in send_vc() local
973 *delay = _res_stats_calculate_rtt(&done, &now); in send_vc()
995 struct timespec now = evNowTime(); in connect_with_timeout() local
996 struct timespec finish = evAddTime(now, timeout); in connect_with_timeout()
1017 struct timespec now, timeout; in retrying_poll() local
[all …]
Dres_cache.c1655 time_t now = _time_now(); in _cache_remove_expired() local
1659 if (now >= e->expires) { in _cache_remove_expired()
1684 time_t now; in _resolv_cache_lookup() local
1728 now = _time_now(); in _resolv_cache_lookup()
1731 if (now >= e->expires) { in _resolv_cache_lookup()
/bionic/tests/
Dsystem_properties_test2.cpp29 timespec now; in NanoTime() local
30 clock_gettime(CLOCK_MONOTONIC, &now); in NanoTime()
31 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000000000) + now.tv_nsec; in NanoTime()
Dstring_posix_strerror_r_test.cpp30 # error check whether we can build this now...
/bionic/libc/dns/include/
Dresolv_stats.h55 _res_stats_set_sample(struct __res_sample* sample, time_t now, int rcode, int rtt);
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c125 struct timeval now; in evNowTime() local
139 if (gettimeofday(&now, NULL) < 0) in evNowTime()
141 return (evTimeSpec(now)); in evNowTime()
146 struct timeval now; in evUTCTime() local
152 if (gettimeofday(&now, NULL) < 0) in evUTCTime()
154 return (evTimeSpec(now)); in evUTCTime()
/bionic/tools/versioner/src/
DDriver.cpp218 auto start = std::chrono::high_resolution_clock::now(); in initializeTargetCC1FlagCache()
234 auto end = std::chrono::high_resolution_clock::now(); in initializeTargetCC1FlagCache()
Dversioner.cpp663 auto start = std::chrono::high_resolution_clock::now(); in main()
666 auto end = std::chrono::high_resolution_clock::now(); in main()
/bionic/docs/
Dstatus.md48 * Whole printf family now supports the GNU `%m` extension, rather than a
50 * `popen` now always uses `O_CLOEXEC`, not just with the `e` extension.
53 * Using `%n` with the printf family is now reported as a FORTIFY failure.
85 * Passing a null `FILE*` or `DIR*` to libc is now detected at runtime and
112 * Passing an invalid `pthread_t` to libc is now detected at runtime and
129 * `sem_wait` now returns EINTR when interrupted by a signal.
304 cover other issues. It can now detect, for example, passing `O_CREAT`
/bionic/libc/malloc_hooks/
DREADME.md59 There is no hook for malloc\_usable\_size as of now.
/bionic/
Dandroid-changes-for-ndk-developers.md82 symbol lookup and is now supported by the dynamic linker in API 23 and
89 The dynamic linker now understands the difference
161 your code will not work in a future release -- please fix it now!
205 headers. These headers must be present now, because the dynamic linker
351 but is now.
DREADME.md310 The coverage report is now available at `covreport/index.html`.
/bionic/libc/malloc_debug/
DREADME.md520 There are now multiple versions of the file:
/bionic/libc/
DAndroid.bp81 // warning since this is intended right now.