Lines Matching defs:first
34 int curl_strequal(const char *first, const char *second)
37 return !(strcasecmp)(first, second);
39 return !(strcmpi)(first, second);
41 return !(stricmp)(first, second);
43 while(*first && *second) {
44 if(toupper(*first) != toupper(*second)) {
47 first++;
50 return toupper(*first) == toupper(*second);
57 int curl_strnequal(const char *first, const char *second, size_t max)
60 return !strncasecmp(first, second, max);
62 return !strncmpi(first, second, max);
64 return !strnicmp(first, second, max);
66 while(*first && *second && max) {
67 if(toupper(*first) != toupper(*second)) {
71 first++;
77 return toupper(*first) == toupper(*second);