Searched refs:read_n (Results 1 – 5 of 5) sorted by relevance
/external/bluetooth/hcidump/src/ |
D | hcidump.c | 115 static inline int read_n(int fd, char *buf, int len) in read_n() function 357 err = read_n(fd, (void *) &ph, PKTLOG_HDR_SIZE); in read_dump() 359 err = read_n(fd, (void *) &dp, BTSNOOP_PKT_SIZE); in read_dump() 361 err = read_n(fd, (void *) &dh, HCIDUMP_HDR_SIZE); in read_dump() 392 err = read_n(fd, frm.data + 1, frm.data_len - 1); in read_dump() 407 err = read_n(fd, frm.data + 1, frm.data_len - 1); in read_dump() 412 err = read_n(fd, frm.data, frm.data_len); in read_dump() 417 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() 319 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 | 139 static inline int read_n(int fd, void *buf, int len) in read_n() function 882 if (read_n(fd, ptr, HCI_ACL_HDR_SIZE) <= 0) { in io_acl_data() 891 if (read_n(fd, ptr, len) <= 0) { in io_acl_data() 927 if (read_n(nsk, &info, sizeof(info)) < 0) { in io_conn_ind()
|