Lines Matching refs:c1
42 unsigned char c1, c2; in strncasecmp() local
48 c1 = *s1++; in strncasecmp()
50 if (!c1 || !c2) in strncasecmp()
52 if (c1 == c2) in strncasecmp()
54 c1 = tolower(c1); in strncasecmp()
56 if (c1 != c2) in strncasecmp()
59 return (int)c1 - (int)c2; in strncasecmp()
67 int c1, c2; in strcasecmp() local
70 c1 = tolower(*s1++); in strcasecmp()
72 } while (c1 == c2 && c1 != 0); in strcasecmp()
73 return c1 - c2; in strcasecmp()
278 unsigned char c1, c2; in strcmp() local
281 c1 = *cs++; in strcmp()
283 if (c1 != c2) in strcmp()
284 return c1 < c2 ? -1 : 1; in strcmp()
285 if (!c1) in strcmp()
302 unsigned char c1, c2; in strncmp() local
305 c1 = *cs++; in strncmp()
307 if (c1 != c2) in strncmp()
308 return c1 < c2 ? -1 : 1; in strncmp()
309 if (!c1) in strncmp()