HomeSort by relevance Sort by last modified time
    Searched refs:tmp_roles (Results 1 - 2 of 2) sorted by null

  /external/libsepol/src/
roles.c 30 char **tmp_roles = (char **)malloc(tmp_nroles * sizeof(char *)); local
33 if (!tmp_roles)
37 tmp_roles[i] = strdup(policydb->p_role_val_to_name[i]);
38 if (!tmp_roles[i])
43 *roles = tmp_roles;
50 ptr = tmp_roles;
53 free(tmp_roles);
user_record.c 221 char **tmp_roles = NULL; local
226 tmp_roles = (char **)calloc(1, sizeof(char *) * num_roles);
227 if (!tmp_roles)
231 tmp_roles[i] = strdup(roles_arr[i]);
232 if (!tmp_roles[i])
241 user->roles = tmp_roles;
249 if (tmp_roles) {
251 if (!tmp_roles[i])
253 free(tmp_roles[i]);
256 free(tmp_roles);
266 const char **tmp_roles = local
    [all...]

Completed in 667 milliseconds