Searched refs:ret (Results 251 - 275 of 4059) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dmk_rep.c41 krb5_error_code ret; local
58 ret = krb5_auth_con_generatelocalsubkey(context,
61 if(ret) {
63 return ret;
66 ret = krb5_copy_keyblock(context, auth_context->local_subkey,
68 if (ret) {
94 ASN1_MALLOC_ENCODE(EncAPRepPart, buf, buf_size, &body, &len, ret);
96 if(ret)
97 return ret;
100 ret
[all...]
H A Dpkinit.c199 int ret = HX509_CERT_NOT_FOUND; local
214 ret = hx509_query_match_eku(q, cf[i].oid);
215 if (ret) {
216 pk_copy_error(context, context->hx509ctx, ret,
218 return ret;
221 ret = hx509_certs_find(context->hx509ctx, id->certs, q, cert);
222 if (ret == 0)
224 pk_copy_error(context, context->hx509ctx, ret,
227 return ret;
239 int ret, flag local
271 int ret; local
377 krb5_error_code ret; local
639 krb5_error_code ret; local
663 krb5_error_code ret; local
909 int ret, flags = 0; local
970 krb5_error_code ret; local
1018 krb5_error_code ret; local
1084 krb5_error_code ret = 0; local
1177 krb5_error_code ret; local
1330 krb5_error_code ret; local
1563 krb5_error_code ret; local
1739 krb5_error_code ret; local
1778 int ret; local
1856 int ret; local
1996 int ret; local
2021 int ret; local
2051 int ret; local
2195 krb5_error_code ret; local
2379 krb5_error_code ret; local
2517 int ret; local
2542 int ret; local
2566 krb5_error_code ret; local
[all...]
H A Drd_error.c43 krb5_error_code ret; local
45 ret = decode_KRB_ERROR(msg->data, msg->length, result, &len);
46 if(ret) {
48 return ret;
75 krb5_error_code ret; local
77 ret = error->error_code;
79 krb5_set_error_message(context, ret, "%s", *error->e_text);
90 switch (ret) {
92 krb5_set_error_message(context, ret,
99 krb5_set_error_message(context, ret,
[all...]
H A Dget_addrs.c49 krb5_error_code ret; local
54 ret = errno;
55 krb5_set_error_message(context, ret, "gethostname: %s", strerror(ret));
56 return ret;
60 ret = errno;
61 krb5_set_error_message (context, ret, "gethostbyname %s: %s",
62 hostname, strerror(ret));
63 return ret;
74 ret
101 krb5_error_code ret = ENXIO; local
223 krb5_error_code ret = -1; local
[all...]
H A Drd_req.c43 krb5_error_code ret; local
48 ret = krb5_crypto_init(context, key, 0, &crypto);
49 if (ret)
50 return ret;
51 ret = krb5_decrypt_EncryptedData (context,
57 if (ret)
58 return ret;
60 ret = decode_EncTicketPart(plain.data, plain.length, decr_part, &len);
61 if (ret)
62 krb5_set_error_message(context, ret,
76 krb5_error_code ret; local
111 krb5_error_code ret; local
139 krb5_error_code ret; local
175 krb5_error_code ret; local
231 krb5_error_code ret; local
278 krb5_error_code ret; local
348 krb5_error_code ret; local
696 krb5_error_code ret; local
741 krb5_error_code ret; local
785 krb5_error_code ret; local
848 krb5_error_code ret; local
[all...]
/freebsd-13-stable/crypto/heimdal/lib/hdb/
H A Dhdb-ldap.c118 int ret, limit = LDAP_NO_LIMIT; local
120 ret = ldap_set_option(lp, LDAP_OPT_SIZELIMIT, (const void *)&limit);
121 if (ret != LDAP_SUCCESS) {
124 ldap_err2string(ret));
131 check_ldap(krb5_context context, HDB *db, int ret) argument
133 switch (ret) {
202 krb5_error_code ret; local
205 ret = LDAP__setmod(modlist, modop | LDAP_MOD_BVALUES, attribute, &cMods);
206 if (ret)
207 return ret;
242 krb5_error_code ret; local
292 krb5_error_code ret; local
336 krb5_error_code ret; local
353 int ret; local
386 krb5_error_code ret; local
744 krb5_error_code ret; local
838 krb5_error_code ret; local
934 krb5_error_code ret; local
979 int tmp, tmp_time, i, ret, have_arcfour = 0; local
1436 krb5_error_code ret; local
1500 krb5_error_code ret; local
1611 krb5_error_code ret; local
1651 krb5_error_code ret; local
1730 krb5_error_code ret; local
1779 krb5_error_code ret; local
1906 krb5_error_code ret; local
[all...]
/freebsd-13-stable/contrib/xz/src/liblzma/common/
H A Dstream_buffer_decoder.c37 lzma_ret ret = lzma_stream_decoder_init( local
40 if (ret == LZMA_OK) {
47 ret = stream_decoder.code(stream_decoder.coder, allocator,
51 if (ret == LZMA_STREAM_END) {
52 ret = LZMA_OK;
58 if (ret == LZMA_OK) {
70 ret = LZMA_DATA_ERROR;
72 ret = LZMA_BUF_ERROR;
74 } else if (ret == LZMA_MEMLIMIT_ERROR) {
90 return ret;
[all...]
H A Dfilter_buffer_encoder.c37 lzma_ret ret = next.code(next.coder, allocator, in, &in_pos, in_size, local
41 if (ret == LZMA_STREAM_END) {
42 ret = LZMA_OK;
44 if (ret == LZMA_OK) {
47 ret = LZMA_BUF_ERROR;
54 return ret;
/freebsd-13-stable/crypto/heimdal/lib/kadm5/
H A Dcreate_c.c45 kadm5_ret_t ret; local
51 ret = _kadm5_connect(server_handle);
52 if(ret)
53 return ret;
64 ret = _kadm5_client_send(context, sp);
66 if (ret)
67 return ret;
68 ret = _kadm5_client_recv(context, &reply);
69 if(ret)
70 return ret;
[all...]
H A Dinit_c.c71 krb5_error_code ret; local
82 ret = 0;
85 ret = ENOMEM;
87 ret = krb5_get_default_realm((*ctx)->context, &(*ctx)->realm);
88 if (ret) {
90 return ret;
97 ret = krb5_get_krb_admin_hst (context, &(*ctx)->realm, &hostlist);
98 if (ret) {
101 return ret;
137 krb5_error_code ret; local
161 krb5_error_code ret; local
246 krb5_error_code ret; local
325 krb5_error_code ret; local
408 kadm5_ret_t ret; local
569 kadm5_ret_t ret; local
619 kadm5_ret_t ret; local
[all...]
H A Drename_s.c44 kadm5_ret_t ret; local
51 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
52 if(ret)
53 return ret;
54 ret = context->db->hdb_fetch_kvno(context->context, context->db,
56 if(ret){
60 ret = _kadm5_set_modifier(context, &ent.entry);
61 if(ret)
78 ret = copy_Salt(&salt, ent.entry.keys.val[i].salt);
79 if(ret)
[all...]
/freebsd-13-stable/sys/dev/drm2/ttm/
H A Dttm_lock.c97 int flags, ret; local
99 ret = 0;
109 ret = -msleep(lock, &lock->lock, flags, wmsg, 0);
110 if (ret == -EINTR || ret == -ERESTART)
111 ret = -ERESTARTSYS;
112 if (ret != 0)
115 return (ret);
142 int flags, ret; local
145 ret
197 int flags, ret; local
234 int ret = 0; local
250 int ret; local
276 int flags, ret; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_002_pos.c30 int i, fd, ret; local
61 if ((ret = system("sudo zpool freeze $TESTPOOL"))) {
62 if (ret == -1)
66 WEXITSTATUS(ret));
72 if ((ret = system("sudo zpool export $TESTPOOL"))) {
73 if (ret == -1)
77 WEXITSTATUS(ret));
81 if ((ret = system("sudo zpool import $TESTPOOL"))) {
82 if (ret == -1)
86 WEXITSTATUS(ret));
[all...]
/freebsd-13-stable/crypto/heimdal/lib/ntlm/
H A Dtest_ntlm.c55 int ret, flags; local
65 ret = heim_ntlm_encode_type1(&type1, &data);
66 if (ret)
71 ret = heim_ntlm_decode_type1(&data, &type1);
73 if (ret)
92 ret = heim_ntlm_encode_type2(&type2, &data);
93 if (ret)
98 ret = heim_ntlm_decode_type2(&data, &type2);
100 if (ret)
126 ret
192 int ret; local
250 int ret; local
297 int ret; local
335 usage(int ret) argument
345 int ret = 0, optind = 0; local
[all...]
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dbsd-setres_id.c31 int ret = 0, saved_errno; local
42 ret = -1;
49 ret = -1;
55 ret = -1;
58 return ret;
66 int ret = 0, saved_errno; local
77 ret = -1;
86 ret = -1;
93 ret = -1;
96 return ret;
[all...]
/freebsd-13-stable/crypto/heimdal/kdc/
H A Dkx509.c105 krb5_error_code ret; local
117 ret = krb5_data_alloc(rep->hash, HMAC_size(ctx));
118 if (ret) {
160 int ret; local
167 ret = hx509_env_add(context->hx509ctx, &env, "principal-name",
169 if (ret)
176 ret = hx509_certs_init(context->hx509ctx, config->kx509_ca, 0,
178 if (ret) {
183 ret = hx509_query_alloc(context->hx509ctx, &q);
184 if (ret) {
295 krb5_error_code ret; local
[all...]
/freebsd-13-stable/lib/libc/iconv/
H A Dcitrus_esdb.c83 int ret; local
86 ret = _db_open(&db, fr, _CITRUS_ESDB_MAGIC, &_db_hash_std, NULL);
87 if (ret)
91 ret = _db_lookup32_by_s(db, _CITRUS_ESDB_SYM_VERSION, &version, NULL);
92 if (ret)
100 ret = EFTYPE;
105 ret = _db_lookupstr_by_s(db, _CITRUS_ESDB_SYM_ENCODING, &str, NULL);
106 if (ret)
110 ret = errno;
116 ret
199 int ret; local
266 int ret; local
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbtowc.c75 size_t stateful, ret; local
96 ret = mbtowc(NULL, NULL, 0);
97 ATF_REQUIRE(stateful ? ret : !ret);
102 ret = mbtowc(NULL, illegal, strlen(illegal));
103 (void)printf("mbtowc() returned: %zd\n", ret);
104 ATF_REQUIRE_EQ(ret, (size_t)-1);
111 ret = mbtowc(NULL, NULL, 0);
112 ATF_REQUIRE(stateful ? ret : !ret);
[all...]
/freebsd-13-stable/sys/riscv/include/
H A Dendian.h65 __uint64_t ret; local
67 ret = (_x >> 56);
68 ret |= ((_x >> 40) & 0xff00);
69 ret |= ((_x >> 24) & 0xff0000);
70 ret |= ((_x >> 8) & 0xff000000);
71 ret |= ((_x << 8) & ((__uint64_t)0xff << 32));
72 ret |= ((_x << 24) & ((__uint64_t)0xff << 40));
73 ret |= ((_x << 40) & ((__uint64_t)0xff << 48));
74 ret |= (_x << 56);
76 return (ret);
90 __uint32_t ret; local
[all...]
/freebsd-13-stable/sys/dev/smartpqi/
H A Dsmartpqi_sis.c121 int ret = PQI_STATUS_SUCCESS; local
133 ret = PQI_STATUS_TIMEOUT;
137 return ret;
144 int ret = PQI_STATUS_SUCCESS; local
154 ret = PQI_STATUS_TIMEOUT;
158 return ret;
165 int ret = PQI_STATUS_SUCCESS; local
200 ret = PQI_STATUS_TIMEOUT;
209 ret = PQI_STATUS_FAILURE;
218 return ret;
230 int ret = PQI_STATUS_SUCCESS; local
252 int ret = PQI_STATUS_SUCCESS; local
277 int ret = PQI_STATUS_SUCCESS; local
309 int ret = PQI_STATUS_SUCCESS; local
390 int ret = PQI_STATUS_SUCCESS; local
[all...]
/freebsd-13-stable/crypto/openssl/crypto/dh/
H A Ddh_gen.c20 static int dh_builtin_genparams(DH *ret, int prime_len, int generator,
23 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, argument
26 if (ret->meth->generate_params)
27 return ret->meth->generate_params(ret, prime_len, generator, cb);
28 return dh_builtin_genparams(ret, prime_len, generator, cb);
61 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, argument
77 /* Make sure 'ret' has the necessary elements */
78 if (!ret->p && ((ret
[all...]
/freebsd-13-stable/crypto/openssl/crypto/buffer/
H A Dbuffer.c23 BUF_MEM *ret; local
25 ret = BUF_MEM_new();
26 if (ret != NULL)
27 ret->flags = flags;
28 return ret;
33 BUF_MEM *ret; local
35 ret = OPENSSL_zalloc(sizeof(*ret));
36 if (ret == NULL) {
40 return ret;
60 char *ret; local
75 char *ret; local
112 char *ret; local
[all...]
/freebsd-13-stable/tools/tools/vop_table/
H A Dvop_table.pl113 $ret = "<TD BGCOLOR=\"#00ddd0\"> ";
116 $ret .= "b";
117 return $ret;
120 $ret .= "!";
121 return $ret;
124 $ret .= "-";
125 return $ret;
128 $ret .= "S";
129 return $ret;
132 $ret
[all...]
/freebsd-13-stable/crypto/openssl/crypto/lhash/
H A Dlhash.c49 OPENSSL_LHASH *ret; local
51 if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL) {
59 if ((ret->b = OPENSSL_zalloc(sizeof(*ret->b) * MIN_NODES)) == NULL)
61 ret->comp = ((c == NULL) ? (OPENSSL_LH_COMPFUNC)strcmp : c);
62 ret->hash = ((h == NULL) ? (OPENSSL_LH_HASHFUNC)OPENSSL_LH_strhash : h);
63 ret->num_nodes = MIN_NODES / 2;
64 ret->num_alloc_nodes = MIN_NODES;
65 ret
100 void *ret; local
132 void *ret; local
160 void *ret; local
298 OPENSSL_LH_NODE **ret, *n1; local
333 unsigned long ret = 0; local
356 unsigned long ret = 0; local
[all...]
/freebsd-13-stable/crypto/heimdal/lib/gssapi/krb5/
H A Dinquire_cred_by_oid.c43 krb5_error_code ret; local
62 ret = krb5_cc_get_full_name(context, cred->ccache, &str);
64 if (ret) {
65 *minor_status = ret;
72 ret = gss_add_buffer_set_member(minor_status, &buffer, data_set);
73 if (ret != GSS_S_COMPLETE)

Completed in 181 milliseconds

<<11121314151617181920>>