Lines Matching refs:strftime
186 TEST(time, strftime) { in TEST() argument
199 EXPECT_EQ(10U, strftime(buf, sizeof(buf), "%s", &t)); in TEST()
204 EXPECT_EQ(24U, strftime(buf, sizeof(buf), "%c", &t)); in TEST()
219 EXPECT_EQ(5U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
224 EXPECT_EQ(5U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
228 EXPECT_EQ(2U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
236 EXPECT_EQ(5U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
241 EXPECT_EQ(2U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
275 strftime(buf, sizeof(buf), "%H:%M", &t); in TEST()
280 strftime(buf, sizeof(buf), "%H:%M:%S", &t); in TEST()
1055 strftime(buf, sizeof(buf), "<%s>", &tm0); in TEST()
1059 strftime(buf, sizeof(buf), "<%s>", &tm0); in TEST()