/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_error.c | 58 * The error code. This is a locale-independent string that 64 * Note that this code plus the parameters allows for structured 67 char *code; member in struct:directory_error 78 * so that code that processes the superclass can work on the subclass. 118 free(de->code); 119 de->code = NULL; 143 * de = directory_error(code, fmt [, arg1 ... ]); 147 directory_error(const char *code, const char *fmt, ...) argument 161 de->code = strdup(code); 301 directory_error_is_instance_of(directory_error_t de, char *code) argument [all...] |
/illumos-gate/usr/src/lib/pam_modules/krb5/ |
H A D | utils.c | 149 krb5_error_code code = 0; local 164 if (code = krb5_init_secure_context(&kcontext)) { 169 error_message(code)); 173 if ((code = get_kmd_kuser(kcontext, (const char *)user, kuser, 179 if ((code = krb5_parse_name(kcontext, kuser, &princ)) != 0) { 183 whoami, error_message(code)); 188 if ((code = krb5_kt_default(kcontext, &kt_handle))) { 192 whoami, error_message(code)); 196 code = krb5_kt_get_entry(kcontext, kt_handle, princ, 0, 0, &kt_ent); 197 if (code ! [all...] |
H A D | krb5_password.c | 327 kadm5_ret_t code; local 338 if (code = krb5_init_secure_context(&context)) { 342 if ((code = get_kmd_kuser(context, (const char *)princ_str, kprinc, 344 return (code); 349 code = krb5_parse_name(context, kprinc, &princ); 351 if (code != 0) 376 code = kadm5_init_with_password(kprinc, old_password, cpw_service, 380 if (code != 0) { 384 " failed: (%s)", error_message(code)); 386 return ((code 427 kadm5_ret_t code; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | errors.c | 42 krb5int_set_error (struct errinfo *ep, long code, const char *fmt, ...) argument 46 krb5int_vset_error (ep, code, fmt, args); 51 krb5int_vset_error (struct errinfo *ep, long code, argument 60 ep->code = code; 76 krb5int_get_error (struct errinfo *ep, long code) argument 79 if (code == ep->code && ep->msg) { 98 if (strerror_r (code, ep->scratch_buf, sizeof(ep->scratch_buf)) == 0) { 109 if (strerror_r (code, [all...] |
/illumos-gate/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 333 static void extended_com_err_fn (const char *myprog, errcode_t code, argument 337 emsg = krb5_get_error_message (errctx, code); 382 krb5_error_code code; local 396 code = krb5_string_to_deltat(optarg, &opts->lifetime); 397 if (code != 0 || opts->lifetime == 0) { 404 code = krb5_string_to_deltat(optarg, &opts->rlife); 405 if (code != 0 || opts->rlife == 0) { 430 code = krb5_string_to_deltat(optarg, &opts->starttime); 431 if (code != 0 || opts->starttime == 0) { 434 code 599 krb5_error_code code = 0; local 862 krb5_error_code code = 0; local 1140 krb5_error_code code; local 1214 krb5_error_code code = 0; local [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | color.c | 50 int code = ERR; local 88 int code = ERR; local 105 code = OK; 109 code = tputs( 118 return __m_return_code("init_color", code); 124 int code = ERR; local 139 code = OK; 143 code = tputs( 157 return __m_return_code("init_pair", code);
|
H A D | vwscanw.c | 68 int code; local 74 if ((code = wgetnstr(w, buffer, (int) sizeof buffer)) == OK) 81 return __m_return_code("vwscanw", code);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | sigfpe.c | 98 _sigfpe_master(sig, code, scp, addr) 100 sigfpe_code_type code; 107 for (i = 0; (i < N_SIGFPE_CODE) && (code != sigfpe_codes[i]); i++); 113 switch (code) { 140 (sigfpe_handlers[i]) (sig, code, scp, addr); 153 (ieee_handlers[(int) exception]) (sig, code, scp, addr); 186 sigfpe(code, hdl) 187 sigfpe_code_type code; 194 for (i = 0; (i < N_SIGFPE_CODE) && (code != sigfpe_codes[i]); i++); 198 return (sigfpe_handler_type) BADSIG;/* Not 0 or SIGFPE code */ [all...] |
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | error.c | 59 void ss_error (int sci_idx, long code, const char * fmt, ...) argument 65 com_err_va (whoami, code, fmt, pvar); 70 void ss_perror (sci_idx, code, msg) /* for compatibility */ 72 long code; 75 ss_error (sci_idx, code, "%s", msg);
|
/illumos-gate/usr/src/uts/common/io/vuidmice/ |
H A D | vuidps2.c | 219 * Start the wheel-mouse detection code. First, we look 338 int code, length; local 350 code = *mp->b_rptr++; 355 * Start state. We stay here if the start code is not 357 * start code the button mask comes with it forcing us to 392 STATEP->sync_byte = code & 0x8; 404 if ((code ^ STATEP->sync_byte) & 0x08) { 407 break; /* toss the code */ 411 STATEP->buttons = code & PS2_BUTTONMASK; 418 if (code [all...] |
H A D | vuidm4p.c | 54 #define MOUSE_START_CODE (uchar_t)(0x40) /* Start code in char */ 96 int r, code; local 103 code = *bufp++; 106 vuidm4p_buf[vuidm4p_ptr] = code; 110 if (code & MOUSE_START_CODE) { 119 * Start state. We stay here if the start code is not 121 * get a start code the button mask comes with it 127 if ((code & MOUSE_START_CODE) == 0) 135 (code & (MOUSE_BUTTON_L | MOUSE_BUTTON_R)); 141 STATEP->deltax = (signed char)((code [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 110 code = -1; 115 code = -1; 124 code = -1; 233 code = -1; 238 code = 0; 246 code = -1; 307 code = -1; 318 code = -1; 330 code = -1; 350 code [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | bpf-ipf.h | 5 * This code is derived from the Stanford/CMU enet packet filter, 6 * (net/enet.c) distributed as part of 4.3BSD, and code contributed 13 * 1. Redistributions of source code must retain the above copyright 95 * It has nothing to do with the source code version. 348 #define BPF_CLASS(code) ((code) & 0x07) 359 #define BPF_SIZE(code) ((code) & 0x18) 363 #define BPF_MODE(code) ((code) 404 u_short code; member in struct:bpf_insn [all...] |
/illumos-gate/usr/src/uts/common/io/bpf/net/ |
H A D | bpf.h | 7 * This code is derived from the Stanford/CMU enet packet filter, 8 * (net/enet.c) distributed as part of 4.3BSD, and code contributed 15 * 1. Redistributions of source code must retain the above copyright 109 * It has nothing to do with the source code version. 198 #define BPF_CLASS(code) ((code) & 0x07) 209 #define BPF_SIZE(code) ((code) & 0x18) 213 #define BPF_MODE(code) ((code) 254 uint16_t code; member in struct:bpf_insn [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | k5-int-pkinit.h | 193 (const krb5_pa_pk_as_req *rep, krb5_data **code); 196 (const krb5_pa_pk_as_req_draft9 *rep, krb5_data **code); 199 (const krb5_pa_pk_as_rep *rep, krb5_data **code); 202 (const krb5_pa_pk_as_rep_draft9 *rep, krb5_data **code); 205 (const krb5_auth_pack *rep, krb5_data **code); 208 (const krb5_auth_pack_draft9 *rep, krb5_data **code); 211 (const krb5_kdc_dh_key_info *rep, krb5_data **code); 214 (const krb5_reply_key_pack *, krb5_data **code); 217 (const krb5_reply_key_pack_draft9 *, krb5_data **code); 220 (const krb5_typed_data **, krb5_data **code); [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | disp_major_status.c | 44 /* This code has knowledge of the min and max errors of each type 75 "An invalid status code was supplied", 107 static const char * const sinfo_code = "supplementary info code"; 143 /* code should be set to the calling error field */ 145 static OM_uint32 display_calling(minor_status, code, status_string) 147 OM_uint32 code; 152 if ((str = GSS_CALLING_ERROR_STR(code))) { 158 if (! display_unknown(calling_error, GSS_CALLING_ERROR_FIELD(code), 168 /* code should be set to the routine error field */ 170 static OM_uint32 display_routine(minor_status, code, status_strin [all...] |
H A D | inq_cred.c | 88 krb5_error_code code; local 98 code = krb5_gss_init_context(&context); 99 if (code) { 100 *minor_status = code; 128 if ((code = krb5_timeofday(context, &now))) { 129 *minor_status = code; 134 code = k5_mutex_lock(&cred->lock); 135 if (code != 0) { 136 *minor_status = code; 149 (code [all...] |
H A D | acquire_cred_with_pw.c | 119 krb5_error_code code = 0; local 135 code = ENOMEM; 143 code = ENOMEM; 149 code = krb5_get_init_creds_password(context, &creds, desired_name, pw, 156 if (code) 161 if ((code = krb5_cc_resolve(context, "MEMORY:GSSAPI", &ccache1))) 175 if ((code = krb5_cc_gen_new(context, &ccache2)) != 0) 180 if ((code = krb5_cc_initialize(context, ccache2, creds.client)) != 0) 183 if ((code = krb5_cc_store_cred(context, ccache2, &creds)) != 0) 194 *minor_status = code; 229 krb5_error_code code; local [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | pecho_wc.c | 54 int code, dy, dx; local 71 code = prefresh(pad, pad->_refy, pad->_refx, 74 return ((code1) ? code : code1);
|
H A D | color.c | 97 int code = ERR; local 110 code = OK; 114 code = tputs(tparm(initialize_color, (long) color, 119 return (code); 125 int code = ERR; local 136 code = OK; 140 code = tputs(tparm(initialize_pair, 150 return (code);
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_err.c | 8 * 1. Redistributions of source code must retain the above copyright notice, 55 sfxge_err(efsys_identifier_t *arg, unsigned int code, uint32_t dword0, argument 61 ASSERT3U(code, <, EFX_ERR_NCODES); 64 __sfxge_err[code], dword1, dword0);
|
/illumos-gate/usr/src/lib/libshell/common/features/ |
H A D | math.sh | 143 *:*:1) code="extern $r $f(" 146 do code="$code${sep}$t" 152 code="$code);" 153 echo "$code" 159 code="static $L local_$f(" 163 code="$code${sep}Sfdouble_t a$p" 169 code [all...] |
/illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode.h | 63 const char *key[], char *code, size_t maxcode); 66 int fm_dc_code2key(fm_dc_handle_t *dhp, const char *code,
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | bsd_signal.c | 40 #define CHECK_SIG(s, code) \ 43 return (code); \
|
/illumos-gate/usr/src/common/crypto/md5/amd64/ |
H A D | md5_amd64.pl | 6 # Licence: I hereby disclaim the copyright on this code and place it 39 my $code; 50 $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1); 51 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 55 $code .= <<EOF; 77 $code .= " mov 1*4(%rsi), %r10d /* (NEXT STEP) X[1] */\n" if ($pos == -1); 78 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 79 $code .= " mov %edx, %r12d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 83 $code .= <<EOF; 106 $code [all...] |