Searched refs:ret (Results 1 - 25 of 4133) sorted by relevance

1234567891011>>

/freebsd-head/contrib/wpa/wpa_supplicant/
H A Deap_register.c26 int ret = 0; local
29 if (ret == 0)
30 ret = eap_peer_md5_register();
34 if (ret == 0)
35 ret = eap_peer_tls_register();
39 if (ret == 0)
40 ret = eap_peer_unauth_tls_register();
45 if (ret == 0)
46 ret = eap_peer_wfa_unauth_tls_register();
51 if (ret
[all...]
/freebsd-head/contrib/wpa/hostapd/
H A Deap_register.c25 int ret = 0; local
28 if (ret == 0)
29 ret = eap_server_identity_register();
33 if (ret == 0)
34 ret = eap_server_md5_register();
38 if (ret == 0)
39 ret = eap_server_tls_register();
43 if (ret == 0)
44 ret = eap_server_unauth_tls_register();
49 if (ret
[all...]
/freebsd-head/crypto/heimdal/kadmin/
H A Drename.c40 krb5_error_code ret; local
43 ret = krb5_parse_name(context, argv[0], &princ1);
44 if(ret){
45 krb5_warn(context, ret, "krb5_parse_name(%s)", argv[0]);
46 return ret != 0;
48 ret = krb5_parse_name(context, argv[1], &princ2);
49 if(ret){
51 krb5_warn(context, ret, "krb5_parse_name(%s)", argv[1]);
52 return ret != 0;
54 ret
[all...]
H A Dtest_util.c40 int ret; member in struct:__anon4438
55 int ret; local
57 ret = str2time_t (ts[i].str, &t);
58 if (ret != ts[i].ret) {
59 printf("%d: %d is wrong ret\n", i, ret);
75 krb5_error_code ret; local
79 ret = krb5_init_context(&context);
80 if (ret)
[all...]
/freebsd-head/contrib/unbound/compat/
H A Dstrptime.c90 int ret=0, count=0; local
93 ret = ret*10 + (*buf[0] - '0');
100 return ret;
109 int c, ret; local
133 ret = match_string(&s, full_weekdays);
134 if (ret < 0)
135 ret = match_string(&s, abb_weekdays);
136 if (ret < 0) {
139 tm->tm_wday = ret;
[all...]
/freebsd-head/crypto/heimdal/lib/gssapi/krb5/
H A Dindicate_mechs.c41 OM_uint32 ret, junk; local
43 ret = gss_create_empty_oid_set(minor_status, mech_set);
44 if (ret)
45 return ret;
47 ret = gss_add_oid_set_member(minor_status, GSS_KRB5_MECHANISM, mech_set);
48 if (ret) {
50 return ret;
H A Dinquire_mechs_for_name.c42 OM_uint32 ret; local
44 ret = gss_create_empty_oid_set(minor_status, mech_types);
45 if (ret)
46 return ret;
48 ret = gss_add_oid_set_member(minor_status,
51 if (ret)
54 return ret;
/freebsd-head/contrib/gcclibs/libgomp/
H A Dalloc.c39 void *ret = malloc (size); local
40 if (ret == NULL)
42 return ret;
48 void *ret = calloc (1, size); local
49 if (ret == NULL)
51 return ret;
57 void *ret = realloc (old, size); local
58 if (ret == NULL)
60 return ret;
/freebsd-head/crypto/heimdal/admin/
H A Ddestroy.c39 krb5_error_code ret; local
45 ret = krb5_kt_destroy (context, keytab);
46 if (ret) {
47 krb5_warn (context, ret, "destroy keytab failed");
/freebsd-head/crypto/heimdal/appl/ftp/ftp/
H A Dkauth.c42 int ret; local
49 ret = command("SITE AFSLOG %s", argv[1]);
51 ret = command("SITE AFSLOG");
52 code = (ret == COMPLETE);
/freebsd-head/crypto/heimdal/lib/gssapi/ntlm/
H A Dinquire_names_for_mech.c43 OM_uint32 ret; local
45 ret = gss_create_empty_oid_set(minor_status, name_types);
46 if (ret != GSS_S_COMPLETE)
47 return ret;
/freebsd-head/crypto/heimdal/lib/roken/
H A Deread.c45 ssize_t ret; local
47 ret = net_read (fd, buf, nbytes);
48 if (ret < 0)
50 return ret;
H A Dewrite.c45 ssize_t ret; local
47 ret = net_write (fd, buf, nbytes);
48 if (ret < 0)
50 return ret;
/freebsd-head/lib/libc/gen/
H A Dvalloc.c42 void *ret; local
44 if (posix_memalign(&ret, getpagesize(), i) != 0)
45 ret = NULL;
47 return ret;
/freebsd-head/crypto/openssl/crypto/des/
H A Drand_key.c13 int DES_random_key(DES_cblock *ret) argument
16 if (RAND_priv_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1)
18 } while (DES_is_weak_key(ret));
19 DES_set_odd_parity(ret);
/freebsd-head/contrib/sendmail/libsm/
H A Dflags.c37 int ret; local
42 ret = SMRD;
46 ret = SMWR;
50 ret = SMWR;
54 ret = SMRW;
58 ret = 0;
62 ret |= SM_IO_BINARY;
63 return ret;
/freebsd-head/lib/libthr/thread/
H A Dthr_getprio.c46 int policy, ret; local
49 if ((ret = _pthread_getschedparam(pthread, &policy, &param)) == 0)
50 ret = param.sched_priority;
53 errno = ret;
54 ret = -1;
58 return (ret);
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dread_message.c41 krb5_error_code ret; local
47 ret = krb5_net_read (context, p_fd, buf, 4);
48 if(ret == -1) {
49 ret = errno;
51 return ret;
53 if(ret < 4) {
58 ret = krb5_data_alloc (data, len);
59 if (ret) {
61 return ret;
64 ret
78 krb5_error_code ret; local
95 krb5_error_code ret; local
[all...]
H A Dtest_acl.c49 krb5_error_code ret; local
52 ret = krb5_acl_match_string(context, "foo", "s", "foo");
53 RETVAL(context, ret, 0, "single s");
54 ret = krb5_acl_match_string(context, "foo foo", "s", "foo");
55 RETVAL(context, ret, EACCES, "too many strings");
56 ret = krb5_acl_match_string(context, "foo bar", "ss", "foo", "bar");
57 RETVAL(context, ret, 0, "two strings");
58 ret = krb5_acl_match_string(context, "foo bar", "ss", "foo", "bar");
59 RETVAL(context, ret, 0, "two strings double space");
60 ret
105 krb5_error_code ret; local
[all...]
H A Dstore.c295 krb5_error_code ret; local
301 ret = size_too_large(sp, size);
302 if (ret)
303 return ret;
304 ret = krb5_data_alloc(data, size);
305 if (ret) {
307 return ret;
322 int ret; local
328 ret = sp->store(sp, v, len);
329 if (ret <
383 int ret; local
412 krb5_error_code ret = krb5_ret_int(sp, value, 4); local
438 krb5_error_code ret; local
507 int ret; local
535 krb5_error_code ret; local
560 int ret; local
601 int ret; local
624 krb5_error_code ret; local
650 int ret; local
677 int ret; local
734 int ret; local
764 ssize_t ret; local
792 ssize_t ret; local
825 ssize_t ret; local
852 ssize_t ret; local
908 int ret; local
945 int ret; local
1016 int ret; local
1045 int ret; local
1075 int ret; local
1100 int ret; local
1130 int ret; local
1152 int ret; local
1175 int ret; local
1200 int ret; local
1232 krb5_error_code ret; local
1259 krb5_error_code ret; local
1306 int ret; local
1358 krb5_error_code ret; local
1430 int ret; local
1523 krb5_error_code ret; local
[all...]
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.mutex_type_adaptive.d44 ret = -99;
49 ret = mutex_type_adaptive((struct mtx *)arg0);
54 /ret == 1/
60 /i == 100 && ret == 0/
67 /i == 100 && ret == -99/
/freebsd-head/contrib/gcclibs/libgomp/config/posix/
H A Dsem.c43 int ret; local
45 ret = pthread_mutex_init (&sem->mutex, NULL);
46 if (ret)
49 ret = pthread_cond_init (&sem->cond, NULL);
50 if (ret)
58 int ret; local
60 ret = pthread_mutex_lock (&sem->mutex);
61 if (ret)
67 ret = pthread_mutex_unlock (&sem->mutex);
73 ret
88 int ret; local
107 int ret; local
[all...]
/freebsd-head/crypto/heimdal/kuser/
H A Dkverify.c45 usage (int ret) argument
51 exit (ret);
58 krb5_error_code ret; local
82 ret = krb5_init_context(&context);
83 if (ret)
84 errx (1, "krb5_init_context failed: %d", ret);
86 ret = krb5_get_init_creds_opt_alloc (context, &get_options);
87 if (ret)
88 krb5_err(context, 1, ret, "krb5_get_init_creds_opt_alloc");
97 ret
[all...]
/freebsd-head/crypto/heimdal/lib/hx509/
H A Dtest_name.c41 int ret; local
43 ret = hx509_parse_name(context, name, &n);
44 if (ret)
47 ret = hx509_name_to_string(n, &s);
48 if (ret)
77 int ret; local
81 ret = hx509_parse_name(context, name, &n);
82 if (ret)
85 ret = hx509_name_expand(context, n, env);
87 if (ret)
299 int ret; local
316 int ret; local
357 int ret = 0; local
[all...]
/freebsd-head/crypto/heimdal/lib/kadm5/
H A Dprivs_c.c42 kadm5_ret_t ret; local
50 ret = _kadm5_connect(server_handle);
51 if(ret)
52 return ret;
60 ret = _kadm5_client_send(context, sp);
62 if(ret)
63 return ret;
64 ret = _kadm5_client_recv(context, &reply);
65 if (ret)
66 return ret;
[all...]

Completed in 393 milliseconds

1234567891011>>