/freebsd-11.0-release/crypto/openssl/ssl/ |
H A D | bio_ssl.c | 140 int ret = 1; local 155 /* ret=SSL_do_handshake(ssl); */ 156 if (ret > 0) { 159 ret = -1; 164 /* if (ret > 0) */ 165 ret = SSL_read(ssl, out, outl); 167 switch (SSL_get_error(ssl, ret)) { 169 if (ret <= 0) 172 sb->byte_count += ret; 218 return (ret); 223 int ret, r = 0; local 292 long ret = 1; local 476 long ret = 1; local 499 int n, ret; local 509 BIO *ret = NULL, *buf = NULL, *ssl = NULL; local 530 BIO *ret = NULL, *con = NULL, *ssl = NULL; local 548 BIO *ret; local [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/kadm5/ |
H A D | set_keys.c | 49 kadm5_ret_t ret; local 51 ret = hdb_generate_key_set_password(context->context, 54 if (ret) 55 return ret; 66 ret = hdb_entry_set_password(context->context, context->db, 68 if (ret) 69 return ret; 85 krb5_error_code ret; local 100 ret = krb5_data_copy(&keys[i].key.keyvalue, 103 if(ret) 144 krb5_error_code ret; local 203 kadm5_ret_t ret = 0; local [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/asn1/ |
H A D | asn1_print.c | 56 int ret; local 66 ret = der_get_tag (buf, len, &class, &type, &tag, &sz); 67 if (ret) 68 errx (1, "der_get_tag: %s", error_message (ret)); 85 ret = der_get_length (buf, len, &length, &sz); 86 if (ret) 87 errx (1, "der_get_tag: %s", error_message (ret)); 145 ret = der_get_integer (buf, length, &val, NULL); 146 if (ret) 147 errx (1, "der_get_integer: %s", error_message (ret)); 298 int ret; local [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/krb5/ |
H A D | rd_cred.c | 62 krb5_error_code ret; local 80 ret = decode_KRB_CRED(in_data->data, in_data->length, 82 if(ret) { 84 return ret; 88 ret = KRB5KRB_AP_ERR_BADVERSION; 94 ret = KRB5KRB_AP_ERR_MSG_TYPE; 112 ret = krb5_crypto_init(context, auth_context->remote_subkey, 114 if (ret) 117 ret = krb5_decrypt_EncryptedData(context, 130 if (auth_context->remote_subkey == NULL || ret 332 krb5_error_code ret; local [all...] |
H A D | crypto-aes.c | 95 krb5_error_code ret; local 100 ret = krb5_data_alloc(&result.checksum, ct->checksumsize); 101 if (ret) { 102 krb5_set_error_message(context, ret, N_("malloc: out memory", "")); 103 return ret; 106 ret = (*ct->checksum)(context, NULL, in->data, in->length, 0, &result); 107 if (ret) { 109 return ret; 116 ret = krb5_derive_key(context, crypto->key.key, 118 if (ret) [all...] |
H A D | expand_hostname.c | 110 krb5_error_code ret; local 112 ret = copy_hostname (context, orig_hostname, new_hostname); 113 if (ret) 114 return ret; 117 ret = krb5_get_host_realm (context, *new_hostname, realms); 118 if (ret) { 120 return ret; 151 krb5_error_code ret = 0; local 167 ret = copy_hostname (context, a->ai_canonname, new_hostname); 168 if (ret) { [all...] |
H A D | mk_safe.c | 43 krb5_error_code ret; local 102 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, &s, &len, ret); 103 if (ret) 104 return ret; 107 ret = krb5_crypto_init(context, key, 0, &crypto); 108 if (ret) { 110 return ret; 112 ret = krb5_create_checksum(context, 120 if (ret) { 122 return ret; [all...] |
H A D | crypto-pk.c | 48 krb5_error_code ret; local 102 ret = krb5_random_to_key(context, type, keydata, keylen, key); 105 return ret; 112 krb5_error_code ret; local 119 &pn, &size, ret); 120 if (ret) { 122 krb5_set_error_message(context, ret, 124 return ret; 144 krb5_error_code ret; local 157 &pubinfo, &size, ret); 211 krb5_error_code ret; local [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/objects/ |
H A D | o_names.c | 70 int ret; local 83 ret = names_type_num; 103 name_funcs = sk_NAME_FUNCS_value(name_funcs_stack, ret); 110 return (ret); 116 int ret; local 120 ret = a->type - b->type; 121 if (ret == 0) { 124 ret = sk_NAME_FUNCS_value(name_funcs_stack, 127 ret = strcmp(a->name, b->name); 129 return (ret); 135 unsigned long ret; local 152 OBJ_NAME on, *ret; local 182 OBJ_NAME *onp, *ret; local 228 OBJ_NAME on, *ret; local [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/bio/ |
H A D | bss_acpt.c | 144 BIO_ACCEPT *ret; local 146 if ((ret = (BIO_ACCEPT *)OPENSSL_malloc(sizeof(BIO_ACCEPT))) == NULL) 149 memset(ret, 0, sizeof(BIO_ACCEPT)); 150 ret->accept_sock = INVALID_SOCKET; 151 ret->bind_mode = BIO_BIND_NORMAL; 152 return (ret); 303 int ret = 0; local 310 ret = acpt_state(b, data); 311 if (ret <= 0) 312 return (ret); 322 int ret; local 342 long ret = 1; local 441 int n, ret; local 450 BIO *ret; local [all...] |
/freebsd-11.0-release/crypto/heimdal/kdc/ |
H A D | misc.c | 48 krb5_error_code ret = HDB_ERR_NOENTRY; local 68 ret = KRB5_PARSE_MALFORMED; 69 krb5_set_error_message(context, ret, 74 return ret; 76 ret = krb5_parse_name(context, principal->name.name_string.val[0], 78 if (ret) { 80 return ret; 86 ret = config->db[i]->hdb_open(context, config->db[i], O_RDONLY, 0); 87 if (ret) { 88 const char *msg = krb5_get_error_message(context, ret); 137 krb5_error_code ret; local [all...] |
H A D | kerberos5.c | 131 krb5_error_code ret; local 138 ret = krb5_get_pw_salt(context, princ->entry.principal, &def_salt); 139 if (ret) 140 return ret; 142 ret = KRB5KDC_ERR_ETYPE_NOSUPP; 174 ret = hdb_enctype2key(context, &princ->entry, p[i], &key); 175 if (ret) 185 ret = KRB5KDC_ERR_ETYPE_NOSUPP; 186 if (ret == 0 && ret_enctype != NULL) 188 if (ret 335 krb5_error_code ret; local 526 krb5_error_code ret = 0; local 639 krb5_error_code ret = 0; local 681 krb5_error_code ret; local 875 krb5_error_code ret; local 918 krb5_error_code ret; local 976 krb5_error_code ret = 0; local 1871 krb5_error_code ret; local [all...] |
/freebsd-11.0-release/crypto/heimdal/kuser/ |
H A D | kswitch.c | 62 krb5_error_code ret; local 84 ret = krb5_cc_cache_get_first(kcc_context, NULL, &cursor); 85 if (ret) 86 krb5_err(kcc_context, 1, ret, "krb5_cc_cache_get_first"); 92 ret = krb5_cc_get_principal(kcc_context, id, &p); 93 if (ret) 96 ret = krb5_unparse_name(kcc_context, p, &name); 133 ret = krb5_parse_name(kcc_context, opt->principal_string, &p); 134 if (ret) 135 krb5_err(kcc_context, 1, ret, "krb5_parse_nam [all...] |
/freebsd-11.0-release/lib/libc/locale/ |
H A D | setrunelocale.c | 99 int ret; local 133 ret = _ascii_init(l, rl); 135 ret = _none_init(l, rl); 137 ret = _UTF8_init(l, rl); 139 ret = _EUC_CN_init(l, rl); 141 ret = _EUC_JP_init(l, rl); 143 ret = _EUC_KR_init(l, rl); 145 ret = _EUC_TW_init(l, rl); 147 ret = _GB18030_init(l, rl); 149 ret 174 int ret = __setrunelocale(&__xlocale_global_ctype, locale); local [all...] |
/freebsd-11.0-release/contrib/jemalloc/src/ |
H A D | pages.c | 23 void *ret; local 35 ret = VirtualAlloc(addr, size, MEM_RESERVE | (*commit ? MEM_COMMIT : 0), 45 ret = mmap(addr, size, prot, mmap_flags, -1, 0); 47 assert(ret != NULL); 49 if (ret == MAP_FAILED) 50 ret = NULL; 51 else if (addr != NULL && ret != addr) { 55 pages_unmap(ret, size); 56 ret = NULL; 59 assert(ret 93 void *ret = (void *)((uintptr_t)addr + leadsize); local [all...] |
/freebsd-11.0-release/lib/librt/ |
H A D | aio.c | 103 int ret, err; local 106 ret = sysfunc(iocb); 107 return (ret); 110 ret = aio_sigev_alloc(iocb, &sn, &saved_ev); 111 if (ret) 112 return (ret); 113 ret = sysfunc(iocb); 115 if (ret != 0) { 122 return (ret); 142 ssize_t ret; local 186 int ret, err; local [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/dh/ |
H A D | dh_check.c | 74 int DH_check(const DH *dh, int *ret) argument 81 *ret = 0; 95 *ret |= DH_NOT_SUITABLE_GENERATOR; 97 *ret |= DH_NOT_SUITABLE_GENERATOR; 103 *ret |= DH_NOT_SUITABLE_GENERATOR; 106 *ret |= DH_CHECK_Q_NOT_PRIME; 111 *ret |= DH_CHECK_INVALID_Q_VALUE; 113 *ret |= DH_CHECK_INVALID_J_VALUE; 118 *ret |= DH_NOT_SUITABLE_GENERATOR; 124 *ret | 151 DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) argument [all...] |
/freebsd-11.0-release/tools/regression/sockets/accf_data_attach/ |
H A D | accf_data_attach.c | 67 int lso, ret; local 95 ret = getsockopt(lso, SOL_SOCKET, SO_ACCEPTFILTER, &afa, &len); 96 if (ret != -1) 120 ret = getsockopt(lso, SOL_SOCKET, SO_ACCEPTFILTER, &afa, &len); 121 if (ret != -1) 134 ret = setsockopt(lso, SOL_SOCKET, SO_ACCEPTFILTER, &afa, sizeof(afa)); 135 if (ret == 0) 144 ret = getsockopt(lso, SOL_SOCKET, SO_ACCEPTFILTER, &afa, &len); 145 if (ret == 0) 165 ret [all...] |
/freebsd-11.0-release/sys/dev/drm2/ttm/ |
H A D | ttm_bo.c | 80 int i, ret, mem_type; local 86 ret = ttm_mem_type_from_flags(placement->placement[i], 88 if (ret) 139 int flags, ret; local 141 ret = 0; 150 ret = -msleep(bo, &bo->glob->lru_lock, flags, wmsg, 0); 151 if (ret == -EINTR || ret == -ERESTART) 152 ret = -ERESTARTSYS; 153 if (ret ! 206 int ret; local 285 int ret; local 304 int ret; local 338 int put_count, ret; local 374 int ret = 0; local 422 int ret = 0; local 557 int ret; local 616 int ret; local 697 int ret = 0; local 811 int ret = 0; local 868 int ret = -EBUSY, put_count; local 928 int ret; local 1012 int i, ret; local 1111 int ret = 0; local 1172 int ret; local 1229 int ret = 0; local 1349 int ret; local 1367 int ret; local 1393 int ret = -EINVAL; local 1440 int ret = -EINVAL; local 1491 int req, ret; local 1537 int ret = 0; local 1587 int ret = -EINVAL; local 1686 int ret; local 1726 int ret = 0; local 1777 int ret = 0; local 1810 int ret = -EBUSY; local [all...] |
/freebsd-11.0-release/contrib/ofed/management/opensm/osmtest/ |
H A D | osmt_mtl_regular_qp.c | 82 VAPI_ret_t ret; local 89 ret = 96 ret = VAPI_alloc_pd(res->hca_hndl, &(res->pd_hndl)); 100 ret = 104 ret = 110 /* ret= EVAPI_set_comp_eventh(res->hca_hndl,res->rq_cq_hndl, */ 113 /* ret= EVAPI_set_comp_eventh(res->hca_hndl,res->sq_cq_hndl, */ 131 ret = 142 VAPI_ret_t ret; local 163 ret 174 VAPI_ret_t ret; local 216 VAPI_ret_t ret; local 251 VAPI_ret_t ret; local 333 VAPI_ret_t ret; local 358 VAPI_ret_t ret; local 395 VAPI_ret_t ret; local 428 VAPI_ret_t ret = VAPI_CQ_EMPTY; local [all...] |
/freebsd-11.0-release/lib/libc/iconv/ |
H A D | citrus_stdenc.c | 58 int ret; local 66 ret = errno; 74 ret = _citrus_load_module(&handle, encname); 75 if (ret) 83 ret = EINVAL; 89 ret = errno; 93 ret = (*getops)(ce->ce_ops, sizeof(*ce->ce_ops)); 94 if (ret) 106 ret = EINVAL; 113 ret [all...] |
/freebsd-11.0-release/lib/libthr/thread/ |
H A D | thr_join.c | 83 int ret = 0; local 91 if ((ret = _thr_find_thread(curthread, pthread, 1)) != 0) 95 ret = EINVAL; 98 ret = ENOTSUP; 100 if (ret) { 102 return (ret); 119 ret = ETIMEDOUT; 125 ret = _thr_umtx_wait(&pthread->tid, tid, tsp); 126 if (ret == ETIMEDOUT) 133 if (ret [all...] |
/freebsd-11.0-release/usr.sbin/nandtool/ |
H A D | nand_write.c | 43 int in_fd = -1, ret = 0, done = 0; local 64 ret = 1; 70 ret = 1; 88 ret = 1; 94 ret = 1; 106 ret = 1; 113 if ((ret = read(in_fd, buf, chip_params.page_size)) != 115 if (ret > 0) { 120 ret = 1; 125 if ((ret [all...] |
/freebsd-11.0-release/crypto/heimdal/kcm/ |
H A D | events.c | 50 krb5_error_code ret; local 57 ret = kcm_enqueue_event_internal(context, event); 60 return ret; 139 krb5_error_code ret; local 146 ret = kcm_enqueue_event(context, &e); 148 return ret; 206 krb5_error_code ret = 0; local 239 return ret; 248 krb5_error_code ret; local 253 ret 268 krb5_error_code ret; local 324 krb5_error_code ret; local 399 krb5_error_code ret; local [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/gssapi/krb5/ |
H A D | verify_mic.c | 58 OM_uint32 ret; local 62 ret = _gsskrb5_verify_header (&p, 66 if (ret) 67 return ret; 124 ret = _gssapi_msg_order_check(context_handle->order, seq_number); 125 if (ret) { 127 return ret; 151 OM_uint32 ret; local 160 ret = _gsskrb5_verify_header (&p, 164 if (ret) 291 OM_uint32 ret; local 348 OM_uint32 ret; local [all...] |