Searched refs:new_bool (Results 1 – 4 of 4) 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()
1070 cond_bool_datum_t *bool, *new_bool; in bool_copy_callback()1090 new_bool = (cond_bool_datum_t *) malloc(sizeof(cond_bool_datum_t)); in bool_copy_callback()1091 if (!new_bool) { in bool_copy_callback()1099 free(new_bool); in bool_copy_callback()1104 new_bool->s.value = state->out->p_bools.nprim; in bool_copy_callback()1108 (hashtab_datum_t) new_bool); in bool_copy_callback()1111 free(new_bool); in bool_copy_callback()1116 state->boolmap[bool->s.value - 1] = new_bool->s.value; in bool_copy_callback()1118 new_bool->state = bool->state; in bool_copy_callback()1119 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()
411 base::Value new_bool(value); in ToBaseValue() local413 cur_dict->SetKey(ReadKeyName(it), std::move(new_bool)); in ToBaseValue()415 cur_list->GetList().push_back(std::move(new_bool)); in ToBaseValue()