Home
last modified time | relevance | path

Searched refs:test_node (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_tree.c38 struct cil_tree_node *test_node; in test_cil_tree_node_init() local
40 cil_tree_node_init(&test_node); in test_cil_tree_node_init()
42 CuAssertPtrNotNull(tc, test_node); in test_cil_tree_node_init()
43 CuAssertPtrEquals(tc, NULL, test_node->cl_head); in test_cil_tree_node_init()
44 CuAssertPtrEquals(tc, NULL, test_node->cl_tail); in test_cil_tree_node_init()
45 CuAssertPtrEquals(tc, NULL, test_node->parent); in test_cil_tree_node_init()
46 CuAssertPtrEquals(tc, NULL, test_node->data); in test_cil_tree_node_init()
47 CuAssertPtrEquals(tc, NULL, test_node->next); in test_cil_tree_node_init()
48 CuAssertIntEquals(tc, 0, test_node->flavor); in test_cil_tree_node_init()
49 CuAssertIntEquals(tc, 0, test_node->line); in test_cil_tree_node_init()
[all …]
Dtest_cil_resolve_ast.c6587 struct cil_tree_node *test_node; in test_cil_resolve_name_call_args() local
6588 cil_tree_node_init(&test_node); in test_cil_resolve_name_call_args()
6595 …ct cil_call *)test_db->ast->root->cl_head->next->next->next->data, "a", CIL_SYM_TYPES, &test_node); in test_cil_resolve_name_call_args()
6622 struct cil_tree_node *test_node; in test_cil_resolve_name_call_args_multipleparams() local
6623 cil_tree_node_init(&test_node); in test_cil_resolve_name_call_args_multipleparams()
6630 …l_head->next->next->next->next->next->next->next->next->data, "lvl_h", CIL_SYM_LEVELS, &test_node); in test_cil_resolve_name_call_args_multipleparams()
6652 struct cil_tree_node *test_node; in test_cil_resolve_name_call_args_diffflavor() local
6653 cil_tree_node_init(&test_node); in test_cil_resolve_name_call_args_diffflavor()
6660 …ruct cil_call *)test_db->ast->root->cl_head->next->next->next->data, "qaz", CIL_LEVEL, &test_node); in test_cil_resolve_name_call_args_diffflavor()
6683 struct cil_tree_node *test_node; in test_cil_resolve_name_call_args_callnull_neg() local
[all …]
/external/libxml2/
Dvalid.c6956 xmlNode *test_node; in xmlValidGetValidElements() local
6999 test_node = xmlNewDocNode (ref_node->doc, NULL, BAD_CAST "<!dummy?>", NULL); in xmlValidGetValidElements()
7000 if (test_node == NULL) in xmlValidGetValidElements()
7003 test_node->parent = parent; in xmlValidGetValidElements()
7004 test_node->prev = prev; in xmlValidGetValidElements()
7005 test_node->next = next; in xmlValidGetValidElements()
7006 name = test_node->name; in xmlValidGetValidElements()
7008 if (prev) prev->next = test_node; in xmlValidGetValidElements()
7009 else parent->children = test_node; in xmlValidGetValidElements()
7011 if (next) next->prev = test_node; in xmlValidGetValidElements()
[all …]