Lines Matching defs:buf
84 int (*_fh_read) ( FH f, void* buf, int len );
85 int (*_fh_write)( FH f, const void* buf, int len );
228 _fh_file_read( FH f, void* buf, int len )
232 if ( !ReadFile( f->fh_handle, buf, (DWORD)len, &read_bytes, NULL ) ) {
243 _fh_file_write( FH f, const void* buf, int len )
247 if ( !WriteFile( f->fh_handle, buf, (DWORD)len, &wrote_bytes, NULL ) ) {
402 int adb_read(int fd, void* buf, int len)
410 return f->clazz->_fh_read( f, buf, len );
414 int adb_write(int fd, const void* buf, int len)
422 return f->clazz->_fh_write(f, buf, len);
514 _fh_socket_read( FH f, void* buf, int len )
516 int result = recv( f->fh_socket, buf, len, 0 );
525 _fh_socket_write( FH f, const void* buf, int len )
527 int result = send( f->fh_socket, buf, len, 0 );
1142 _fh_socketpair_read( FH f, void* buf, int len )
1155 return bip_buffer_read( bip, buf, len );
1159 _fh_socketpair_write( FH f, const void* buf, int len )
1172 return bip_buffer_write( bip, buf, len );