Home
last modified time | relevance | path

Searched refs:terminal_size (Results 1 – 23 of 23) sorted by relevance

/external/rust/crates/clap/
DCargo.toml74 [dependencies.terminal_size]
113 wrap_help = ["terminal_size", "textwrap/terminal_size"]
/external/toybox/toys/pending/
Dmore.c126 terminal_size(&cols, &rows); in more_main()
145 terminal_size(&cols, &rows); in more_main()
Dtelnet.c141 terminal_size(&cols, &rows); in handle_wwdd()
Dstty.c146 terminal_size(&TT.output_cols, NULL); in out()
Dvi.c1518 terminal_size(&TT.screen_width, &TT.screen_height); in vi_main()
1546 terminal_size(&TT.screen_width, &TT.screen_height); in vi_main()
/external/libtextclassifier/native/utils/grammar/parsing/
Dmatcher.cc160 const int terminal_size = terminal->size(); in FindTerminalMatches() local
161 if (terminal_size < terminal_rules->min_terminal_length() || in FindTerminalMatches()
162 terminal_size > terminal_rules->max_terminal_length()) { in FindTerminalMatches()
/external/toybox/lib/
Dtty.c21 int terminal_size(unsigned *xx, unsigned *yy) in terminal_size() function
55 if (terminal_size(xx, yy) && (!xx || *xx) && (!yy || *yy)) return 1; in terminal_probesize()
Dlib.h322 int terminal_size(unsigned *xx, unsigned *yy);
Dlib.c938 terminal_size(&cols, 0); in list_signals()
/external/toybox/toys/other/
Dpwgen.c43 if (isatty(1)) terminal_size(&xx, &yy);
Dhexedit.c200 terminal_size(&TT.cols, &TT.rows); in hexedit_main()
264 terminal_size(&TT.cols, &TT.rows); in hexedit_main()
Dvmstat.c98 if (!(toys.optflags&FLAG_n) && isatty(1)) terminal_size(0, &rows); in vmstat_main()
/external/rust/crates/textwrap/
DCargo.toml42 [dependencies.terminal_size]
DCHANGELOG.md236 The `term_size` feature has been replaced by `terminal_size`. The API
/external/toybox/
Dmain.c203 terminal_size(&width, 0); in toybox_main()
/external/rust/crates/textwrap/src/
Dlib.rs574 terminal_size::terminal_size().map_or(80, |(terminal_size::Width(w), _)| w.into()) in termwidth()
/external/rust/crates/codespan-reporting/
DCargo.lock93 "terminal_size",
444 name = "terminal_size"
/external/python/cpython3/Lib/
Dshutil.py1353 size = os.terminal_size(fallback)
1359 return os.terminal_size((columns, lines))
/external/toybox/toys/posix/
Dls.c523 else terminal_size(&TT.screen_width, NULL); in ls_main()
Dsed.c370 terminal_size(&TT.xx, 0); in sed_line()
Dps.c1312 if (!isatty(1) || !terminal_size(&TT.width, 0)) toys.optflags |= FLAG_w; in ps_main()
/external/python/cpython3/Doc/library/
Dshutil.rst795 The value returned is a named tuple of type :class:`os.terminal_size`.
Dos.rst1423 tuple of type :class:`terminal_size`.
1437 .. class:: terminal_size