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()
234 if (!set_flag(&new->c_cflag, cflags, ARRAY_LEN(cflags), option, on) && in set_option()
235 !set_flag(&new->c_iflag, iflags, ARRAY_LEN(iflags), option, on) && in set_option()
236 !set_flag(&new->c_oflag, oflags, ARRAY_LEN(oflags), option, on) && in set_option()
237 !set_flag(&new->c_lflag, lflags, ARRAY_LEN(lflags), option, on)) in set_option()
266 for (j=0;j<ARRAY_LEN(chars)-2;j++) { in set_special_character()
399 for (j=0; j<ARRAY_LEN(synonyms); j++) { in stty_main()
430 for (i=j=0; i<ARRAY_LEN(chars); i++) { in stty_main()
454 show_flags(old.c_cflag, sane.c_cflag, cflags, ARRAY_LEN(cflags)); in stty_main()
455 show_flags(old.c_iflag, sane.c_iflag, iflags, ARRAY_LEN(iflags)); in stty_main()
456 show_flags(old.c_oflag, sane.c_oflag, oflags, ARRAY_LEN(oflags)); in stty_main()
457 show_flags(old.c_lflag, sane.c_lflag, lflags, ARRAY_LEN(lflags)); in stty_main()