Searched refs:rem_len (Results 1 - 6 of 6) sorted by relevance
/external/bluetooth/bluedroid/stack/bnep/ |
H A D | 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...] |
H A D | bnep_utils.c | 783 UINT8 *bnep_process_control_packet (tBNEP_CONN *p_bcb, UINT8 *p, UINT16 *rem_len, BOOLEAN is_ext) argument 792 *rem_len = *rem_len - 1; 796 *rem_len = *rem_len - 1; 798 BNEP_TRACE_EVENT3 ("BNEP processing control packet rem_len %d, is_ext %d, ctrl_type %d", *rem_len, is_ext, control_type); 805 *rem_len = *rem_len - 1; 810 if (*rem_len < (( [all...] |
H A D | 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/ |
H A D | 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 [all...] |
H A D | sdp_db.c | 913 UINT16 rem_len; local 924 rem_len = *p_data_len - (UINT16) (p_rsp - p_data); 926 if (p_attr->len > (UINT32)(rem_len - 6))
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
H A D | nfc_hal_dm.c | 108 UINT8 num_param = 0, param_len, rem_len, *p_tlv; local 125 rem_len = tlv_size; 127 while (rem_len > 1) 134 rem_len -= 2; /* param type and length */ 135 if (rem_len >= param_len) 137 rem_len -= param_len; 140 if (rem_len == 0)
|
Completed in 99 milliseconds