Searched defs:lvlrange (Results 1 - 5 of 5) sorted by relevance
/external/selinux/libsepol/cil/src/ |
H A D | cil_policy.c | 433 void cil_levelrange_to_policy(FILE **file_arr, uint32_t file_index, struct cil_levelrange *lvlrange) argument 435 struct cil_level *low = lvlrange->low; 436 struct cil_level *high = lvlrange->high; 448 struct cil_levelrange *lvlrange = context->range; local 451 cil_levelrange_to_policy(file_arr, file_index, lvlrange);
|
H A D | cil_tree.c | 47 void cil_tree_print_levelrange(struct cil_levelrange *lvlrange); 521 void cil_tree_print_levelrange(struct cil_levelrange *lvlrange) argument 524 if (lvlrange->low != NULL) { 526 cil_tree_print_level(lvlrange->low); 528 } else if (lvlrange->low_str != NULL) { 529 cil_log(CIL_INFO, " %s", lvlrange->low_str); 532 if (lvlrange->high != NULL) { 534 cil_tree_print_level(lvlrange->high); 536 } else if (lvlrange->high_str != NULL) { 537 cil_log(CIL_INFO, " %s", lvlrange 1225 struct cil_levelrange *lvlrange = node->data; local [all...] |
H A D | cil_resolve_ast.c | 1545 int cil_resolve_levelrange(struct cil_tree_node *current, struct cil_levelrange *lvlrange, void *extra_args) argument 1551 if (lvlrange->low_str != NULL) { 1552 rc = cil_resolve_name(current, lvlrange->low_str, CIL_SYM_LEVELS, extra_args, &low_datum); 1556 lvlrange->low = (struct cil_level*)low_datum; 1559 if (lvlrange->low->datum.name == NULL) { 1560 rc = cil_resolve_level(current, lvlrange->low, extra_args); 1565 } else if (lvlrange->low != NULL) { 1566 rc = cil_resolve_level(current, lvlrange->low, extra_args); 1572 if (lvlrange->high_str != NULL) { 1573 rc = cil_resolve_name(current, lvlrange [all...] |
H A D | cil_build_ast.c | 3478 int cil_fill_levelrange(struct cil_tree_node *low, struct cil_levelrange *lvlrange) argument 3488 if (low == NULL || lvlrange == NULL) { 3499 lvlrange->low_str = low->data; 3501 cil_level_init(&lvlrange->low); 3502 rc = cil_fill_level(low->cl_head, lvlrange->low); 3509 lvlrange->high_str = low->next->data; 3511 cil_level_init(&lvlrange->high); 3512 rc = cil_fill_level(low->next->cl_head, lvlrange->high); 3535 struct cil_levelrange *lvlrange = NULL; local 3547 cil_levelrange_init(&lvlrange); 3571 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 106 milliseconds