Lines Matching defs:second
37 int curl_strequal(const char *first, const char *second)
40 return !(strcasecmp)(first, second);
42 return !(strcmpi)(first, second);
44 return !(stricmp)(first, second);
46 while(*first && *second) {
47 if(toupper(*first) != toupper(*second)) {
51 second++;
53 return toupper(*first) == toupper(*second);
60 int curl_strnequal(const char *first, const char *second, size_t max)
63 return !strncasecmp(first, second, max);
65 return !strncmpi(first, second, max);
67 return !strnicmp(first, second, max);
69 while(*first && *second && max) {
70 if(toupper(*first) != toupper(*second)) {
75 second++;
80 return toupper(*first) == toupper(*second);