Searched refs:rem_len (Results 1 - 5 of 5) sorted by relevance
/system/bt/stack/bnep/ |
H A D | 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; 557 rem_len -= 14; 562 p = bnep_process_control_packet (p_bcb, p, &rem_len, FALSE); 566 extension_present && p && rem_len) 568 p_bcb->p_pending_data = (BT_HDR *)GKI_getbuf (rem_len); 571 memcpy ((UINT8 *)(p_bcb->p_pending_data + 1), p, rem_len); [all...] |
H A D | bnep_utils.c | 784 UINT8 *bnep_process_control_packet (tBNEP_CONN *p_bcb, UINT8 *p, UINT16 *rem_len, BOOLEAN is_ext) argument 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 < (( [all...] |
H A D | bnep_api.c | 276 UINT16 rem_len; local 278 rem_len = p_bcb->p_pending_data->len; 280 while (extension_present && p && rem_len) 290 p = bnep_process_control_packet (p_bcb, p, &rem_len, TRUE);
|
/system/bt/stack/sdp/ |
H A D | sdp_server.c | 322 INT16 rem_len; local 440 rem_len = max_list_len - (INT16) (p_rsp - &p_ccb->rsp_list[0]); 443 if (rem_len <= 0) 454 p_rsp = sdpu_build_partial_attrib_entry (p_rsp, p_attr, rem_len, 463 else if (rem_len < attr_len) /* Not enough space for attr... so add partially */ 473 p_rsp = sdpu_build_partial_attrib_entry (p_rsp, p_attr, (UINT16)rem_len, 588 INT16 rem_len; local 704 rem_len = max_list_len - (INT16) (p_rsp - &p_ccb->rsp_list[0]); 705 if (rem_len < 3) 723 rem_len [all...] |
H A D | sdp_db.c | 970 UINT16 rem_len; local 981 rem_len = *p_data_len - (UINT16) (p_rsp - p_data); 983 if (p_attr->len > (UINT32)(rem_len - 6))
|
Completed in 62 milliseconds