Home
last modified time | relevance | path

Searched refs:test_node (Results 1 – 7 of 7) 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/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c217 int test_node = -1; in do_test() local
219 ret = get_allowed_nodes(NH_MEMS, 1, &test_node); in do_test()
226 nodemask_set(nodemask, test_node); in do_test()
230 numa_bitmask_setbit(nodemask, test_node); in do_test()
/external/dtc/tests/
Dsubnode_iterate.c34 static void test_node(void *fdt, int parent_offset) in test_node() function
67 test_node(fdt, offset); in check_fdt_next_subnode()
Dproperty_iterate.c34 static void test_node(void *fdt, int parent_offset) in test_node() function
74 test_node(fdt, offset); in check_fdt_next_subnode()
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c233 int test_node = -1; in do_test() local
235 ret = get_allowed_nodes(NH_MEMS, 1, &test_node); in do_test()
241 nodemask_set(nodemask, test_node); in do_test()
245 numa_bitmask_setbit(nodemask, test_node); in do_test()
/external/libxml2/
Dvalid.c6958 xmlNode *test_node; in xmlValidGetValidElements() local
7001 test_node = xmlNewDocNode (ref_node->doc, NULL, BAD_CAST "<!dummy?>", NULL); in xmlValidGetValidElements()
7002 if (test_node == NULL) in xmlValidGetValidElements()
7005 test_node->parent = parent; in xmlValidGetValidElements()
7006 test_node->prev = prev; in xmlValidGetValidElements()
7007 test_node->next = next; in xmlValidGetValidElements()
7008 name = test_node->name; in xmlValidGetValidElements()
7010 if (prev) prev->next = test_node; in xmlValidGetValidElements()
7011 else parent->children = test_node; in xmlValidGetValidElements()
7013 if (next) next->prev = test_node; in xmlValidGetValidElements()
[all …]