Lines Matching refs:FH
51 typedef struct FHRec_* FH; typedef
55 void (*_fh_init)(FH);
56 int (*_fh_close)(FH);
57 int (*_fh_lseek)(FH, int, int);
58 int (*_fh_read)(FH, void*, int);
59 int (*_fh_write)(FH, const void*, int);
62 static void _fh_file_init(FH);
63 static int _fh_file_close(FH);
64 static int _fh_file_lseek(FH, int, int);
65 static int _fh_file_read(FH, void*, int);
66 static int _fh_file_write(FH, const void*, int);
76 static void _fh_socket_init(FH);
77 static int _fh_socket_close(FH);
78 static int _fh_socket_lseek(FH, int, int);
79 static int _fh_socket_read(FH, void*, int);
80 static int _fh_socket_write(FH, const void*, int);
142 static FH
145 FH f; in _fh_from_int()
170 _fh_to_int( FH f ) in _fh_to_int()
178 static FH
181 FH f = NULL; in _fh_alloc()
205 _fh_close( FH f ) in _fh_close()
251 static void _fh_file_init( FH f ) { in _fh_file_init()
255 static int _fh_file_close( FH f ) { in _fh_file_close()
261 static int _fh_file_read( FH f, void* buf, int len ) { in _fh_file_read()
274 static int _fh_file_write( FH f, const void* buf, int len ) { in _fh_file_write()
287 static int _fh_file_lseek( FH f, int pos, int origin ) { in _fh_file_lseek()
322 FH f; in adb_open()
385 FH f; in adb_creat()
430 FH f = _fh_from_int(fd, __func__); in adb_read()
442 FH f = _fh_from_int(fd, __func__); in adb_write()
454 FH f = _fh_from_int(fd, __func__); in adb_lseek()
466 FH f = _fh_from_int(fd, __func__); in adb_close()
533 FH fh = _fh_from_int(fds[i].fd, __func__); in adb_poll()
575 static void _fh_socket_init(FH f) { in _fh_socket_init()
579 static int _fh_socket_close( FH f ) { in _fh_socket_close()
600 static int _fh_socket_lseek( FH f, int pos, int origin ) { in _fh_socket_lseek()
605 static int _fh_socket_read(FH f, void* buf, int len) { in _fh_socket_read()
621 static int _fh_socket_write(FH f, const void* buf, int len) { in _fh_socket_write()
912 FH f = _fh_alloc( &_fh_socket_class ); in adb_register_socket()
920 FH serverfh = _fh_from_int(serverfd, __func__); in adb_socket_accept()
954 FH fh = _fh_from_int(fd, __func__); in adb_setsockopt()
979 FH fh = _fh_from_int(fd, __func__); in adb_getsockname()
1018 FH f = _fh_from_int(fd, __func__); in adb_shutdown()
1113 FH fh = _fh_from_int(fd, __func__); in set_file_block_mode()
1138 FH fh = _fh_from_int(fd, __func__); in set_tcp_keepalive()