Lines Matching refs:tp
1084 struct tm tp; in ZTEST() local
1089 tp.tm_wday = -5; in ZTEST()
1090 zassert_not_null(gmtime_r(&tests3, &tp), "gmtime_r failed"); in ZTEST()
1091 zassert_not_null(gmtime_r(&tests4, &tp), "gmtime_r failed"); in ZTEST()
1102 struct tm tp = { in ZTEST() local
1112 zassert_not_null(asctime_r(&tp, buf)); in ZTEST()
1115 zassert_not_null(asctime(&tp)); in ZTEST()
1116 zassert_equal(strncmp("Fri Jun 1 14:30:10 2024\n", asctime(&tp), sizeof(buf)), 0); in ZTEST()
1119 tp.tm_wday = 8; in ZTEST()
1120 zassert_is_null(asctime_r(&tp, buf)); in ZTEST()
1121 zassert_is_null(asctime(&tp)); in ZTEST()
1123 tp.tm_wday = 5; in ZTEST()
1124 tp.tm_mon = 12; in ZTEST()
1125 zassert_is_null(asctime_r(&tp, buf)); in ZTEST()
1126 zassert_is_null(asctime(&tp)); in ZTEST()
1142 struct tm tp; in ZTEST() local
1147 tp.tm_wday = -5; in ZTEST()
1148 zassert_not_null(localtime_r(&tests3, &tp), "localtime_r failed"); in ZTEST()
1149 zassert_not_null(localtime_r(&tests4, &tp), "localtime_r failed"); in ZTEST()