Lines Matching refs:s1
51 STR s1 = { STRING1, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
142 delete = setup(argv[0], &s1, cflag, Cflag);
164 delete = setup(argv[0], &s1, cflag, Cflag);
179 squeeze = setup(argv[0], &s1, cflag, Cflag);
207 s1.str = argv[0];
226 while (next(&s1)) {
228 if (s1.state == CCLASS_LOWER &&
230 s1.cnt == 1 && s2.cnt == 1) {
232 ch = towupper(s1.lastch);
233 (void) cmap_add(map, s1.lastch, ch);
236 if (!next(&s1))
238 } while (s1.state == CCLASS_LOWER && s1.cnt > 1);
245 } else if (s1.state == CCLASS_UPPER &&
247 s1.cnt == 1 && s2.cnt == 1) {
249 ch = towlower(s1.lastch);
250 (void) cmap_add(map, s1.lastch, ch);
253 if (!next(&s1))
255 } while (s1.state == CCLASS_UPPER && s1.cnt > 1);
263 (void) cmap_add(map, s1.lastch, s2.lastch);