Home
last modified time | relevance | path

Searched refs:test_copy (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c161 struct cil_tree_node *test_copy; in test_cil_copy_block() local
162 cil_tree_node_init(&test_copy); 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()
194 struct cil_tree_node *test_copy; in test_cil_copy_perm() local
195 cil_tree_node_init(&test_copy); 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()
204 rc = cil_copy_perm(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_perm()
207 rc = cil_copy_perm(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_perm()
229 struct cil_tree_node *test_copy; in test_cil_copy_class() local
230 cil_tree_node_init(&test_copy); in test_cil_copy_class()
[all …]
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Dcopy.pass.cpp58 void test_copy() in test_copy() function
95 test_copy<small>(); in main()
96 test_copy<large>(); in main()
/external/libcxx/test/std/experimental/any/any.class/any.cons/
Dcopy.pass.cpp58 void test_copy() in test_copy() function
95 test_copy<small>(); in main()
96 test_copy<large>(); in main()
/external/clang/test/SemaCXX/
Dconstant-expression-cxx1y.cpp691 constexpr bool test_copy(const char *str, int n) { in test_copy() function
699 static_assert(test_copy("foo", 0), "");
700 static_assert(test_copy("foo", 1), "");
701 static_assert(test_copy("foo", 2), "");
702 static_assert(test_copy("hello world", 0), "");
703 static_assert(test_copy("hello world", 7), "");
704 static_assert(test_copy("hello world", 8), "");
705 static_assert(test_copy("hello world", 9), "");
706 static_assert(test_copy("hello world", 10), "");
707 static_assert(test_copy("hello world", 10), "");