Home
last modified time | relevance | path

Searched refs:tm_sec (Results 1 – 13 of 13) sorted by relevance

/picolibc-latest/test/
Dtimegm.h38 .tm_sec = 43,
52 .tm_sec = 46,
66 .tm_sec = 57,
80 .tm_sec = 55,
94 .tm_sec = 53,
108 .tm_sec = 55,
122 .tm_sec = 46,
136 .tm_sec = 12,
150 .tm_sec = 9,
164 .tm_sec = 1,
[all …]
Dtimegm.c64 printf (" .tm_sec = %d,\n", tests[i].tm.tm_sec); /* Seconds (0-60) */ in main()
84 if (ptm->tm_sec != tests[i].tm.tm_sec) { in main()
85 printf ("tm_sec: got %d want %d,\n", ptm->tm_sec, tests[i].tm.tm_sec); ret++; in main()
Dtime-tests.c54 stm->tm_sec = 0; in init_struct_tm()
187 dtForTimegm6.tm_sec = 7; in main()
212 dtForTimegm7.tm_sec++; in main()
/picolibc-latest/newlib/testsuite/newlib.time/
Dasctime.c49 .tm_sec = 0,
64 .tm_sec = 0,
80 .tm_sec = 20,
95 .tm_sec = 40,
111 .tm_sec = 40,
126 .tm_sec = 40,
Dtzset.c27 .tm_sec = 20,
38 .tm_sec = 40,
/picolibc-latest/newlib/libc/time/
Dlcltime_r.c75 res->tm_sec -= secs; in localtime_r()
79 if (res->tm_sec >= SECSPERMIN) in localtime_r()
82 res->tm_sec -= SECSPERMIN; in localtime_r()
84 else if (res->tm_sec < 0) in localtime_r()
87 res->tm_sec += SECSPERMIN; in localtime_r()
Dmktime.c105 if (tim_p->tm_sec < 0 || tim_p->tm_sec > 59) in validate_structure()
107 res = div (tim_p->tm_sec, 60); in validate_structure()
109 if ((tim_p->tm_sec = res.rem) < 0) in validate_structure()
111 tim_p->tm_sec += 60; in validate_structure()
195 tim += tim_p->tm_sec + (tim_p->tm_min * SECSPERMIN) + in mktime_utc()
292 tim_p->tm_sec += diff; in mktime()
Dasctime_r.c47 tim_p->tm_sec, 1900 + tim_p->tm_year); in asctime_r()
Dstrftime.c446 stm.tm_hour = stm.tm_min = stm.tm_sec = 0; in get_era_info()
452 stm.tm_mon = stm.tm_mday = stm.tm_hour = stm.tm_min = stm.tm_sec = 0; in get_era_info()
461 etm.tm_min = etm.tm_sec = 59; in get_era_info()
474 etm.tm_min = etm.tm_sec = 59; in get_era_info()
1164 + tim_p->tm_sec - offset); in __strftime()
1172 tim_p->tm_sec, *alt_digits))) in __strftime()
1175 tim_p->tm_sec); in __strftime()
1186 tim_p->tm_hour, tim_p->tm_min, tim_p->tm_sec); in __strftime()
1522 .tm_sec = 47,
1585 .tm_sec = 13,
[all …]
Dgmtime_r.c86 res->tm_sec = (int) (rem % SECSPERMIN); in gmtime_r()
Dtime.tex36 @item tm_sec
Dstrptime.c346 timeptr->tm_sec = ret; in strptime_l()
/picolibc-latest/newlib/libc/include/
Dtime.h72 int tm_sec; member