Home
last modified time | relevance | path

Searched defs:rc (Results 1 – 25 of 2155) sorted by relevance

12345678910>>...87

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_post.c53 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 …]
Dtest_cil_build_ast.c88 …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 …]
Dtest_cil_resolve_ast.c86 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 …]
Dtest_cil_copy_ast.c70 int rc =cil_copy_list(cil_l, &copy_list); in test_cil_copy_list() local
92 int rc = cil_copy_list(cil_l, &copy_list); in test_cil_copy_list_sublist() local
116 int rc = cil_copy_list(cil_l, &copy_list); in test_cil_copy_list_sublist_extra() local
139 int rc = cil_copy_list(cil_l, &copy_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 …]
Dtest_cil.c73 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_block() local
91 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_class() local
109 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_root() local
127 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_flavor_neg() local
144 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_null_neg() local
157 int rc = cil_get_symtab(test_db, test_ast_node, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_node_null_neg() local
175 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_parent_null_neg() local
Dtest_cil_list.c72 int rc = cil_list_append_item(test_class_list, test_new_item); in test_cil_list_append_item() local
100 int rc = cil_list_append_item(test_class_list, test_new_item); in test_cil_list_append_item_append() local
136 int rc = cil_list_append_item(test_class_list, test_new_item); in test_cil_list_append_item_append_extra() local
177 int rc = cil_list_append_item(test_class_list, test_new_item); in test_cil_list_append_item_listnull_neg() local
201 int rc = cil_list_append_item(test_class_list, test_new_item); in test_cil_list_append_item_itemnull_neg() local
229 int rc = cil_list_prepend_item(test_class_list, test_new_item); in test_cil_list_prepend_item() local
257 int rc = cil_list_prepend_item(test_class_list, test_new_item); in test_cil_list_prepend_item_prepend() local
292 int rc = cil_list_prepend_item(test_class_list, test_new_item); in test_cil_list_prepend_item_prepend_neg() local
319 int rc = cil_list_prepend_item(test_class_list, test_new_item); in test_cil_list_prepend_item_listnull_neg() local
343 int rc = cil_list_prepend_item(test_class_list, test_new_item); in test_cil_list_prepend_item_itemnull_neg() local
/external/selinux/libsepol/cil/src/
Dcil_verify.c52 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
277 int rc; in cil_verify_constraint_expr_syntax() local
336 int rc = cil_verify_no_self_reference(datum, i->data); in cil_verify_no_self_reference() local
348 int rc = SEPOL_ERR; in __cil_verify_ranges() local
416 int rc = SEPOL_ERR; in __cil_verify_ordered() local
427 int rc = SEPOL_OK; in __cil_verify_initsids() local
474 int rc = SEPOL_OK; in __cil_verify_cats_associated_with_sens() local
510 int rc = SEPOL_ERR; in __cil_verify_levelrange_sensitivity() local
[all …]
Dandroid.c76 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 …]
Dcil_write_ast.c53 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 …]
Dcil_resolve_ast.c111 int rc = SEPOL_ERR; in __cil_resolve_perms() local
159 int rc = SEPOL_ERR; in cil_resolve_classperms() local
190 int rc = SEPOL_ERR; in cil_resolve_classperms_set() local
215 int rc = SEPOL_ERR; in cil_resolve_classperms_list() local
240 int rc = SEPOL_ERR; in cil_resolve_classpermissionset() local
292 int rc = SEPOL_ERR; in cil_resolve_permissionx() local
316 int rc = SEPOL_ERR; in cil_resolve_avrule() local
376 int rc = SEPOL_ERR; in cil_resolve_type_rule() local
422 int rc = SEPOL_ERR; in cil_resolve_typeattributeset() local
468 int rc = SEPOL_ERR; in cil_resolve_expandtypeattribute() local
[all …]
Dcil_post.c59 int rc; in cats_compare() local
77 int rc; in level_compare() local
95 int rc; in range_compare() local
113 int rc; in context_compare() local
196 int rc = 0; in cil_post_filecon_compare() local
239 int rc = SEPOL_ERR; in cil_post_ibpkeycon_compare() local
261 int rc = SEPOL_ERR; in cil_post_portcon_compare() local
284 int rc = SEPOL_ERR; in cil_post_genfscon_compare() local
306 int rc = SEPOL_ERR; in cil_post_ibendportcon_compare() local
341 int rc = memcmp(&anodecon->mask->ip.v4, &bnodecon->mask->ip.v4, sizeof(anodecon->mask->ip.v4)); in cil_post_nodecon_compare() local
[all …]
/external/python/cpython3/PC/
Dwinreg.c31 #define PyErr_SetFromWindowsErrWithFunction(rc, fnname) \ argument
398 LONG rc; in PyHKEY_Close() local
480 long rc = RegCloseKey((HKEY)PyLong_AsLong(obHandle)); in PyWinObject_CloseHKEY() local
487 long rc = RegCloseKey((HKEY)PyLong_AsVoidPtr(obHandle)); in PyWinObject_CloseHKEY() local
834 long rc; in winreg_ConnectRegistry_impl() local
836 rc = RegConnectRegistryW(computer_name, key, &retKey); in winreg_ConnectRegistry_impl() local
870 long rc; in winreg_CreateKey_impl() local
911 long rc; in winreg_CreateKeyEx_impl() local
944 long rc; in winreg_DeleteKey_impl() local
984 long rc; in winreg_DeleteKeyEx_impl() local
[all …]
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/
Dcapng-test.py32 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
/external/python/cpython2/PC/
D_winreg.c31 #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/python/cpython2/Modules/_sqlite/
Dstatement.c57 int rc; in pysqlite_statement_create() local
88 rc = sqlite3_prepare(connection->db, in pysqlite_statement_create() local
108 int rc = SQLITE_OK; in pysqlite_statement_bind_parameter() local
223 int rc; in pysqlite_statement_bind_parameters() local
334 int rc; in pysqlite_statement_recompile() local
341 rc = sqlite3_prepare(self->db, in pysqlite_statement_recompile() local
374 int rc; in pysqlite_statement_finalize() local
379 rc = sqlite3_finalize(self->st); in pysqlite_statement_finalize() local
391 int rc; in pysqlite_statement_reset() local
397 rc = sqlite3_reset(self->st); in pysqlite_statement_reset() local
/external/deqp-deps/SPIRV-Tools/test/
Dparse_number_test.cpp286 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
309 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
323 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
355 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
384 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
396 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
417 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
440 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
458 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
490 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dparse_number_test.cpp286 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
309 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
323 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
355 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
384 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
396 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
417 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
440 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
458 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
490 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_frag.c65 #define INIT_COMBINER(chan, ctx, rc, i) do { \ argument
82 get_input_source(struct combiner_state *rc, int source) in get_input_source()
118 get_input_mapping(struct combiner_state *rc, int operand, int flags) in get_input_mapping()
132 get_input_arg(struct combiner_state *rc, int arg, int flags) in get_input_arg()
165 #define INPUT_SRC(rc, in, src, flags) \ argument
171 #define INPUT_ARG(rc, in, arg, flags) \ argument
174 #define UNSIGNED_OP(rc) \ argument
178 #define SIGNED_OP(rc) \ argument
184 setup_combiner(struct combiner_state *rc) in setup_combiner()
/external/adhd/cras/src/tests/
Drstream_unittest.cc24 int rc; in SetUp() local
61 int rc; in stub_client_reply() local
81 int rc; in TEST_F() local
90 int rc; in TEST_F() local
99 int rc; in TEST_F() local
108 int rc; in TEST_F() local
116 int rc; in TEST_F() local
127 int rc, fd_ret; in TEST_F() local
163 int rc, fd_ret; in TEST_F() local
197 int rc; in TEST_F() local
[all …]
/external/u-boot/drivers/power/
Daxp209.c24 int rc; in axp_set_dcdc2() local
56 int rc; in axp_set_dcdc3() local
71 int rc; in axp_set_aldo2() local
96 int rc; in axp_set_aldo3() local
116 int rc; in axp_set_aldo4() local
146 int i, rc; in axp_init() local
/external/selinux/libsepol/src/
Dkernel_to_conf.c36 int rc; in cond_expr_to_str() local
124 int rc; in constraint_expr_to_str() local
269 int rc = 0; in class_constraint_rules_to_strs() local
316 int rc = 0; in class_validatetrans_rules_to_strs() local
349 int rc = 0; in constraint_rules_to_strs() local
374 int rc = 0; in validatetrans_rules_to_strs() local
439 int rc; in write_sids_to_conf() local
483 int rc = 0; in write_sid_decl_rules_to_conf() local
502 int rc = 0; in class_or_common_perms_to_str() local
531 int rc = 0; in write_class_and_common_rules_to_conf() local
[all …]
Dkernel_to_cil.c37 int rc; in cond_expr_to_str() local
126 int rc; in constraint_expr_to_str() local
268 int rc = 0; in class_constraint_rules_to_strs() local
316 int rc = 0; in class_validatetrans_rules_to_strs() local
349 int rc = 0; in constraint_rules_to_strs() local
374 int rc = 0; in validatetrans_rules_to_strs() local
422 int rc; in class_or_common_perms_to_str() local
451 int rc = 0; in write_class_decl_rules_to_cil() local
541 int rc; in write_sids_to_cil() local
602 int rc = 0; in write_sid_decl_rules_to_cil() local
[all …]
/external/python/cpython3/Modules/_sqlite/
Dstatement.c54 int rc; in pysqlite_statement_create() local
96 rc = sqlite3_prepare_v2(connection->db, in pysqlite_statement_create() local
116 int rc = SQLITE_OK; in pysqlite_statement_bind_parameter() local
212 int rc; in pysqlite_statement_bind_parameters() local
324 int rc; in pysqlite_statement_finalize() local
329 rc = sqlite3_finalize(self->st); in pysqlite_statement_finalize() local
341 int rc; in pysqlite_statement_reset() local
347 rc = sqlite3_reset(self->st); in pysqlite_statement_reset() local
/external/strace/tests-m32/
Dfcntl-common.c56 long rc = syscall(TEST_SYSCALL_NR, kfd, op, (uintptr_t) p); in invoke_test_syscall() local
116 long rc = invoke_test_syscall(0, F_SETLK, fl); in test_flock() local
146 long rc = invoke_test_syscall(0, F_OFD_SETLK, fl); in test_flock64_ofd() local
196 long rc = invoke_test_syscall(0, cmd, fo); in test_f_owner_ex_type_pid() local
212 long rc = test_f_owner_ex_type_pid(ARG_STR(F_SETOWN_EX), in test_f_owner_ex_umove_or_printaddr() local
252 print_retval_flags(const struct fcntl_cmd_check *check, long rc) in print_retval_flags()
280 long rc = invoke_test_syscall(check->fd, check->cmd, NULL); in test_other_get_cmd() local
292 print_flags_getfd(long rc) in print_flags_getfd()
299 print_flags_getsig(long rc) in print_flags_getsig()
311 print_flags_getlease(long rc) in print_flags_getlease()
/external/strace/tests/
Dfcntl-common.c56 long rc = syscall(TEST_SYSCALL_NR, kfd, op, (uintptr_t) p); in invoke_test_syscall() local
116 long rc = invoke_test_syscall(0, F_SETLK, fl); in test_flock() local
146 long rc = invoke_test_syscall(0, F_OFD_SETLK, fl); in test_flock64_ofd() local
196 long rc = invoke_test_syscall(0, cmd, fo); in test_f_owner_ex_type_pid() local
212 long rc = test_f_owner_ex_type_pid(ARG_STR(F_SETOWN_EX), in test_f_owner_ex_umove_or_printaddr() local
252 print_retval_flags(const struct fcntl_cmd_check *check, long rc) in print_retval_flags()
280 long rc = invoke_test_syscall(check->fd, check->cmd, NULL); in test_other_get_cmd() local
292 print_flags_getfd(long rc) in print_flags_getfd()
299 print_flags_getsig(long rc) in print_flags_getsig()
311 print_flags_getlease(long rc) in print_flags_getlease()

12345678910>>...87