Lines Matching refs:second
180 int Curl_strcasecompare(const char *first, const char *second) in Curl_strcasecompare() argument
182 while(*first && *second) { in Curl_strcasecompare()
183 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) in Curl_strcasecompare()
187 second++; in Curl_strcasecompare()
192 return (Curl_raw_toupper(*first) == Curl_raw_toupper(*second)); in Curl_strcasecompare()
195 int Curl_safe_strcasecompare(const char *first, const char *second) in Curl_safe_strcasecompare() argument
197 if(first && second) in Curl_safe_strcasecompare()
199 return Curl_strcasecompare(first, second); in Curl_safe_strcasecompare()
202 return (NULL == first && NULL == second); in Curl_safe_strcasecompare()
208 int Curl_strncasecompare(const char *first, const char *second, size_t max) in Curl_strncasecompare() argument
210 while(*first && *second && max) { in Curl_strncasecompare()
211 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) { in Curl_strncasecompare()
216 second++; in Curl_strncasecompare()
221 return Curl_raw_toupper(*first) == Curl_raw_toupper(*second); in Curl_strncasecompare()
256 int curl_strequal(const char *first, const char *second) in curl_strequal() argument
258 return Curl_strcasecompare(first, second); in curl_strequal()
260 int curl_strnequal(const char *first, const char *second, size_t max) in curl_strnequal() argument
262 return Curl_strncasecompare(first, second, max); in curl_strnequal()