Home
last modified time | relevance | path

Searched refs:termios (Results 1 – 10 of 10) sorted by relevance

/bionic/tests/
Dtermios_test.cpp44 TEST(termios, cfgetispeed_cfsetispeed) { in TEST() argument
45 termios t = {}; in TEST()
50 TEST(termios, cfsetispeed_EINVAL) { in TEST() argument
51 termios t = {}; in TEST()
57 TEST(termios, cfgetospeed_cfsetospeed) { in TEST() argument
58 termios t = {}; in TEST()
63 TEST(termios, cfsetospeed_EINVAL) { in TEST() argument
64 termios t = {}; in TEST()
70 TEST(termios, cfsetspeed) { in TEST() argument
71 termios t = {}; in TEST()
[all …]
Dpty_test.cpp120 termios tattr; in TEST()
/bionic/libc/include/
Dtermios.h52 speed_t cfgetispeed(const struct termios* _Nonnull __t) __INTRODUCED_IN(21);
58 speed_t cfgetospeed(const struct termios* _Nonnull __t) __INTRODUCED_IN(21);
64 void cfmakeraw(struct termios* _Nonnull __t) __INTRODUCED_IN(21);
72 int cfsetspeed(struct termios* _Nonnull __t, speed_t __speed) __INTRODUCED_IN(21);
80 int cfsetispeed(struct termios* _Nonnull _t, speed_t __speed) __INTRODUCED_IN(21);
88 int cfsetospeed(struct termios* _Nonnull __t, speed_t __speed) __INTRODUCED_IN(21);
123 int tcgetattr(int __fd, struct termios* _Nonnull __t) __INTRODUCED_IN(21);
148 int tcsetattr(int __fd, int __optional_actions, const struct termios* _Nonnull __t) __INTRODUCED_IN…
Dpty.h52 …pty_fd, int* _Nonnull __tty_fd, char* _Nullable __tty_name, const struct termios* _Nullable __term…
63 int forkpty(int* _Nonnull __parent_pty_fd, char* _Nullable __child_tty_name, const struct termios* …
/bionic/tests/headers/posix/
Dtermios_h.c38 TYPE(struct termios); in termios_h()
39 STRUCT_MEMBER(struct termios, tcflag_t, c_iflag); in termios_h()
40 STRUCT_MEMBER(struct termios, tcflag_t, c_oflag); in termios_h()
41 STRUCT_MEMBER(struct termios, tcflag_t, c_cflag); in termios_h()
42 STRUCT_MEMBER(struct termios, tcflag_t, c_lflag); in termios_h()
43 STRUCT_MEMBER_ARRAY(struct termios, cc_t/*[]*/, c_cc); in termios_h()
156 FUNCTION(cfgetispeed, speed_t (*f)(const struct termios*)); in termios_h()
157 FUNCTION(cfgetospeed, speed_t (*f)(const struct termios*)); in termios_h()
158 FUNCTION(cfsetispeed, int (*f)(struct termios*, speed_t)); in termios_h()
159 FUNCTION(cfsetospeed, int (*f)(struct termios*, speed_t)); in termios_h()
[all …]
/bionic/libc/include/bits/
Dtermios_inlines.h48 static __inline speed_t cfgetspeed(const struct termios* s) { in cfgetspeed()
52 __BIONIC_TERMIOS_INLINE speed_t cfgetispeed(const struct termios* s) { in cfgetispeed()
56 __BIONIC_TERMIOS_INLINE speed_t cfgetospeed(const struct termios* s) { in cfgetospeed()
60 __BIONIC_TERMIOS_INLINE void cfmakeraw(struct termios* s) { in cfmakeraw()
70 __BIONIC_TERMIOS_INLINE int cfsetspeed(struct termios* s, speed_t speed) { in cfsetspeed()
80 __BIONIC_TERMIOS_INLINE int cfsetispeed(struct termios* s, speed_t speed) { in cfsetispeed()
84 __BIONIC_TERMIOS_INLINE int cfsetospeed(struct termios* s, speed_t speed) { in cfsetospeed()
102 __BIONIC_TERMIOS_INLINE int tcgetattr(int fd, struct termios* s) { in tcgetattr()
115 __BIONIC_TERMIOS_INLINE int tcsetattr(int fd, int optional_actions, const struct termios* s) { in tcsetattr()
/bionic/libc/bionic/
Disatty.c36 struct termios term; in isatty()
Dpty.cpp115 int openpty(int* pty, int* tty, char* name, const termios* t, const winsize* ws) { in openpty()
151 int forkpty(int* parent_pty, char* child_tty_name, const termios* t, const winsize* ws) { in forkpty()
/bionic/libc/kernel/uapi/asm-generic/
Dtermbits.h24 struct termios { struct
/bionic/libc/
DAndroid.bp1205 "bionic/termios.cpp",