Home | History | Annotate | Download | only in src

Lines Matching defs:roles

39     roles = NULL;
58 if (roles) {
59 if (roles[0])
60 free(roles[0]);
61 free(roles);
131 OMX_ERRORTYPE CModule::GetComponentRoles(OMX_U32 *nr_roles, OMX_U8 **roles)
136 if (!roles) {
145 if (!roles[i])
148 if (roles && roles[i])
149 strncpy((OMX_STRING)&roles[i][0],
150 (const OMX_STRING)&this->roles[i][0],
165 if (!roles || !role)
169 if (!strcmp((OMX_STRING)&roles[i][0], role))
201 ret = cbase->SetRolesOfComponent(nr_roles, (const OMX_U8 **)roles);
217 const OMX_U8 **roles;
225 if (this->roles)
231 roles = (const OMX_U8 **)wrs_omxil_cmodule->roles;
248 role_len = strlen((const OMX_STRING)&roles[i][0]);
253 (const OMX_STRING)&roles[i][0], copy_role_len);
257 this->roles = this_roles;