/freebsd/crypto/openssl/test/ |
H A D | ecstresstest.c | 72 int ret = 0; in test_curve() local 87 ret = 1; in test_curve() 93 ret = 1; in test_curve() 101 return ret; in test_curve()
|
H A D | ssl_old_test.c | 1916 EXIT(ret); in main() 2213 return ret; in doit_localhost() 2588 return ret; in doit_biopair() 2875 return ret; in doit() 2945 int ret; in psk_key2bn() local 2949 if (!ret) { in psk_key2bn() 2964 return ret; in psk_key2bn() 2973 int ret; in psk_client_callback() local 2977 if (ret < 0) in psk_client_callback() 2983 if (ret < 0) in psk_client_callback() [all …]
|
H A D | x509_dup_cert_test.c | 19 int ret = 0; in test_509_dup_cert() local 29 ret = 1; in test_509_dup_cert() 33 return ret; in test_509_dup_cert()
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_provider.c | 678 int ret; in mthca_alloc_resize_buf() local 694 ret = 0; in mthca_alloc_resize_buf() 699 if (ret) in mthca_alloc_resize_buf() 703 if (ret) { in mthca_alloc_resize_buf() 726 int ret; in mthca_resize_cq() local 735 ret = 0; in mthca_resize_cq() 741 if (ret) in mthca_resize_cq() 754 if (ret) { in mthca_resize_cq() 1138 int ret; in mthca_register_device() local 1142 if (ret) in mthca_register_device() [all …]
|
/freebsd/contrib/unbound/services/ |
H A D | rpz.c | 2242 return ret; in rpz_synthesize_qname_localdata() 2323 return ret; in rpz_apply_nsip_trigger() 2380 return ret; in rpz_apply_nsdname_trigger() 2590 return ret; in rpz_callback_from_iterator_cname() 2621 ret = 0; in rpz_apply_maybe_clientip_trigger() 2630 ret = 0; in rpz_apply_maybe_clientip_trigger() 2637 ret = 1; in rpz_apply_maybe_clientip_trigger() 2644 ret = 0; in rpz_apply_maybe_clientip_trigger() 2653 ret = 1; in rpz_apply_maybe_clientip_trigger() 2664 ret = -1; in rpz_apply_maybe_clientip_trigger() [all …]
|
/freebsd/crypto/heimdal/appl/ftp/ftpd/ |
H A D | gss_userok.c | 62 int ret = 0; in gssapi_session() local 69 ret = 1; in gssapi_session() 74 return ret; in gssapi_session()
|
/freebsd/tests/sys/cddl/zfs/include/ |
H A D | libtest.kshlib | 1649 return $ret 1778 ret=$? 1961 ret=$? 1973 return $ret 2055 ret=$? 2138 case $ret in 2527 ret=2 2531 ret=0 2536 *) ret=1; 2538 [[ $ret -eq 0 || $ret -eq 1 ]] && print "$cachefile" [all …]
|
/freebsd/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 114 int ret = 0; in pkcs7_encode_rinfo() local 146 ret = 1; in pkcs7_encode_rinfo() 151 return ret; in pkcs7_encode_rinfo() 188 ret = 0; in pkcs7_decrypt_rinfo() 193 ret = 1; in pkcs7_decrypt_rinfo() 201 if (!ret) in pkcs7_decrypt_rinfo() 204 return ret; in pkcs7_decrypt_rinfo() 385 int ret; in pkcs7_cmp_ri() local 388 if (ret) in pkcs7_cmp_ri() 900 ret = 1; in PKCS7_dataFinal() [all …]
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_gpsk.c | 283 ret->ignore = true; in eap_gpsk_process_gpsk_1() 296 ret->methodState = METHOD_DONE; in eap_gpsk_process_gpsk_1() 591 ret->ignore = true; in eap_gpsk_process_gpsk_3() 620 ret->methodState = METHOD_DONE; in eap_gpsk_process_gpsk_3() 663 struct eap_method_ret *ret, in eap_gpsk_process() argument 674 ret->ignore = true; in eap_gpsk_process() 683 ret->ignore = false; in eap_gpsk_process() 684 ret->methodState = METHOD_MAY_CONT; in eap_gpsk_process() 685 ret->decision = DECISION_FAIL; in eap_gpsk_process() 686 ret->allowNotifications = false; in eap_gpsk_process() [all …]
|
/freebsd/crypto/openssl/engines/ |
H A D | e_dasync.c | 384 if (!ret) in IMPLEMENT_DYNAMIC_BIND_FN() 386 if (!bind_dasync(ret)) { in IMPLEMENT_DYNAMIC_BIND_FN() 387 ENGINE_free(ret); in IMPLEMENT_DYNAMIC_BIND_FN() 390 return ret; in IMPLEMENT_DYNAMIC_BIND_FN() 632 int ret; in dasync_cipher_ctrl_helper() local 674 return ret; in dasync_cipher_ctrl_helper() 719 int ret; in dasync_cipher_init_key_helper() local 741 return ret; in dasync_cipher_init_key_helper() 748 int ret = 1; in dasync_cipher_helper() local 776 ret = ret && EVP_CIPHER_meth_get_do_cipher(cipher) in dasync_cipher_helper() [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | gen_template.c | 342 int ret; in tlist_cmp() local 345 ret = strcmp(tl->header, ql->header); in tlist_cmp() 346 if (ret) return ret; in tlist_cmp() 353 ret = strcmp(t->line, q->line); in tlist_cmp() 354 if (ret) return ret; in tlist_cmp() 356 ret = strcmp(t->tt, q->tt); in tlist_cmp() 357 if (ret) return ret; in tlist_cmp() 359 ret = strcmp(t->offset, q->offset); in tlist_cmp() 360 if (ret) return ret; in tlist_cmp() 363 (ret = tlist_cmp_name(t->ptr, q->ptr)) != 0) in tlist_cmp() [all …]
|
/freebsd/crypto/openssl/include/internal/ |
H A D | packet.h | 164 int ret = PACKET_get_net_2(pkt, &i); in PACKET_get_net_2_len() local 166 if (ret) in PACKET_get_net_2_len() 169 return ret; in PACKET_get_net_2_len() 205 int ret = PACKET_get_net_3(pkt, &i); in PACKET_get_net_3_len() local 207 if (ret) in PACKET_get_net_3_len() 210 return ret; in PACKET_get_net_3_len() 271 if (ret) in PACKET_get_net_4_len() 274 return ret; in PACKET_get_net_4_len() 315 int ret = PACKET_get_1(pkt, &i); in PACKET_get_1_len() local 317 if (ret) in PACKET_get_1_len() [all …]
|
/freebsd/crypto/openssl/providers/implementations/kdfs/ |
H A D | x942kdf.c | 79 int ret = 1; in find_alg_id() local 92 ret = 0; in find_alg_id() 96 return ret; in find_alg_id() 207 int ret = 0; in x942_encode_otherinfo() local 258 ret = 1; in x942_encode_otherinfo() 261 return ret; in x942_encode_otherinfo() 270 int ret = 0, hlen; in x942kdf_hash_kdm() local 322 ret = 1; in x942kdf_hash_kdm() 327 return ret; in x942kdf_hash_kdm() 402 int ret = 0; in x942kdf_derive() local [all …]
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | tasn_enc.c | 220 int i, ret, ttag, tclass, ndef, len; in asn1_template_ex_i2d() local 324 ret = sklen; in asn1_template_ex_i2d() 326 if (!out || ret == -1) in asn1_template_ex_i2d() 327 return ret; in asn1_template_ex_i2d() 344 return ret; in asn1_template_ex_i2d() 359 ret = ASN1_object_size(ndef, i, ttag); in asn1_template_ex_i2d() 360 if (out && ret != -1) { in asn1_template_ex_i2d() 367 return ret; in asn1_template_ex_i2d() 406 int i, ret = 0; in asn1_set_seq_out() local 461 ret = 1; in asn1_set_seq_out() [all …]
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_ec.h | 610 uint32_t ret = ck_pr_load_32(&ec->counter) & ~(1UL << 31); in ck_ec32_value() local 613 return ret; in ck_ec32_value() 691 uint32_t ret; in ck_ec32_add_epilogue() local 693 ret = old & ~flag_mask; in ck_ec32_add_epilogue() 695 if (CK_CC_UNLIKELY(old != ret)) { in ck_ec32_add_epilogue() 699 return ret; in ck_ec32_add_epilogue() 814 uint64_t ret = ck_pr_load_64(&ec->counter) >> 1; in ck_ec64_value() local 817 return ret; in ck_ec64_value() 839 uint64_t ret = old >> 1; in ck_ec_add64_epilogue() local 845 return ret; in ck_ec_add64_epilogue()
|
/freebsd/contrib/kyua/engine/ |
H A D | atf_result.cpp | 72 std::pair< size_t, std::string > ret = std::make_pair(0, ""); in read_lines() local 78 if (ret.first == 0) in read_lines() 79 ret.second = line; in read_lines() 81 ret.second += "<<NEWLINE>>" + line; in read_lines() 82 ret.first++; in read_lines() 85 if (ret.first == 0) in read_lines() 86 ret.second = line; in read_lines() 88 ret.second += "<<NEWLINE>>" + line; in read_lines() 89 ret.first++; in read_lines() 93 return ret; in read_lines()
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_ptrace_wait.h | 131 int ret = vx == vy; \ 132 if (!ret) \ 149 int ret = vx == vy; \ 150 if (!ret) \ 158 int ret = (x); \ 159 if (!ret) \ 166 int ret = (x); \ 167 if (!ret) \
|
/freebsd/sys/arm64/arm64/ |
H A D | memcpy.S | 74 ret 83 ret 93 ret 106 ret 121 ret 141 ret 193 ret 239 ret
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_status.c | 511 zpool_status_t ret = check_status(zhp->zpool_config, B_FALSE, errata, in zpool_get_status() local 515 if (ret >= NMSGID) in zpool_get_status() 518 *msgid = zfs_msgid_table[ret]; in zpool_get_status() 520 return (ret); in zpool_get_status() 527 zpool_status_t ret = check_status(config, B_TRUE, errata, NULL); in zpool_import_status() local 529 if (ret >= NMSGID) in zpool_import_status() 532 *msgid = zfs_msgid_table[ret]; in zpool_import_status() 534 return (ret); in zpool_import_status()
|
/freebsd/contrib/arm-optimized-routines/string/aarch64/ |
H A D | memcpy.S | 75 ret 84 ret 94 ret 107 ret 122 ret 142 ret 194 ret 240 ret
|
/freebsd/crypto/openssl/crypto/ |
H A D | passphrase.c | 125 int ret = 0; in do_ui_passphrase() local 197 ret = 1; in do_ui_passphrase() 206 return ret; in do_ui_passphrase() 221 int ret; in ossl_pw_get_passphrase() local 247 ret = cb(pass, pass_size, pass_len, params, cbarg); in ossl_pw_get_passphrase() 286 ret = do_ui_passphrase(pass, pass_size, pass_len, prompt_info, verify, in ossl_pw_get_passphrase() 292 if (ret && data->flag_cache_passphrase) { in ossl_pw_get_passphrase() 312 return ret; in ossl_pw_get_passphrase()
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_siv.c | 62 PROV_AES_SIV_CTX *ret; in siv_dupctx() local 67 ret = OPENSSL_malloc(sizeof(*ret)); in siv_dupctx() 68 if (ret == NULL) { in siv_dupctx() 72 if (!in->hw->dupctx(in, ret)) { in siv_dupctx() 73 OPENSSL_free(ret); in siv_dupctx() 74 ret = NULL; in siv_dupctx() 76 return ret; in siv_dupctx()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_agpsupport.c | 281 int ret; in drm_agp_unbind() local 289 ret = drm_unbind_agp(entry->memory); in drm_agp_unbind() 290 if (ret == 0) in drm_agp_unbind() 292 return ret; in drm_agp_unbind() 437 int ret, i; in drm_agp_bind_pages() local 454 ret = agp_bind_memory(mem, gtt_offset / PAGE_SIZE); in drm_agp_bind_pages() 455 if (ret != 0) { in drm_agp_bind_pages() 456 DRM_ERROR("Failed to bind AGP memory: %d\n", ret); in drm_agp_bind_pages()
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | uefi.c | 210 int ret = iwl_uefi_reduce_power_section(trans, in iwl_uefi_reduce_power_parse() local 213 if (!ret) in iwl_uefi_reduce_power_parse() 287 int ret; in iwl_uefi_get_step_table() local 313 ret = iwl_uefi_step_parse(data, trans); in iwl_uefi_get_step_table() 314 if (ret < 0) in iwl_uefi_get_step_table() 359 int ret; in iwl_uefi_get_sgom_table() local 384 ret = iwl_uefi_sgom_parse(data, fwrt); in iwl_uefi_get_sgom_table() 385 if (ret < 0) in iwl_uefi_get_sgom_table()
|
/freebsd/libexec/tftpd/ |
H A D | tftp-options.c | 70 int ret; in options_set_request() local 76 ret = vasprintf(&str, fmt, ap); in options_set_request() 78 if (ret < 0) in options_set_request() 79 return (ret); in options_set_request() 93 int ret; in options_set_reply() local 99 ret = vasprintf(&str, fmt, ap); in options_set_reply() 101 if (ret < 0) in options_set_reply() 102 return (ret); in options_set_reply()
|