Searched refs:retval (Results 1 - 25 of 801) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_make.c44 asn1_error_code retval; local
49 retval = asn1_make_length(buf,in_len, &length);
50 if(retval) return retval;
52 retval = asn1_make_id(buf,asn1class,construction,tagnum,&length);
53 if(retval) return retval;
62 asn1_error_code retval; local
65 retval = asn1buf_insert_octet(buf, (asn1_octet)(in_len&0x7F));
66 if(retval) retur
90 asn1_error_code retval; local
123 asn1_error_code retval; local
139 asn1_error_code retval; local
155 asn1_error_code retval; local
[all...]
H A Dasn1_get.c32 asn1_error_code retval; local
52 retval = asn1buf_remove_octet(buf,&o);
53 if (retval)
54 return retval;
64 retval = asn1buf_remove_octet(buf,&o);
65 if (retval) return retval;
77 retval = asn1buf_remove_octet(buf,&o);
78 if (retval) return retval;
105 asn1_error_code retval; local
[all...]
H A Dkrb5_encode.c38 retval: stores error codes returned from subroutines
43 asn1_error_code retval;\
52 retval = asn1buf_create(&buf);\
53 if (retval) return retval
57 retval = asn12krb5_buf(buf,&tmpcode);\
60 if (retval)\
61 return retval;\
69 retval = asn1_encode_pa_pk_as_req(buf,rep,&length);
70 if (retval) got
[all...]
H A Dasn1_encode.c36 asn1_error_code retval; local
43 retval = asn1buf_insert_octet(buf, bval);
44 if (retval) return retval;
47 retval = asn1_make_tag(buf, UNIVERSAL, PRIMITIVE, ASN1_BOOLEAN, length, &partlen);
48 if (retval) return retval;
59 asn1_error_code retval; local
67 retval = asn1buf_insert_octet(buf,(asn1_octet) digit);
68 if (retval) retur
91 asn1_error_code retval; local
130 asn1_error_code retval; local
164 asn1_error_code retval; local
288 asn1_error_code retval; local
305 asn1_error_code retval; local
403 asn1_error_code retval; local
436 asn1_error_code retval; local
590 asn1_error_code retval; local
617 asn1_error_code retval; local
647 asn1_error_code retval; local
677 asn1_error_code retval; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_set.c27 errcode_t retval = 0; local
37 retval = profile_lock_global();
38 if (retval)
39 return retval;
51 retval = ENOMEM;
53 retval = k5_mutex_init(&new_data->lock);
54 if (retval == 0) {
62 if (retval != 0) {
65 return retval;
72 retval
87 errcode_t retval; local
139 errcode_t retval; local
185 errcode_t retval; local
238 errcode_t retval; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Ddecode_kdc.c48 krb5_error_code retval; local
54 retval = decode_krb5_as_rep(enc_rep, &local_dec_rep);
62 retval = decode_krb5_tgs_rep(enc_rep, &local_dec_rep);
67 if (retval)
68 return retval;
70 if ((retval = krb5_kdc_rep_decrypt_proc(context, key, &usage,
75 return(retval);
H A Dencrypt_tk.c49 krb5_error_code retval; local
53 if ((retval = encode_krb5_enc_tkt_part(dec_tkt_part, &scratch))) {
54 return retval;
61 retval = krb5_encrypt_helper(context, srv_key,
67 return(retval);
H A Dmk_req.c63 krb5_error_code retval; local
68 retval = krb5_sname_to_principal(context, hostname, service,
70 if (retval)
71 return retval;
75 if ((retval = krb5_copy_principal(context, server, &creds.server)))
79 if ((retval = krb5_cc_get_principal(context, ccache, &creds.client)) != 0)
83 if ((retval = krb5_get_credentials(context, 0,
87 retval = krb5_mk_req_extended(context, auth_context, ap_req_options,
98 return retval;
H A Dgen_seqnum.c47 krb5_error_code retval; local
57 if ((retval = krb5_c_random_add_entropy(context, KRB5_C_RANDSOURCE_TRUSTEDPARTY, &seed)))
58 return(retval);
63 retval = krb5_c_random_make_octets(context, &seed);
64 if (retval)
65 return retval;
H A Dcopy_tick.c35 krb5_error_code retval; local
41 retval = krb5_copy_keyblock(context, partfrom->session,
43 if (retval) {
45 return retval;
47 retval = krb5_copy_principal(context, partfrom->client, &tempto->client);
48 if (retval) {
51 return retval;
70 retval = krb5_copy_addresses(context, partfrom->caddrs, &tempto->caddrs);
71 if (retval) {
76 return retval;
97 krb5_error_code retval; local
[all...]
H A Dcopy_creds.c40 krb5_error_code retval; local
47 retval = krb5_copy_principal(context, incred->client, &tempcred->client);
48 if (retval)
50 retval = krb5_copy_principal(context, incred->server, &tempcred->server);
51 if (retval)
53 retval = krb5_copy_keyblock_contents(context, &incred->keyblock,
55 if (retval)
57 retval = krb5_copy_addresses(context, incred->addresses, &tempcred->addresses);
58 if (retval)
60 retval
[all...]
H A Dmk_error.c45 krb5_error_code retval; local
48 if ((retval = encode_krb5_error(dec_err, &new_enc_err)))
49 return(retval);
H A Dgen_subkey.c36 krb5_error_code retval; local
48 if ((retval = krb5_c_random_add_entropy(context, KRB5_C_RANDSOURCE_TRUSTEDPARTY, &seed)))
49 return(retval);
58 if ((retval = krb5_c_make_random_key(context, key->enctype, *subkey))) {
60 return(retval);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Drealm_dom.c53 krb5_error_code retval; local
56 retval = profile_get_string(context->profile, "realms", realm,
58 if (!retval && temp_domain)
62 retval = ENOMEM;
68 return retval;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/migration/
H A Dmigration.kshlib52 typeset -i retval=0
93 typeset -i retval=0
108 retval=1
113 retval=1
118 return $retval
127 typeset -i retval=0
142 retval=1
147 retval=1
152 return $retval
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.c72 void *retval = malloc(nbytes); local
74 if (retval == NULL)
83 return (retval);
94 void *retval = realloc(ptr, nbytes); local
96 if (retval == NULL)
99 return (retval);
110 char *retval = strdup(ptr); local
112 if (retval == NULL)
115 return (retval);
137 void *retval; local
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_stash.c100 krb5_error_code retval; local
114 retval = kadm5_init_krb5_context(&context);
115 if( retval )
118 com_err(progname, retval, "while initializing krb5_context");
122 if ((retval = krb5_set_default_realm(context,
125 com_err(progname, retval, "while setting default realm name");
163 retval = krb5_db_setup_mkey_name(context, mkey_name, realm,
165 if (retval) {
167 com_err(progname, retval,
172 retval
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_error.h44 #define DWARF_P_DBG_ERROR(dbg,errval,retval) \
45 _dwarf_p_error(dbg,error,errval); return(retval);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_time.c41 int retval; local
46 if ((retval = gettimeofday(&tv, NULL)) == 0) {
52 return (retval);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktdefault.c37 krb5_error_code retval; local
39 if ((retval = krb5_kt_default_name(context, defname, sizeof(defname))))
40 return retval;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_athctr.c42 krb5_error_code retval; local
53 retval = krb5_copy_principal(context, authfrom->client, &tempto->client);
54 if (retval) {
56 return retval;
60 (retval = krb5_copy_checksum(context, authfrom->checksum, &tempto->checksum))) {
63 return retval;
67 retval = krb5_copy_keyblock(context, authfrom->subkey, &tempto->subkey);
68 if (retval) {
73 return retval;
78 retval
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil.c73 krb5_error_code retval; local
84 retval = krb5_init_context(&kcontext);
85 if (retval) {
86 com_err(argv[0], retval, gettext("while initializing krb5"));
89 retval = ktutil_initialize_cmds_table (&ktutil_cmds);
90 if (retval) {
91 com_err(argv[0], retval,
96 &ktutil_cmds, &retval);
97 if (retval) {
98 ss_perror(sci_idx, retval, gettex
110 krb5_error_code retval; local
126 krb5_error_code retval; local
144 krb5_error_code retval; local
164 krb5_error_code retval; local
182 krb5_error_code retval; local
202 krb5_error_code retval; local
246 krb5_error_code retval; local
263 krb5_error_code retval; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_conv.c28 krb5_error_code retval; local
31 if ((retval = krb5_unparse_name(context, auth->ticket->server, &rep->server)))
32 return retval; /* shouldn't happen */
33 if ((retval = krb5_unparse_name(context, auth->authenticator->client,
36 return retval; /* shouldn't happen. */
/illumos-gate/usr/src/test/zfs-tests/tests/functional/write_dirs/
H A Dwrite_dirs_001_pos.ksh57 typeset -i retval=0
69 retval=$?
70 if (( retval == 28 )); then
72 elif (( retval != 0 )); then
73 log_fail "Unexpected exit: $retval"
H A Dwrite_dirs_002_pos.ksh57 typeset -i retval=0
70 retval=$?
71 if (( retval == 28 )); then
73 elif (( retval != 0 )); then
74 log_fail "Unexpected exit: $retval"

Completed in 91 milliseconds

1234567891011>>