Searched refs:new_bool (Results 1 – 3 of 3) sorted by relevance
158 sepol_bool_t *new_bool = NULL; in hidden_def() local160 if (sepol_bool_create(handle, &new_bool) < 0) in hidden_def()163 if (sepol_bool_set_name(handle, new_bool, boolean->name) < 0) in hidden_def()166 new_bool->value = boolean->value; in hidden_def()168 *bool_ptr = new_bool; in hidden_def()173 sepol_bool_free(new_bool); in hidden_def()
1074 cond_bool_datum_t *bool, *new_bool; in bool_copy_callback()1094 new_bool = (cond_bool_datum_t *) malloc(sizeof(cond_bool_datum_t)); in bool_copy_callback()1095 if (!new_bool) { in bool_copy_callback()1103 free(new_bool); in bool_copy_callback()1108 new_bool->s.value = state->out->p_bools.nprim; in bool_copy_callback()1112 (hashtab_datum_t) new_bool); in bool_copy_callback()1115 free(new_bool); in bool_copy_callback()1120 state->boolmap[bool->s.value - 1] = new_bool->s.value; in bool_copy_callback()1122 new_bool->state = bool->state; in bool_copy_callback()1123 new_bool->flags = bool->flags; in bool_copy_callback()
603 cond_bool_datum_t *booldatum, *base_bool, *new_bool = NULL; in bool_copy_callback() local618 if ((new_bool = in bool_copy_callback()619 (cond_bool_datum_t *) malloc(sizeof(*new_bool))) == NULL) { in bool_copy_callback()622 new_bool->s.value = state->base->p_bools.nprim + 1; in bool_copy_callback()626 (hashtab_datum_t) new_bool); in bool_copy_callback()631 base_bool = new_bool; in bool_copy_callback()663 cond_destroy_bool(new_id, new_bool, NULL); in bool_copy_callback()