Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dmodule_to_cil.c763 char **name_arr = NULL; in ebitmap_to_names() local
765 name_arr = malloc(sizeof(*name_arr) * max); in ebitmap_to_names()
766 if (name_arr == NULL) { in ebitmap_to_names()
779 name_arr = realloc(name_arr, sizeof(*name_arr) * max); in ebitmap_to_names()
780 if (name_arr == NULL) { in ebitmap_to_names()
787 name_arr[num] = strdup(vals_to_names[i]); in ebitmap_to_names()
788 if (name_arr[num] == NULL) { in ebitmap_to_names()
796 *names = name_arr; in ebitmap_to_names()
803 free(name_arr[i]); in ebitmap_to_names()
805 free(name_arr); in ebitmap_to_names()