Lines Matching refs:meta_msg
814 if (av_src->meta_msg.p_data && av_src->meta_msg.len) { in DeepCopy()
815 av_dest->meta_msg.p_data = (uint8_t*)osi_calloc(av_src->meta_msg.len); in DeepCopy()
816 memcpy(av_dest->meta_msg.p_data, av_src->meta_msg.p_data, in DeepCopy()
817 av_src->meta_msg.len); in DeepCopy()
820 if (av_src->meta_msg.p_msg) { in DeepCopy()
821 av_dest->meta_msg.p_msg = (tAVRC_MSG*)osi_calloc(sizeof(tAVRC_MSG)); in DeepCopy()
822 memcpy(av_dest->meta_msg.p_msg, av_src->meta_msg.p_msg, in DeepCopy()
825 tAVRC_MSG* p_msg_src = av_src->meta_msg.p_msg; in DeepCopy()
826 tAVRC_MSG* p_msg_dest = av_dest->meta_msg.p_msg; in DeepCopy()
854 osi_free_and_reset((void**)&av->meta_msg.p_data); in DeepFree()
856 if (av->meta_msg.p_msg) { in DeepFree()
857 if (av->meta_msg.p_msg->hdr.opcode == AVRC_OP_VENDOR) { in DeepFree()
858 osi_free(av->meta_msg.p_msg->vendor.p_vendor_data); in DeepFree()
860 if (av->meta_msg.p_msg->hdr.opcode == AVRC_OP_BROWSE) { in DeepFree()
861 osi_free(av->meta_msg.p_msg->browse.p_browse_data); in DeepFree()
863 osi_free_and_reset((void**)&av->meta_msg.p_msg); in DeepFree()