Lines Matching refs:timeptr

42         struct tm *timeptr = localtime(&gTime);
43 if (!timeptr) {
44 EXPECT_PTRNE("strftime_0100", timeptr, NULL);
47 size_t count = strftime(buffer, sizeof(buffer) - 1, "%c", timeptr);
69 struct tm *timeptr = localtime(&gTime);
70 if (!timeptr) {
71 EXPECT_PTRNE("strftime_0200", timeptr, NULL);
75 size_t count = strftime(buffer, sizeof(buffer) - 1, "%c %Z%z", timeptr);
96 struct tm *timeptr = localtime(&gTime);
97 if (!timeptr) {
98 EXPECT_PTRNE("strftime_0300", timeptr, NULL);
102 size_t count = strftime(buffer, sizeof(buffer) - 1, "%k", timeptr);
122 struct tm *timeptr = localtime(&gTime);
123 if (!timeptr) {
124 EXPECT_PTRNE("strftime_0400", timeptr, NULL);
128 size_t count = strftime(buffer, sizeof(buffer) - 1, "%k", timeptr);
148 struct tm *timeptr = localtime(&gTime);
149 if (!timeptr) {
150 EXPECT_PTRNE("strftime_0500", timeptr, NULL);
154 size_t count = strftime(buffer, sizeof(buffer) - 1, "%I", timeptr);
174 struct tm *timeptr = localtime(&gTime);
175 if (!timeptr) {
176 EXPECT_PTRNE("strftime_0600", timeptr, NULL);
180 size_t count = strftime(buffer, sizeof(buffer) - 1, "%P", timeptr);
200 struct tm *timeptr = localtime(&gTime);
201 if (!timeptr) {
202 EXPECT_PTRNE("strftime_0700", timeptr, NULL);
206 size_t count = strftime(buffer, sizeof(buffer) - 1, "%v", timeptr);
226 struct tm *timeptr = localtime(&gTime);
227 if (!timeptr) {
228 EXPECT_PTRNE("strftime_0800", timeptr, NULL);
232 size_t count = strftime(buffer, sizeof(buffer) - 1, "%j", timeptr);
252 struct tm *timeptr = localtime(&gTime);
253 if (!timeptr) {
254 EXPECT_PTRNE("strftime_0900", timeptr, NULL);
258 size_t count = strftime(buffer, sizeof(buffer) - 1, "%l", timeptr);
278 struct tm *timeptr = localtime(&gTime);
279 if (!timeptr) {
280 EXPECT_PTRNE("strftime_1000", timeptr, NULL);
283 timeptr->tm_mday = 31;
284 timeptr->tm_mon = 11;
285 timeptr->tm_year = 124;
286 timeptr->tm_wday = 2;
287 timeptr->tm_yday = 365;
290 size_t count = strftime(buffer, sizeof(buffer) - 1, "%V", timeptr);
324 struct tm *timeptr = localtime(&gTime);
325 if (!timeptr) {
326 EXPECT_PTRNE("strftime_1200", timeptr, NULL);
329 timeptr->tm_mday = 28;
330 timeptr->tm_mon = 12;
331 timeptr->tm_year = 200;
332 timeptr->tm_wday = 1;
333 timeptr->tm_yday = 362;
336 size_t count = strftime(buffer, sizeof(buffer) - 1, "%G", timeptr);
356 struct tm *timeptr = localtime(&gTime);
357 if (!timeptr) {
358 EXPECT_PTRNE("strftime_1300", timeptr, NULL);
361 timeptr->tm_mday = 28;
362 timeptr->tm_mon = 12;
363 timeptr->tm_year = 100;
364 timeptr->tm_wday = 1;
365 timeptr->tm_yday = 362;
368 size_t count = strftime(buffer, sizeof(buffer) - 1, "%G", timeptr);
388 struct tm *timeptr = localtime(&gTime);
389 if (!timeptr) {
390 EXPECT_PTRNE("strftime_1400", timeptr, NULL);
393 timeptr->tm_mday = 28;
394 timeptr->tm_mon = 12;
395 timeptr->tm_year = 101;
396 timeptr->tm_wday = 1;
397 timeptr->tm_yday = 362;
400 size_t count = strftime(buffer, sizeof(buffer) - 1, "%G", timeptr);
420 struct tm *timeptr = localtime(&gTime);
421 if (!timeptr) {
422 EXPECT_PTRNE("strftime_1500", timeptr, NULL);
427 size_t count = strftime(buffer, sizeof(buffer) - 1, "%B", timeptr);
447 struct tm *timeptr = localtime(&gTime);
448 if (!timeptr) {
449 EXPECT_PTRNE("strftime_1600", timeptr, NULL);
452 timeptr->tm_mon = 12;
455 size_t count = strftime(buffer, sizeof(buffer) - 1, "%B", timeptr);