Home
last modified time | relevance | path

Searched refs:Termios (Results 1 – 13 of 13) sorted by relevance

/third_party/rust/crates/rustix/src/termios/
Dcf.rs1 use crate::termios::{Speed, Termios};
7 pub fn cfgetospeed(termios: &Termios) -> Speed { in cfgetospeed()
14 pub fn cfgetispeed(termios: &Termios) -> Speed { in cfgetispeed()
20 pub fn cfmakeraw(termios: &mut Termios) { in cfmakeraw() argument
26 pub fn cfsetospeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetospeed() argument
32 pub fn cfsetispeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetispeed() argument
38 pub fn cfsetspeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetspeed() argument
Dtc.rs6 Action, OptionalActions, QueueSelector, Speed, Tcflag, Termios, Winsize,
24 pub fn tcgetattr<Fd: AsFd>(fd: Fd) -> io::Result<Termios> { in tcgetattr() argument
94 termios: &Termios, in tcsetattr() argument
Dmod.rs785 tcsetpgrp, tcsetwinsize, Action, OptionalActions, QueueSelector, Speed, Tcflag, Termios,
/third_party/rust/crates/rustix/src/backend/libc/termios/
Dsyscalls.rs18 use crate::termios::{Action, OptionalActions, QueueSelector, Speed, Termios, Winsize};
22 pub(crate) fn tcgetattr(fd: BorrowedFd<'_>) -> io::Result<Termios> { in tcgetattr() argument
23 let mut result = MaybeUninit::<Termios>::uninit(); in tcgetattr()
48 termios: &Termios, in tcsetattr() argument
109 pub(crate) fn cfgetospeed(termios: &Termios) -> Speed { in cfgetospeed()
116 pub(crate) fn cfgetispeed(termios: &Termios) -> Speed { in cfgetispeed()
122 pub(crate) fn cfmakeraw(termios: &mut Termios) { in cfmakeraw() argument
128 pub(crate) fn cfsetospeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetospeed() argument
134 pub(crate) fn cfsetispeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetispeed() argument
140 pub(crate) fn cfsetspeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetspeed() argument
Dtypes.rs58 pub type Termios = c::termios; typedef
/third_party/rust/crates/rustix/src/backend/linux_raw/termios/
Dsyscalls.rs14 Action, OptionalActions, QueueSelector, Termios, Winsize, BRKINT, CBAUD, CS8, CSIZE, ECHO,
36 pub(crate) fn tcgetattr(fd: BorrowedFd<'_>) -> io::Result<Termios> { in tcgetattr() argument
38 let mut result = MaybeUninit::<Termios>::uninit(); in tcgetattr()
61 termios: &Termios, in tcsetattr() argument
147 pub(crate) fn cfgetospeed(termios: &Termios) -> u32 { in cfgetospeed()
154 pub(crate) fn cfgetispeed(termios: &Termios) -> u32 { in cfgetispeed()
159 pub(crate) fn cfmakeraw(termios: &mut Termios) { in cfmakeraw() argument
175 pub(crate) fn cfsetospeed(termios: &mut Termios, speed: u32) -> io::Result<()> { in cfsetospeed() argument
185 pub(crate) fn cfsetispeed(termios: &mut Termios, speed: u32) -> io::Result<()> { in cfsetispeed() argument
198 pub(crate) fn cfsetspeed(termios: &mut Termios, speed: u32) -> io::Result<()> { in cfsetspeed() argument
Dtypes.rs58 pub type Termios = linux_raw_sys::general::termios; typedef
/third_party/rust/crates/nix/src/sys/
Dtermios.rs236 pub struct Termios { struct
256 impl Termios { argument
326 impl From<libc::termios> for Termios { implementation
328 Termios { in from()
345 impl From<Termios> for libc::termios {
346 fn from(termios: Termios) -> Self { in from()
1005 pub fn cfgetispeed(termios: &Termios) -> u32 {
1016 pub fn cfgetospeed(termios: &Termios) -> u32 {
1025 pub fn cfsetispeed<T: Into<u32>>(termios: &mut Termios, baud: T) -> Result<()> {
1036 pub fn cfsetospeed<T: Into<u32>>(termios: &mut Termios, baud: T) -> Result<()> {
[all …]
/third_party/rust/crates/nix/src/
Dpty.rs12 use crate::sys::termios::Termios;
251 U: Into<Option<&'b Termios>>, in openpty() argument
338 pub unsafe fn forkpty<'a, 'b, T: Into<Option<&'a Winsize>>, U: Into<Option<&'b Termios>>>(
/third_party/rust/crates/rustix/
DREADME.md124 its `tcgetattr` function `tcgetattr`, rather than `Termios::from_fd`.
/third_party/python/Misc/NEWS.d/
D3.9.0a3.rst786 Termios magic constants for the following baud rates: - B500000 -
/third_party/rust/crates/nix/
DCHANGELOG.md34 - Added `line_discipline` field to `Termios` on Linux, Android and Haiku
/third_party/NuttX/
DReleaseNotes22502 and in names of Termios-related field. From xhbm.