/aosp_15_r20/external/selinux/libsepol/cil/test/unit/ |
H A D | test_cil_build_ast.c | 63 void test_cil_parse_to_list(CuTest *tc) { in test_cil_parse_to_list() 94 void test_cil_parse_to_list_currnull_neg(CuTest *tc) { in test_cil_parse_to_list_currnull_neg() 125 void test_cil_parse_to_list_listnull_neg(CuTest *tc) { in test_cil_parse_to_list_listnull_neg() 154 void test_cil_set_to_list(CuTest *tc) { in test_cil_set_to_list() 173 void test_cil_set_to_list_tree_node_null_neg(CuTest *tc) { in test_cil_set_to_list_tree_node_null_neg() 180 void test_cil_set_to_list_cl_head_null_neg(CuTest *tc) { in test_cil_set_to_list_cl_head_null_neg() 195 void test_cil_set_to_list_listnull_neg(CuTest *tc) { in test_cil_set_to_list_listnull_neg() 206 void test_cil_gen_block(CuTest *tc) { in test_cil_gen_block() 228 void test_cil_gen_block_justblock_neg(CuTest *tc) { in test_cil_gen_block_justblock_neg() 247 void test_cil_gen_block_noname_neg(CuTest *tc) { in test_cil_gen_block_noname_neg() [all …]
|
H A D | test_cil_resolve_ast.c | 66 void test_cil_resolve_name(CuTest *tc) { in test_cil_resolve_name() 90 void test_cil_resolve_name_invalid_type_neg(CuTest *tc) { in test_cil_resolve_name_invalid_type_neg() 114 void test_cil_resolve_ast_curr_null_neg(CuTest *tc) { in test_cil_resolve_ast_curr_null_neg() 129 void test_cil_resolve_roleallow(CuTest *tc) { in test_cil_resolve_roleallow() 149 void test_cil_resolve_roleallow_srcdecl_neg(CuTest *tc) { in test_cil_resolve_roleallow_srcdecl_neg() 169 void test_cil_resolve_roleallow_tgtdecl_neg(CuTest *tc) { in test_cil_resolve_roleallow_tgtdecl_neg() 188 void test_cil_resolve_classmapping_anon(CuTest *tc) { in test_cil_resolve_classmapping_anon() 208 void test_cil_resolve_classmapping_anon_inmacro(CuTest *tc) { in test_cil_resolve_classmapping_anon_inmacro() 243 void test_cil_resolve_classmapping_anon_inmacro_neg(CuTest *tc) { in test_cil_resolve_classmapping_anon_inmacro_neg() 278 void test_cil_resolve_classmapping_named(CuTest *tc) { in test_cil_resolve_classmapping_named() [all …]
|
H A D | test_cil_post.c | 39 void test_cil_post_filecon_compare_meta_a_not_b(CuTest *tc) { in test_cil_post_filecon_compare_meta_a_not_b() 57 void test_cil_post_filecon_compare_meta_b_not_a(CuTest *tc) { in test_cil_post_filecon_compare_meta_b_not_a() 75 void test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b(CuTest *tc) { in test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b() 93 void test_cil_post_filecon_compare_type_atype_greater_btype(CuTest *tc) { in test_cil_post_filecon_compare_type_atype_greater_btype() 112 void test_cil_post_filecon_compare_type_btype_greater_atype(CuTest *tc) { in test_cil_post_filecon_compare_type_btype_greater_atype() 132 void test_cil_post_filecon_compare_meta_a_and_b_strlen_b_greater_a(CuTest *tc) { in test_cil_post_filecon_compare_meta_a_and_b_strlen_b_greater_a() 150 void test_cil_post_filecon_compare_stemlen_a_greater_b(CuTest *tc) { in test_cil_post_filecon_compare_stemlen_a_greater_b() 168 void test_cil_post_filecon_compare_stemlen_b_greater_a(CuTest *tc) { in test_cil_post_filecon_compare_stemlen_b_greater_a() 186 void test_cil_post_filecon_compare_equal(CuTest *tc) { in test_cil_post_filecon_compare_equal() 206 void test_cil_post_portcon_compare_atotal_greater_btotal(CuTest *tc) { in test_cil_post_portcon_compare_atotal_greater_btotal() [all …]
|
H A D | test_cil_copy_ast.c | 56 void test_cil_copy_list(CuTest *tc) { in test_cil_copy_list() 78 void test_cil_copy_list_sublist(CuTest *tc) { in test_cil_copy_list_sublist() 102 void test_cil_copy_list_sublist_extra(CuTest *tc) { in test_cil_copy_list_sublist_extra() 128 void test_cil_copy_list_orignull_neg(CuTest *tc) { in test_cil_copy_list_orignull_neg() 144 void test_cil_copy_block(CuTest *tc) { in test_cil_copy_block() 171 void test_cil_copy_perm(CuTest *tc) { in test_cil_copy_perm() 212 void test_cil_copy_class(CuTest *tc) { in test_cil_copy_class() 239 void test_cil_copy_common(CuTest *tc) { in test_cil_copy_common() 266 void test_cil_copy_classcommon(CuTest *tc) { in test_cil_copy_classcommon() 304 void test_cil_copy_sid(CuTest *tc) { in test_cil_copy_sid() [all …]
|
H A D | CuTest.h | 99 #define CuFail(tc, ms) CuFail_Line( (tc), __FILE__, __LINE__, NULL, (ms)) argument 100 #define CuAssert(tc, ms, cond) CuAssert_Line((tc), __FILE__, __LINE__, (ms), (cond)) argument 101 #define CuAssertTrue(tc, cond) CuAssert_Line((tc), __FILE__, __LINE__, "assert faile… argument 103 #define CuAssertStrEquals(tc,ex,ac) CuAssertStrEquals_LineMsg((tc),__FILE__,__LINE__,NULL… argument 104 #define CuAssertStrEquals_Msg(tc,ms,ex,ac) CuAssertStrEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument 105 #define CuAssertIntEquals(tc,ex,ac) CuAssertIntEquals_LineMsg((tc),__FILE__,__LINE__,NULL… argument 106 #define CuAssertIntEquals_Msg(tc,ms,ex,ac) CuAssertIntEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument 107 #define CuAssertDblEquals(tc,ex,ac,dl) CuAssertDblEquals_LineMsg((tc),__FILE__,__LINE__,NULL… argument 108 #define CuAssertDblEquals_Msg(tc,ms,ex,ac,dl) CuAssertDblEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument 109 #define CuAssertPtrEquals(tc,ex,ac) CuAssertPtrEquals_LineMsg((tc),__FILE__,__LINE__,NULL… argument [all …]
|
/aosp_15_r20/external/libnl/lib/route/ |
H A D | tc.c | 62 int rtnl_tc_msg_parse(struct nlmsghdr *n, struct rtnl_tc *tc) in rtnl_tc_msg_parse() 199 int rtnl_tc_msg_build(struct rtnl_tc *tc, int type, int flags, in rtnl_tc_msg_build() 277 void rtnl_tc_set_ifindex(struct rtnl_tc *tc, int ifindex) in rtnl_tc_set_ifindex() 292 int rtnl_tc_get_ifindex(struct rtnl_tc *tc) in rtnl_tc_get_ifindex() 309 void rtnl_tc_set_link(struct rtnl_tc *tc, struct rtnl_link *link) in rtnl_tc_set_link() 340 struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *tc) in rtnl_tc_get_link() 363 void rtnl_tc_set_mtu(struct rtnl_tc *tc, uint32_t mtu) in rtnl_tc_set_mtu() 378 uint32_t rtnl_tc_get_mtu(struct rtnl_tc *tc) in rtnl_tc_get_mtu() 398 void rtnl_tc_set_mpu(struct rtnl_tc *tc, uint32_t mpu) in rtnl_tc_set_mpu() 410 uint32_t rtnl_tc_get_mpu(struct rtnl_tc *tc) in rtnl_tc_get_mpu() [all …]
|
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/test/ |
H A D | testfile.c | 35 static void test_open_noreadwrite(abts_case *tc, void *data) in test_open_noreadwrite() 48 static void test_open_excl(abts_case *tc, void *data) in test_open_excl() 61 static void test_open_read(abts_case *tc, void *data) in test_open_read() 74 static void link_existing(abts_case *tc, void *data) in link_existing() 83 static void link_nonexisting(abts_case *tc, void *data) in link_nonexisting() 91 static void test_read(abts_case *tc, void *data) in test_read() 111 static void test_readzero(abts_case *tc, void *data) in test_readzero() 128 static void test_filename(abts_case *tc, void *data) in test_filename() 146 static void test_fileclose(abts_case *tc, void *data) in test_fileclose() 165 static void test_file_remove(abts_case *tc, void *data) in test_file_remove() [all …]
|
H A D | testpoll.c | 51 apr_port_t port, apr_pool_t *p, abts_case *tc) in make_socket() 68 abts_case *tc) in check_sockets() 90 abts_case *tc) in send_msg() 103 abts_case *tc) in recv_msg() 121 static void create_all_sockets(abts_case *tc, void *data) in create_all_sockets() 131 static void setup_small_poll(abts_case *tc, void *data) in setup_small_poll() 149 static void setup_large_poll(abts_case *tc, void *data) in setup_large_poll() 167 static void nomessage(abts_case *tc, void *data) in nomessage() 179 static void send_2(abts_case *tc, void *data) in send_2() 193 static void recv_2_send_1(abts_case *tc, void *data) in recv_2_send_1() [all …]
|
H A D | testatomic.c | 37 static void test_init(abts_case *tc, void *data) in test_init() 42 static void test_set32(abts_case *tc, void *data) in test_set32() 49 static void test_read32(abts_case *tc, void *data) in test_read32() 56 static void test_dec32(abts_case *tc, void *data) in test_dec32() 72 static void test_xchg32(abts_case *tc, void *data) in test_xchg32() 84 static void test_xchgptr(abts_case *tc, void *data) in test_xchgptr() 96 static void test_cas_equal(abts_case *tc, void *data) in test_cas_equal() 106 static void test_cas_equal_nonnull(abts_case *tc, void *data) in test_cas_equal_nonnull() 116 static void test_cas_notequal(abts_case *tc, void *data) in test_cas_notequal() 126 static void test_casptr_equal(abts_case *tc, void *data) in test_casptr_equal() [all …]
|
H A D | testnames.c | 38 static void merge_aboveroot(abts_case *tc, void *data) in merge_aboveroot() 52 static void merge_belowroot(abts_case *tc, void *data) in merge_belowroot() 64 static void merge_noflag(abts_case *tc, void *data) in merge_noflag() 75 static void merge_dotdot(abts_case *tc, void *data) in merge_dotdot() 99 static void merge_dotdot_dotdot_dotdot(abts_case *tc, void *data) in merge_dotdot_dotdot_dotdot() 117 static void merge_secure(abts_case *tc, void *data) in merge_secure() 128 static void merge_notrel(abts_case *tc, void *data) in merge_notrel() 140 static void merge_notrelfail(abts_case *tc, void *data) in merge_notrelfail() 155 static void merge_notabsfail(abts_case *tc, void *data) in merge_notabsfail() 170 static void merge_notabs(abts_case *tc, void *data) in merge_notabs() [all …]
|
H A D | testhash.c | 79 static void hash_make(abts_case *tc, void *data) in hash_make() 87 static void hash_set(abts_case *tc, void *data) in hash_set() 100 static void hash_reset(abts_case *tc, void *data) in hash_reset() 117 static void same_value(abts_case *tc, void *data) in same_value() 144 static void same_value_custom(abts_case *tc, void *data) in same_value_custom() 161 static void key_space(abts_case *tc, void *data) in key_space() 174 static void hash_clear(abts_case *tc, void *data) in hash_clear() 196 static void hash_traverse(abts_case *tc, void *data) in hash_traverse() 230 static void summation_test(abts_case *tc, void *data) in summation_test() 261 static void delete_key(abts_case *tc, void *data) in delete_key() [all …]
|
H A D | testdir.c | 28 static void test_mkdir(abts_case *tc, void *data) in test_mkdir() 41 static void test_mkdir_recurs(abts_case *tc, void *data) in test_mkdir_recurs() 65 abts_case *tc; member 98 static void test_mkdir_recurs_parallel(abts_case *tc, void *data) in test_mkdir_recurs_parallel() 130 static void test_remove(abts_case *tc, void *data) in test_remove() 142 static void test_removeall_fail(abts_case *tc, void *data) in test_removeall_fail() 150 static void test_removeall(abts_case *tc, void *data) in test_removeall() 230 static void test_remove_notthere(abts_case *tc, void *data) in test_remove_notthere() 238 static void test_mkdir_twice(abts_case *tc, void *data) in test_mkdir_twice() 252 static void test_opendir(abts_case *tc, void *data) in test_opendir() [all …]
|
H A D | testtable.c | 36 static void array_clear(abts_case *tc, void *data) in array_clear() 45 static void table_make(abts_case *tc, void *data) in table_make() 51 static void table_get(abts_case *tc, void *data) in table_get() 60 static void table_getm(abts_case *tc, void *data) in table_getm() 79 static void table_set(abts_case *tc, void *data) in table_set() 89 static void table_getnotthere(abts_case *tc, void *data) in table_getnotthere() 97 static void table_add(abts_case *tc, void *data) in table_add() 108 static void table_nelts(abts_case *tc, void *data) in table_nelts() 125 static void table_clear(abts_case *tc, void *data) in table_clear() 131 static void table_unset(abts_case *tc, void *data) in table_unset() [all …]
|
H A D | testcond.c | 36 abts_case *tc; member 48 static void lost_signal(abts_case *tc, void *data) in lost_signal() 107 abts_case *tc = box->tc; in lock_and_signal() local 119 static void dynamic_binding(abts_case *tc, void *data) in dynamic_binding() 183 abts_case *tc = box->tc; in lock_and_wait() local 200 static void broadcast_threads(abts_case *tc, void *data) in broadcast_threads() 264 abts_case *tc = box->tc; in nested_lock_and_wait() local 282 abts_case *tc = box->tc; in nested_lock_and_unlock() local 303 static void nested_wait(abts_case *tc, void *data) in nested_wait() 358 abts_case *tc = box->tc; in pipe_consumer() local [all …]
|
H A D | testtime.c | 55 static void test_now(abts_case *tc, void *data) in test_now() 73 static void test_gmtstr(abts_case *tc, void *data) in test_gmtstr() 87 static void test_exp_lt(abts_case *tc, void *data) in test_exp_lt() 123 static void test_exp_get_gmt(abts_case *tc, void *data) in test_exp_get_gmt() 141 static void test_exp_get_lt(abts_case *tc, void *data) in test_exp_get_lt() 159 static void test_imp_gmt(abts_case *tc, void *data) in test_imp_gmt() 175 static void test_rfcstr(abts_case *tc, void *data) in test_rfcstr() 188 static void test_ctime(abts_case *tc, void *data) in test_ctime() 207 static void test_strftime(abts_case *tc, void *data) in test_strftime() 224 static void test_strftimesmall(abts_case *tc, void *data) in test_strftimesmall() [all …]
|
H A D | teststr.c | 35 static void test_strtok(abts_case *tc, void *data) in test_strtok() 96 static void snprintf_noNULL(abts_case *tc, void *data) in snprintf_noNULL() 114 static void snprintf_0NULL(abts_case *tc, void *data) in snprintf_0NULL() 122 static void snprintf_0nonNULL(abts_case *tc, void *data) in snprintf_0nonNULL() 132 static void snprintf_underflow(abts_case *tc, void *data) in snprintf_underflow() 150 static void string_error(abts_case *tc, void *data) in string_error() 171 static void string_long(abts_case *tc, void *data) in string_long() 185 static void string_strtoi64(abts_case *tc, void *data) in string_strtoi64() 277 static void string_strtoff(abts_case *tc, void *data) in string_strtoff() 292 static void overflow_strfsize(abts_case *tc, void *data) in overflow_strfsize() [all …]
|
H A D | testsock.c | 29 static void launch_child(abts_case *tc, apr_proc_t *proc, const char *arg1, apr_pool_t *p) in launch_child() 56 static int wait_child(abts_case *tc, apr_proc_t *proc) in wait_child() 68 static void test_addr_info(abts_case *tc, void *data) in test_addr_info() 94 static void test_serv_by_name(abts_case *tc, void *data) in test_serv_by_name() 114 static apr_socket_t *setup_socket(abts_case *tc) in setup_socket() 139 static void test_create_bind_listen(abts_case *tc, void *data) in test_create_bind_listen() 150 static void test_send(abts_case *tc, void *data) in test_send() 182 static void test_recv(abts_case *tc, void *data) in test_recv() 216 static void test_atreadeof(abts_case *tc, void *data) in test_atreadeof() 277 static void test_timeout(abts_case *tc, void *data) in test_timeout() [all …]
|
H A D | testskiplist.c | 58 static int skiplist_get_size(abts_case *tc, apr_skiplist *sl) in skiplist_get_size() 68 static void skiplist_init(abts_case *tc, void *data) in skiplist_init() 79 static void skiplist_find(abts_case *tc, void *data) in skiplist_find() 89 static void skiplist_dontfind(abts_case *tc, void *data) in skiplist_dontfind() 97 static void skiplist_insert(abts_case *tc, void *data) in skiplist_insert() 123 static void skiplist_add(abts_case *tc, void *data) in skiplist_add() 159 static void skiplist_destroy(abts_case *tc, void *data) in skiplist_destroy() 165 static void skiplist_size(abts_case *tc, void *data) in skiplist_size() 188 static void skiplist_remove(abts_case *tc, void *data) in skiplist_remove() 228 static void skiplist_random_loop(abts_case *tc, void *data) in skiplist_random_loop() [all …]
|
H A D | testmmap.c | 31 static void not_implemented(abts_case *tc, void *data) in not_implemented() 45 static void create_filename(abts_case *tc, void *data) in create_filename() 64 static void test_file_close(abts_case *tc, void *data) in test_file_close() 72 static void read_expected_contents(abts_case *tc, void *data) in read_expected_contents() 83 static void test_file_open(abts_case *tc, void *data) in test_file_open() 92 static void test_get_filesize(abts_case *tc, void *data) in test_get_filesize() 101 static void test_mmap_create(abts_case *tc, void *data) in test_mmap_create() 111 static void test_mmap_contents(abts_case *tc, void *data) in test_mmap_contents() 122 static void test_mmap_delete(abts_case *tc, void *data) in test_mmap_delete() 131 static void test_mmap_offset(abts_case *tc, void *data) in test_mmap_offset()
|
/aosp_15_r20/frameworks/libs/binary_translation/runtime_primitives/ |
D | translation_cache_test.cc | 37 TranslationCache tc; in TEST() local 47 TranslationCache tc; in TEST() local 62 TranslationCache tc; in TEST() local 96 TranslationCache tc; in TEST() local 125 void TestWrappingWorker(TranslationCache* tc, GuestAddr pc) { in TestWrappingWorker() 155 void TestTranslationWorker(TranslationCache* tc, GuestAddr pc) { in TestTranslationWorker() 183 TranslationCache tc; in TranslationCacheTestRunThreads() local 210 TranslationCache tc; in TEST() local 225 TranslationCache tc; in TEST() local 244 TranslationCache tc; in TEST() local [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_threaded_context.c | 85 tc_debug_check(struct threaded_context *tc) in tc_debug_check() 94 tc_set_driver_thread(struct threaded_context *tc) in tc_set_driver_thread() 102 tc_clear_driver_thread(struct threaded_context *tc) in tc_clear_driver_thread() 127 tc_sanitize_renderpass_info(struct threaded_context *tc) in tc_sanitize_renderpass_info() 143 tc_batch_renderpass_infos_resize(struct threaded_context *tc, struct tc_batch *batch) in tc_batch_renderpass_infos_resize() 178 tc_signal_renderpass_info_ready(struct threaded_context *tc) in tc_signal_renderpass_info_ready() 189 tc_batch_increment_renderpass_info(struct threaded_context *tc, unsigned batch_idx, bool full_copy) in tc_batch_increment_renderpass_info() 253 tc_get_renderpass_info(struct threaded_context *tc) in tc_get_renderpass_info() 260 tc_parse_draw(struct threaded_context *tc) in tc_parse_draw() 299 tc_set_resource_batch_usage(struct threaded_context *tc, struct pipe_resource *pres) in tc_set_resource_batch_usage() [all …]
|
/aosp_15_r20/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
H A D | PaneLayout.java | 120 public void readConfig(TestingCamera21 tc, XmlPullParser configParser) in readConfig() 154 public void addPane(TestingCamera21 tc) { in addPane() 175 protected abstract T createControlPane(TestingCamera21 tc, AttributeSet attrs); in createControlPane() 177 protected abstract T readControlPane(TestingCamera21 tc, XmlPullParser configParser) in readControlPane() 187 protected TargetControlPane createControlPane(TestingCamera21 tc, AttributeSet attrs) { in createControlPane() 191 protected TargetControlPane readControlPane(TestingCamera21 tc, XmlPullParser configParser) in readControlPane() 204 protected CameraControlPane createControlPane(TestingCamera21 tc, AttributeSet attrs) { in createControlPane() 208 protected CameraControlPane readControlPane(TestingCamera21 tc, XmlPullParser configParser) in readControlPane() 221 protected RequestControlPane createControlPane(TestingCamera21 tc, AttributeSet attrs) { in createControlPane() 225 protected RequestControlPane readControlPane(TestingCamera21 tc, XmlPullParser configParser) in readControlPane() [all …]
|
/aosp_15_r20/external/angle/third_party/spirv-tools/src/test/opt/ |
H A D | fold_test.cpp | 189 const auto& tc = GetParam(); in TEST_P() local 1121 const auto& tc = GetParam(); in TEST_P() local 1283 const auto& tc = GetParam(); in TEST_P() local 1367 const auto& tc = GetParam(); in TEST_P() local 1421 const auto& tc = GetParam(); in TEST_P() local 1466 const auto& tc = GetParam(); in TEST_P() local 1567 const auto& tc = GetParam(); in TEST_P() local 1682 const auto& tc = GetParam(); in TEST_P() local 1751 const auto& tc = GetParam(); in TEST_P() local 2343 const auto& tc = GetParam(); in TEST_P() local [all …]
|
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | fold_test.cpp | 189 const auto& tc = GetParam(); in TEST_P() local 1113 const auto& tc = GetParam(); in TEST_P() local 1275 const auto& tc = GetParam(); in TEST_P() local 1359 const auto& tc = GetParam(); in TEST_P() local 1413 const auto& tc = GetParam(); in TEST_P() local 1458 const auto& tc = GetParam(); in TEST_P() local 1559 const auto& tc = GetParam(); in TEST_P() local 1674 const auto& tc = GetParam(); in TEST_P() local 1743 const auto& tc = GetParam(); in TEST_P() local 2335 const auto& tc = GetParam(); in TEST_P() local [all …]
|
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | fold_test.cpp | 189 const auto& tc = GetParam(); in TEST_P() local 1113 const auto& tc = GetParam(); in TEST_P() local 1275 const auto& tc = GetParam(); in TEST_P() local 1359 const auto& tc = GetParam(); in TEST_P() local 1413 const auto& tc = GetParam(); in TEST_P() local 1458 const auto& tc = GetParam(); in TEST_P() local 1559 const auto& tc = GetParam(); in TEST_P() local 1674 const auto& tc = GetParam(); in TEST_P() local 1743 const auto& tc = GetParam(); in TEST_P() local 2335 const auto& tc = GetParam(); in TEST_P() local [all …]
|