Home
last modified time | relevance | path

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

12345678910>>...40

/third_party/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
/third_party/ffmpeg/libavcodec/
Dopus_rc.c32 static av_always_inline void opus_rc_enc_carryout(OpusRangeCoder *rc, int cbuf) in opus_rc_enc_carryout()
47 static av_always_inline void opus_rc_dec_normalize(OpusRangeCoder *rc) in opus_rc_dec_normalize()
56 static av_always_inline void opus_rc_enc_normalize(OpusRangeCoder *rc) in opus_rc_enc_normalize()
66 static av_always_inline void opus_rc_dec_update(OpusRangeCoder *rc, uint32_t scale, in opus_rc_dec_update()
77 static av_always_inline void opus_rc_enc_update(OpusRangeCoder *rc, uint32_t b, uint32_t p, in opus_rc_enc_update()
90 uint32_t ff_opus_rc_dec_cdf(OpusRangeCoder *rc, const uint16_t *cdf) in ff_opus_rc_dec_cdf()
109 void ff_opus_rc_enc_cdf(OpusRangeCoder *rc, int val, const uint16_t *cdf) in ff_opus_rc_enc_cdf()
114 uint32_t ff_opus_rc_dec_log(OpusRangeCoder *rc, uint32_t bits) in ff_opus_rc_dec_log()
131 void ff_opus_rc_enc_log(OpusRangeCoder *rc, int val, uint32_t bits) in ff_opus_rc_enc_log()
140 uint32_t ff_opus_rc_get_raw(OpusRangeCoder *rc, uint32_t count) in ff_opus_rc_get_raw()
[all …]
Dopus_rc.h61 static av_always_inline uint32_t opus_rc_tell(const OpusRangeCoder *rc) in opus_rc_tell()
66 static av_always_inline uint32_t opus_rc_tell_frac(const OpusRangeCoder *rc) in opus_rc_tell_frac()
112 #define OPUS_RC_CHECKPOINT_UPDATE(rc) \ argument
116 #define OPUS_RC_CHECKPOINT_SPAWN(rc) \ argument
120 #define OPUS_RC_CHECKPOINT_BITS(rc) \ argument
123 #define OPUS_RC_CHECKPOINT_ROLLBACK(rc) \ argument
/third_party/python/PC/
Dwinreg.c33 #define PyErr_SetFromWindowsErrWithFunction(rc, fnname) \ argument
403 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
856 long rc; in winreg_ConnectRegistry_impl() local
862 rc = RegConnectRegistryW(computer_name, key, &retKey); in winreg_ConnectRegistry_impl() local
896 long rc; in winreg_CreateKey_impl() local
946 long rc; in winreg_CreateKeyEx_impl() local
988 long rc; in winreg_DeleteKey_impl() local
1033 long rc; in winreg_DeleteKeyEx_impl() local
[all …]
/third_party/selinux/libsepol/cil/src/
Dcil_verify.c97 int rc = SEPOL_ERR; in cil_verify_name() local
190 int rc; in cil_verify_expr_syntax() local
318 int rc; in cil_verify_constraint_expr_syntax() local
423 int rc = SEPOL_OK; in __verify_no_self_reference_in_expr() local
448 int rc = SEPOL_OK; in cil_verify_no_self_reference() local
496 int rc = SEPOL_ERR; in __cil_verify_ranges() local
564 int rc = SEPOL_ERR; in __cil_verify_ordered() local
575 int rc = SEPOL_OK; in __cil_verify_initsids() local
621 int rc = SEPOL_OK; in __cil_verify_cats_associated_with_sens() local
657 int rc = SEPOL_ERR; in __cil_verify_levelrange_sensitivity() local
[all …]
Dcil_resolve_ast.c116 int rc = SEPOL_ERR; in __cil_resolve_perms() local
161 int rc = SEPOL_ERR; in cil_resolve_classperms() local
196 int rc = SEPOL_ERR; in cil_resolve_classperms_set() local
221 int rc = SEPOL_ERR; in cil_resolve_classperms_list() local
246 int rc = SEPOL_ERR; in cil_resolve_classpermissionset() local
298 int rc = SEPOL_ERR; in cil_resolve_permissionx() local
322 int rc = SEPOL_ERR; in cil_resolve_avrule() local
383 int rc = SEPOL_ERR; in cil_resolve_type_rule() local
433 int rc = SEPOL_ERR; in cil_resolve_typeattributeset() local
474 int rc = SEPOL_ERR; in cil_resolve_expandtypeattribute() local
[all …]
Dcil_post.c66 int rc; in cats_compare() local
84 int rc; in level_compare() local
102 int rc; in range_compare() local
120 int rc; in context_compare() local
210 int rc = 0; in cil_post_filecon_compare() local
253 int rc = SEPOL_ERR; in cil_post_ibpkeycon_compare() local
275 int rc = SEPOL_ERR; in cil_post_portcon_compare() local
298 int rc = SEPOL_ERR; in cil_post_genfscon_compare() local
320 int rc = SEPOL_ERR; in cil_post_ibendportcon_compare() local
355 int rc = memcmp(&anodecon->mask->ip.v4, &bnodecon->mask->ip.v4, sizeof(anodecon->mask->ip.v4)); in cil_post_nodecon_compare() local
[all …]
Dcil_binary.c241 int rc = SEPOL_ERR; in cil_common_to_policydb() local
289 int rc = SEPOL_ERR; in cil_classorder_to_policydb() local
366 int rc = SEPOL_ERR; in cil_role_to_policydb() local
401 int rc = SEPOL_ERR; in cil_role_bounds_to_policydb() local
424 int rc = SEPOL_ERR; in cil_roletype_to_policydb() local
455 int rc = SEPOL_ERR; in cil_type_to_policydb() local
484 int rc = SEPOL_ERR; in cil_type_bounds_to_policydb() local
507 int rc = SEPOL_ERR; in cil_typealias_to_policydb() local
537 int rc = SEPOL_ERR; in cil_typepermissive_to_policydb() local
558 int rc = SEPOL_ERR; in cil_typeattribute_to_policydb() local
[all …]
Dcil_build_ast.c61 int rc = SEPOL_ERR; in cil_fill_list() local
111 int rc; in cil_add_decl_to_symtab() local
145 int rc = SEPOL_ERR; in cil_gen_node() local
200 int rc = SEPOL_ERR; in cil_gen_block() local
275 int rc = SEPOL_ERR; in cil_gen_blockinherit() local
337 int rc = SEPOL_ERR; in cil_gen_blockabstract() local
387 int rc = SEPOL_ERR; in cil_gen_in() local
456 int rc = SEPOL_ERR; in cil_gen_class() local
524 int rc = SEPOL_ERR; in cil_gen_classorder() local
585 int rc = SEPOL_ERR; in cil_gen_perm() local
[all …]
/third_party/libevdev/test/
Dtest-libevdev-events.c20 int rc; in START_TEST() local
48 int rc; in START_TEST() local
86 int rc; in START_TEST() local
115 int rc; in START_TEST() local
174 int rc; in START_TEST() local
208 int rc; in START_TEST() local
246 int rc; in START_TEST() local
284 int rc; in START_TEST() local
302 int rc; in START_TEST() local
352 int rc; in START_TEST() local
[all …]
Dtest-libevdev-has-event.c182 int rc; in START_TEST() local
242 int rc, i; in START_TEST() local
275 int rc, fd; in START_TEST() local
315 int rc; in START_TEST() local
456 int rc; in START_TEST() local
497 int rc; in START_TEST() local
543 int rc; in START_TEST() local
580 int rc; in START_TEST() local
742 int rc; in START_TEST() local
810 int rc; in START_TEST() local
[all …]
/third_party/selinux/libsepol/src/
Dkernel_to_conf.c36 int rc; in cond_expr_to_str() local
126 int rc; in constraint_expr_to_str() local
281 int rc = 0; in class_constraint_rules_to_strs() local
335 int rc = 0; in class_validatetrans_rules_to_strs() local
368 int rc = 0; in constraint_rules_to_strs() local
393 int rc = 0; in validatetrans_rules_to_strs() local
458 int rc; in write_sids_to_conf() local
506 int rc = 0; in write_sid_decl_rules_to_conf() local
525 int rc = 0; in class_or_common_perms_to_str() local
554 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
128 int rc; in constraint_expr_to_str() local
280 int rc = 0; in class_constraint_rules_to_strs() local
331 int rc = 0; in class_validatetrans_rules_to_strs() local
364 int rc = 0; in constraint_rules_to_strs() local
390 int rc = 0; in validatetrans_rules_to_strs() local
439 int rc; in class_or_common_perms_to_str() local
468 int rc = 0; in write_class_decl_rules_to_cil() local
561 int rc; in write_sids_to_cil() local
627 int rc = 0; in write_sid_decl_rules_to_cil() local
[all …]
/third_party/skia/third_party/externals/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 …]
/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/selinux/libselinux/src/
Davc_internal.c58 int rc = 0; in avc_process_setenforce() local
80 int rc = 0; in avc_process_policyload() local
103 int len, rc = 0; in avc_netlink_open() local
144 int rc; in avc_netlink_receive() local
203 int rc; in avc_netlink_process() local
246 int rc; in avc_netlink_check_nb() local
273 int rc; in avc_netlink_loop() local
305 int rc = 0; in avc_netlink_acquire_fd() local
/third_party/python/Modules/_sqlite/
Dconnection.c79 int rc; in pysqlite_connection_init() local
109 rc = sqlite3_open_v2(database, &self->db, in pysqlite_connection_init() local
361 int rc; in pysqlite_connection_close_impl() local
411 int rc; in _pysqlite_connection_begin() local
415 rc = sqlite3_prepare_v2(self->db, self->begin_statement, -1, &statement, in _pysqlite_connection_begin() local
430 rc = sqlite3_finalize(statement); in _pysqlite_connection_begin() local
455 int rc; in pysqlite_connection_commit_impl() local
465 rc = sqlite3_prepare_v2(self->db, "COMMIT", -1, &statement, NULL); in pysqlite_connection_commit_impl() local
478 rc = sqlite3_finalize(statement); in pysqlite_connection_commit_impl() local
504 int rc; in pysqlite_connection_rollback_impl() local
[all …]
/third_party/curl/tests/unit/
Dunit1650.c60 int rc; member
79 int rc; member
164 int rc = doh_encode(req[i].name, req[i].type, variable
188 int rc; variable
246 int rc; variable
259 int rc; variable
271 int rc; variable
/third_party/libevdev/libevdev/
Dlibevdev-uinput.c51 int rc; in set_abs() local
62 int rc = 0; in set_evbits() local
138 int rc = 0; in set_props() local
177 int rc; in fetch_syspath_and_devnode() local
233 int rc; in fetch_syspath_and_devnode() local
312 int rc; in uinput_create_write() local
346 int rc; in uinput_create_DEV_SETUP() local
372 int rc; in libevdev_uinput_create_from_device() local
473 int rc, max; in libevdev_uinput_write_event() local

12345678910>>...40