Lines Matching refs:p_buff
479 uint8_t* p_buff = in SDP_AddSequence() local
482 p = p_buff; in SDP_AddSequence()
511 if (p - p_buff > SDP_MAX_ATTR_LEN) { in SDP_AddSequence()
514 if (p_head == p_buff) { in SDP_AddSequence()
517 osi_free(p_buff); in SDP_AddSequence()
526 (uint32_t)(p - p_buff), p_buff); in SDP_AddSequence()
527 osi_free(p_buff); in SDP_AddSequence()
553 uint8_t* p_buff = in SDP_AddUuidSequence() local
556 p = p_buff; in SDP_AddUuidSequence()
563 if ((p - p_buff) > max_len) { in SDP_AddUuidSequence()
571 (uint32_t)(p - p_buff), p_buff); in SDP_AddUuidSequence()
572 osi_free(p_buff); in SDP_AddUuidSequence()
596 uint8_t* p_buff = in SDP_AddProtocolList() local
599 offset = sdp_compose_proto_list(p_buff, num_elem, p_elem_list); in SDP_AddProtocolList()
601 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)offset, p_buff); in SDP_AddProtocolList()
602 osi_free(p_buff); in SDP_AddProtocolList()
629 uint8_t* p_buff = in SDP_AddAdditionProtoLists() local
632 p = p_buff; in SDP_AddAdditionProtoLists()
647 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - p_buff), p_buff); in SDP_AddAdditionProtoLists()
648 osi_free(p_buff); in SDP_AddAdditionProtoLists()
673 uint8_t* p_buff = (uint8_t*)osi_malloc(sizeof(uint8_t) * SDP_MAX_ATTR_LEN); in SDP_AddProfileDescriptorList() local
675 p = p_buff + 2; in SDP_AddProfileDescriptorList()
687 *p_buff = (uint8_t)((DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in SDP_AddProfileDescriptorList()
688 *(p_buff + 1) = (uint8_t)(p - (p_buff + 2)); in SDP_AddProfileDescriptorList()
692 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - p_buff), p_buff); in SDP_AddProfileDescriptorList()
693 osi_free(p_buff); in SDP_AddProfileDescriptorList()
718 uint8_t* p_buff = (uint8_t*)osi_malloc(sizeof(uint8_t) * SDP_MAX_ATTR_LEN); in SDP_AddLanguageBaseAttrIDList() local
720 p = p_buff; in SDP_AddLanguageBaseAttrIDList()
735 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - p_buff), p_buff); in SDP_AddLanguageBaseAttrIDList()
736 osi_free(p_buff); in SDP_AddLanguageBaseAttrIDList()
761 uint8_t* p_buff = in SDP_AddServiceClassIdList() local
764 p = p_buff; in SDP_AddServiceClassIdList()
773 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - p_buff), p_buff); in SDP_AddServiceClassIdList()
774 osi_free(p_buff); in SDP_AddServiceClassIdList()