/illumos-gate/usr/src/common/ficl/ |
H A D | hash.c | 44 ficlUnsigned16 code = (ficlUnsigned16)s.length; local 53 code = (ficlUnsigned16)((code << 4) + tolower(*trace)); 54 shift = (ficlUnsigned16)(code & 0xf000); 56 code ^= (ficlUnsigned16)(shift >> 8); 57 code ^= (ficlUnsigned16)shift; 61 return ((ficlUnsigned16)code);
|
/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...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | vfy_increds.c | 15 krb5_error_code code; local 22 if ((code = krb5_cc_set_flags(context, incc, flags)) != NULL) 23 return(code); 25 if ((code = krb5_cc_set_flags(context, outcc, flags)) != NULL) 26 return(code); 29 if ((code = krb5_cc_start_seq_get(context, incc, &cur)) != NULL) 33 while ((code = krb5_cc_next_cred(context, incc, &cur, &creds)) == NULL) { 37 code = krb5_cc_store_cred(context, outcc, &creds); 39 if (code) 43 if (code ! [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sn2princ.c | 61 krb5_error_code code; local 65 code = profile_get_string(context->profile, "libdefaults", 67 if (code) 124 /* Note that the old code would accept numeric addresses,
|
/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/lib/krb5/kadm5/ |
H A D | chpass_util.c | 11 * this source code. Do *NOT* create a derivative of this 12 * source code before consulting with your legal department. 13 * Do *NOT* integrate *ANY* of this source code into another 45 const char *chpw_error_message(kadm5_ret_t code); 71 * <return value> exit status of 0 for success, else the com err code 93 int code, code2; local 111 if ((code = (int) kadm5_init_krb5_context(&context)) == 0) { 113 code = krb5_read_password(context, KADM5_PW_FIRST_PROMPT, 119 if (code == 0) 125 if (code [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_error.c | 45 { EDT_NOTUPREG, "Insufficient tuple registers to generate code" }, 201 int code; member in struct:__anon3191 218 if (faults[i].code == fault)
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | auth.c | 7 ** The author disclaims copyright to this source code. In place of 15 ** This file contains code used to implement the sqlite_set_authorizer() 25 ** All of the code in this file may be omitted by defining a single 165 ** Do an authorization check using the code and arguments given. Return 172 int code, 183 rc = db->xAuth(db->pAuthArg, code, zArg1, zArg2, zArg3, pParse->zAuthContext); 170 sqliteAuthCheck( Parse *pParse, int code, const char *zArg1, const char *zArg2, const char *zArg3 ) argument
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irp_ng.c | 130 int code; local 141 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); 142 if (code != IRPD_GETNETGR_SETOK) { 162 int code; local 175 if (irs_irp_get_full_response(pvt->girpdata, &code, 181 if (code == IRPD_GETNETGR_OK) { 206 int code; local 221 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); 222 if (code == IRPD_GETNETGR_MATCHES) {
|
H A D | irp_nw.c | 147 int code; local 163 if (irs_irp_get_full_response(pvt->girpdata, &code, 169 if (code == IRPD_GETNET_OK) { 196 int code; local 212 if (irs_irp_get_full_response(pvt->girpdata, &code, 218 if (code == IRPD_GETNET_OK) { 243 int code; local 253 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); 254 if (code != IRPD_GETNET_SETOK) { 274 int code; local [all...] |
H A D | irp_pr.c | 136 int code; local 152 if (irs_irp_get_full_response(pvt->girpdata, &code, 158 if (code == IRPD_GETPROTO_OK) { 185 int code; local 201 if (irs_irp_get_full_response(pvt->girpdata, &code, 207 if (code == IRPD_GETPROTO_OK) { 232 int code; local 242 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); 243 if (code != IRPD_GETPROTO_SETOK) { 263 int code; local [all...] |
H A D | irp_sv.c | 141 int code; local 152 if (irs_irp_get_full_response(pvt->girpdata, &code, 158 if (code == IRPD_GETSERVICE_OK) { 187 int code; local 203 if (irs_irp_get_full_response(pvt->girpdata, &code, 209 if (code == IRPD_GETSERVICE_OK) { 238 int code; local 255 if (irs_irp_get_full_response(pvt->girpdata, &code, 261 if (code == IRPD_GETSERVICE_OK) { 286 int code; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | signalmap.c | 37 maphandler(int sig, int code, struct sigcontext *scp, char *addr) argument 42 switch (FC_CODE(code)) { 44 code = FC_MAKE_ERR(FC_ERRNO(code)); 47 code = FC_NOMAP; 52 __sendsig(maptooldsig(sig), code, scp, addr, handlers[sig]); local
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | waitpid.c | 49 * Convert the siginfo_t code and status fields to an old style wait status. 52 wstat(int code, int status) argument 56 switch (code) {
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | signal.c | 45 #define CHECK_SIG(s, code) \ 48 return (code); \ 189 int code; local 226 if ((code = sigismember(&oset, sig)) < 0) 228 else if (code == 1)
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | debug.c | 140 /* bits in the exit error code mask */ 208 * to test out the error handling code in filesync. We maintain a 216 fprintf(stderr, "Usage:\tfilesync -E<errno>,<code>,<filename>\n"); 244 char code; /* event triggering the error */ member in struct:errsim 293 errsim[num_errs].code = error_type; 320 dbg_chk_error(const char *name, char code) argument 324 /* see if this code matches any registered condition */ 325 if (code != errsim[i].code) 335 errsim[i].Errno, code, nam 355 dbg_chk_error(const char *name, char code) argument [all...] |
/illumos-gate/usr/src/cmd/ast/msgcc/ |
H A D | msgcvt.c | 59 int code; member in struct:__anon20 171 c = codes[i].code;
|
/illumos-gate/usr/src/cmd/krb5/kdestroy/ |
H A D | kdestroy.c | 112 int code = 0; local 216 code = krpc_sys(KRPC_REVAUTH, (void *)&desarg); 218 if (code != 0) { 221 progname, code); 225 if (code = krb5_cc_default(kcontext, &cache)) { 226 com_err(progname, code, 236 code = krb5_cc_resolve (kcontext, cache_name, &cache); 237 if (code != 0) { 238 com_err (progname, code, gettext("while resolving %s"), cache_name); 242 code [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_crypt.c | 74 krb5_error_code code; local 79 code = krb5_c_block_size(context, key->enctype, &blocksize); 80 if (code) 92 krb5_error_code code; local 96 code = krb5_c_block_size(context, key->enctype, &blocksize); 97 if (code) 98 return(code); 130 krb5_error_code code; local 138 code = krb5_c_block_size(context, key->enctype, &blocksize); 139 if (code) 178 krb5_error_code code; local 221 krb5_error_code code; local [all...] |
/illumos-gate/usr/src/ucbcmd/tr/ |
H A D | tr.c | 49 char code[256]; variable 89 code[i] = vect[i] = 0; 110 code[c&0377] = dflag?1:d; 116 if(code[i]==0) code[i] = i; 117 else if(dflag) code[i] = 0; 123 if(c = code[c&0377]&0377)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | ucredsys.c | 188 ucredsys(int code, int obj, void *buf) argument 190 switch (code) {
|
H A D | utime.c | 30 * Portions of this source code were derived from Berkeley 4.3 BSD 199 utimesys(int code, argument 202 switch (code) {
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | radius_protocol.h | 69 uint8_t code; /* RADIUS code, section 3, RFC 2865 */ member in struct:radius_packet
|
/illumos-gate/usr/src/uts/common/io/vuidmice/ |
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/uts/common/sys/iscsit/ |
H A D | radius_protocol.h | 69 uint8_t code; /* RADIUS code, section 3, RFC 2865 */ member in struct:radius_packet
|