Lines Matching refs:i
79 unsigned i, j; in map() local
81 for (j = 0, i = 0; i < string1_len; i++) { in map()
83 pvector[(unsigned char)(string1[i])] = last; in map()
85 pvector[(unsigned char)(string1[i])] = last = string2[j++]; in map()
107 unsigned i; /* can't be unsigned char: must be able to hold 256 */ in expand() local
134 i = (unsigned char) *arg; in expand()
142 while (i <= ac) /* ok: i is unsigned _int_ */ in expand()
143 buffer[pos++] = i++; in expand()
150 i = (unsigned char) *arg++; in expand()
152 if (ENABLE_FEATURE_TR_CLASSES && i == ':') { /* [:class:] */ in expand()
178 i = 7 + (arg[0] == 'x'); in expand()
179 tmp = xstrndup(arg, i); in expand()
186 arg += i; in expand()
188 for (i = '0'; i <= '9'; i++) in expand()
189 buffer[pos++] = i; in expand()
192 for (i = 'A'; i <= 'Z'; i++) in expand()
193 buffer[pos++] = i; in expand()
196 for (i = 'a'; i <= 'z'; i++) in expand()
197 buffer[pos++] = i; in expand()
210 for (i = '\0'; i < ASCII; i++) { in expand()
211 if ((j == CLASS_punct && isprint_asciionly(i) && !isalnum(i) && !isspace(i)) in expand()
212 || (j == CLASS_cntrl && iscntrl(i)) in expand()
214 buffer[pos++] = i; in expand()
219 for (i = 'A'; i <= 'F'; i++) { in expand()
220 buffer[pos + 6] = i | 0x20; in expand()
221 buffer[pos++] = i; in expand()
228 if (ENABLE_FEATURE_TR_EQUIV && i == '=') { /* [=CHAR=] */ in expand()
273 int i; in tr_main() local
291 for (i = 0; i < ASCII; i++) { in tr_main()
292 vector[i] = i; in tr_main()
316 for (i = 0; i < str1_length; i++) in tr_main()
317 invec[(unsigned char)(str1[i])] = TRUE; in tr_main()
318 for (i = 0; i < str2_length; i++) in tr_main()
319 outvec[(unsigned char)(str2[i])] = TRUE; in tr_main()