/external/bluetooth/bluedroid/stack/bnep/ |
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);
|
bnep_main.c | 467 UINT16 rem_len = p_buf->len; local 486 if ((rem_len <= bnep_frame_hdr_sizes[type]) || (rem_len > BNEP_MTU_SIZE)) 493 rem_len--; 512 org_len = rem_len; 556 rem_len -= 14; 561 p = bnep_process_control_packet (p_bcb, p, &rem_len, FALSE); 565 extension_present && p && rem_len) 567 p_bcb->p_pending_data = (BT_HDR *)GKI_getbuf (rem_len); 570 memcpy ((UINT8 *)(p_bcb->p_pending_data + 1), p, rem_len); [all...] |
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_db.c | 979 UINT16 rem_len; local [all...] |
sdp_server.c | 307 INT16 rem_len; local 408 rem_len = max_list_len - (INT16) (p_rsp - &p_ccb->rsp_list[0]); 411 if (rem_len <= 0) 422 p_rsp = sdpu_build_partial_attrib_entry (p_rsp, p_attr, rem_len, 431 else if (rem_len < attr_len) /* Not enough space for attr... so add partially */ 441 p_rsp = sdpu_build_partial_attrib_entry (p_rsp, p_attr, (UINT16)rem_len, 556 INT16 rem_len; local 652 rem_len = max_list_len - (INT16) (p_rsp - &p_ccb->rsp_list[0]); 653 if (rem_len < 3) 671 rem_len = max_list_len - (INT16) (p_rsp - &p_ccb->rsp_list[0]) [all...] |
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_dm.c | 115 UINT8 num_param = 0, param_len, rem_len, *p_tlv; local 132 rem_len = tlv_size; 134 while (rem_len > 1) 141 rem_len -= 2; /* param type and length */ 142 if (rem_len >= param_len) 144 rem_len -= param_len; 147 if (rem_len == 0) [all...] |