Lines Matching refs:second
109 int Curl_strcasecompare(const char *first, const char *second) in Curl_strcasecompare() argument
111 while(*first && *second) { in Curl_strcasecompare()
112 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) in Curl_strcasecompare()
116 second++; in Curl_strcasecompare()
121 return (Curl_raw_toupper(*first) == Curl_raw_toupper(*second)); in Curl_strcasecompare()
124 int Curl_safe_strcasecompare(const char *first, const char *second) in Curl_safe_strcasecompare() argument
126 if(first && second) in Curl_safe_strcasecompare()
128 return Curl_strcasecompare(first, second); in Curl_safe_strcasecompare()
131 return (NULL == first && NULL == second); in Curl_safe_strcasecompare()
137 int Curl_strncasecompare(const char *first, const char *second, size_t max) in Curl_strncasecompare() argument
139 while(*first && *second && max) { in Curl_strncasecompare()
140 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) { in Curl_strncasecompare()
145 second++; in Curl_strncasecompare()
150 return Curl_raw_toupper(*first) == Curl_raw_toupper(*second); in Curl_strncasecompare()
170 int curl_strequal(const char *first, const char *second) in curl_strequal() argument
172 return Curl_strcasecompare(first, second); in curl_strequal()
174 int curl_strnequal(const char *first, const char *second, size_t max) in curl_strnequal() argument
176 return Curl_strncasecompare(first, second, max); in curl_strnequal()