Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c181 int test_node = -1; in setup_node() local
183 if (get_allowed_nodes(NH_MEMS, 1, &test_node) < 0) in setup_node()
188 numa_bitmask_setbit(nodemask, test_node); in setup_node()
/third_party/libxml2/
Dvalid.c7064 xmlNode *test_node; in xmlValidGetValidElements() local
7107 test_node = xmlNewDocNode (ref_node->doc, NULL, BAD_CAST "<!dummy?>", NULL); in xmlValidGetValidElements()
7108 if (test_node == NULL) in xmlValidGetValidElements()
7111 test_node->parent = parent; in xmlValidGetValidElements()
7112 test_node->prev = prev; in xmlValidGetValidElements()
7113 test_node->next = next; in xmlValidGetValidElements()
7114 name = test_node->name; in xmlValidGetValidElements()
7116 if (prev) prev->next = test_node; in xmlValidGetValidElements()
7117 else parent->children = test_node; in xmlValidGetValidElements()
7119 if (next) next->prev = test_node; in xmlValidGetValidElements()
[all …]
/third_party/python/Lib/test/
Dtest_platform.py95 def test_node(self): member in PlatformTest
/third_party/python/Lib/lib2to3/tests/
Dtest_pytree.py73 def test_node(self): member in TestNodes
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs29231 let mut test_node = cur_node.forget_type(); localVariable
29233 match test_node.ascend() {
29242 test_node = parent.forget_type();