Home
last modified time | relevance | path

Searched refs:test_node (Results 1 – 17 of 17) 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/tensorflow/tensorflow/compiler/mlir/tfr/integration/
Dtfr_decompose_ctx_test.cc112 NodeDef test_node; in TEST_F() local
115 .Finalize(&test_node); in TEST_F()
117 auto decomposed = test_ctx_->ExpandNode(test_node, "test"); in TEST_F()
129 NodeDef test_node; in TEST_F() local
132 .Finalize(&test_node); in TEST_F()
134 auto decomposed = test_ctx_->ExpandNode(test_node, "test"); in TEST_F()
148 NodeDef test_node; in TEST_F() local
150 NodeDefBuilder("int_add", "MyAddN").Input(src_list).Finalize(&test_node); in TEST_F()
152 auto decomposed = test_ctx_->ExpandNode(test_node, "test"); in TEST_F()
/external/grpc-grpc/test/core/gpr/
Dmpscq_test.cc32 typedef struct test_node { struct
36 } test_node; argument
38 static test_node* new_node(size_t i, size_t* ctr) { in new_node()
39 test_node* n = static_cast<test_node*>(gpr_malloc(sizeof(test_node))); in new_node()
53 test_node* n = reinterpret_cast<test_node*>(gpr_mpscq_pop(&q)); in test_serial()
99 test_node* tn = reinterpret_cast<test_node*>(n); in test_mt()
136 test_node* tn = reinterpret_cast<test_node*>(n); in pull_thread()
/external/dtc/tests/
Dsubnode_iterate.c21 static void test_node(void *fdt, int parent_offset) in test_node() function
54 test_node(fdt, offset); in check_fdt_next_subnode()
Dproperty_iterate.c21 static void test_node(void *fdt, int parent_offset) in test_node() function
61 test_node(fdt, offset); in check_fdt_next_subnode()
/external/e2fsprogs/tests/m_mmp_bad_csum/
Dexpect2 dumpe2fs: MMP last updated by 'test_node' on test date
21 mmp_node_name: test_node
/external/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c153 int test_node = -1; in setup_node() local
155 if (get_allowed_nodes(NH_MEMS, 1, &test_node) < 0) in setup_node()
160 numa_bitmask_setbit(nodemask, test_node); in setup_node()
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c229 int test_node = -1; in do_test() local
231 ret = get_allowed_nodes(NH_MEMS, 1, &test_node); in do_test()
234 numa_bitmask_setbit(nodemask, test_node); in do_test()
/external/e2fsprogs/tests/
Dfilter.sed36 s/mmp_node_name: .*/mmp_node_name: test_node/
39 s/MMP last updated by '.*' on .*/MMP last updated by 'test_node' on test date/
/external/e2fsprogs/tests/m_mmp_bad_magic/
Dexpect20 mmp_node_name: test_node
/external/e2fsprogs/tests/m_mmp/
Dexpect.155 mmp_node_name: test_node
/external/python/cpython2/Lib/test/
Dtest_platform.py36 def test_node(self): member in PlatformTest
/external/libxml2/
Dvalid.c7042 xmlNode *test_node; in xmlValidGetValidElements() local
7085 test_node = xmlNewDocNode (ref_node->doc, NULL, BAD_CAST "<!dummy?>", NULL); in xmlValidGetValidElements()
7086 if (test_node == NULL) in xmlValidGetValidElements()
7089 test_node->parent = parent; in xmlValidGetValidElements()
7090 test_node->prev = prev; in xmlValidGetValidElements()
7091 test_node->next = next; in xmlValidGetValidElements()
7092 name = test_node->name; in xmlValidGetValidElements()
7094 if (prev) prev->next = test_node; in xmlValidGetValidElements()
7095 else parent->children = test_node; in xmlValidGetValidElements()
7097 if (next) next->prev = test_node; in xmlValidGetValidElements()
[all …]
/external/python/cpython3/Lib/test/
Dtest_platform.py34 def test_node(self): member in PlatformTest
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_pytree.py73 def test_node(self): member in TestNodes
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_pytree.py95 def test_node(self): member in TestNodes