Searched refs:speed_t (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/include/ |
D | termios.h | 52 speed_t cfgetispeed(const struct termios* __t) __INTRODUCED_IN(21); 58 speed_t cfgetospeed(const struct termios* __t) __INTRODUCED_IN(21); 72 int cfsetspeed(struct termios* __t, speed_t __speed) __INTRODUCED_IN(21); 80 int cfsetispeed(struct termios* __t, speed_t __speed) __INTRODUCED_IN(21); 88 int cfsetospeed(struct termios* __t, speed_t __speed) __INTRODUCED_IN(21);
|
/bionic/libc/include/bits/ |
D | termios_inlines.h | 48 static __inline speed_t cfgetspeed(const struct termios* 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* s) { in cfgetispeed() 56 __BIONIC_TERMIOS_INLINE speed_t cfgetospeed(const struct termios* s) { in cfgetospeed() 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()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | termbits.h | 23 typedef unsigned int speed_t; typedef 41 speed_t c_ispeed; 42 speed_t c_ospeed; 51 speed_t c_ispeed; 52 speed_t c_ospeed;
|
/bionic/tests/ |
D | termios_test.cpp | 47 ASSERT_EQ(static_cast<speed_t>(B1200), cfgetispeed(&t)); in TEST() 60 ASSERT_EQ(static_cast<speed_t>(B1200), cfgetospeed(&t)); in TEST() 73 ASSERT_EQ(static_cast<speed_t>(B1200), cfgetispeed(&t)); in TEST() 74 ASSERT_EQ(static_cast<speed_t>(B1200), cfgetospeed(&t)); in TEST()
|
/bionic/tests/headers/posix/ |
D | termios_h.c | 35 TYPE(speed_t); 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()
|