Home
last modified time | relevance | path

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

12345678910>>...42

/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 …]
/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 …]
/third_party/iowow/src/json/tests/
Djbl_test1.c11 int rc = iw_init(); in init_suite() local
20 iwrc rc; in _jbl_test1_1() local
89 iwrc rc = jbl_from_json(&jbl, data); in jbl_test1_2() local
113 iwrc rc = jbl_ptr_alloc("/", &jp); in jbl_test1_3() local
186 iwrc rc = jbl_from_json(&jbl, data); in jbl_test1_4() local
281 iwrc rc = jbl_from_json(&jbl, data); in jbl_test1_5() local
332 iwrc rc = jbl_from_json(&jbl, data2); in apply_patch() local
369 iwrc rc = jbl_from_json(&jbl, data2); in apply_merge_patch() local
400 iwrc rc; in jbl_test1_6() local
629 iwrc rc; in jbl_test1_7() 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/iowow/src/kv/benchmark/
Diwkv_benchmark.c12 iwrc rc = iw_init(); in env_setup() local
23 iwrc rc = iwp_fstat(path, &fst); in db_size_bytes() local
57 iwrc rc = iwkv_open(&opts, &bmdb->iwkv); in db_open() local
75 iwrc rc = iwkv_close(&bmdb->iwkv); in db_close() local
86 iwrc rc = iwkv_put(bmdb->db, key, val, sync ? IWKV_SYNC : 0); in db_put() local
97 iwrc rc = iwkv_get(bmdb->db, key, val); in db_get() local
111 iwrc rc = iwkv_del(bmdb->db, key, sync ? IWKV_SYNC : 0); in db_del() local
126 iwrc rc = iwkv_cursor_open(bmdb->db, &cur, in db_read_seq() local
151 iwrc rc = iwkv_cursor_open(bmdb->db, &cur, IWKV_CURSOR_EQ, key); in db_cursor_to_key() local
Dwiredtiger_benchmark.c32 iwrc rc = iwp_fstat(buf, &fst); in db_size_bytes() local
71 int rc = wiredtiger_open(path, 0, config, &bmwt.conn); in db_open() local
102 int rc = bmwt->cursor->close(bmwt->cursor); in db_close() local
109 int rc = bmwt->session->close(bmwt->session, 0); in db_close() local
116 int rc = bmwt->conn->close(bmwt->conn, 0); in db_close() local
138 int rc = bmwt->cursor->insert(bmwt->cursor); in db_put() local
156 int rc = bmwt->cursor->search(bmwt->cursor); in db_get() local
176 int rc = bmwt->cursor->remove(bmwt->cursor); in db_del() local
194 int rc = bmwt->cursor->reset(bmwt->cursor); in db_read_seq() local
/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/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/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/flutter/skia/third_party/externals/spirv-tools/test/
Dparse_number_test.cpp288 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
311 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
325 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
357 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
386 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
398 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
419 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
442 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
460 EncodeNumberStatus rc = EncodeNumberStatus::kInvalidText; in TEST() local
492 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
[all …]
/third_party/selinux/libselinux/src/
Davc_internal.c59 int rc = 0; in avc_process_setenforce() local
81 int rc = 0; in avc_process_policyload() local
104 int len, rc = 0; in avc_netlink_open() local
145 int rc; in avc_netlink_receive() local
204 int rc; in avc_netlink_process() local
247 int rc; in avc_netlink_check_nb() local
274 int rc; in avc_netlink_loop() local
307 int rc = 0; in avc_netlink_acquire_fd() local
/third_party/iowow/src/fs/
Diwexfile.c171 iwrc rc = iwrc_set_errno(IW_ERROR_ERRNO, errno); in _exfile_initmmap_slot_lw() local
196 iwrc rc = 0; in _exfile_initmmap_lw() local
212 iwrc rc = 0; in _exfile_truncate_lw() local
284 iwrc rc = _exfile_rlock(f); in _exfile_sync() local
315 iwrc rc = _exfile_rlock(f); in _exfile_write() local
375 iwrc rc = _exfile_rlock(f); in _exfile_read() local
417 iwrc rc = _exfile_rlock(f); in _exfile_state() local
427 iwrc rc = _exfile_rlock(f); in _exfile_copy() local
447 iwrc rc = 0; in _exfile_remove_mmap_lw() local
487 iwrc rc = _exfile_wlock(f); in _exfile_close() local
[all …]
/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 …]

12345678910>>...42