HomeSort by relevance Sort by last modified time
    Searched refs:cl_head (Results 1 - 16 of 16) sorted by null

  /external/selinux/libsepol/cil/test/unit/
test_cil_list.c 70 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head;
98 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head;
105 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head->next;
134 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head
    [all...]
test_cil_build_ast.c 70 test_current = test_tree->root->cl_head->cl_head;
80 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data);
86 test_current = test_current->next->next->next->cl_head->next->cl_head;
101 test_current = test_tree->root->cl_head->cl_head;
111 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data);
132 test_current = test_tree->root->cl_head->cl_head;
    [all...]
test_cil_resolve_ast.c 82 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head;
106 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head;
145 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next->next, args);
165 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next, args);
184 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next, args);
204 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next, args);
228 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
232 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args)
    [all...]
test_cil_copy_ast.c 65 cil_set_to_list(test_tree->root->cl_head, cil_l, 1);
87 cil_set_to_list(test_tree->root->cl_head, cil_l, 1);
111 cil_set_to_list(test_tree->root->cl_head, cil_l, 1);
159 cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0);
200 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head, test_ast_node);
203 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head->next, test_ast_node)
    [all...]
test_cil_tree.c 43 CuAssertPtrEquals(tc, NULL, test_node->cl_head);
61 CuAssertPtrEquals(tc, NULL, test_tree->root->cl_head);
CilTest.c 103 if (current->cl_head == NULL)
104 current->cl_head = node;
118 if (current->cl_head == NULL) {
119 current->cl_head = item;
    [all...]
  /external/selinux/libsepol/cil/src/
cil_parser.c 71 if (current->cl_head == NULL) {
72 current->cl_head = node;
104 if (current->cl_head == NULL) {
105 current->cl_head = item;
cil_tree.h 44 struct cil_tree_node *cl_head; //Head of child_list member in struct:cil_tree_node
cil_build_ast.c 375 perms = parse_current->next->next->cl_head;
426 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASSORDER, &classorder->class_list_str);
499 if (current_perm->cl_head != NULL) {
514 if (ast_node->cl_head == NULL) {
515 ast_node->cl_head = new_ast;
540 rc = __cil_verify_syntax(start_perm->cl_head, syntax, syntax_len);
637 curr = parse_current->cl_head;
644 } else if (curr->cl_head == NULL) {
824 rc = cil_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_MAP_PERM, &map->num_perms);
926 rc = cil_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_PERM, &common->num_perms)
    [all...]
cil_policy.c 906 if (node->cl_head != NULL && node->cl_head->flavor == CIL_CONDBLOCK) {
907 cb = node->cl_head->data;
909 true_node = node->cl_head;
911 false_node = node->cl_head;
915 if (node->cl_head != NULL && node->cl_head->next != NULL && node->cl_head->next->flavor == CIL_CONDBLOCK) {
916 cb = node->cl_head->next->data;
918 true_node = node->cl_head->next
    [all...]
cil_tree.c 99 if (node->cl_head != NULL) {
100 node = node->cl_head;
104 if (node->cl_head != NULL){
105 next = node->cl_head;
110 node->parent->cl_head = NULL;
125 new_node->cl_head = NULL;
197 if (node->cl_head != NULL && !(finished & CIL_TREE_SKIP_HEAD)) {
218 if (!node || !node->cl_head) {
223 rc = (*first_child)(node->cl_head, extra_args);
230 rc = cil_tree_walk_core(node->cl_head, process_node, first_child, last_child, extra_args)
    [all...]
cil_resolve_ast.c     [all...]
cil_verify.c 99 } else if ((s[i] & CIL_SYN_N_LISTS) && (c->data == NULL && c->cl_head != NULL)) {
103 } else if ((s[i] & CIL_SYN_N_STRINGS) && (c->data != NULL && c->cl_head == NULL)) {
115 if (c->data != NULL && c->cl_head == NULL) {
123 if (c->data == NULL && c->cl_head != NULL) {
131 if (c->data == NULL && c->cl_head == NULL) {
960 struct cil_tree_node *cond_block = node->cl_head;
1236 for (curr_com_perm = common_node->cl_head;
1242 for (curr_class_perm = node->cl_head;
    [all...]
cil_copy_ast.c     [all...]
cil_binary.c 291 struct cil_tree_node *cil_perm = node->cl_head;
343 struct cil_tree_node *cil_perm = node->cl_head;
    [all...]
cil.c     [all...]

Completed in 929 milliseconds