Lines Matching refs:uint16_t

59 static const uint16_t test_handle_start = (0x1992 & 0xCFFF) | 0x2000;
60 static const uint16_t test_handle_continuation = (0x1992 & 0xCFFF) | 0x1000;
66 static BT_HDR *manufacture_packet_for_fragmentation(uint16_t event, const char *data) { in manufacture_packet_for_fragmentation()
67 uint16_t data_length = strlen(data); in manufacture_packet_for_fragmentation()
68 uint16_t size = data_length; in manufacture_packet_for_fragmentation()
89 static void expect_packet_fragmented(uint16_t event, int max_acl_data_size, BT_HDR *packet, const c… in expect_packet_fragmented()
95 uint16_t handle; in expect_packet_fragmented()
96 uint16_t length; in expect_packet_fragmented()
132 static void manufacture_packet_and_then_reassemble(uint16_t event, uint16_t acl_size, const char *d… in manufacture_packet_and_then_reassemble()
133 uint16_t data_length = strlen(data); in manufacture_packet_and_then_reassemble()
136 uint16_t total_length = data_length + 2; // 2 for l2cap length; in manufacture_packet_and_then_reassemble()
137 uint16_t length_sent = 0; in manufacture_packet_and_then_reassemble()
138uint16_t l2cap_length = data_length - 2; // l2cap length field, 2 for the pretend channel id borro… in manufacture_packet_and_then_reassemble()
175 static void expect_packet_reassembled(uint16_t event, BT_HDR *packet, const char *expected_data) { in expect_packet_reassembled()
176 uint16_t expected_data_length = strlen(expected_data); in expect_packet_reassembled()
180 uint16_t handle; in expect_packet_reassembled()
181 uint16_t length; in expect_packet_reassembled()
182 uint16_t l2cap_length; in expect_packet_reassembled()
253 STUB_FUNCTION(uint16_t, get_acl_data_size_classic, (void))
264 STUB_FUNCTION(uint16_t, get_acl_data_size_ble, (void))