Searched defs:lvlrange (Results 1 - 5 of 5) sorted by relevance
/external/selinux/libsepol/cil/src/ |
H A D | cil_tree.c | 47 void cil_tree_print_levelrange(struct cil_levelrange *lvlrange); 607 void cil_tree_print_levelrange(struct cil_levelrange *lvlrange) argument 610 if (lvlrange->low != NULL) { 612 cil_tree_print_level(lvlrange->low); 614 } else if (lvlrange->low_str != NULL) { 615 cil_log(CIL_INFO, " %s", lvlrange->low_str); 618 if (lvlrange->high != NULL) { 620 cil_tree_print_level(lvlrange->high); 622 } else if (lvlrange->high_str != NULL) { 623 cil_log(CIL_INFO, " %s", lvlrange 1329 struct cil_levelrange *lvlrange = node->data; local [all...] |
H A D | cil_policy.c | 262 static void cil_levelrange_to_policy(FILE *out, struct cil_levelrange *lvlrange) argument 264 cil_level_to_policy(out, lvlrange->low); 265 if (cil_levels_simple_and_equal(lvlrange->low, lvlrange->high) == CIL_FALSE) { 267 cil_level_to_policy(out, lvlrange->high);
|
H A D | cil_resolve_ast.c | 1677 int cil_resolve_levelrange(struct cil_tree_node *current, struct cil_levelrange *lvlrange, void *extra_args) argument 1683 if (lvlrange->low_str != NULL) { 1684 rc = cil_resolve_name(current, lvlrange->low_str, CIL_SYM_LEVELS, extra_args, &low_datum); 1688 lvlrange->low = (struct cil_level*)low_datum; 1691 if (lvlrange->low->datum.name == NULL) { 1692 rc = cil_resolve_level(current, lvlrange->low, extra_args); 1697 } else if (lvlrange->low != NULL) { 1698 rc = cil_resolve_level(current, lvlrange->low, extra_args); 1704 if (lvlrange->high_str != NULL) { 1705 rc = cil_resolve_name(current, lvlrange [all...] |
H A D | cil_build_ast.c | 3770 int cil_fill_levelrange(struct cil_tree_node *low, struct cil_levelrange *lvlrange) argument 3780 if (low == NULL || lvlrange == NULL) { 3791 lvlrange->low_str = low->data; 3793 cil_level_init(&lvlrange->low); 3794 rc = cil_fill_level(low->cl_head, lvlrange->low); 3801 lvlrange->high_str = low->next->data; 3803 cil_level_init(&lvlrange->high); 3804 rc = cil_fill_level(low->next->cl_head, lvlrange->high); 3827 struct cil_levelrange *lvlrange = NULL; local 3839 cil_levelrange_init(&lvlrange); 3862 cil_destroy_levelrange(struct cil_levelrange *lvlrange) argument [all...] |
/external/selinux/libsepol/cil/test/unit/ |
H A D | test_cil_resolve_ast.c | 1426 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->next->next->data; local 1428 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next->next->next, lvlrange, args); 1455 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->next->next->data; local 1457 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next->next->next, lvlrange, args); 1484 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->next->next->data; local 1486 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next->next->next, lvlrange, args); 1511 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->data; local 1513 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next, lvlrange, args); 1536 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->data; local 1540 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next, lvlrange, arg 1563 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->data; local [all...] |
Completed in 184 milliseconds