Searched refs:ptm (Results 1 – 1 of 1) sorted by relevance
/picolibc-3.5.0-3.4.0/test/ |
D | timegm.c | 78 struct tm *ptm; in main() local 83 ptm = gmtime(&time); 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() 87 if (ptm->tm_min != tests[i].tm.tm_min) { in main() 88 printf ("tm_min: got %d want %d,\n", ptm->tm_min, tests[i].tm.tm_min); in main() 91 if (ptm->tm_hour != tests[i].tm.tm_hour) { in main() 92 printf ("tm_hour: got %d want %d,\n", ptm->tm_hour, tests[i].tm.tm_hour); 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() [all …]
|