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