Home
last modified time | relevance | path

Searched refs:time_t (Results 101 - 125 of 1265) sorted by relevance

12345678910>>...51

/third_party/jerryscript/targets/mbedos5/source/
H A Djerry_port_mbed.c68 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 Dwindows-misc.c71 time_t time(time_t *t) in time()
73 time_t ret = lws_now_usecs() / 1000000; in time()
/third_party/openssl/test/
H A Dasn1_time_test.c26 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 Dtimespec_test.cpp107 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 Dmod.rs22 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 Dselect.c12 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 Dsys_sem.c9 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 Dosal_time.c76 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 Ddate.c54 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 Dmmapstress05.c83 extern time_t time(time_t *);
84 extern char *ctime(const time_t *);
109 time_t t; in main()
H A Dmmapstress02.c38 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 Dhsts.c60 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 Dpsl.c49 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 Dlos_usr_libc.c356 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 Dlib670.c42 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 Dalltypes.h79 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 Dtimer_test.cpp101 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 Dabg-tools-utils.h270 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 Dlast.c72 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 Dtimemodule.c434 , 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 Dv3d_bufmgr.h51 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 Dtimerfd.c15 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 Dselect.c12 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 Da_utctm.c52 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 Dcpulimit-test.c40 static time_t start;
45 time_t now; in func()
76 time_t now; in START_TEST()

Completed in 12 milliseconds

12345678910>>...51