Lines Matching defs:fd
197 static __inline__ void close_on_exec(int fd) in close_on_exec()
224 static __inline__ int unix_close(int fd) in unix_close()
235 static __inline__ int unix_read(int fd, void* buf, size_t len) { in unix_read()
243 static __inline__ int unix_write(int fd, const void* buf, size_t len) in unix_write()
299 int fd; member
430 inline HANDLE cast_int_to_handle(const int fd) { in cast_int_to_handle()
509 static __inline__ void close_on_exec(int fd) in close_on_exec()
557 int fd = TEMP_FAILURE_RETRY( open( pathname, options ) ); in adb_open() local
566 static __inline__ int adb_shutdown(int fd) in adb_shutdown()
570 static __inline__ int adb_shutdown(int fd, int direction) in adb_shutdown()
580 __inline__ int adb_close(int fd) { in adb_close()
587 static __inline__ int adb_read(int fd, void* buf, size_t len) in adb_read()
593 static __inline__ int unix_read_interruptible(int fd, void* buf, size_t len) { in unix_read_interruptible()
600 static __inline__ int adb_write(int fd, const void* buf, size_t len) in adb_write()
607 static __inline__ int adb_lseek(int fd, int pos, int where) in adb_lseek()
623 int fd = TEMP_FAILURE_RETRY( creat( path, mode ) ); in adb_creat() local
634 static __inline__ int unix_isatty(int fd) { in unix_isatty()
640 inline int _fd_set_error_str(int fd, std::string* error) { in _fd_set_error_str()
668 int fd = socket_network_client_timeout(host.c_str(), port, type, timeout, in network_connect() local
683 int fd; in adb_socket_accept() local
775 static __inline__ int adb_setsockopt( int fd, int level, int optname, const void* optval, sock… in adb_setsockopt()
839 static inline void disable_tcp_nagle(int fd) { in disable_tcp_nagle()