Searched refs:new_bool (Results 1 – 3 of 3) sorted by relevance
150 sepol_bool_t *new_bool = NULL; in hidden_def() local152 if (sepol_bool_create(handle, &new_bool) < 0) in hidden_def()155 if (sepol_bool_set_name(handle, new_bool, boolean->name) < 0) in hidden_def()158 new_bool->value = boolean->value; in hidden_def()160 *bool_ptr = new_bool; in hidden_def()165 sepol_bool_free(new_bool); in hidden_def()
1072 cond_bool_datum_t *bool, *new_bool; in bool_copy_callback()1092 new_bool = (cond_bool_datum_t *) malloc(sizeof(cond_bool_datum_t)); in bool_copy_callback()1093 if (!new_bool) { in bool_copy_callback()1101 free(new_bool); in bool_copy_callback()1106 new_bool->s.value = state->out->p_bools.nprim; in bool_copy_callback()1110 (hashtab_datum_t) new_bool); in bool_copy_callback()1113 free(new_bool); in bool_copy_callback()1118 state->boolmap[bool->s.value - 1] = new_bool->s.value; in bool_copy_callback()1120 new_bool->state = bool->state; in bool_copy_callback()1121 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()