Home
last modified time | relevance | path

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

12

/aosp_15_r20/system/core/property_service/libpropertyinfoserializer/
H A Dtrie_builder_test.cpp54 auto* test_node = builder_root.FindChild("test"); in TEST() local
55 EXPECT_EQ("test", test_node->name()); in TEST()
56 ASSERT_NE(nullptr, test_node->context()); in TEST()
57 EXPECT_EQ("1st", *test_node->context()); in TEST()
58 ASSERT_NE(nullptr, test_node->type()); in TEST()
59 EXPECT_EQ("1st_type", *test_node->type()); in TEST()
61 EXPECT_EQ(0U, test_node->children().size()); in TEST()
62 EXPECT_EQ(1U, test_node->prefixes().size()); in TEST()
64 auto& property_entry = test_node->prefixes()[0]; in TEST()
71 EXPECT_EQ(3U, test_node->exact_matches().size()); in TEST()
[all …]
H A Dproperty_info_serializer_test.cpp57 TrieNode test_node; in TEST() local
58 ASSERT_TRUE(root_node.FindChildForString("test", 4, &test_node)); in TEST()
60 EXPECT_STREQ("test", test_node.name()); in TEST()
61 EXPECT_STREQ("1st", property_info_area->context(test_node.context_index())); in TEST()
62 EXPECT_STREQ("1st", property_info_area->type(test_node.type_index())); in TEST()
64 EXPECT_EQ(0U, test_node.num_child_nodes()); in TEST()
66 EXPECT_EQ(1U, test_node.num_prefixes()); in TEST()
68 auto prefix = test_node.prefix(0); in TEST()
75 EXPECT_EQ(3U, test_node.num_exact_matches()); in TEST()
77 auto match1 = test_node.exact_match(0); in TEST()
[all …]
/aosp_15_r20/external/selinux/libsepol/cil/test/unit/
H A 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 …]
H A 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 …]
/aosp_15_r20/external/grpc-grpc/test/core/gprpp/
H A Dmpscq_test.cc38 typedef struct test_node { struct
42 } test_node; typedef
44 static test_node* new_node(size_t i, size_t* ctr) { in new_node()
45 test_node* n = new test_node(); in new_node()
58 test_node* n = reinterpret_cast<test_node*>(q.Pop()); in TEST()
103 test_node* tn = reinterpret_cast<test_node*>(n); in TEST()
139 test_node* tn = reinterpret_cast<test_node*>(n); in pull_thread()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tfr/integration/
H A 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()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/collections/btree/
H A Dappend.rs51 let mut test_node = cur_node.forget_type(); in bulk_push() localVariable
53 match test_node.ascend() { in bulk_push()
62 test_node = parent.forget_type(); in bulk_push()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/collections/btree/
H A Dappend.rs51 let mut test_node = cur_node.forget_type(); in bulk_push() localVariable
53 match test_node.ascend() { in bulk_push()
62 test_node = parent.forget_type(); in bulk_push()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/collections/btree/
H A Dappend.rs51 let mut test_node = cur_node.forget_type(); in bulk_push() localVariable
53 match test_node.ascend() { in bulk_push()
62 test_node = parent.forget_type(); in bulk_push()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/collections/btree/
H A Dappend.rs51 let mut test_node = cur_node.forget_type(); in bulk_push() localVariable
53 match test_node.ascend() { in bulk_push()
62 test_node = parent.forget_type(); in bulk_push()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/collections/btree/
H A Dappend.rs51 let mut test_node = cur_node.forget_type(); in bulk_push() localVariable
53 match test_node.ascend() { in bulk_push()
62 test_node = parent.forget_type(); in bulk_push()
/aosp_15_r20/external/e2fsprogs/tests/
H A Dfilter.sed37 s/mmp_node_name: .*/mmp_node_name: test_node/
40 s/MMP last updated by '.*' on .*/MMP last updated by 'test_node' on test date/
41 s/MMP update by '.*' at .*/MMP last updated by 'test_node' on test date/
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/mbind/
H A 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()
/aosp_15_r20/external/dtc/tests/
H A 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()
H A 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()
/aosp_15_r20/external/e2fsprogs/tests/m_mmp_bad_csum/
H A Dexpect2 dumpe2fs: MMP last updated by 'test_node' on test date
21 mmp_node_name: test_node
/aosp_15_r20/trusty/user/base/app/device_tree/tests/dtb/
Dtest.dts32 test_node {
34 compatible = "google,test_node";
/aosp_15_r20/external/coreboot/src/vendorcode/cavium/bdk/libbdk-dram/
H A Dbdk-dram-test.c172 bdk_node_t test_node = bdk_numa_local(); in dram_test_thread() local
174 test_node ^= 1; in dram_test_thread()
176 start_address = bdk_numa_get_address(test_node, start_address); in dram_test_thread()
177 end_address = bdk_numa_get_address(test_node, end_address); in dram_test_thread()
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/group/
Dproposal_cache.rs735 let test_node = get_basic_test_node(TEST_CIPHER_SUITE, name).await; in add_member() localVariable
738 vec![test_node], in add_member()
808 let test_node = get_basic_test_node(cipher_suite, "charlie").await; in test_proposals() localVariable
812 vec![test_node], in test_proposals()
1308 async fn test_node() -> LeafNode { in test_node() function
1380 Some(&test_node().await), in proposal_cache_rejects_proposals_by_ref_for_new_member()
1413 Some(&test_node().await), in proposal_cache_rejects_multiple_external_init_proposals_in_commit()
1447 Some(&test_node().await), in new_member_commits_proposal()
1514 Some(&test_node().await), in new_member_cannot_commit_more_than_one_remove_proposal()
1563 Some(&test_node().await), in new_member_remove_proposal_invalid_credential()
[all …]
/aosp_15_r20/external/libxml2/
H A Dvalid.c6811 xmlNode *test_node; in xmlValidGetValidElements() local
6854 test_node = xmlNewDocNode (ref_node->doc, NULL, BAD_CAST "<!dummy?>", NULL); in xmlValidGetValidElements()
6855 if (test_node == NULL) in xmlValidGetValidElements()
6858 test_node->parent = parent; in xmlValidGetValidElements()
6859 test_node->prev = prev; in xmlValidGetValidElements()
6860 test_node->next = next; in xmlValidGetValidElements()
6861 name = test_node->name; in xmlValidGetValidElements()
6863 if (prev) prev->next = test_node; in xmlValidGetValidElements()
6864 else parent->children = test_node; in xmlValidGetValidElements()
6866 if (next) next->prev = test_node; in xmlValidGetValidElements()
[all …]
/aosp_15_r20/external/cronet/third_party/libxml/src/
H A Dvalid.c6784 xmlNode *test_node; in xmlValidGetValidElements() local
6827 test_node = xmlNewDocNode (ref_node->doc, NULL, BAD_CAST "<!dummy?>", NULL); in xmlValidGetValidElements()
6828 if (test_node == NULL) in xmlValidGetValidElements()
6831 test_node->parent = parent; in xmlValidGetValidElements()
6832 test_node->prev = prev; in xmlValidGetValidElements()
6833 test_node->next = next; in xmlValidGetValidElements()
6834 name = test_node->name; in xmlValidGetValidElements()
6836 if (prev) prev->next = test_node; in xmlValidGetValidElements()
6837 else parent->children = test_node; in xmlValidGetValidElements()
6839 if (next) next->prev = test_node; in xmlValidGetValidElements()
[all …]
/aosp_15_r20/external/e2fsprogs/tests/m_mmp_bad_magic/
H A Dexpect20 mmp_node_name: test_node
/aosp_15_r20/external/e2fsprogs/tests/m_mmp/
H A Dexpect.158 mmp_node_name: test_node
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_platform.py36 def test_node(self): member in PlatformTest
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DUUIDTest.java168 public void test_node() { in test_node() method in UUIDTest

12