Searched defs:errcode (Results 1 - 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/cmd/sed/
H A Dmisc.c54 strregerror(int errcode, regex_t *preg) argument
61 s = regerror(errcode, preg, NULL, 0);
64 (void) regerror(errcode, preg, oe, s);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dregerror.c88 regerror(int errcode, const regex_t *_RESTRICT_KYWD preg, argument
96 if (r->code == errcode)
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dvlistctrl.c188 int i, foundListControl, errcode; local
230 &errcode ) ) {
246 *errcodep = errcode;
H A Derror.c490 int err, errcode; local
514 err = nsldapi_parse_result( ld, lm->lm_msgtype, lm->lm_ber, &errcode,
519 *errcodep = errcode;
547 LDAP_SET_LDERRNO( ld, ( err == LDAP_SUCCESS ) ? errcode : err, m, e );
564 int berrc, err, errcode; local
611 errcode = (int)along; /* XXX lossy cast */
615 errcode = (int)along; /* XXX lossy cast */
667 *errcodep = errcode;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_strerror.c168 nfs_strerror(int errcode) argument
172 switch (errcode) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dprompter.c41 krb5_error_code errcode; local
45 errcode = KRB5_LIBOS_CANTREADPWD;
70 errcode = KRB5_LIBOS_CANTREADPWD;
75 errcode = setup_tty(fp, prompts[i].hidden, &saveparm, &osigint);
76 if (errcode)
92 errcode = KRB5_LIBOS_PWDINTR;
94 errcode = KRB5_LIBOS_CANTREADPWD;
110 errcode = restore_tty(fp, &saveparm, &osigint);
111 if (errcode)
121 return errcode;
223 krb5_error_code errcode = 0; local
[all...]
H A Dread_pwd.c130 krb5_error_code errcode = 0; local
151 errcode = KRB5_LIBOS_CANTREADPWD;
165 errcode = ENOMEM;
172 errcode = KRB5_LIBOS_CANTREADPWD;
185 errcode = KRB5_LIBOS_BADPWDMATCH;
196 if (errcode)
200 return errcode;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtftp.h49 uint16_t errcode; member in struct:tftp_t::__anon2149::__anon2152
70 uint16_t errcode; member in struct:tftpreq_t::__anon2154::__anon2156
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_delete.c609 uint32_t status, uint16_t errcls, uint16_t errcode)
613 err->errcode = errcode;
608 smb_delete_error(smb_error_t *err, uint32_t status, uint16_t errcls, uint16_t errcode) argument
H A Dsmb_lock.c355 uint16_t errcode; local
358 errcode = ERROR_OPERATION_ABORTED;
360 errcode = ERRlock;
362 smbsr_error(sr, status32, ERRDOS, errcode);
H A Dsmb_dispatch.c1050 err->errcode = doserr;
1064 smbsr_status(smb_request_t *sr, DWORD status, uint16_t errcls, uint16_t errcode) argument
1081 if (status != 0 && errcls == 0 && errcode == 0) {
1083 errcode = smb_status2doserr(status);
1087 sr->smb_error.errcode = errcode;
1113 if ((err->errcls == 0) && (err->errcode == 0)) {
1125 if ((err->errcls == 0) || (err->errcode == 0)) {
1130 sr->smb_err = (uint16_t)err->errcode;
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_init.c89 md_void_errno_t errcode,
113 rval = mderror(ep, errcode, p);
116 rval = mderror(ep, errcode, uname);
87 meta_cook_syntax( md_error_t *ep, md_void_errno_t errcode, char *uname, int argc, char *argv[] ) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_errmap.c261 OM_uint32 gssint_mecherrmap_map_errcode(OM_uint32 errcode) argument
263 return gssint_mecherrmap_map(errcode, &no_oid);
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddo_as_req.c68 krb5_error_code errcode; local
113 errcode = KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN;
116 if ((errcode = krb5_unparse_name(kdc_context, request->client, &cname))) {
123 errcode = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN;
126 if ((errcode = krb5_unparse_name(kdc_context, request->server, &sname))) {
133 if ((errcode = krb5_db_get_principal(kdc_context, request->client,
141 errcode = KRB5KDC_ERR_PRINCIPAL_NOT_UNIQUE;
146 errcode = KRB5KRB_ERR_GENERIC;
148 errcode = KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN;
154 if ((errcode
[all...]
H A Ddo_tgs_req.c91 int errcode, errcode2; local
121 if ((errcode = krb5_unparse_name(kdc_context, request->server, &sname))) {
127 /* errcode = kdc_process_tgs_req(request, from, pkt, &req_authdat); */
128 errcode = kdc_process_tgs_req(request, from, pkt, &header_ticket, &subkey);
135 errcode = errcode2;
140 if (errcode) {
146 errcode = KRB5_NO_TKT_SUPPLIED; /* XXX? */
163 if ((errcode = krb5_db_get_principal(kdc_context, request->server, &server,
172 errcode = KRB5KDC_ERR_PRINCIPAL_NOT_UNIQUE;
198 errcode
[all...]
H A Dkdc_util.c853 int errcode; local
955 errcode = against_local_policy_as(request, server, client,
957 if (errcode)
958 return errcode;
1127 int errcode; local
1355 errcode = against_local_policy_tgs(request, server, ticket, status);
1356 if (errcode)
1357 return errcode;
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_utils.c361 * Retrieves the error code for UA replies -- the errcode is always
366 unsigned short langlen, errcode; local
376 if (slp_get_sht(msg, msglen, &off, &errcode) != SLP_OK)
379 return (errcode);
H A Dslp_net.c275 slp_proto_err errcode = slp_get_errcode(reply); local
276 switch (errcode) {
292 cname, errcode);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c126 int errcode; local
202 errcode = process_oack(&ackbuf, n);
203 if (errcode >= 0) {
204 nak(errcode);
253 int errcode; local
329 errcode = process_oack((tftpbuf *)dp, n);
330 if (errcode >= 0) {
332 nak(errcode);
588 int i, errcode; local
606 errcode
[all...]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_misc.c268 int errcode; local
270 TCP_AC_GET_ERRCODE(tcp->tcp_state, errcode);
271 (void) tcp_clean_death(tcp, errcode);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dtftp.c141 tftp_senderr(struct tftp_handle *h, u_short errcode, const char *msg) argument
156 wbuf.t.th_code = htons(errcode);
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_services.c1552 krb5_error_code errcode = -1; local
1651 if ((errcode = krb5_ldap_db_init(util_context, lparams))) {
1652 com_err(me, errcode, gettext("while initializing database"));
1667 if ((errcode = generate_random_password(util_context, &passwd, &passwd_len))) {
1723 errcode = tohex(pwd, &hex);
1724 if (errcode != 0) {
1729 com_err(me, errcode, gettext("Failed to convert the password to hex"));
1775 if ((errcode = krb5_ldap_set_service_passwd(util_context, service_object, passwd)) != 0) {
1776 com_err(me, errcode, gettext("Failed to set password for service object %s"), service_object);
1880 errcode
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c565 blksize_handler(int opcode, char *optval, int *errcode) argument
570 *errcode = -1;
594 timeout_handler(int opcode, char *optval, int *errcode) argument
599 *errcode = -1;
623 tsize_handler(int opcode, char *optval, int *errcode) argument
628 *errcode = -1;
644 *errcode = ENOSPACE;
664 int i, errcode; local
699 ostr = options[i].opt_handler(opcode, optval, &errcode);
711 } else if (errcode >
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_slp.c567 errcode = netval; \
569 errcode, slpv2_error(errcode)); \
572 if (errcode != OK) \
574 if (errcode != OK) \
600 errcode = netval; \
601 sprintf(get_line(0, 0), "Error code = %d, %s", errcode, \
602 slpv1_error(errcode)); \
605 if (errcode != OK) \
1137 unsigned short itemcnt, errcode; local
1235 unsigned short errcode; local
1271 unsigned short errcode; local
1303 unsigned short errcode; local
1352 unsigned short errcode; local
1780 unsigned short errcode, itemcnt; local
1829 unsigned short errcode; local
1879 unsigned short errcode; local
1901 unsigned short errcode; local
1937 unsigned short errcode, itemcnt; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c112 int errcode = 0; variable
325 errcode = errno;

Completed in 116 milliseconds

12