Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 2 of 2) sorted by relevance

/lib/
Dstring.c42 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()
[all …]
/lib/crypto/mpi/
Dmpicoder.c120 int i, j, c, c1, c2; in mpi_fromstr() local
156 c1 = '0'; in mpi_fromstr()
159 c1 = *str++; in mpi_fromstr()
161 if (!c1) { in mpi_fromstr()
170 if (c1 >= '0' && c1 <= '9') in mpi_fromstr()
171 c = c1 - '0'; in mpi_fromstr()
172 else if (c1 >= 'a' && c1 <= 'f') in mpi_fromstr()
173 c = c1 - 'a' + 10; in mpi_fromstr()
174 else if (c1 >= 'A' && c1 <= 'F') in mpi_fromstr()
175 c = c1 - 'A' + 10; in mpi_fromstr()