Lines Matching refs:timeptr
44 struct tm *timeptr = localtime(&gTime);
45 if (!timeptr) {
46 EXPECT_PTRNE("strptime_0100", timeptr, NULL);
49 size_t cnt = strftime(buffer, sizeof(buffer) - 1, "%c", timeptr);
82 struct tm *timeptr = localtime(&gTime);
83 if (!timeptr) {
84 EXPECT_TRUE("strptime_0200", timeptr == NULL);
87 size_t len = strftime(buffer, sizeof(buffer) - 1, "%c %Z%z", timeptr);
283 struct tm *timeptr = localtime(&gTime);
284 if (!timeptr) {
285 EXPECT_PTRNE("strptime_1200", timeptr, NULL);
288 strptime(buffer, "%P", timeptr);
290 int cnt = sprintf(buffResult, "%d", timeptr->tm_hour);
312 struct tm *timeptr = localtime(&gTime);
313 if (!timeptr) {
314 EXPECT_PTRNE("strptime_1300", timeptr, NULL);
317 strptime(buffer, "%P", timeptr);
319 int cnt = sprintf(buffResult, "%d", timeptr->tm_hour);