Searched refs:read_n (Results 1 – 5 of 5) sorted by relevance
/external/bluetooth/hcidump/src/ |
D | hcidump.c | 134 static inline int read_n(int fd, char *buf, int len) in read_n() function 377 err = read_n(fd, (void *) &ph, PKTLOG_HDR_SIZE); in read_dump() 379 err = read_n(fd, (void *) &dp, BTSNOOP_PKT_SIZE); in read_dump() 381 err = read_n(fd, (void *) &dh, HCIDUMP_HDR_SIZE); in read_dump() 412 err = read_n(fd, frm.data + 1, frm.data_len - 1); in read_dump() 427 err = read_n(fd, frm.data + 1, frm.data_len - 1); in read_dump() 432 err = read_n(fd, frm.data, frm.data_len); in read_dump() 437 err = read_n(fd, frm.data, frm.data_len); in read_dump()
|
/external/openssl/ssl/ |
D | s2_pkt.c | 118 static int read_n(SSL *s,unsigned int n,unsigned int max,unsigned int extend); 179 n=read_n(s,5,SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER+2,0); in ssl2_read_internal() 193 n=read_n(s,2,SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER+2,0); in ssl2_read_internal() 225 i=read_n(s,(unsigned int)n,(unsigned int)n,1); in ssl2_read_internal() 317 static int read_n(SSL *s, unsigned int n, unsigned int max, in read_n() function
|
/external/bluetooth/bluez/compat/ |
D | lib.h | 47 static inline int read_n(int fd, char *buf, int len) in read_n() function
|
/external/bluetooth/bluez/tools/ |
D | ppporc.c | 69 static inline int read_n(int fd, char *buf, int len) in read_n() function
|
/external/bluetooth/bluez/test/ |
D | hciemu.c | 155 static inline int read_n(int fd, void *buf, int len) in read_n() function 893 if (read_n(fd, ptr, HCI_ACL_HDR_SIZE) <= 0) { in io_acl_data() 902 if (read_n(fd, ptr, len) <= 0) { in io_acl_data() 937 if (read_n(nsk, &info, sizeof(info)) < 0) { in io_conn_ind()
|