Searched refs:new_bool (Results 1 – 3 of 3) sorted by relevance
151 sepol_bool_t *new_bool = NULL; in sepol_bool_clone() local153 if (sepol_bool_create(handle, &new_bool) < 0) in sepol_bool_clone()156 if (sepol_bool_set_name(handle, new_bool, boolean->name) < 0) in sepol_bool_clone()159 new_bool->value = boolean->value; in sepol_bool_clone()161 *bool_ptr = new_bool; in sepol_bool_clone()166 sepol_bool_free(new_bool); in sepol_bool_clone()
1105 cond_bool_datum_t *bool, *new_bool; in bool_copy_callback()1125 new_bool = (cond_bool_datum_t *) malloc(sizeof(cond_bool_datum_t)); in bool_copy_callback()1126 if (!new_bool) { in bool_copy_callback()1134 free(new_bool); in bool_copy_callback()1139 new_bool->s.value = state->out->p_bools.nprim; in bool_copy_callback()1143 (hashtab_datum_t) new_bool); in bool_copy_callback()1146 free(new_bool); in bool_copy_callback()1151 state->boolmap[bool->s.value - 1] = new_bool->s.value; in bool_copy_callback()1153 new_bool->state = bool->state; in bool_copy_callback()1154 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()