/third_party/ltp/testcases/kernel/syscalls/utime/ |
H A D | utime03.c | 12 * and access times of a file to the current time, under the following 23 #include <time.h> 61 utbuf.modtime = time(0) - 5; in run()
|
/third_party/ltp/testcases/kernel/sound/ |
H A D | snd_seq01.c | 19 #include <time.h> 35 .time = { .tick = 10 }
|
/third_party/ltp/testcases/kernel/syscalls/inotify/ |
H A D | inotify06.c | 23 #include <time.h> 25 #include <sys/time.h> 96 /* We survived for given time - test succeeded */ in verify_inotify()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/ |
H A D | rpc_clntudp_bufcreate_limits.c | 31 #include <time.h> 35 #include <sys/time.h>
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/ |
H A D | rpc_clnttcp_create_limits.c | 31 #include <time.h> 35 #include <sys/time.h>
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
H A D | 18-1.c | 26 #include <time.h> 73 ts.tv_sec = time(NULL) + TIMEOUT; in main()
|
H A D | 18-2.c | 11 * Test that if abs_timeout has already passed the time 12 * at the time mq_timedreceive() called, the timeout will expire. 27 #include <time.h> 75 ts.tv_sec = time(NULL) - TIMEOUT; in main()
|
H A D | 5-3.c | 31 #include <time.h> 75 ts.tv_sec = time(NULL) + 5; in main() 110 sleep(1); /* give time to parent to set up handler */ in main()
|
H A D | 11-1.c | 27 #include <time.h> 66 ts.tv_sec = time(NULL) + 1; in main()
|
H A D | 15-1.c | 23 #include <time.h> 58 ts.tv_sec = time(NULL) + 1; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
H A D | 19-1.c | 26 #include <time.h> 60 ts.tv_sec = time(NULL); in main()
|
H A D | 7-1.c | 31 #include <time.h> 61 ts.tv_sec = time(NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/ |
H A D | 2-1.c | 11 * available. The wait will end when the specified timeout time has expired. 13 * The timeout expires when the absolute time 'abs_timeout' passes, or if 'abs_timeout' 14 * has already been passed the time of the call. 20 * the set time of (3 secs.). 21 * 3. Save the time before and after the thread tried to lock the mutex. 29 #include <time.h> 35 #include <sys/time.h> 38 #define TIMEOUT 3 /* 3 seconds of timeout time for 43 static struct timeval currsec1, currsec2; /* Variables for saving time before 84 /* Compare time befor in main() [all...] |
H A D | 1-1.c | 11 * available. The wait will end when the specified timeout time has expired. 13 * The timeout expires when the absolute time 'abs_timeout' passes, or if 'abs_timeout' 14 * has already been passed the time of the call. 20 * the set time of (3 secs.). 21 * 3. Save the time before and after the thread tried to lock the mutex. 27 #include <time.h> 32 #include <sys/time.h> 35 #define TIMEOUT 3 /* 3 seconds of timeout time for 40 static struct timeval currsec1, currsec2; /* Variables for saving time before 81 /* Compare time befor in main() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
H A D | 2-1.c | 9 * The timeout shall expire when the absolute time specified by abs_timeout passes, 11 * value of that clock equals or exceeds abs_timeout), or if the absolute time 12 * specified by abs_timeout has already been passed at the time of the call. 17 * 3. Create a child thread, specify a 'abs_timeout' as being the current time _minus_ 54 currsec1 = time(NULL); in fn_rd() 56 /* Absolute time, not relative. */ in fn_rd() 80 /* Get time after the mutex timed out in locking. */ in fn_rd() 81 currsec2 = time(NULL); in fn_rd() 116 /* We expect the thread _NOT_ to block, and instead time out */ in main() 123 /* the child thread does not block, check the time expire in main() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A D | 23-1.c | 23 same time. 34 #include <time.h> 58 srand(time(NULL)); in child_func()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/ |
H A D | helper.c | 57 #include <time.h> 163 nw = time(NULL); in main()
|
/third_party/musl/libc-test/src/common/ |
H A D | runtest.c | 5 #include <time.h> 8 #include <sys/time.h>
|
/third_party/musl/libc-test/src/functionalext/supplement/select/ |
H A D | select.c | 20 #include <sys/time.h> 23 #include <time.h>
|
/third_party/musl/libc-test/src/functionalext/time/ |
H A D | time_ext.c | 17 #include <time.h> 43 * @tc.desc : according to different time zones, get time 59 time_t t = time(&curClock); in time_0100() 76 * @tc.desc : according to different time zones, get time
|
/third_party/node/deps/openssl/openssl/crypto/ct/ |
H A D | ct_policy.c | 16 #include <time.h> 22 * without being considered invalid. This is added to time() when setting a 48 /* time(NULL) shouldn't ever fail, so don't bother checking for -1. */ in CT_POLICY_EVAL_CTX_new_ex() 49 ctx->epoch_time_in_ms = (uint64_t)(time(NULL) + SCT_CLOCK_DRIFT_TOLERANCE) * in CT_POLICY_EVAL_CTX_new_ex()
|
/third_party/node/deps/openssl/openssl/fuzz/ |
H A D | client.c | 11 #include <time.h> 31 * current time instead of the fixed time. This will just result 36 time_t time(time_t *t) TIME_IMPL(t) in TIME_IMPL()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | random.c | 29 #include <time.h> 102 pa_log_warn("Failed to get proper entropy. Falling back to seeding with current time."); in pa_random_seed() 106 seed = (unsigned int) time(NULL); in pa_random_seed()
|
/third_party/pulseaudio/src/tests/ |
H A D | rtstutter.c | 26 #include <time.h> 101 srand((unsigned) time(NULL)); in main()
|
/third_party/skia/src/core/ |
H A D | SkTime.cpp | 51 #include <time.h> 55 time(&m_time); in GetDateTime()
|