Home
last modified time | relevance | path

Searched refs:cil_bool (Results 1 – 11 of 11) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_binary.h203 int cil_bool_to_policydb(policydb_t *pdb, struct cil_bool *cil_bool);
Dcil_internal.h594 struct cil_bool { struct
1032 void cil_bool_init(struct cil_bool **cilbool);
Dcil_build_ast.h126 void cil_destroy_bool(struct cil_bool *boolean);
Dcil_copy_ast.c762 struct cil_bool *orig = data; in cil_copy_bool()
763 struct cil_bool *new = NULL; in cil_copy_bool()
Dcil_binary.c764 int cil_bool_to_policydb(policydb_t *pdb, struct cil_bool *cil_bool) in cil_bool_to_policydb() argument
772 key = cil_strdup(cil_bool->datum.fqn); in cil_bool_to_policydb()
778 sepol_bool->state = cil_bool->value; in cil_bool_to_policydb()
Dcil_write_ast.c844 struct cil_bool *boolean = node->data; in cil_write_ast_node()
Dcil_policy.c1011 struct cil_bool *bool; in cil_bools_to_policy()
Dcil.c2399 void cil_bool_init(struct cil_bool **cilbool) in cil_bool_init()
Dcil_build_ast.c2475 struct cil_bool *boolean = NULL; in cil_gen_bool()
2519 void cil_destroy_bool(struct cil_bool *boolean) in cil_destroy_bool()
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c549 CuAssertIntEquals(tc, ((struct cil_bool *)test_copy->data)->value, in test_cil_copy_bool()
550 ((struct cil_bool *)test_ast_node->data)->value); in test_cil_copy_bool()
Dtest_cil_build_ast.c5507 CuAssertIntEquals(tc, ((struct cil_bool*)test_ast_node->data)->value, 1); in test_cil_gen_bool_true()
5529 CuAssertIntEquals(tc, ((struct cil_bool*)test_ast_node->data)->value, 1); in test_cil_gen_bool_tunable_true()
5551 CuAssertIntEquals(tc, ((struct cil_bool*)test_ast_node->data)->value, 0); in test_cil_gen_bool_false()
5573 CuAssertIntEquals(tc, ((struct cil_bool*)test_ast_node->data)->value, 0); in test_cil_gen_bool_tunable_false()