Lines Matching defs:boolean
2475 struct cil_bool *boolean = NULL;
2487 cil_bool_init(&boolean);
2492 boolean->value = CIL_TRUE;
2494 boolean->value = CIL_FALSE;
2501 rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)boolean, (hashtab_key_t)key, CIL_SYM_BOOLS, CIL_BOOL);
2510 cil_tree_log(parse_current, CIL_ERR, "Bad tunable (treated as a boolean due to preserve-tunables) declaration");
2512 cil_tree_log(parse_current, CIL_ERR, "Bad boolean declaration");
2514 cil_destroy_bool(boolean);
2519 void cil_destroy_bool(struct cil_bool *boolean)
2521 if (boolean == NULL) {
2525 cil_symtab_datum_destroy(&boolean->datum);
2526 free(boolean);