Home
last modified time | relevance | path

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

12

/picolibc-3.5.0-3.4.0/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.c50 time_t
51 time (time_t * t) in time()
56 now.tv_sec = (time_t) -1; in time()
Ddifftime.c49 difftime (time_t tim1, in difftime()
50 time_t tim2) in difftime()
Dgettzinfo.c7 { {'J', 0, 0, 0, 0, (time_t)0, 0L },
8 {'J', 0, 0, 0, 0, (time_t)0, 0L }
Dctime.c56 ctime (const time_t * tim_p) in ctime()
Dlcltime.c63 localtime (const time_t * tim_p) in localtime()
Dctime_r.c24 ctime_r (const time_t * tim_p, in ctime_r()
Dgmtime.c71 gmtime (const time_t * tim_p) in gmtime()
Dgmtime_r.c65 gmtime_r (const time_t *__restrict tim_p, in gmtime_r()
69 const time_t lcltime = *tim_p; in gmtime_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()
/picolibc-3.5.0-3.4.0/newlib/libc/include/
Dtime.h101 double difftime (time_t _time2, time_t _time1);
102 time_t mktime (struct tm *_timeptr);
104 time_t timegm (struct tm *_timeptr);
106 time_t time (time_t *_timer);
109 char *ctime (const time_t *_time);
110 struct tm *gmtime (const time_t *_timer);
111 struct tm *localtime (const time_t *_timer);
125 char *ctime_r (const time_t *, char *);
126 struct tm *gmtime_r (const time_t *__restrict,
128 struct tm *localtime_r (const time_t *__restrict,
/picolibc-3.5.0-3.4.0/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-3.5.0-3.4.0/newlib/libc/include/sys/
Dutime.h42 time_t actime;
43 time_t modtime;
D_timespec.h42 typedef _TIME_T_ time_t; typedef
48 time_t tv_sec; /* seconds */
Dtimeb.h49 typedef _TIME_T_ time_t; typedef
56 time_t time;
D_timeval.h42 typedef _TIME_T_ time_t; typedef
55 time_t tv_sec; /* seconds */
D_tz_structs.h11 time_t change;
Dstat.h93 time_t st_atime;
94 time_t st_mtime;
95 time_t st_ctime;
Dtypes.h140 typedef _TIME_T_ time_t; typedef
/picolibc-3.5.0-3.4.0/newlib/libc/machine/spu/sys/
Dutime.h14 time_t actime;
15 time_t modtime;
/picolibc-3.5.0-3.4.0/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-3.5.0-3.4.0/semihost/
Dgettimeofday.c60 tv->tv_sec = (time_t) (ticks / tick_freq); in gettimeofday()

12