Home
last modified time | relevance | path

Searched refs:speed_t (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/include/
Dtermios.h52 speed_t cfgetispeed(const struct termios* _Nonnull __t);
58 speed_t cfgetospeed(const struct termios* _Nonnull __t);
72 int cfsetspeed(struct termios* _Nonnull __t, speed_t __speed);
80 int cfsetispeed(struct termios* _Nonnull _t, speed_t __speed);
88 int cfsetospeed(struct termios* _Nonnull __t, speed_t __speed);
/bionic/libc/include/bits/
Dtermios_inlines.h48 static __inline speed_t cfgetspeed(const struct termios* _Nonnull s) { in cfgetspeed()
49 return __BIONIC_CAST(static_cast, speed_t, s->c_cflag & CBAUD); in cfgetspeed()
52 __BIONIC_TERMIOS_INLINE speed_t cfgetispeed(const struct termios* _Nonnull s) { in cfgetispeed()
56 __BIONIC_TERMIOS_INLINE speed_t cfgetospeed(const struct termios* _Nonnull s) { in cfgetospeed()
70 __BIONIC_TERMIOS_INLINE int cfsetspeed(struct termios* _Nonnull s, speed_t speed) { in cfsetspeed()
80 __BIONIC_TERMIOS_INLINE int cfsetispeed(struct termios* _Nonnull s, speed_t speed) { in cfsetispeed()
84 __BIONIC_TERMIOS_INLINE int cfsetospeed(struct termios* _Nonnull s, speed_t speed) { in cfsetospeed()
/bionic/libc/kernel/uapi/asm-generic/
Dtermbits.h27 speed_t c_ispeed;
28 speed_t c_ospeed;
37 speed_t c_ispeed;
38 speed_t c_ospeed;
Dtermbits-common.h10 typedef unsigned int speed_t; typedef
/bionic/tests/headers/posix/
Dtermios_h.c35 TYPE(speed_t); in termios_h()
162 FUNCTION(cfgetispeed, speed_t (*f)(const struct termios*)); in termios_h()
163 FUNCTION(cfgetospeed, speed_t (*f)(const struct termios*)); in termios_h()
164 FUNCTION(cfsetispeed, int (*f)(struct termios*, speed_t)); in termios_h()
165 FUNCTION(cfsetospeed, int (*f)(struct termios*, speed_t)); in termios_h()
/bionic/tests/
Dtermios_test.cpp51 ASSERT_EQ(static_cast<speed_t>(B1200), cfgetispeed(&t)); in TEST()
64 ASSERT_EQ(static_cast<speed_t>(B1200), cfgetospeed(&t)); in TEST()
77 ASSERT_EQ(static_cast<speed_t>(B1200), cfgetispeed(&t)); in TEST()
78 ASSERT_EQ(static_cast<speed_t>(B1200), cfgetospeed(&t)); in TEST()