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