Lines Matching refs:descriptor
503 dest->descriptor.dl_len = 0; in btif_hh_copy_hid_info()
504 if (src->descriptor.dl_len > 0) { in btif_hh_copy_hid_info()
505 dest->descriptor.dsc_list = (uint8_t*)osi_malloc(src->descriptor.dl_len); in btif_hh_copy_hid_info()
507 memcpy(dest->descriptor.dsc_list, src->descriptor.dsc_list, in btif_hh_copy_hid_info()
508 src->descriptor.dl_len); in btif_hh_copy_hid_info()
509 dest->descriptor.dl_len = src->descriptor.dl_len; in btif_hh_copy_hid_info()
953 len = p_data->dscp_info.descriptor.dl_len; in btif_hh_upstreams_evt()
985 p_data->dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt()
1000 p_data->dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt()
1006 if (dscp_info.descriptor.dl_len > 0 && in btif_hh_upstreams_evt()
1007 dscp_info.descriptor.dsc_list != NULL) { in btif_hh_upstreams_evt()
1008 osi_free_and_reset((void**)&dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt()
1009 dscp_info.descriptor.dl_len = 0; in btif_hh_upstreams_evt()
1395 dscp_info.descriptor.dl_len = hid_info.dl_len; in set_info()
1396 dscp_info.descriptor.dsc_list = in set_info()
1397 (uint8_t*)osi_malloc(dscp_info.descriptor.dl_len); in set_info()
1398 memcpy(dscp_info.descriptor.dsc_list, &(hid_info.dsc_list), hid_info.dl_len); in set_info()
1405 osi_free_and_reset((void**)&dscp_info.descriptor.dsc_list); in set_info()