/external/openssl/crypto/rand/ |
D | rand_unix.c | 194 int usec = 10*1000; /* spend 10ms on each file */ in RAND_poll() local 222 if (poll(&pset, 1, usec / 1000) < 0) in RAND_poll() 223 usec = 0; in RAND_poll() 233 t.tv_usec = usec; in RAND_poll() 247 usec = t.tv_usec; in RAND_poll() 252 usec = 0; in RAND_poll() 271 if (usec == 10*1000) in RAND_poll() 272 usec = 0; in RAND_poll() 275 (errno == EINTR || errno == EAGAIN)) && usec != 0 && n < ENTROPY_NEEDED); in RAND_poll()
|
/external/tcpdump/ |
D | print-timed.c | 51 long sec, usec; in timed_print() local 90 usec = EXTRACT_32BITS(&tsp->tsp_time.tv_usec); in timed_print() 91 if (usec < 0) in timed_print() 95 if (sec < 0 && usec != 0) { in timed_print() 99 usec = 1000000 - usec; in timed_print() 101 printf("%ld.%06ld", sec, usec); in timed_print()
|
/external/wpa_supplicant/ |
D | os.h | 25 void os_sleep(os_time_t sec, os_time_t usec); 29 os_time_t usec; member 44 ((a)->sec == (b)->sec && (a)->usec < (b)->usec)) 48 (res)->usec = (a)->usec - (b)->usec; \ 49 if ((res)->usec < 0) { \ 51 (res)->usec += 1000000; \
|
D | common.c | 131 u32 sec, usec; in wpa_get_ntp_timestamp() local 137 usec = now.usec; in wpa_get_ntp_timestamp() 138 usec = host_to_be32(4295 * usec - (usec >> 5) - (usec >> 9)); in wpa_get_ntp_timestamp() 140 os_memcpy(buf + 4, (u8 *) &usec, 4); in wpa_get_ntp_timestamp() 181 (unsigned int) tv.usec); in wpa_debug_print_timestamp() 184 printf("%ld.%06u: ", (long) tv.sec, (unsigned int) tv.usec); in wpa_debug_print_timestamp()
|
D | os_win32.c | 21 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument 25 if (usec) in os_sleep() 26 Sleep(usec / 1000); in os_sleep() 49 t->usec = (os_time_t) (tt % 1000000); in os_get_time()
|
D | os_unix.c | 25 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument 29 if (usec) in os_sleep() 30 usleep(usec); in os_sleep() 40 t->usec = tv.tv_usec; in os_get_time()
|
D | eloop.c | 240 timeout->time.usec += usecs; in eloop_register_timeout() 241 while (timeout->time.usec >= 1000000) { in eloop_register_timeout() 243 timeout->time.usec -= 1000000; in eloop_register_timeout() 458 tv.sec = tv.usec = 0; in eloop_run() 461 tv.sec, tv.usec); in eloop_run() 464 _tv.tv_usec = tv.usec; in eloop_run()
|
D | os_internal.c | 30 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument 34 if (usec) in os_sleep() 35 usleep(usec); in os_sleep() 45 t->usec = tv.tv_usec; in os_get_time()
|
D | eloop_none.c | 132 timeout->time.usec += usecs; in eloop_register_timeout() 133 while (timeout->time.usec >= 1000000) { in eloop_register_timeout() 135 timeout->time.usec -= 1000000; in eloop_register_timeout() 326 tv.sec = tv.usec = 0; in eloop_run()
|
D | eloop_win.c | 255 timeout->time.usec += usecs; in eloop_register_timeout() 256 while (timeout->time.usec >= 1000000) { in eloop_register_timeout() 258 timeout->time.usec -= 1000000; in eloop_register_timeout() 471 tv.sec = tv.usec = 0; in eloop_run() 485 timeout = tv.sec * 1000 + tv.usec / 1000; in eloop_run()
|
D | os_none.c | 24 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument
|
D | wpa_supplicant_i.h | 379 int sec, int usec); 387 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
|
D | wpa_supplicant.c | 493 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec) in wpa_supplicant_req_scan() argument 520 sec, usec); in wpa_supplicant_req_scan() 522 eloop_register_timeout(sec, usec, wpa_supplicant_scan, wpa_s, NULL); in wpa_supplicant_req_scan() 566 int sec, int usec) in wpa_supplicant_req_auth_timeout() argument 573 "%d usec", sec, usec); in wpa_supplicant_req_auth_timeout() 575 eloop_register_timeout(sec, usec, wpa_supplicant_timeout, wpa_s, NULL); in wpa_supplicant_req_auth_timeout()
|
/external/qemu/distrib/sdl-1.2.12/src/timer/macos/ |
D | FastTimes.c | 182 UInt64 usec; in FastMicroseconds() local 191 usec = (double) WideTo64bit(wide) * gScaleUSec + 0.5; in FastMicroseconds() 196 usec = (double) WideTo64bit(wide) * gScaleUSec + 0.5; in FastMicroseconds() 201 usec = (double) WideTo64bit(wide) * gScaleUSec + 0.5; in FastMicroseconds() 206 usec = (double) RTCToNano(wide) * gScaleUSec + 0.5; in FastMicroseconds() 213 usec = WideTo64bit(wide); in FastMicroseconds() 216 return(usec); in FastMicroseconds()
|
/external/netperf/ |
D | netcpu_pstat.c | 113 usec; in calibrate_idle_rate() local 168 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate() 169 elapsed = (float)sec + ((float)usec/(float)1000000.0); in calibrate_idle_rate() 173 fprintf(where,"\tsec = %ld usec = %ld\n",sec,usec); in calibrate_idle_rate()
|
D | netcpu_perfstat.c | 130 usec; in calibrate_idle_rate() local 202 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate() 203 elapsed = (float)sec + ((float)usec/(float)1000000.0); in calibrate_idle_rate() 226 fprintf(where,"\tsec = %ld usec = %ld\n",sec,usec); in calibrate_idle_rate()
|
D | netcpu_kstat.c | 264 usec; in calibrate_idle_rate() local 301 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate() 302 elapsed = (float)sec + ((float)usec/(float)1000000.0); in calibrate_idle_rate() 306 fprintf(where,"\tsec = %ld usec = %ld\n",sec,usec); in calibrate_idle_rate()
|
D | netcpu_looper.c | 499 usec; in calibrate_idle_rate() local 529 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate() 530 elapsed = (float)sec + ((float)usec/(float)1000000.0); in calibrate_idle_rate() 534 fprintf(where,"\tsec = %ld usec = %ld\n",sec,usec); in calibrate_idle_rate()
|
/external/svox/pico/lib/ |
D | picopal.c | 509 void picopal_get_timer(picopal_uint32 * sec, picopal_uint32 * usec) in picopal_get_timer() argument 516 *usec = USEC_PER_SEC * (dt % CLOCKS_PER_SEC) / CLOCKS_PER_SEC; in picopal_get_timer() 535 *usec = (unsigned int) ((double)USEC_PER_SEC * (dt / tf)) % USEC_PER_SEC; in picopal_get_timer() 541 *usec = 1000 * (dt % 1000); in picopal_get_timer() 546 *usec = 0; in picopal_get_timer()
|
D | picopal.h | 281 extern void picopal_get_timer(picopal_uint32 * sec, picopal_uint32 * usec);
|
/external/webkit/V8Binding/v8/benchmarks/ |
D | base.js | 208 var usec = (elapsed * 1000) / n; 209 this.NotifyStep(new BenchmarkResult(benchmark, usec));
|
/external/ipsec-tools/src/libipsec/ |
D | policy_token.l | 86 usec {dot}{digit}{1,6}
|
/external/grub/netboot/ |
D | otulip.c | 71 static void udelay(unsigned long usec) { in udelay() argument 73 for (i=((usec*UADJUST)/33)+1; i>0; i--) (void) TULIP_CSR_READ(csr_0); in udelay()
|
/external/qemu/slirp/ |
D | misc.c | 759 u_sleep(int usec) in u_sleep() argument 767 t.tv_usec = usec * 1000; in u_sleep()
|
/external/qemu/slirp-android/ |
D | misc.c | 721 u_sleep(int usec) 729 t.tv_usec = usec * 1000;
|