Searched refs:ret (Results 101 - 125 of 4059) sorted by relevance

1234567891011>>

/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Drd_rep.c42 krb5_error_code ret; local
50 ret = decode_AP_REP(inbuf->data, inbuf->length, &ap_rep, &len);
51 if (ret)
52 return ret;
54 ret = KRB5KRB_AP_ERR_BADVERSION;
59 ret = KRB5KRB_AP_ERR_MSG_TYPE;
64 ret = krb5_crypto_init(context, auth_context->keyblock, 0, &crypto);
65 if (ret)
67 ret = krb5_decrypt_EncryptedData (context,
73 if (ret)
[all...]
H A Dfcache.c75 int ret; local
83 ret = fcntl(fd, F_SETLKW, &l);
85 ret = flock(fd, exclusive ? LOCK_EX : LOCK_SH);
87 if(ret < 0)
88 ret = errno;
89 if(ret == EACCES) /* fcntl can return EACCES instead of EAGAIN */
90 ret = EAGAIN;
92 switch (ret) {
96 ret = 0;
99 krb5_set_error_message(context, ret,
118 int ret; local
151 krb5_error_code ret; local
252 int ret; local
314 krb5_error_code ret; local
388 krb5_error_code ret; local
422 int ret = 0; local
502 int ret; local
547 krb5_error_code ret; local
692 krb5_error_code ret; local
718 krb5_error_code ret; local
755 krb5_error_code ret; local
799 krb5_error_code ret; local
906 krb5_error_code ret; local
960 krb5_error_code ret = 0; local
1051 krb5_error_code ret; local
1078 krb5_error_code ret; local
[all...]
H A Dkeytab_keyfile.c70 int ret; local
74 ret = errno;
75 krb5_set_error_message (context, ret,
78 strerror(ret));
79 return ret;
134 int ret; local
144 ret = get_cell_and_realm (context, d);
145 if (ret) {
147 return ret;
203 int32_t ret; local
246 int ret; local
317 krb5_error_code ret; local
[all...]
H A Dscache.c199 int ret; local
201 ret = sqlite3_prepare_v2(db, str, -1, stmt, NULL);
202 if (ret != SQLITE_OK) {
215 int ret; local
217 ret = sqlite3_exec(db, str, NULL, NULL, NULL);
218 if (ret != SQLITE_OK && code) {
231 int ret; local
233 ret = _krb5_expand_default_cc_name(context, KRB5_SCACHE_DB, &name);
234 if (ret)
235 return ret;
254 krb5_error_code ret; local
299 krb5_error_code ret; local
312 krb5_error_code ret; local
342 int ret; local
363 int ret; local
385 int ret; local
459 krb5_error_code ret; local
492 int ret; local
564 krb5_error_code ret; local
635 int ret; local
657 krb5_error_code ret; local
687 krb5_error_code ret; local
715 krb5_error_code ret; local
822 krb5_error_code ret; local
878 krb5_error_code ret; local
986 krb5_error_code ret; local
1057 krb5_error_code ret; local
1158 krb5_error_code ret; local
1251 krb5_error_code ret; local
1298 krb5_error_code ret; local
1365 krb5_error_code ret; local
1388 krb5_error_code ret; local
[all...]
/freebsd-13-stable/crypto/heimdal/lib/hx509/
H A Dca.c227 int ret; local
232 ret = hx509_cert_get_subject(cert, &tbs->subject);
233 if (ret) {
234 hx509_set_error_string(context, 0, ret,
236 return ret;
241 ret = hx509_cert_get_serialnumber(cert, &tbs->serial);
242 tbs->flags.serial = !ret;
243 if (ret) {
244 hx509_set_error_string(context, 0, ret,
246 return ret;
372 int ret; local
397 int ret; local
423 int ret; local
468 int ret; local
603 int ret; local
695 int ret; local
865 int ret; local
919 int ret; local
958 int ret; local
994 int ret; local
1430 int ret; local
1545 int ret; local
[all...]
/freebsd-13-stable/crypto/heimdal/kcm/
H A Dclient.c45 krb5_error_code ret; local
47 ret = kcm_ccache_resolve(context, name, ccache);
48 if (ret) {
50 name, krb5_get_err_text(context, ret));
51 return ret;
54 ret = kcm_access(context, client, opcode, *ccache);
55 if (ret) {
56 ret = KRB5_FCC_NOFILE; /* don't disclose */
60 return ret;
68 krb5_error_code ret; local
93 krb5_error_code ret; local
[all...]
/freebsd-13-stable/crypto/heimdal/kdc/
H A Dkdc-replay.c47 usage(int ret) argument
50 exit (ret);
56 krb5_error_code ret; local
75 ret = krb5_init_context(&context);
76 if (ret)
79 ret = krb5_kdc_get_config(context, &config);
80 if (ret)
81 krb5_err(context, 1, ret, "krb5_kdc_default_config");
85 ret = krb5_kdc_set_dbinfo(context, config);
86 if (ret)
[all...]
/freebsd-13-stable/contrib/ofed/librdmacm/examples/
H A Drdma_xserver.c53 int ret; local
61 ret = rdma_create_srq(id, NULL, &attr);
62 if (ret)
69 return ret;
78 int ret; local
80 ret = rdma_getaddrinfo(NULL, port, &hints, &res);
81 if (ret) {
82 printf("rdma_getaddrinfo: %s\n", gai_strerror(ret));
83 return ret;
89 ret
150 int op, ret; local
[all...]
H A Drdma_client.c53 int ret; local
57 ret = rdma_getaddrinfo(server, port, &hints, &res);
58 if (ret) {
59 printf("rdma_getaddrinfo: %s\n", gai_strerror(ret));
69 ret = rdma_create_ep(&id, res, NULL, &attr);
77 if (ret) {
85 ret = -1;
92 ret = -1;
97 ret = rdma_post_recv(id, NULL, recv_msg, 16, mr);
98 if (ret) {
144 int op, ret; local
[all...]
/freebsd-13-stable/crypto/openssl/crypto/bio/
H A Dbss_sock.c62 BIO *ret; local
64 ret = BIO_new(BIO_s_socket());
65 if (ret == NULL)
67 BIO_set_fd(ret, fd, close_flag);
79 return ret;
107 int ret = 0; local
113 ret = ktls_read_record(b->num, out, outl);
116 ret = readsocket(b->num, out, outl);
118 if (ret <= 0) {
119 if (BIO_sock_should_retry(ret))
130 int ret = 0; local
154 long ret = 1; local
219 int n, ret; local
[all...]
/freebsd-13-stable/crypto/heimdal/lib/gssapi/krb5/
H A Dprocess_context_token.c43 OM_uint32 ret = GSS_S_FAILURE; local
51 ret = _gsskrb5_verify_mic_internal(minor_status,
58 if (ret == GSS_S_COMPLETE)
59 ret = _gsskrb5_delete_sec_context(minor_status,
62 if (ret == GSS_S_COMPLETE)
65 return ret;
/freebsd-13-stable/lib/libc/stdio/
H A Dasprintf.c50 int ret; local
54 ret = vasprintf(s, fmt, ap);
56 return (ret);
62 int ret; local
66 ret = vasprintf_l(s, locale, fmt, ap);
68 return (ret);
H A Dprintf.c53 int ret; local
57 ret = vfprintf(stdout, fmt, ap);
59 return (ret);
64 int ret; local
68 ret = vfprintf_l(stdout, locale, fmt, ap);
70 return (ret);
H A Dsprintf.c55 int ret; local
59 ret = vsprintf(str, fmt, ap);
61 return (ret);
67 int ret; local
72 ret = vsprintf_l(str, locale, fmt, ap);
74 return (ret);
H A Dsscanf.c55 int ret; local
59 ret = vsscanf(str, fmt, ap);
61 return (ret);
67 int ret; local
71 ret = vsscanf_l(str, locale, fmt, ap);
73 return (ret);
H A Dwprintf.c45 int ret; local
49 ret = vfwprintf(stdout, fmt, ap);
52 return (ret);
57 int ret; local
61 ret = vfwprintf_l(stdout, locale, fmt, ap);
64 return (ret);
/freebsd-13-stable/contrib/libpcap/missing/
H A Dwin_snprintf.c9 int ret; local
11 ret = _vsnprintf_s(str, str_size, _TRUNCATE, format, args);
30 return (ret);
37 int ret; local
40 ret = pcap_vsnprintf(str, str_size, format, args);
42 return (ret);
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.bcopy.d46 ret = (`kmem_flags == *intp) ? 0 : 1;
50 /ret == 0/
56 /ret == 1/
/freebsd-13-stable/crypto/heimdal/kpasswd/
H A Dkpasswd.c51 usage (int ret, struct getargs *a, int num_args) argument
54 exit (ret);
64 krb5_error_code ret; local
75 ret = krb5_unparse_name(context, principal, &name);
76 if (ret)
77 krb5_err(context, 1, ret, "krb5_unparse_name");
85 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), msg, 1);
89 if (ret != 0) {
93 ret = krb5_set_password_using_ccache (context, id, pwbuf,
98 if (ret) {
118 krb5_error_code ret; local
[all...]
/freebsd-13-stable/crypto/heimdal/kuser/
H A Dkgetcred.c70 usage (int ret) argument
76 exit (ret);
82 krb5_error_code ret; local
93 ret = krb5_init_context (&context);
94 if (ret)
95 errx(1, "krb5_init_context failed: %d", ret);
115 ret = krb5_cc_resolve(context, cache_str, &cache);
116 if (ret)
117 krb5_err (context, 1, ret, "%s", cache_str);
119 ret
[all...]
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dstrftime.c101 int ret = hour % 12; local
103 if (ret == 0)
104 ret = 12;
105 return ret;
153 int ret; local
155 ret = (tm->tm_yday + w1day) / 7;
157 --ret;
158 if (ret == -1)
159 ret = 53;
161 ++ret;
174 int ret; local
[all...]
/freebsd-13-stable/crypto/heimdal/lib/kadm5/
H A Dipropd_slave.c105 krb5_error_code ret; local
112 ret = krb5_kt_default_name (context, keytab_buf, sizeof(keytab_buf));
113 if (ret)
114 krb5_err (context, 1, ret, "krb5_kt_default_name");
118 ret = krb5_kt_resolve(context, keytab_str, &keytab);
119 if(ret)
120 krb5_err(context, 1, ret, "%s", keytab_str);
123 ret = krb5_sname_to_principal (context, slave_str, IPROP_NAME,
125 if (ret) krb5_err(context, 1, ret, "krb5_sname_to_principa
160 int ret; local
183 int ret; local
302 int ret; local
323 int ret; local
347 int ret; local
494 krb5_error_code ret; local
[all...]
H A Ddelete_s.c42 kadm5_ret_t ret; local
46 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
47 if(ret) {
48 krb5_warn(context->context, ret, "opening database");
49 return ret;
51 ret = context->db->hdb_fetch_kvno(context->context, context->db, princ,
53 if(ret == HDB_ERR_NOENTRY)
56 ret = KADM5_PROTECT_PRINCIPAL;
60 ret = hdb_seal_keys(context->context, context->db, &ent.entry);
61 if (ret)
[all...]
/freebsd-13-stable/crypto/heimdal/admin/
H A Dremove.c41 krb5_error_code ret = 0; local
48 ret = krb5_parse_name(context, opt->principal_string, &principal);
49 if(ret) {
50 krb5_warn(context, ret, "%s", opt->principal_string);
55 ret = krb5_string_to_enctype(context, opt->enctype_string, &enctype);
56 if(ret) {
61 krb5_warn(context, ret, "%s", opt->enctype_string);
72 ret = EINVAL;
77 ret = 1;
84 ret
[all...]
/freebsd-13-stable/crypto/heimdal/lib/gssapi/ntlm/
H A Diter_cred.c44 krb5_error_code ret; local
49 ret = krb5_init_context(&context);
50 if (ret)
53 ret = krb5_kcm_storage_request(context, KCM_OP_GET_NTLM_USER_LIST, &request);
54 if (ret)
57 ret = krb5_kcm_call(context, request, &response, &response_data);
59 if (ret)
67 ret = krb5_ret_uint32(response, &morep);
68 if (ret) goto out;
72 ret
[all...]

Completed in 295 milliseconds

1234567891011>>