Lines Matching refs:descriptor
507 dest->descriptor.dl_len = 0; in btif_hh_copy_hid_info()
508 if (src->descriptor.dl_len > 0) { in btif_hh_copy_hid_info()
509 dest->descriptor.dsc_list = (uint8_t*)osi_malloc(src->descriptor.dl_len); in btif_hh_copy_hid_info()
511 memcpy(dest->descriptor.dsc_list, src->descriptor.dsc_list, in btif_hh_copy_hid_info()
512 src->descriptor.dl_len); in btif_hh_copy_hid_info()
513 dest->descriptor.dl_len = src->descriptor.dl_len; in btif_hh_copy_hid_info()
956 len = p_data->dscp_info.descriptor.dl_len; in btif_hh_upstreams_evt()
988 p_data->dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt()
1003 p_data->dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt()
1009 if (dscp_info.descriptor.dl_len > 0 && in btif_hh_upstreams_evt()
1010 dscp_info.descriptor.dsc_list != NULL) { in btif_hh_upstreams_evt()
1011 osi_free_and_reset((void**)&dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt()
1012 dscp_info.descriptor.dl_len = 0; in btif_hh_upstreams_evt()
1398 dscp_info.descriptor.dl_len = hid_info.dl_len; in set_info()
1399 dscp_info.descriptor.dsc_list = in set_info()
1400 (uint8_t*)osi_malloc(dscp_info.descriptor.dl_len); in set_info()
1401 memcpy(dscp_info.descriptor.dsc_list, &(hid_info.dsc_list), hid_info.dl_len); in set_info()
1408 osi_free_and_reset((void**)&dscp_info.descriptor.dsc_list); in set_info()