/third_party/jerryscript/targets/mbedos5/source/ |
H A D | jerry_port_mbed.c | 68 static time_t last_time = 0; in jerry_port_get_current_time() 72 time_t curr_time = time(NULL); /* The value is in seconds. */ in jerry_port_get_current_time() 82 if (curr_time - last_time > (time_t) (((uint32_t) - 1) / 1000000)) { in jerry_port_get_current_time()
|
/third_party/libwebsockets/lib/plat/windows/ |
H A D | windows-misc.c | 71 time_t time(time_t *t) in time() 73 time_t ret = lws_now_usecs() / 1000000; in time()
|
/third_party/openssl/test/ |
H A D | asn1_time_test.c | 26 time_t t; /* expected time_t*/ 57 { "20380119031407Z", V_ASN1_GENERALIZEDTIME, V_ASN1_UTCTIME, 1, 0x7FFFFFFF, 1, 1, }, /* Max 32bit time_t */ 87 /* explicit casts to time_t short warnings on systems with 32-bit time_t */ 89 { "20380119031408Z", V_ASN1_GENERALIZEDTIME, V_ASN1_UTCTIME, 1, (time_t)0x80000000, 1, 1, }, 90 { "20380119031409Z", V_ASN1_GENERALIZEDTIME, V_ASN1_UTCTIME, 1, (time_t)0x80000001, 1, 1, }, 91 { "380119031408Z", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 1, (time_t)0x80000000, 1, 1, }, 92 { "20500101120000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 1, (time_t)0x967b1ec0, 1, 0, }, 97 { "19011213204551Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 1, (time_t) [all...] |
/third_party/mesa3d/src/util/tests/ |
H A D | timespec_test.cpp | 107 a.tv_sec = (time_t)0x7000123470005678LL; in TEST() 123 EXPECT_LE(sizeof(time_t), sizeof(uint64_t)); in TEST() 125 time_t t = TIME_T_MAX; in TEST() 129 EXPECT_EQ(std::numeric_limits<time_t>::max(), TIME_T_MAX); in TEST() 237 EXPECT_EQ(a.tv_sec, (time_t)(UINT64_MAX / NSEC_PER_SEC)); in TEST() 295 EXPECT_EQ((time_t)0x0000123400005678LL, a.tv_sec); in TEST() 326 time_t t; in TEST()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/ |
H A D | mod.rs | 22 pub type time_t = i64; types 32 pub type time_t = i32; types 75 pub st_atime: ::time_t, 77 pub st_mtime: ::time_t, 79 pub st_ctime: ::time_t, 142 pub sem_otime: ::time_t, 147 pub sem_ctime: ::time_t,
|
/third_party/musl/porting/liteos_a/user/src/select/ |
H A D | select.c | 12 time_t s = tv ? tv->tv_sec : 0; in select() 15 const time_t max_time = (1ULL<<8*sizeof(time_t)-1)-1; in select()
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_sem.c | 9 T(time_t) in f() 22 F(time_t, sem_otime) in f() 23 F(time_t, sem_ctime) in f()
|
/drivers/hdf_core/framework/support/posix/src/ |
H A D | osal_time.c | 76 ts.tv_sec = (time_t)ms / HDF_KILO_UNIT; in OsalMSleep() 77 ts.tv_nsec = (time_t)HDF_KILO_UNIT * HDF_KILO_UNIT * ((long)(ms % HDF_KILO_UNIT)); in OsalMSleep() 89 ts.tv_sec = (time_t)us / ((long)HDF_KILO_UNIT * HDF_KILO_UNIT); in OsalUSleep() 90 ts.tv_nsec = (time_t)HDF_KILO_UNIT * ((long)(us % HDF_KILO_UNIT)); in OsalUSleep()
|
/third_party/libwebsockets/lib/roles/http/ |
H A D | date.c | 54 lws_http_date_render_from_unix(char *buf, size_t len, const time_t *t) in lws_http_date_render_from_unix() 135 lws_http_date_parse_unix(const char *b, size_t len, time_t *t) in lws_http_date_parse_unix() 164 time_t t, td; in lws_http_check_retry_after() 179 u = ((lws_usec_t)(time_t)atoi(p)) * LWS_USEC_PER_SEC; in lws_http_check_retry_after()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress05.c | 83 extern time_t time(time_t *); 84 extern char *ctime(const time_t *); 109 time_t t; in main()
|
H A D | mmapstress02.c | 38 extern time_t time(time_t *); 39 extern char *ctime(const time_t *); 84 time_t t; in main()
|
/third_party/curl/lib/ |
H A D | hsts.c | 60 time_t deltatime; /* allow for "adjustments" for unit test purposes */ 61 static time_t hsts_debugtime(void *unused) in hsts_debugtime() 70 return (time_t)val; in hsts_debugtime() 157 time_t now = time(NULL); in Curl_hsts_parse() 259 time_t now = time(NULL); in Curl_hsts() 316 result = Curl_gmtime((time_t)sts->expires, &stamp); in hsts_push() 340 CURLcode result = Curl_gmtime((time_t)sts->expires, &stamp); in hsts_out() 433 time_t expires = strcmp(date, UNLIMITED) ? Curl_getdate_capped(date) : in hsts_add() 479 time_t expires; in hsts_pull()
|
H A D | psl.c | 49 static time_t now_seconds(void) in now_seconds() 60 time_t now; in Curl_psl_use() 78 time_t expires = TIME_T_MAX; in Curl_psl_use()
|
/third_party/musl/porting/liteos_m/user/hook/ |
H A D | los_usr_libc.c | 356 time_t time(time_t *timer) in time() 361 struct tm *gmtime_r(const time_t *timep, struct tm *result) in gmtime_r() 366 struct tm *gmtime(const time_t *timer) in gmtime() 371 struct tm *localtime_r(const time_t *timep, struct tm *result) in localtime_r() 376 struct tm *localtime(const time_t *timer) in localtime() 381 time_t mktime(struct tm *tmptr) in mktime() 403 specTime.tv_sec = (time_t)(nanoseconds / OS_SYS_NS_PER_SECOND); in usleep() 413 specTime.tv_sec = (time_t)(nanoseconds / OS_SYS_NS_PER_SECOND); in sleep()
|
/third_party/curl/tests/libtest/ |
H A D | lib670.c | 42 time_t origin; 50 time_t delta; in read_callback() 85 time_t delta = time(NULL) - pooh->origin; in xferinfo() 131 pooh.origin = (time_t) 0; in test() 198 time_t delta = time(NULL) - pooh.origin; in test()
|
/third_party/musl/porting/liteos_m/user/include/bits/ |
H A D | alltypes.h | 79 typedef _Int64 time_t; typedef 218 struct timeval { time_t tv_sec; suseconds_t tv_usec; }; 223 struct timespec { time_t tv_sec; int :8*(sizeof(time_t)-sizeof(long))*(__BYTE_ORDER==4321); long tv_nsec; int :8*(sizeof(time_t)-sizeof(long))*(__BYTE_ORDER!=4321); };
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
H A D | timer_test.cpp | 101 void SetTimer(time_t valueS, time_t valueNs, time_t intervalS, time_t intervalNs) in SetTimer() 114 time_t start = time(nullptr); in ValUpdate()
|
/third_party/libabigail/include/ |
H A D | abg-tools-utils.h | 270 time_t value_in_seconds() const; 271 bool value(time_t& hours, 272 time_t& minutes, 273 time_t& seconds, 274 time_t& milliseconds) const;
|
/third_party/toybox/toys/pending/ |
H A D | last.c | 72 static void seize_duration(time_t tm0, time_t tm1) in seize_duration() 90 time_t tm[3] = {0,}; //array for time avlues, previous, current in last_main() 129 tm[1] = tm[2] = (time_t)ut.ut_tv.tv_sec; in last_main() 140 tm[2] = (time_t)ut.ut_tv.tv_sec; in last_main()
|
/third_party/python/Modules/ |
H A D | timemodule.c | 434 , const char *zone, time_t gmtoff 476 parse_time_t_args(PyObject *args, const char *format, time_t *pwhen) 479 time_t whent; 497 time_t when; 516 static time_t 541 time_t when; 556 time_t gmtoff; 775 time_t tt = time(NULL); 971 time_t tt = time(NULL); 994 time_t t [all...] |
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_bufmgr.h | 51 time_t free_time; 62 void v3d_bo_last_unreference_locked_timed(struct v3d_bo *bo, time_t time); 111 v3d_bo_unreference_locked_timed(struct v3d_bo **bo, time_t time) in v3d_bo_unreference_locked_timed()
|
/third_party/musl/src/linux/ |
H A D | timerfd.c | 15 time_t is = new->it_interval.tv_sec, vs = new->it_value.tv_sec; in timerfd_settime() 19 || !IS32BIT(is) || !IS32BIT(vs) || (sizeof(time_t)>4 && old)) in timerfd_settime() 44 if (sizeof(time_t) > 4) in timerfd_gettime()
|
/third_party/musl/src/select/ |
H A D | select.c | 12 time_t s = tv ? tv->tv_sec : 0; in select() 15 const time_t max_time = (1ULL<<8*sizeof(time_t)-1)-1; in select()
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | a_utctm.c | 52 ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) in ASN1_UTCTIME_set() 57 ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t, in ASN1_UTCTIME_adj() 75 int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t) in ASN1_UTCTIME_cmp_time_t()
|
/third_party/pulseaudio/src/tests/ |
H A D | cpulimit-test.c | 40 static time_t start; 45 time_t now; in func() 76 time_t now; in START_TEST()
|