Home
last modified time | relevance | path

Searched refs:this_roles (Results 1 – 1 of 1) sorted by relevance

/hardware/intel/common/wrs_omxil_core/base/src/
Dcmodule.cpp221 OMX_U8 **this_roles; in QueryComponentNameAndRoles() local
234 this_roles = (OMX_U8 **)malloc(sizeof(OMX_STRING) * nr_roles); in QueryComponentNameAndRoles()
235 if (!this_roles) in QueryComponentNameAndRoles()
238 this_roles[0] = (OMX_U8 *)malloc(OMX_MAX_STRINGNAME_SIZE * nr_roles); in QueryComponentNameAndRoles()
239 if (!this_roles[0]) { in QueryComponentNameAndRoles()
240 free(this_roles); in QueryComponentNameAndRoles()
246 this_roles[i+1] = this_roles[i] + OMX_MAX_STRINGNAME_SIZE; in QueryComponentNameAndRoles()
252 strncpy((OMX_STRING)&this_roles[i][0], in QueryComponentNameAndRoles()
254 this_roles[i][copy_role_len] = '\0'; in QueryComponentNameAndRoles()
257 this->roles = this_roles; in QueryComponentNameAndRoles()