/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_post.c | 53 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_meta_a_not_b() local 71 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_meta_b_not_a() local 89 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b() local 108 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_type_atype_greater_btype() local 128 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_type_btype_greater_atype() local 146 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_meta_a_and_b_strlen_b_greater_a() local 164 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_stemlen_a_greater_b() local 182 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_stemlen_b_greater_a() local 202 int rc = cil_post_filecon_compare(&afilecon, &bfilecon); in test_cil_post_filecon_compare_equal() local 219 int rc = cil_post_portcon_compare(&aportcon, &bportcon); in test_cil_post_portcon_compare_atotal_greater_btotal() local [all …]
|
D | test_cil_build_ast.c | 88 …int rc = cil_parse_to_list(test_current, test_avrule->classpermset->permset->perms_list_str, CIL_A… in test_cil_parse_to_list() local 119 …int rc = cil_parse_to_list(test_current, test_avrule->classpermset->permset->perms_list_str, CIL_A… in test_cil_parse_to_list_currnull_neg() local 148 …int rc = cil_parse_to_list(test_current, test_avrule->classpermset->permset->perms_list_str, CIL_A… in test_cil_parse_to_list_listnull_neg() local 164 int rc = cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_set_to_list() local 175 int rc = cil_set_to_list(NULL, cil_l, 1); in test_cil_set_to_list_tree_node_null_neg() local 190 int rc = cil_set_to_list(test_tree->root, cil_l, 1); in test_cil_set_to_list_cl_head_null_neg() local 201 int rc = cil_set_to_list(test_tree->root, NULL, 1); in test_cil_set_to_list_listnull_neg() local 221 int rc = cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0); in test_cil_gen_block() local 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() local 262 int rc = cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0); in test_cil_gen_block_noname_neg() local [all …]
|
D | test_cil_resolve_ast.c | 86 int rc = cil_resolve_name(test_curr, test_alias->type_str, CIL_SYM_TYPES, args, &type_node); in test_cil_resolve_name() local 110 int rc = cil_resolve_name(test_curr, test_alias->type_str, CIL_SYM_TYPES, args, &type_node); in test_cil_resolve_name_invalid_type_neg() local 120 int rc = cil_resolve_ast(test_db, test_db->ast->root); in test_cil_resolve_ast_curr_null_neg() local 145 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next->next, args); in test_cil_resolve_roleallow() local 165 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next, args); in test_cil_resolve_roleallow_srcdecl_neg() local 184 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next, args); in test_cil_resolve_roleallow_tgtdecl_neg() local 204 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next, args); in test_cil_resolve_classmapping_anon() local 237 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next->next->cl_head, args); in test_cil_resolve_classmapping_anon_inmacro() local 272 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next->next->cl_head, args); in test_cil_resolve_classmapping_anon_inmacro_neg() local 294 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next, args); in test_cil_resolve_classmapping_named() local [all …]
|
D | test_cil_copy_ast.c | 70 int rc =cil_copy_list(cil_l, ©_list); in test_cil_copy_list() local 92 int rc = cil_copy_list(cil_l, ©_list); in test_cil_copy_list_sublist() local 116 int rc = cil_copy_list(cil_l, ©_list); in test_cil_copy_list_sublist_extra() local 139 int rc = cil_copy_list(cil_l, ©_list); in test_cil_copy_list_orignull_neg() local 167 int rc = cil_copy_block(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_block() local 201 int rc = cil_copy_perm(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_perm() local 235 int rc = cil_copy_class(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_class() local 262 int rc = cil_copy_common(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_common() local 298 int rc = cil_copy_classcommon(test_db, test_ast_node->data, (void**)&test_copy, &sym); in test_cil_copy_classcommon() local 327 int rc = cil_copy_sid(test_db, test_ast_node->data, &test_copy->data, &sym); in test_cil_copy_sid() local [all …]
|
/external/tpm2-tss/test/unit/ |
D | tctildr.c | 39 TSS2_RC rc = tcti_from_init (NULL, NULL, NULL); in tcti_from_init_null_init() local 51 TSS2_RC rc = tcti_from_init (local_init, NULL, &tcti_ctx); in tcti_from_init_init_fail() local 85 TSS2_RC rc = mock_type (TSS2_RC); in __wrap_tctildr_get_tcti() local 101 TSS2_RC rc = tcti_from_init (local_init, NULL, &tcti_ctx); in tcti_from_init_calloc_fail() local 113 TSS2_RC rc = tcti_from_init (local_init, NULL, &tcti_ctx_ptr); in tcti_from_init_second_init_fail() local 126 TSS2_RC rc = tcti_from_init (local_init, NULL, &tcti_ctx_ptr); in tcti_from_init_success() local 141 TSS2_RC rc = tcti_from_info (local_info, NULL, &tcti_ctx_ptr); in tcti_from_info_info_null() local 152 TSS2_RC rc = tcti_from_info (local_info, NULL, &tcti_ctx_ptr); in tcti_from_info_info_fail() local 166 TSS2_RC rc = tcti_from_info (local_info, NULL, &tcti_ctx_ptr); in tcti_from_info_success() local 172 TSS2_RC rc = tctildr_conf_parse (NULL, NULL, NULL); in test_conf_parse_null() local [all …]
|
D | UINT8-marshal.c | 28 TSS2_RC rc; in UINT8_marshal_success() local 45 TSS2_RC rc; in UINT8_marshal_success_offset() local 62 TSS2_RC rc; in UINT8_marshal_buffer_null_with_offset() local 76 TSS2_RC rc; in UINT8_marshal_buffer_null_offset_null() local 92 TSS2_RC rc; in UINT8_marshal_buffer_size_lt_data() local 110 TSS2_RC rc; in UINT8_marshal_buffer_size_lt_offset() local 126 TSS2_RC rc; in UINT8_unmarshal_success() local 143 TSS2_RC rc; in UINT8_unmarshal_success_offset() local 157 TSS2_RC rc; in UINT8_unmarshal_buffer_null() local 171 TSS2_RC rc; in UINT8_unmarshal_dest_null() local [all …]
|
D | UINT16-marshal.c | 28 TSS2_RC rc; in UINT16_marshal_success() local 46 TSS2_RC rc; in UINT16_marshal_success_offset() local 64 TSS2_RC rc; in UINT16_marshal_buffer_null_with_offset() local 78 TSS2_RC rc; in UINT16_marshal_buffer_null_offset_null() local 94 TSS2_RC rc; in UINT16_marshal_buffer_size_lt_data() local 112 TSS2_RC rc; in UINT16_marshal_buffer_size_lt_offset() local 128 TSS2_RC rc; in UINT16_unmarshal_success() local 146 TSS2_RC rc; in UINT16_unmarshal_success_offset() local 161 TSS2_RC rc; in UINT16_unmarshal_buffer_null() local 175 TSS2_RC rc; in UINT16_unmarshal_dest_null() local [all …]
|
D | UINT32-marshal.c | 29 TSS2_RC rc; in UINT32_marshal_success() local 47 TSS2_RC rc; in UINT32_marshal_success_offset() local 65 TSS2_RC rc; in UINT32_marshal_buffer_null_with_offset() local 79 TSS2_RC rc; in UINT32_marshal_buffer_null_offset_null() local 95 TSS2_RC rc; in UINT32_marshal_buffer_size_lt_data() local 113 TSS2_RC rc; in UINT32_marshal_buffer_size_lt_offset() local 129 TSS2_RC rc; in UINT32_unmarshal_success() local 147 TSS2_RC rc; in UINT32_unmarshal_success_offset() local 162 TSS2_RC rc; in UINT32_unmarshal_buffer_null() local 176 TSS2_RC rc; in UINT32_unmarshal_dest_null() local [all …]
|
D | UINT64-marshal.c | 29 TSS2_RC rc; in UINT64_marshal_success() local 47 TSS2_RC rc; in UINT64_marshal_success_offset() local 65 TSS2_RC rc; in UINT64_marshal_buffer_null_with_offset() local 79 TSS2_RC rc; in UINT64_marshal_buffer_null_offset_null() local 95 TSS2_RC rc; in UINT64_marshal_buffer_size_lt_data() local 113 TSS2_RC rc; in UINT64_marshal_buffer_size_lt_offset() local 129 TSS2_RC rc; in UINT64_unmarshal_success() local 147 TSS2_RC rc; in UINT64_unmarshal_success_offset() local 162 TSS2_RC rc; in UINT64_unmarshal_buffer_null() local 176 TSS2_RC rc; in UINT64_unmarshal_dest_null() local [all …]
|
D | tctildr-dl.c | 135 TSS2_RC rc = handle_from_name (NULL, NULL); in test_handle_from_name_null_handle() local 143 TSS2_RC rc; in test_handle_from_name_first_dlopen_success() local 159 TSS2_RC rc; in test_handle_from_name_second_dlopen_success() local 178 TSS2_RC rc; in test_handle_from_name_third_dlopen_success() local 201 TSS2_RC rc = tcti_from_file (NULL, NULL, NULL, NULL); in test_tcti_from_file_null_tcti() local 210 TSS2_RC rc = get_info_default (NULL, NULL); in test_get_info_default_null() local 242 TSS2_RC rc = get_info_default (&info, &handle); in test_get_info_default_success() local 277 TSS2_RC rc = get_info_default (&info, &handle); in test_get_info_default_info_fail() local 470 TSS2_RC rc = info_from_name (NULL, NULL, NULL); in test_info_from_name_null() local 489 TSS2_RC rc = info_from_name ("foo", &info, &data); in test_info_from_name_handle_fail() local [all …]
|
D | TPML-marshal.c | 31 TSS2_RC rc; in tpml_marshal_success() local 83 TSS2_RC rc; in tpml_marshal_success_offset() local 138 TSS2_RC rc; in tpml_marshal_buffer_null_with_offset() local 190 TSS2_RC rc; in tpml_marshal_buffer_null_offset_null() local 214 TSS2_RC rc; in tpml_marshal_buffer_size_lt_data_nad_lt_offset() local 252 TSS2_RC rc; in tpml_marshal_invalid_count() local 288 TSS2_RC rc; in tpml_unmarshal_success() local 335 TSS2_RC rc; in tpml_unmarshal_dest_null_buff_null() local 354 TSS2_RC rc; in tpml_unmarshal_buffer_null_offset_null() local 374 TSS2_RC rc; in tpml_unmarshal_dest_null_offset_valid() local [all …]
|
D | tctildr-tcti.c | 32 TSS2_RC rc = mock_type (TSS2_RC); in __wrap_tctildr_get_info() local 45 TSS2_RC rc = mock_type (TSS2_RC); in __wrap_tctildr_get_tcti() local 142 TSS2_RC rc; in tctildr_transmit_test() local 154 TSS2_RC rc; in tctildr_transmit_null_test() local 164 TSS2_RC rc; in tctildr_receive_test() local 177 TSS2_RC rc; in tctildr_receive_null_test() local 188 TSS2_RC rc; in tctildr_cancel_test() local 198 TSS2_RC rc; in tctildr_cancel_null_test() local 208 TSS2_RC rc; in tctildr_get_poll_handles_test() local 220 TSS2_RC rc; in tctildr_get_poll_handles_null_test() local [all …]
|
D | tcti-mssim.c | 44 TSS2_RC rc; in conf_str_to_host_port_success_test() local 64 TSS2_RC rc; in conf_str_to_host_port_no_port_test() local 86 TSS2_RC rc; in conf_str_to_host_ipv6_port_success_test() local 105 TSS2_RC rc; in conf_str_to_host_ipv6_port_no_port_test() local 121 TSS2_RC rc; in conf_str_to_host_port_invalid_port_large_test() local 132 TSS2_RC rc; in conf_str_to_host_port_invalid_port_0_test() local 144 TSS2_RC rc; in tcti_socket_init_all_null_test() local 288 TSS2_RC rc; in tcti_mssim_get_poll_handles_test() local 300 TSS2_RC rc; in tcti_socket_receive_null_size_test() local 323 TSS2_RC rc = TSS2_RC_SUCCESS; in tcti_socket_receive_success_test() local [all …]
|
D | tctildr-getinfo.c | 75 TSS2_RC rc = mock_type (TSS2_RC); in __wrap_tctildr_get_info() local 89 TSS2_RC rc = mock_type (TSS2_RC); in __wrap_tctildr_get_tcti() local 101 TSS2_RC rc = copy_info (NULL, NULL); in copyinfo_null_params() local 110 TSS2_RC rc = copy_info (&info_src, &info_dst); in copyinfo_strndup1_fail() local 121 TSS2_RC rc = copy_info (&info_src, &info_dst); in copyinfo_strndup2_fail() local 134 TSS2_RC rc = copy_info (&info_src, &info_dst); in copyinfo_strndup3_fail() local 147 TSS2_RC rc = copy_info (&info_src, &info_dst); in copyinfo_success() local 156 TSS2_RC rc = Tss2_TctiLdr_GetInfo (NULL, NULL); in getinfo_null_info() local 221 TSS2_RC rc = Tss2_TctiLdr_GetInfo (TCTI_NAME, &info); in getinfo_get_info_fail() local 239 TSS2_RC rc = Tss2_TctiLdr_GetInfo (TCTI_NAME, &info); in getinfo_calloc_fail() local [all …]
|
D | tctildr-nodl.c | 53 TSS2_RC rc; in test_tctildr_get_default_null_param() local 61 TSS2_RC rc; in test_tctildr_get_default_all_fail() local 81 TSS2_RC rc = tctildr_get_tcti (NULL, NULL, NULL, NULL); in test_get_tcti_null_tcti() local 88 TSS2_RC rc; in test_get_tcti_default_success() local 100 TSS2_RC rc; in test_get_tcti_match_second() local 112 TSS2_RC rc; in test_get_tcti_match_none() local 126 TSS2_RC rc = tctildr_get_info (NULL, NULL, NULL); in test_get_info() local
|
D | TPMU-marshal.c | 32 TSS2_RC rc; in tpmu_marshal_success() local 81 TSS2_RC rc; in tpmu_marshal_success_offset() local 129 TSS2_RC rc; in tpmu_marshal_buffer_null_with_offset() local 161 TSS2_RC rc; in tpmu_marshal_buffer_null_offset_null() local 180 TSS2_RC rc; in tpmu_marshal_buffer_size_lt_data_nad_lt_offset() local 217 TSS2_RC rc; in tpmu_unmarshal_success() local 263 TSS2_RC rc; in tpmu_unmarshal_dest_null_buff_null() local 282 TSS2_RC rc; in tpmu_unmarshal_buffer_null_offset_null() local 303 TSS2_RC rc; in tpmu_unmarshal_dest_null_offset_valid() local 342 TSS2_RC rc; in tpmu_unmarshal_buffer_size_lt_data_nad_lt_offset() local [all …]
|
/external/tpm2-tss/src/tss2-rc/ |
D | tss2_rc.c | 92 tpm2_error_get(TSS2_RC rc) in tpm2_error_get() 107 tss2_rc_layer_number_get(TSS2_RC rc) in tss2_rc_layer_number_get() 121 tpm2_rc_fmt1_N_get(TPM2_RC rc) in tpm2_rc_fmt1_N_get() 135 tpm2_rc_fmt1_N_index_get(TPM2_RC rc) in tpm2_rc_fmt1_N_index_get() 149 tpm2_rc_fmt1_N_is_handle(TPM2_RC rc) in tpm2_rc_fmt1_N_is_handle() 155 tpm2_rc_fmt1_P_get(TPM2_RC rc) in tpm2_rc_fmt1_P_get() 161 tpm2_rc_fmt1_error_get(TPM2_RC rc) in tpm2_rc_fmt1_error_get() 167 tpm2_rc_fmt0_error_get(TPM2_RC rc) in tpm2_rc_fmt0_error_get() 173 tpm2_rc_tpm_fmt0_V_get(TPM2_RC rc) in tpm2_rc_tpm_fmt0_V_get() 179 tpm2_rc_fmt0_T_get(TPM2_RC rc) in tpm2_rc_fmt0_T_get() [all …]
|
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/ |
D | libcall.cu | 19 double rc = __kmpc_impl_get_wtick(); in omp_get_wtick() local 25 double rc = __kmpc_impl_get_wtime(); in omp_get_wtime() local 44 int rc = GetNumberOfOmpThreads(isSPMDMode()); in omp_get_num_threads() local 54 int rc = 1; in omp_get_max_threads() local 65 int rc = threadLimit; in omp_get_thread_limit() local 73 int rc = GetOmpThreadId(tid, isSPMDExecutionMode); in omp_get_thread_num() local 79 int rc = GetNumberOfProcsInDevice(isSPMDMode()); in omp_get_num_procs() local 85 int rc = parallelLevel[GetWarpId()] > OMP_ACTIVE_PARALLEL_LEVEL ? 1 : 0; in omp_in_parallel() local 95 int rc = 1; in omp_in_final() local 105 int rc = 0; in omp_get_dynamic() local [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_verify.c | 52 int rc = SEPOL_ERR; in __cil_verify_name() local 89 int rc = SEPOL_ERR; in __cil_verify_syntax() local 155 int rc; in cil_verify_expr_syntax() local 280 int rc; in cil_verify_constraint_expr_syntax() local 339 int rc = cil_verify_no_self_reference(datum, i->data); in cil_verify_no_self_reference() local 351 int rc = SEPOL_ERR; in __cil_verify_ranges() local 419 int rc = SEPOL_ERR; in __cil_verify_ordered() local 430 int rc = SEPOL_OK; in __cil_verify_initsids() local 476 int rc = SEPOL_OK; in __cil_verify_cats_associated_with_sens() local 512 int rc = SEPOL_ERR; in __cil_verify_levelrange_sensitivity() local [all …]
|
D | android.c | 76 int rc = SEPOL_ERR; in __extract_attributees_helper() local 145 int rc = SEPOL_ERR; in cil_extract_attributees() local 162 enum plat_flavor rc; in __cil_get_plat_flavor() local 207 int rc = SEPOL_ERR; in __cil_attrib_convert_type() local 241 int rc = SEPOL_ERR; in __cil_attrib_swap_symtab_key() local 272 int rc = SEPOL_ERR; in cil_attrib_type_expr() local 310 int rc = SEPOL_ERR; in cil_attrib_check_context() local 334 int rc = SEPOL_ERR; in cil_attrib_sidcontext() local 360 int rc = SEPOL_ERR; in cil_attrib_roletype() local 380 int rc = SEPOL_ERR; in cil_attrib_type() local [all …]
|
D | cil_write_ast.c | 53 int rc = SEPOL_ERR; in __cil_unfill_expr_helper() local 231 int rc = SEPOL_ERR; in cil_unfill_expr() local 269 int rc = SEPOL_ERR; in cil_unfill_level() local 301 int rc = SEPOL_ERR; in cil_unfill_levelrange() local 343 int rc = SEPOL_ERR; in cil_unfill_context() local 379 int rc = SEPOL_ERR; in cil_unfill_permx() local 435 int rc = SEPOL_ERR; in cil_write_class() local 466 int rc = SEPOL_ERR; in cil_write_classorder() local 495 int rc = SEPOL_ERR; in cil_write_sidcontext() local 521 int rc = SEPOL_ERR; in cil_write_sidorder() local [all …]
|
D | cil_resolve_ast.c | 111 int rc = SEPOL_ERR; in __cil_resolve_perms() local 155 int rc = SEPOL_ERR; in cil_resolve_classperms() local 186 int rc = SEPOL_ERR; in cil_resolve_classperms_set() local 211 int rc = SEPOL_ERR; in cil_resolve_classperms_list() local 236 int rc = SEPOL_ERR; in cil_resolve_classpermissionset() local 288 int rc = SEPOL_ERR; in cil_resolve_permissionx() local 312 int rc = SEPOL_ERR; in cil_resolve_avrule() local 372 int rc = SEPOL_ERR; in cil_resolve_type_rule() local 418 int rc = SEPOL_ERR; in cil_resolve_typeattributeset() local 464 int rc = SEPOL_ERR; in cil_resolve_expandtypeattribute() local [all …]
|
/external/python/cpython3/PC/ |
D | winreg.c | 32 #define PyErr_SetFromWindowsErrWithFunction(rc, fnname) \ argument 402 LONG rc; in PyHKEY_Close() local 484 long rc = RegCloseKey((HKEY)PyLong_AsLong(obHandle)); in PyWinObject_CloseHKEY() local 491 long rc = RegCloseKey((HKEY)PyLong_AsVoidPtr(obHandle)); in PyWinObject_CloseHKEY() local 846 long rc; in winreg_ConnectRegistry_impl() local 852 rc = RegConnectRegistryW(computer_name, key, &retKey); in winreg_ConnectRegistry_impl() local 886 long rc; in winreg_CreateKey_impl() local 936 long rc; in winreg_CreateKeyEx_impl() local 978 long rc; in winreg_DeleteKey_impl() local 1023 long rc; in winreg_DeleteKeyEx_impl() local [all …]
|
/external/python/cpython2/PC/ |
D | _winreg.c | 31 #define PyErr_SetFromWindowsErrWithFunction(rc, fnname) \ argument 613 LONG rc; in PyHKEY_Close() local 687 long rc = RegCloseKey((HKEY)PyInt_AsLong(obHandle)); in PyWinObject_CloseHKEY() local 694 long rc = RegCloseKey((HKEY)PyLong_AsVoidPtr(obHandle)); in PyWinObject_CloseHKEY() local 1021 long rc; in PyConnectRegistry() local 1027 rc = RegConnectRegistry(szCompName, hKey, &retKey); in PyConnectRegistry() local 1042 long rc; in PyCreateKey() local 1062 long rc; in PyCreateKeyEx() local 1082 long rc; in PyDeleteKey() local 1103 long rc; in PyDeleteKeyEx() local [all …]
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/ |
D | capng-test.py | 32 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) variable 37 rc = capng.capng_have_capability(capng.CAPNG_EFFECTIVE, int(i)) variable 48 rc = capng.capng_update(capng.CAPNG_DROP, capng.CAPNG_EFFECTIVE, i) variable 58 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) variable
|