Lines Matching refs:meta_msg
802 if (av_src->meta_msg.p_data && av_src->meta_msg.len) { in DeepCopy()
803 av_dest->meta_msg.p_data = (uint8_t*)osi_calloc(av_src->meta_msg.len); in DeepCopy()
804 memcpy(av_dest->meta_msg.p_data, av_src->meta_msg.p_data, in DeepCopy()
805 av_src->meta_msg.len); in DeepCopy()
808 if (av_src->meta_msg.p_msg) { in DeepCopy()
809 av_dest->meta_msg.p_msg = (tAVRC_MSG*)osi_calloc(sizeof(tAVRC_MSG)); in DeepCopy()
810 memcpy(av_dest->meta_msg.p_msg, av_src->meta_msg.p_msg, in DeepCopy()
813 tAVRC_MSG* p_msg_src = av_src->meta_msg.p_msg; in DeepCopy()
814 tAVRC_MSG* p_msg_dest = av_dest->meta_msg.p_msg; in DeepCopy()
842 osi_free_and_reset((void**)&av->meta_msg.p_data); in DeepFree()
844 if (av->meta_msg.p_msg) { in DeepFree()
845 if (av->meta_msg.p_msg->hdr.opcode == AVRC_OP_VENDOR) { in DeepFree()
846 osi_free(av->meta_msg.p_msg->vendor.p_vendor_data); in DeepFree()
848 if (av->meta_msg.p_msg->hdr.opcode == AVRC_OP_BROWSE) { in DeepFree()
849 osi_free(av->meta_msg.p_msg->browse.p_browse_data); in DeepFree()
851 osi_free_and_reset((void**)&av->meta_msg.p_msg); in DeepFree()