Home
last modified time | relevance | path

Searched refs:time_t (Results 1 – 25 of 35) sorted by relevance

12

/picolibc-latest/newlib/libc/time/
Dmktime.c184 static time_t
187 time_t tim = 0; in mktime_utc()
208 return (time_t) -1; in mktime_utc()
224 tim += (time_t)days * SECSPERDAY; in mktime_utc()
230 time_t
234 time_t tim; in mktime()
241 if (tim == (time_t) -1) in mktime()
264 time_t startdst_dst = tz->__tzrule[0].change in mktime()
265 - (time_t) tz->__tzrule[1].offset; in mktime()
266 time_t startstd_dst = tz->__tzrule[1].change in mktime()
[all …]
Dtime.c49 time_t
50 time (time_t * t) in time()
55 now.tv_sec = (time_t) -1; in time()
Ddifftime.c49 difftime (time_t tim1, in difftime()
50 time_t tim2) in difftime()
Dctime.c54 ctime (const time_t * tim_p) in ctime()
Dgmtime_r.c65 gmtime_r (const time_t *__restrict tim_p, in gmtime_r()
69 const time_t lcltime = *tim_p; in gmtime_r()
Dgmtime.c68 gmtime (const time_t * tim_p) in gmtime()
Dlcltime.c62 localtime (const time_t * tim_p) in localtime()
Dctime_r.c25 ctime_r (const time_t * tim_p, in ctime_r()
Dtzcalc_limits.c70 tz->__tzrule[i].change = (time_t) days * SECSPERDAY + in __tzcalc_limits()
Dtime.tex25 @code{time_t} are both used for representations of time particularly
28 and quantities of type @code{time_t} resolve to seconds.) @code{size_t}
Dlcltime_r.c35 localtime_r (const time_t *__restrict tim_p, in localtime_r()
Dtzset.c124 static const struct __tzrule_struct default_tzrule = {'J', 0, 0, 0, 0, (time_t)0, 0L }; in _tzset_unlocked()
/picolibc-latest/newlib/libc/include/
Dtime.h210 char *ctime (const time_t *_time);
213 char *ctime_r (const time_t *,
217 double difftime (time_t _time2, time_t _time1);
229 struct tm *gmtime (const time_t *_timer);
232 struct tm *gmtime_r (const time_t *__restrict,
236 struct tm *localtime (const time_t *_timer);
239 struct tm *localtime_r (const time_t *__restrict,
243 time_t mktime (struct tm *_timeptr);
269 time_t time (time_t *_timer);
272 time_t timegm (struct tm *_timeptr);
/picolibc-latest/test/
Dtime-tests.c93 time_t t1 = timegm( &dtForTimegm1 ); in main()
104 time_t t2 = mktime( &dtForMktime2 ); in main()
137 time_t t3 = timegm( &dtForTimegm3 ); in main()
147 time_t t4 = mktime( &dtForMktime4 ); in main()
170 time_t t5 = timegm( &dtForTimegm5 ); in main()
197 time_t t6 = timegm( &dtForTimegm6 ); in main()
214 time_t t7 = timegm( &dtForTimegm7 ); in main()
235 time_t t8 = timegm( &dtForTimegm8 ); in main()
Dtimegm.c45 time_t time;
79 time_t time; in main()
/picolibc-latest/newlib/libc/include/sys/
Dutime.h42 time_t actime;
43 time_t modtime;
D_timespec.h40 typedef __time_t time_t; typedef
45 time_t tv_sec; /* seconds */
D_timeval.h40 typedef _TIME_T_ time_t; typedef
48 time_t tv_sec; /* seconds */
Dtimeb.h46 typedef _TIME_T_ time_t; typedef
52 time_t time;
Dstat.h84 typedef _TIME_T_ time_t; typedef
133 time_t st_atime;
134 time_t st_mtime;
135 time_t st_ctime;
D_tz_structs.h11 time_t change;
Dtypes.h138 typedef _TIME_T_ time_t; typedef
/picolibc-latest/newlib/libc/machine/spu/sys/
Dutime.h14 time_t actime;
15 time_t modtime;
/picolibc-latest/newlib/testsuite/newlib.time/
Dtzset.c21 extern const time_t winter_time;
22 extern const time_t summer_time;
48 const time_t winter_time = 1647893720;
49 const time_t summer_time = 1657882240;
/picolibc-latest/semihost/
Dgettimeofday.c60 tv->tv_sec = (time_t) (ticks / tick_freq); in gettimeofday()

12