Lines Matching refs:ARRAY_LEN
66 for (i=0;i<ARRAY_LEN(bauds);i++) if (bauds[i] == baud) break;
67 if (i == ARRAY_LEN(bauds)) error_exit("unknown speed: %d", baud);
231 if (!set_flag(&new->c_cflag, cflags, ARRAY_LEN(cflags), option, on) &&
232 !set_flag(&new->c_iflag, iflags, ARRAY_LEN(iflags), option, on) &&
233 !set_flag(&new->c_oflag, oflags, ARRAY_LEN(oflags), option, on) &&
234 !set_flag(&new->c_lflag, lflags, ARRAY_LEN(lflags), option, on))
263 for (j=0;j<ARRAY_LEN(chars)-2;j++) {
387 for (j=0;j<ARRAY_LEN(synonyms);j++) {
417 for (i=j=0;i<ARRAY_LEN(chars);i++) {
442 show_flags(old.c_cflag, sane.c_cflag, cflags, ARRAY_LEN(cflags));
443 show_flags(old.c_iflag, sane.c_iflag, iflags, ARRAY_LEN(iflags));
444 show_flags(old.c_oflag, sane.c_oflag, oflags, ARRAY_LEN(oflags));
445 show_flags(old.c_lflag, sane.c_lflag, lflags, ARRAY_LEN(lflags));