Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/test/
Dtimegm.h41 .tm_mday = 5,
55 .tm_mday = 2,
69 .tm_mday = 17,
83 .tm_mday = 2,
97 .tm_mday = 15,
111 .tm_mday = 12,
125 .tm_mday = 24,
139 .tm_mday = 12,
153 .tm_mday = 26,
167 .tm_mday = 12,
[all …]
Dtime-tests.c57 stm->tm_mday = 0; in init_struct_tm()
84 dtForTimegm1.tm_mday = 3; // 3rd in main()
130 dtForTimegm3.tm_mday = 1; // 1st in main()
165 dtForTimegm5.tm_mday = 1; // 1st day of the month. in main()
191 dtForTimegm6.tm_mday = 19; in main()
232 dtForTimegm8.tm_mday = 29; in main()
Dtimegm.c67 … printf (" .tm_mday = %d,\n", tests[i].tm.tm_mday); /* Day of the month (1-31) */ in main()
95 if (ptm->tm_mday != tests[i].tm.tm_mday) { in main()
96 printf ("tm_mday: got %d want %d,\n", ptm->tm_mday, tests[i].tm.tm_mday); in main()
/picolibc-3.7.0-3.6.0/newlib/libc/time/
Dmktime.c130 tim_p->tm_mday += res.quot; in validate_structure()
134 --tim_p->tm_mday; in validate_structure()
152 if (tim_p->tm_mday <= 0) in validate_structure()
154 while (tim_p->tm_mday <= 0) in validate_structure()
164 tim_p->tm_mday += _DAYS_IN_MONTH (tim_p->tm_mon); in validate_structure()
169 while (tim_p->tm_mday > _DAYS_IN_MONTH (tim_p->tm_mon)) in validate_structure()
171 tim_p->tm_mday -= _DAYS_IN_MONTH (tim_p->tm_mon); in validate_structure()
199 days += tim_p->tm_mday - 1; in mktime_utc()
294 int mday = tim_p->tm_mday; in mktime()
296 mday = tim_p->tm_mday - mday; in mktime()
Dlcltime_r.c105 ++res->tm_mday; in localtime_r()
107 if (res->tm_mday > ip[res->tm_mon]) in localtime_r()
109 res->tm_mday -= ip[res->tm_mon]; in localtime_r()
125 res->tm_mday -= 1; in localtime_r()
127 if (res->tm_mday == 0) in localtime_r()
136 res->tm_mday = ip[res->tm_mon]; in localtime_r()
Dasctime_r.c39 tim_p->tm_mday, tim_p->tm_hour, tim_p->tm_min, in asctime_r()
Dstrftime.c446 stm.tm_mday = ERA_STRTOL (c + 1, &c, 10); in get_era_info()
453 stm.tm_mon = stm.tm_mday = stm.tm_hour = stm.tm_min = stm.tm_sec = 0; in get_era_info()
460 etm.tm_mday = 31; in get_era_info()
472 etm.tm_mday = ERA_STRTOL (c + 1, &c, 10); in get_era_info()
473 etm.tm_mday = 31; in get_era_info()
482 && tim_p->tm_mday >= stm.tm_mday)))) in get_era_info()
487 && tim_p->tm_mday <= etm.tm_mday))))) in get_era_info()
892 if (tim_p->tm_mday < 10) in __strftime()
905 tim_p->tm_mday, *alt_digits); in __strftime()
913 tim_p->tm_mday); in __strftime()
[all …]
Dstrptime.c232 timeptr->tm_mday = ret; in strptime_l()
465 + timeptr->tm_mday; in strptime_l()
494 timeptr->tm_mday = timeptr->tm_yday in strptime_l()
499 timeptr->tm_mday++; in strptime_l()
Dgmtime_r.c111 res->tm_mday = day; in gmtime_r()
Dtime.tex45 @item tm_mday
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.time/
Dtzset.c30 .tm_mday = 21,
41 .tm_mday = 15,
/picolibc-3.7.0-3.6.0/newlib/libc/include/
Dtime.h86 int tm_mday; member
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-20153960 * libc/time/mktime.c: (mktime) Fix tm_yday, tm_mday updating when
4228 tm_mon and tm_mday are updated. Fill in tm_mon, tm_mday and tm_wday