/external/libcups/cups/ |
D | tempfile.c | 49 DWORD curtime; /* Current time */ in cupsTempFd() local 51 struct timeval curtime; /* Current time */ in cupsTempFd() local 110 curtime = GetTickCount() + tries; in cupsTempFd() 116 snprintf(filename, (size_t)len - 1, "%s/%05lx%08lx", tmpdir, GetCurrentProcessId(), curtime); in cupsTempFd() 122 gettimeofday(&curtime, NULL); in cupsTempFd() 128 …)len - 1, "%s/%05x%08x", tmpdir, (unsigned)getpid(), (unsigned)(curtime.tv_sec + curtime.tv_usec +… in cupsTempFd()
|
D | debug.c | 91 struct timeval curtime; /* Current time */ in _cups_debug_printf() local 136 gettimeofday(&curtime, NULL); in _cups_debug_printf() 138 debug_thread_id(), (int)((curtime.tv_sec / 3600) % 24), in _cups_debug_printf() 139 (int)((curtime.tv_sec / 60) % 60), in _cups_debug_printf() 140 (int)(curtime.tv_sec % 60), (int)(curtime.tv_usec / 1000)); in _cups_debug_printf() 174 struct timeval curtime; /* Current time */ in _cups_debug_puts() local 219 gettimeofday(&curtime, NULL); in _cups_debug_puts() 221 debug_thread_id(), (int)((curtime.tv_sec / 3600) % 24), in _cups_debug_puts() 222 (int)((curtime.tv_sec / 60) % 60), in _cups_debug_puts() 223 (int)(curtime.tv_sec % 60), (int)(curtime.tv_usec / 1000), in _cups_debug_puts()
|
D | tls-gnutls.c | 79 time_t curtime; /* Current time */ in cupsMakeServerCredentials() local 146 curtime = time(NULL); in cupsMakeServerCredentials() 147 serial[0] = curtime >> 24; in cupsMakeServerCredentials() 148 serial[1] = curtime >> 16; in cupsMakeServerCredentials() 149 serial[2] = curtime >> 8; in cupsMakeServerCredentials() 150 serial[3] = curtime; in cupsMakeServerCredentials() 173 gnutls_x509_crt_set_activation_time(crt, curtime); in cupsMakeServerCredentials() 174 gnutls_x509_crt_set_expiration_time(crt, curtime + 10 * 365 * 86400); in cupsMakeServerCredentials() 573 time_t curtime; /* Current date/time */ in httpCredentialsGetTrust() local 575 time(&curtime); in httpCredentialsGetTrust() [all …]
|
D | testarray.c | 512 struct timeval curtime; /* Current time */ in get_seconds() local 515 gettimeofday(&curtime, NULL); in get_seconds() 516 return (curtime.tv_sec + 0.000001 * curtime.tv_usec); in get_seconds()
|
D | ppd-util.c | 217 struct timeval curtime; /* Current time */ in cupsGetPPD3() local 263 gettimeofday(&curtime, NULL); in cupsGetPPD3() 270 (unsigned long)curtime.tv_sec, in cupsGetPPD3() 271 (unsigned long)curtime.tv_usec); in cupsGetPPD3()
|
D | dest.c | 3446 struct timeval curtime; /* Current time */ local 3463 gettimeofday(&curtime, NULL); 3465 …ps_dnssd_resolve_cb: curtime=%d.%06d, end_time=%d.%06d", (int)curtime.tv_sec, (int)curtime.tv_usec… 3467 return (curtime.tv_sec < resolve->end_time.tv_sec || 3468 (curtime.tv_sec == resolve->end_time.tv_sec && 3469 curtime.tv_usec < resolve->end_time.tv_usec)); 3558 struct timeval curtime; /* Current time */ local 3711 gettimeofday(&curtime, NULL); 3812 cups_elapsed(&curtime); 3852 remaining -= cups_elapsed(&curtime);
|
D | file.c | 1243 time_t curtime; /* Current time */ in cupsFileOpenFd() local 1246 curtime = time(NULL); in cupsFileOpenFd() 1251 header[4] = (unsigned char)curtime; in cupsFileOpenFd() 1252 header[5] = (unsigned char)(curtime >> 8); in cupsFileOpenFd() 1253 header[6] = (unsigned char)(curtime >> 16); in cupsFileOpenFd() 1254 header[7] = (unsigned char)(curtime >> 24); in cupsFileOpenFd()
|
D | adminutil.c | 83 time_t curtime; /* Current time */ in cupsAdminCreateWindowsPPD() local 168 curtime = time(NULL); in cupsAdminCreateWindowsPPD() 169 curdate = gmtime(&curtime); in cupsAdminCreateWindowsPPD()
|
/external/curl/docs/examples/ |
D | progressfunc.c | 59 TIMETYPE curtime = 0; in xferinfo() local 61 curl_easy_getinfo(curl, TIMEOPT, &curtime); in xferinfo() 66 if((curtime - myp->lastruntime) >= MINIMAL_PROGRESS_FUNCTIONALITY_INTERVAL) { in xferinfo() 67 myp->lastruntime = curtime; in xferinfo() 70 (curtime / 1000000), (long)(curtime % 1000000)); in xferinfo() 72 fprintf(stderr, "TOTAL TIME: %f \r\n", curtime); in xferinfo()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 4-1.c | 33 struct timeval curtime; in t1_func() local 43 if (gettimeofday(&curtime, NULL) != 0) { in t1_func() 47 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func() 48 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
|
D | 2-2.c | 37 struct timeval curtime; in t1_func() local 54 if (gettimeofday(&curtime, NULL) != 0) { in t1_func() 58 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func() 59 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
|
D | 1-1.c | 36 struct timeval curtime; in t1_func() local 47 if (gettimeofday(&curtime, NULL) != 0) { in t1_func() 51 timeout.tv_sec = curtime.tv_sec; in t1_func() 52 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
|
D | 3-1.c | 36 struct timeval curtime; in t1_func() local 47 if (gettimeofday(&curtime, NULL) != 0) { in t1_func() 51 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func() 52 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
|
D | 2-1.c | 43 struct timeval curtime; in t1_func() local 54 if (gettimeofday(&curtime, NULL) != 0) { in t1_func() 58 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func() 59 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
|
D | 2-3.c | 36 struct timeval curtime; in t1_func() local 48 if (gettimeofday(&curtime, NULL) != 0) { in t1_func() 52 timeout.tv_sec = curtime.tv_sec; in t1_func()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
D | 2-2.c | 38 struct timeval curtime; in thr_func() local 50 if (gettimeofday(&curtime, NULL) != 0) { in thr_func() 54 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in thr_func() 55 timeout.tv_nsec = curtime.tv_usec * 1000; in thr_func()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
D | 2-2.c | 38 struct timeval curtime; in thr_func() local 50 if (gettimeofday(&curtime, NULL) != 0) { in thr_func() 54 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in thr_func() 55 timeout.tv_nsec = curtime.tv_usec * 1000; in thr_func()
|
/external/libcups/filter/ |
D | rasterbench.c | 161 struct timeval curtime; /* Current time */ in get_time() local 164 gettimeofday(&curtime, NULL); in get_time() 165 return (curtime.tv_sec + 0.000001 * curtime.tv_usec); in get_time()
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | main.c | 49 struct timeval curtime, difftime; in ffsb_poll_fn() local 50 gettimeofday(&curtime, NULL); in ffsb_poll_fn() 52 timersub(&curtime, &data->starttime, &difftime); in ffsb_poll_fn()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | growfiles.c | 1573 struct timeval curtime; in main() local 1574 gettimeofday(&curtime, NULL); in main() 1575 ct = curtime.tv_sec * USECS_PER_SEC + in main() 1576 curtime.tv_usec; in main() 1580 gettimeofday(&curtime, NULL); in main() 1581 ct = curtime.tv_sec * USECS_PER_SEC + in main() 1582 curtime.tv_usec; in main()
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 1848 struct timeval origtime, curtime; in semanage_get_lock() local 1875 curtime.tv_sec = 1; in semanage_get_lock() 1876 curtime.tv_usec = 0; in semanage_get_lock() 1887 if (select(0, NULL, NULL, NULL, &curtime) == -1) { in semanage_get_lock()
|
/external/libavc/test/encoder/ |
D | main.c | 1527 TIMER curtime ; in synchronous_encode() local 1823 GETTIME(&curtime); in synchronous_encode() 1824 ELAPSEDTIME(ps_app_ctxt->enc_last_time, curtime, timetaken, frequency); in synchronous_encode() 1825 ps_app_ctxt->enc_last_time = curtime; in synchronous_encode()
|
/external/libmtp/src/ |
D | libmtp.c | 943 time_t curtime; in get_iso8601_stamp() local 947 curtime = time(NULL); in get_iso8601_stamp() 948 loctime = localtime(&curtime); in get_iso8601_stamp()
|