Searched refs:empty_string (Results 1 – 2 of 2) sorted by relevance
118 const char *empty_string = ""; in strchr_selftest() local128 result = strchr(empty_string, '\0'); in strchr_selftest()129 if (result != empty_string) in strchr_selftest()132 result = strchr(empty_string, 'a'); in strchr_selftest()146 const char *empty_string = ""; in strnchr_selftest() local163 result = strnchr(empty_string, 0, '\0'); in strnchr_selftest()167 result = strnchr(empty_string, 1, '\0'); in strnchr_selftest()168 if (result != empty_string) in strnchr_selftest()171 result = strnchr(empty_string, 1, 'a'); in strnchr_selftest()
42 static const string empty_string;