/external/bluetooth/bluedroid/stack/bnep/ |
bnep_main.c | 469 UINT16 rem_len = p_buf->len; local 488 if ((rem_len <= bnep_frame_hdr_sizes[type]) || (rem_len > BNEP_MTU_SIZE)) 495 rem_len--; 514 org_len = rem_len; 558 rem_len -= 14; 563 p = bnep_process_control_packet (p_bcb, p, &rem_len, FALSE); 567 extension_present && p && rem_len) 569 p_bcb->p_pending_data = (BT_HDR *)GKI_getbuf (rem_len); 572 memcpy ((UINT8 *)(p_bcb->p_pending_data + 1), p, rem_len); [all...] |
bnep_utils.c | 784 UINT8 *bnep_process_control_packet (tBNEP_CONN *p_bcb, UINT8 *p, UINT16 *rem_len, BOOLEAN is_ext) 793 *rem_len = *rem_len - 1; 797 *rem_len = *rem_len - 1; 799 BNEP_TRACE_EVENT ("BNEP processing control packet rem_len %d, is_ext %d, ctrl_type %d", *rem_len, is_ext, control_type); 806 *rem_len = *rem_len - 1; 811 if (*rem_len < ((2 * len) + 1) [all...] |
bnep_api.c | 282 UINT16 rem_len; local 284 rem_len = p_bcb->p_pending_data->len; 286 while (extension_present && p && rem_len) 296 p = bnep_process_control_packet (p_bcb, p, &rem_len, TRUE);
|
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_server.c | 321 INT16 rem_len; local 428 rem_len = max_list_len - (INT16) (p_rsp - &p_ccb->rsp_list[0]); 431 if (rem_len <= 0) 442 p_rsp = sdpu_build_partial_attrib_entry (p_rsp, p_attr, rem_len, 451 else if (rem_len < attr_len) /* Not enough space for attr... so add partially */ 461 p_rsp = sdpu_build_partial_attrib_entry (p_rsp, p_attr, (UINT16)rem_len, 576 INT16 rem_len; local 679 rem_len = max_list_len - (INT16) (p_rsp - &p_ccb->rsp_list[0]); 680 if (rem_len < 3) 698 rem_len = max_list_len - (INT16) (p_rsp - &p_ccb->rsp_list[0]) [all...] |
sdp_db.c | 979 UINT16 rem_len; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_dm.c | 107 UINT8 num_param = 0, param_len, rem_len, *p_tlv; local 124 rem_len = tlv_size; 126 while (rem_len > 1) 133 rem_len -= 2; /* param type and length */ 134 if (rem_len >= param_len) 136 rem_len -= param_len; 139 if (rem_len == 0) [all...] |