Home
last modified time | relevance | path

Searched refs:returnStr (Results 1 – 4 of 4) sorted by relevance

/third_party/musl/libc-test/src/functionalext/time/
Dctime_r.c43 char *returnStr = ctime_r(&gTime, s); in ctime_r_0100() local
44 if (returnStr == NULL) { in ctime_r_0100()
45 EXPECT_FALSE("ctime_r_0100", returnStr == NULL); in ctime_r_0100()
48 returnStr[strlen(returnStr) - 1] = 0x00; in ctime_r_0100()
49 EXPECT_STREQ("ctime_r_0100", returnStr, test_asctime_data[i].result); in ctime_r_0100()
50 EXPECT_STREQ("ctime_r_0100", returnStr, s); in ctime_r_0100()
71 char *returnStr = __ctime64_r(&gTime, s); in ctime64_r_0100() local
72 if (returnStr == NULL) { in ctime64_r_0100()
73 EXPECT_FALSE("ctime64_r_0100", returnStr == NULL); in ctime64_r_0100()
76 returnStr[strlen(returnStr) - 1] = 0x00; in ctime64_r_0100()
[all …]
Dctime.c41 char *returnStr = ctime(&gTime); in ctime_0100() local
42 if (returnStr == NULL) { in ctime_0100()
43 EXPECT_FALSE("ctime_0100", returnStr == NULL); in ctime_0100()
46 returnStr[strlen(returnStr) - 1] = 0x00; in ctime_0100()
47 EXPECT_STREQ("ctime_0100", returnStr, test_asctime_data[i].result); in ctime_0100()
67 char *returnStr = __ctime64(&gTime); in ctime64_0100() local
68 if (returnStr == NULL) { in ctime64_0100()
69 EXPECT_FALSE("ctime_0100", returnStr == NULL); in ctime64_0100()
72 returnStr[strlen(returnStr) - 1] = 0x00; in ctime64_0100()
73 EXPECT_STREQ("ctime_0100", returnStr, test_asctime_data[i].result); in ctime64_0100()
Dasctime.c45 char *returnStr = asctime(timeptr); in asctime_0100() local
46 if (returnStr == NULL) { in asctime_0100()
47 EXPECT_FALSE("asctime_0100", returnStr == NULL); in asctime_0100()
50 returnStr[strlen(returnStr) - 1] = 0x00; in asctime_0100()
51 EXPECT_STREQ("asctime_0100", test_asctime_data[i].result, returnStr); in asctime_0100()
Dasctime_r.c59 char *returnStr = asctime_r(timeptr, s); in asctime_r_0100() local
60 if (returnStr == NULL) { in asctime_r_0100()
61 EXPECT_FALSE("asctime_r_0100", returnStr == NULL); in asctime_r_0100()
65 returnStr[strlen(returnStr) - 1] = 0x00; in asctime_r_0100()
66 EXPECT_STREQ("asctime_r_0100", test_asctime_data[i].result, returnStr); in asctime_r_0100()