/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_resolve_ast.c | 74 struct cil_db *test_db; in test_cil_resolve_name() local 75 cil_db_init(&test_db); in test_cil_resolve_name() 78 …struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NU… in test_cil_resolve_name() 80 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_name() 82 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head; in test_cil_resolve_name() 98 struct cil_db *test_db; in test_cil_resolve_name_invalid_type_neg() local 99 cil_db_init(&test_db); in test_cil_resolve_name_invalid_type_neg() 102 …struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NU… in test_cil_resolve_name_invalid_type_neg() 104 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_name_invalid_type_neg() 106 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head; in test_cil_resolve_name_invalid_type_neg() [all …]
|
D | test_cil_build_ast.c | 215 struct cil_db *test_db; in test_cil_gen_block() local 216 cil_db_init(&test_db); in test_cil_gen_block() 218 test_ast_node->parent = test_db->ast->root; in test_cil_gen_block() 221 int rc = cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0); in test_cil_gen_block() 237 struct cil_db *test_db; in test_cil_gen_block_justblock_neg() local 238 cil_db_init(&test_db); in test_cil_gen_block_justblock_neg() 240 test_ast_node->parent = test_db->ast->root; in test_cil_gen_block_justblock_neg() 243 int rc = cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0); in test_cil_gen_block_justblock_neg() 256 struct cil_db *test_db; in test_cil_gen_block_noname_neg() local 257 cil_db_init(&test_db); in test_cil_gen_block_noname_neg() [all …]
|
D | test_cil_copy_ast.c | 153 struct cil_db *test_db; in test_cil_copy_block() local 154 cil_db_init(&test_db); in test_cil_copy_block() 156 test_ast_node->parent = test_db->ast->root; in test_cil_copy_block() 159 cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0); in test_cil_copy_block() 167 int rc = cil_copy_block(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_block() 180 struct cil_db *test_db; in test_cil_copy_perm() local 181 cil_db_init(&test_db); in test_cil_copy_perm() 200 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head, test_ast_node); in test_cil_copy_perm() 201 int rc = cil_copy_perm(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_perm() 203 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head->next, test_ast_node); in test_cil_copy_perm() [all …]
|
D | test_cil.c | 49 struct cil_db *test_db; in test_cil_db_init() local 51 cil_db_init(&test_db); in test_cil_db_init() 53 CuAssertPtrNotNull(tc, test_db->ast); in test_cil_db_init() 54 CuAssertPtrNotNull(tc, test_db->symtab); in test_cil_db_init() 55 CuAssertPtrNotNull(tc, test_db->symtab); in test_cil_db_init() 66 struct cil_db *test_db; in test_cil_get_symtab_block() local 67 cil_db_init(&test_db); in test_cil_get_symtab_block() 69 test_ast_node->parent = test_db->ast->root; in test_cil_get_symtab_block() 73 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_block() 84 struct cil_db *test_db; in test_cil_get_symtab_class() local [all …]
|
D | test_cil_list.c | 57 struct cil_db *test_db; in test_cil_list_append_item() local 58 cil_db_init(&test_db); in test_cil_list_append_item() 60 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item() 85 struct cil_db *test_db; in test_cil_list_append_item_append() local 86 cil_db_init(&test_db); in test_cil_list_append_item_append() 88 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_append() 121 struct cil_db *test_db; in test_cil_list_append_item_append_extra() local 122 cil_db_init(&test_db); in test_cil_list_append_item_append_extra() 124 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_append_extra() 163 struct cil_db *test_db; in test_cil_list_append_item_listnull_neg() local [all …]
|
D | test_cil_fqn.c | 52 struct cil_db *test_db; in test_cil_qualify_name() local 53 cil_db_init(&test_db); in test_cil_qualify_name() 55 cil_build_ast(test_db, tree->root, test_db->ast->root); in test_cil_qualify_name() 57 int rc = cil_fqn_qualify(test_db->ast->root); in test_cil_qualify_name() 68 struct cil_db *test_db; in test_cil_qualify_name_cil_flavor() local 69 cil_db_init(&test_db); in test_cil_qualify_name_cil_flavor() 71 cil_build_ast(test_db, tree->root, test_db->ast->root); in test_cil_qualify_name_cil_flavor() 73 int rc = cil_fqn_qualify(test_db->ast->root); in test_cil_qualify_name_cil_flavor()
|
D | test_cil_symtab.c | 47 struct cil_db *test_db; in test_cil_symtab_insert() local 48 cil_db_init(&test_db); in test_cil_symtab_insert() 50 test_ast_node->parent = test_db->ast->root; in test_cil_symtab_insert() 57 cil_get_symtab(test_db, test_ast_node->parent, &test_symtab, CIL_SYM_BLOCKS); in test_cil_symtab_insert()
|
D | test_cil_parser.c | 47 struct cil_db *test_db; in test_cil_parser() local 48 cil_db_init(&test_db); in test_cil_parser()
|
/external/cronet/stable/net/ssl/ |
D | client_cert_store_nss_unittest.cc | 118 crypto::ScopedTestNSSDB test_db; in TEST_P() local 120 GetTestCertsDirectory(), "client_1.pem", "client_1.pk8", test_db.slot())); in TEST_P() 125 ASSERT_TRUE(ImportClientCertToSlot(client_1_ca, test_db.slot())); in TEST_P() 210 crypto::ScopedTestNSSDB test_db; in TEST_P() local 215 certs_dir, "v3_certificate_template.pk8", test_db.slot())); in TEST_P() 235 ASSERT_TRUE(ImportClientCertToSlot(cert.get(), test_db.slot())); in TEST_P()
|
D | ssl_platform_key_nss_unittest.cc | 60 crypto::ScopedTestNSSDB test_db; in TEST_P() local 64 test_db.slot(), &nss_cert); in TEST_P()
|
/external/cronet/tot/net/ssl/ |
D | client_cert_store_nss_unittest.cc | 118 crypto::ScopedTestNSSDB test_db; in TEST_P() local 120 GetTestCertsDirectory(), "client_1.pem", "client_1.pk8", test_db.slot())); in TEST_P() 125 ASSERT_TRUE(ImportClientCertToSlot(client_1_ca, test_db.slot())); in TEST_P() 210 crypto::ScopedTestNSSDB test_db; in TEST_P() local 215 certs_dir, "v3_certificate_template.pk8", test_db.slot())); in TEST_P() 235 ASSERT_TRUE(ImportClientCertToSlot(cert.get(), test_db.slot())); in TEST_P()
|
D | ssl_platform_key_nss_unittest.cc | 60 crypto::ScopedTestNSSDB test_db; in TEST_P() local 64 test_db.slot(), &nss_cert); in TEST_P()
|
/external/googleapis/google/spanner/admin/database/v1/ |
D | backup.proto | 466 // `(metadata.database:test_db)) OR` \ 474 // "test_db"
|