Home | History | Annotate | Download | only in lib

Lines Matching refs:second

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