Home
last modified time | relevance | path

Searched refs:c_cc (Results 1 – 25 of 25) sorted by relevance

/external/toybox/toys/pending/
Dstty.c275 new->c_cc[chars[j].value] = ch; in set_special_character()
292 memset(t->c_cc, 0, NCCS); in make_sane()
293 t->c_cc[VINTR] = 0x3; in make_sane()
294 t->c_cc[VQUIT] = 0x1c; in make_sane()
295 t->c_cc[VERASE] = 0x7f; in make_sane()
296 t->c_cc[VKILL] = 0x15; in make_sane()
297 t->c_cc[VEOF] = 0x4; in make_sane()
298 t->c_cc[VTIME] = 0; in make_sane()
299 t->c_cc[VMIN] = 1; in make_sane()
300 t->c_cc[VSWTC] = 0; in make_sane()
[all …]
Dgetty.c157 TT.termios.c_cc[VTIME] = 0; in termios_init()
158 TT.termios.c_cc[VMIN] = 1; in termios_init()
163 TT.termios.c_cc[VINTR] = CTL('C'); in termios_init()
164 TT.termios.c_cc[VQUIT] = CTL('\\'); in termios_init()
165 TT.termios.c_cc[VEOF] = CTL('D'); in termios_init()
166 TT.termios.c_cc[VEOL] = '\n'; in termios_init()
167 TT.termios.c_cc[VKILL] = CTL('U'); in termios_init()
168 TT.termios.c_cc[VERASE] = 127; // CERASE in termios_init()
184 vmin = TT.termios.c_cc[VMIN]; // Store old in sense_baud()
185 TT.termios.c_cc[VMIN] = 0; // No block even queue is empty. in sense_baud()
[all …]
Dinit.c74 terminal.c_cc[VINTR] = 3; //ctrl-c in reset_term()
75 terminal.c_cc[VQUIT] = 28; /*ctrl-\*/ in reset_term()
76 terminal.c_cc[VERASE] = 127; //ctrl-? in reset_term()
77 terminal.c_cc[VKILL] = 21; //ctrl-u in reset_term()
78 terminal.c_cc[VEOF] = 4; //ctrl-d in reset_term()
79 terminal.c_cc[VSTART] = 17; //ctrl-q in reset_term()
80 terminal.c_cc[VSTOP] = 19; //ctrl-s in reset_term()
81 terminal.c_cc[VSUSP] = 26; //ctrl-z in reset_term()
Dmore.c93 newf.c_cc[VMIN] = 1; in more_main()
94 newf.c_cc[VTIME] = 0; in more_main()
/external/strace/
Dterm.c66 tios.c_cc[VMIN], tios.c_cc[VTIME]); in decode_termios()
68 print_quoted_string((char *) tios.c_cc, NCCS, QUOTE_FORCE_HEX); in decode_termios()
99 tio.c_cc[_VMIN], tio.c_cc[_VTIME]); in decode_termio()
103 tio.c_cc[VMIN], tio.c_cc[VTIME]); in decode_termio()
107 tprintf("\\x%02x", tio.c_cc[i]); in decode_termio()
DChangeLog12118 * term.c (decode_termios): Use print_quoted_string for printing c_cc field
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl02.c237 termio.c_cc[i] = CSTART; in run_ptest()
313 if (termio.c_cc[VEOL2] == CNUL) { in chk_tty_parms()
318 termio.c_cc[i], CNUL); in chk_tty_parms()
324 if (termio.c_cc[i] != CSTART) { in chk_tty_parms()
326 "value %d.", i, termio.c_cc[i]); in chk_tty_parms()
/external/kernel-headers/original/uapi/asm-generic/
Dtermbits.h18 cc_t c_cc[NCCS]; /* control characters */ member
27 cc_t c_cc[NCCS]; /* control characters */ member
38 cc_t c_cc[NCCS]; /* control characters */ member
Dtermios.h29 unsigned char c_cc[NCC]; /* control characters */ member
/external/kernel-headers/original/uapi/asm-mips/asm/
Dtermbits.h31 cc_t c_cc[NCCS]; /* control characters */ member
40 cc_t c_cc[NCCS]; /* control characters */ member
51 cc_t c_cc[NCCS]; /* control characters */ member
Dtermios.h60 unsigned char c_cc[NCCS]; /* control characters */ member
/external/libcups/cups/
Dusersys.c734 noecho.c_cc[VMIN] = 1; in _cupsGetPassword()
735 noecho.c_cc[VTIME] = 0; in _cupsGetPassword()
760 if (passch == noecho.c_cc[VEOL] || in _cupsGetPassword()
762 passch == noecho.c_cc[VEOL2] || in _cupsGetPassword()
772 else if (passch == noecho.c_cc[VERASE] || in _cupsGetPassword()
787 else if (passch == noecho.c_cc[VKILL]) in _cupsGetPassword()
804 else if (passch == noecho.c_cc[VINTR] || passch == noecho.c_cc[VQUIT] || in _cupsGetPassword()
805 passch == noecho.c_cc[VEOF]) in _cupsGetPassword()
/external/python/cpython2/Modules/
Dtermios.c93 ch = (char)mode.c_cc[i]; in termios_tcgetattr()
104 v = PyInt_FromLong((long)mode.c_cc[VMIN]); in termios_tcgetattr()
108 v = PyInt_FromLong((long)mode.c_cc[VTIME]); in termios_tcgetattr()
187 mode.c_cc[i] = (cc_t) * PyString_AsString(v); in termios_tcsetattr()
189 mode.c_cc[i] = (cc_t) PyInt_AsLong(v); in termios_tcsetattr()
190 if (mode.c_cc[i] == (cc_t) -1 && PyErr_Occurred()) in termios_tcsetattr()
/external/openssh/
Dsshtty.c89 tio.c_cc[VMIN] = 1; in enter_raw_mode()
90 tio.c_cc[VTIME] = 0; in enter_raw_mode()
Dttymodes.c322 put_arg(&buf, special_char_encode(tio.c_cc[NAME])); in tty_make_modes()
408 tio.c_cc[NAME] = special_char_decode(get_arg()); \ in tty_parse_modes()
/external/python/cpython3/Modules/
Dtermios.c92 ch = (char)mode.c_cc[i]; in termios_tcgetattr()
103 v = PyLong_FromLong((long)mode.c_cc[VMIN]); in termios_tcgetattr()
107 v = PyLong_FromLong((long)mode.c_cc[VTIME]); in termios_tcgetattr()
186 mode.c_cc[i] = (cc_t) * PyBytes_AsString(v); in termios_tcsetattr()
188 mode.c_cc[i] = (cc_t) PyLong_AsLong(v); in termios_tcsetattr()
/external/openssh/openbsd-compat/
Dreadpassphrase.c107 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE) in readpassphrase()
108 term.c_cc[VSTATUS] = _POSIX_VDISABLE; in readpassphrase()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c81 buf.c_cc[VMIN] = 1; /* one byte at a time, no timer */ in tty_semi_raw()
82 buf.c_cc[VTIME] = 0; in tty_semi_raw()
/external/u-boot/tools/
Dkwboot.c264 tio.c_cc[VMIN] = 1; in kwboot_open_tty()
265 tio.c_cc[VTIME] = 10; in kwboot_open_tty()
/external/nos/test/system-test-harness/src/
Dutil.cc450 tty_state.c_cc[VMIN] = 0; in Init()
451 tty_state.c_cc[VTIME] = 0; in Init()
/external/mksh/src/
Dmain.c1967 cb.c_cc[VLNEXT] = _POSIX_VDISABLE; in x_mkraw()
1971 cb.c_cc[VDISCARD] = _POSIX_VDISABLE; in x_mkraw()
1973 cb.c_cc[VTIME] = 0; in x_mkraw()
1974 cb.c_cc[VMIN] = 1; in x_mkraw()
Dedit.c3332 edchars.erase = toedchar(tty_state.c_cc[VERASE]); in x_mode()
3333 edchars.kill = toedchar(tty_state.c_cc[VKILL]); in x_mode()
3334 edchars.intr = toedchar(tty_state.c_cc[VINTR]); in x_mode()
3335 edchars.quit = toedchar(tty_state.c_cc[VQUIT]); in x_mode()
3336 edchars.eof = toedchar(tty_state.c_cc[VEOF]); in x_mode()
3338 edchars.werase = toedchar(tty_state.c_cc[VWERASE]); in x_mode()
/external/e2fsprogs/e2fsck/
Dutil.c213 tmp.c_cc[VMIN] = 1; in ask_yn()
214 tmp.c_cc[VTIME] = 0; in ask_yn()
/external/ppp/pppd/
Dsys-linux.c953 tios.c_cc[VMIN] = 1; in set_up_tty()
954 tios.c_cc[VTIME] = 0; in set_up_tty()
966 tios.c_cc[VSTOP] = 0x13; /* DC3 = XOFF = ^S */ in set_up_tty()
967 tios.c_cc[VSTART] = 0x11; /* DC1 = XON = ^Q */ in set_up_tty()
Dsys-solaris.c1237 tios.c_cc[VMIN] = 1;
1238 tios.c_cc[VTIME] = 0;
1242 tios.c_cc[VSTOP] = 0x13; /* DC3 = XOFF = ^S */
1243 tios.c_cc[VSTART] = 0x11; /* DC1 = XON = ^Q */