Lines Matching defs:boollist
37 static struct boolean_t **boollist = NULL;
56 boollist[boolcnt] = malloc(sizeof(struct boolean_t));
57 boollist[boolcnt]->name = strdup(sepol_bool_get_name(boolean));
58 boollist[boolcnt]->active = sepol_bool_get_value(boolean);
79 char *name = boollist[i]->name;
80 int active = boollist[i]->active;
154 b[i].name = strdup(boollist[ctr]->name);
155 b[i].active = !boollist[ctr]->active;
171 free(boollist[i]->name);
172 free(boollist[i]);
174 free(boollist);
181 boollist = NULL;
270 boollist = calloc(cnt, sizeof(*boollist));
271 if (!boollist) {
284 free(boollist);