Lines Matching refs:p_reply
48 static void process_service_search_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
49 static void process_service_attr_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
50 static void process_service_search_attr_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
283 static void process_service_search_rsp (tCONN_CB *p_ccb, UINT8 *p_reply) in process_service_search_rsp() argument
290 p_reply += 4; in process_service_search_rsp()
291 BE_STREAM_TO_UINT16 (total, p_reply); in process_service_search_rsp()
292 BE_STREAM_TO_UINT16 (cur_handles, p_reply); in process_service_search_rsp()
310 BE_STREAM_TO_UINT32 (p_ccb->handles[xx], p_reply); in process_service_search_rsp()
312 BE_STREAM_TO_UINT8 (cont_len, p_reply); in process_service_search_rsp()
321 sdp_snd_service_search_req(p_ccb, cont_len, p_reply); in process_service_search_rsp()
397 static void process_service_attr_rsp (tCONN_CB *p_ccb, UINT8 *p_reply) in process_service_attr_rsp() argument
408 if (p_reply) in process_service_attr_rsp()
412 p_reply[0], p_reply[1], p_reply[2], p_reply[3]); in process_service_attr_rsp()
415 p_reply += 4; in process_service_attr_rsp()
417 BE_STREAM_TO_UINT16 (list_byte_count, p_reply); in process_service_attr_rsp()
435 memcpy(&p_ccb->rsp_list[p_ccb->list_len], p_reply, list_byte_count); in process_service_attr_rsp()
437 p_reply += list_byte_count; in process_service_attr_rsp()
442 SDP_TRACE_WARNING("*p_reply:%d(%d)", *p_reply, SDP_MAX_CONTINUATION_LEN); in process_service_attr_rsp()
444 if (*p_reply) in process_service_attr_rsp()
446 if (*p_reply > SDP_MAX_CONTINUATION_LEN) in process_service_attr_rsp()
504 memcpy (p, p_reply, *p_reply + 1); in process_service_attr_rsp()
505 p += *p_reply + 1; in process_service_attr_rsp()
543 static void process_service_search_attr_rsp (tCONN_CB *p_ccb, UINT8 *p_reply) in process_service_search_attr_rsp() argument
555 if (p_reply) in process_service_search_attr_rsp()
559 p_reply[0], p_reply[1], p_reply[2], p_reply[3]); in process_service_search_attr_rsp()
562 p_reply += 4; in process_service_search_attr_rsp()
564 BE_STREAM_TO_UINT16 (lists_byte_count, p_reply); in process_service_search_attr_rsp()
582 memcpy (&p_ccb->rsp_list[p_ccb->list_len], p_reply, lists_byte_count); in process_service_search_attr_rsp()
584 p_reply += lists_byte_count; in process_service_search_attr_rsp()
589 SDP_TRACE_WARNING("*p_reply:%d(%d)", *p_reply, SDP_MAX_CONTINUATION_LEN); in process_service_search_attr_rsp()
591 if (*p_reply) in process_service_search_attr_rsp()
593 if (*p_reply > SDP_MAX_CONTINUATION_LEN) in process_service_search_attr_rsp()
607 if ((cont_request_needed) || (!p_reply)) in process_service_search_attr_rsp()
641 if (p_reply) in process_service_search_attr_rsp()
643 memcpy (p, p_reply, *p_reply + 1); in process_service_search_attr_rsp()
644 p += *p_reply + 1; in process_service_search_attr_rsp()