Lines Matching refs:L2CAP_MIN_OFFSET
51 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + GATT_HDR_SIZE + L2CAP_MIN_OFFSET)) != NULL)
53 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
58 p_buf->offset = L2CAP_MIN_OFFSET;
79 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
81 p_buf->offset = L2CAP_MIN_OFFSET;
112 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + L2CAP_MIN_OFFSET + 5)) != NULL)
114 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
121 p_buf->offset = L2CAP_MIN_OFFSET;
141 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + 8 + L2CAP_MIN_OFFSET)) != NULL)
143 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
145 p_buf->offset = L2CAP_MIN_OFFSET;
171 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != NULL)
173 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
175 p_buf->offset = L2CAP_MIN_OFFSET;
207 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + num_handle * 2 + 1 + L2CAP_MIN_OFFSET))) != NULL)
209 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
211 p_buf->offset = L2CAP_MIN_OFFSET;
239 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + 5 + L2CAP_MIN_OFFSET)) != NULL)
241 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
243 p_buf->offset = L2CAP_MIN_OFFSET;
275 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + 1 + L2CAP_MIN_OFFSET)) != NULL)
277 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
278 p_buf->offset = L2CAP_MIN_OFFSET;
301 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != NULL)
303 p = pp =(UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
306 p_buf->offset = L2CAP_MIN_OFFSET;
462 p_msg->offset = L2CAP_MIN_OFFSET;