Searched refs:buffer_length (Results 1 – 8 of 8) sorted by relevance
58 size_t buffer_length) { in AllocateWrappedIncomingL2capAclPacket() argument59 size_t packet_size = buffer_length + BT_HDR_SIZE; in AllocateWrappedIncomingL2capAclPacket()63 packet->len = static_cast<uint16_t>(buffer_length - 4 - L2CAP_PKT_OVERHEAD); in AllocateWrappedIncomingL2capAclPacket()66 memcpy(packet->data, acl_packet_bytes, buffer_length); in AllocateWrappedIncomingL2capAclPacket()76 size_t buffer_length) { in AllocateWrappedOutgoingL2capAclPacket() argument80 BT_HDR_SIZE + L2CAP_MIN_OFFSET + buffer_length - acl_l2cap_header_size; in AllocateWrappedOutgoingL2capAclPacket()83 packet->len = static_cast<uint16_t>(buffer_length - acl_l2cap_header_size); in AllocateWrappedOutgoingL2capAclPacket()87 acl_packet_bytes, buffer_length); in AllocateWrappedOutgoingL2capAclPacket()
58 size_t buffer_length);74 size_t buffer_length);
56 size_t buffer_length(const buffer_t* buf);
88 size_t buffer_length(const buffer_t* buf) { in buffer_length() function
394 osi_malloc(buffer_length(packet) + L2CAP_MIN_OFFSET + sizeof(BT_HDR))); in fragment_packet()396 bt_packet->len = buffer_length(packet); in fragment_packet()398 buffer_length(packet)); in fragment_packet()
46 int buffer_length; member
314 urb->buffer_length = len; in usb_bulk_write()353 urb->buffer_length = len; in usb_bulk_read()
733 urb->buffer_length = req->buffer_length; in usb_request_queue()