Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 25 of 92) sorted by relevance

1234

/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_elf_load_headers.c356 int *errcode)
417 int *errcode)
478 int *errcode) in generic_shdr_from_shdr32() argument
543 int *errcode) in generic_shdr_from_shdr64() argument
828 int *errcode) in generic_rel_from_rela32() argument
1068 int *errcode) in _dwarf_elf_load_sectstrings() argument
1183 int *errcode) in _dwarf_elf_load_a_relx_batch() argument
1348 int *errcode) in this_rel_is_a_section_dwarf_related() argument
1380 int *errcode) in _dwarf_load_elf_relx() argument
1444 int * errcode) in validate_section_name_string() argument
[all …]
H A Ddwarf_object_detector.c260 int *errcode) in fill_in_elf_fields() argument
273 *errcode = DW_DLE_ELF_CLASS_BAD; in fill_in_elf_fields()
284 *errcode = DW_DLE_ELF_ENDIAN_BAD; in fill_in_elf_fields()
318 int *errcode) in is_pe_object() argument
332 *errcode = DW_DLE_FILE_TOO_SMALL; in is_pe_object()
397 errcode); in is_pe_object()
459 int *errcode) in dwarf_object_detector_fd() argument
470 *errcode = DW_DLE_SEEK_ERROR; in dwarf_object_detector_fd()
480 *errcode = DW_DLE_SEEK_ERROR; in dwarf_object_detector_fd()
485 *errcode = DW_DLE_READ_ERROR; in dwarf_object_detector_fd()
[all …]
H A Ddwarf_peread.c139 int *errcode) in pe_section_name_get() argument
235 Dwarf_Unsigned offset, int*errcode) in load_optional_header32() argument
252 errcode); in load_optional_header32()
291 errcode); in load_optional_header64()
446 *errcode = DW_DLE_ALLOC_FAIL; in dwarf_pe_load_dwarf_section_headers()
465 errcode); in dwarf_pe_load_dwarf_section_headers()
639 *errcode = DW_DLE_OFFSET_SIZE; in dwarf_load_pe_sections()
651 *errcode = DW_DLE_OFFSET_SIZE; in dwarf_load_pe_sections()
662 *errcode = DW_DLE_OFFSET_SIZE; in dwarf_load_pe_sections()
777 int *errcode) in _dwarf_pe_object_access_internals_init() argument
[all …]
H A Ddwarf_machoread.c332 int *errcode) in load_macho_header64() argument
362 int *errcode) in dwarf_load_macho_header() argument
384 int *errcode) in load_segment_command_content32() argument
399 (off_t)filesize, errcode); in load_segment_command_content32()
450 (off_t)filesize, errcode); in load_segment_command_content64()
498 *errcode = DW_DLE_ALLOC_FAIL; in dwarf_macho_load_segment_commands()
540 *errcode = DW_DLE_ALLOC_FAIL; in dwarf_macho_load_dwarf_section_details32()
597 int *errcode) in dwarf_macho_load_dwarf_section_details64() argument
673 segp,segi,errcode); in dwarf_macho_load_dwarf_section_details()
676 segp,segi,errcode); in dwarf_macho_load_dwarf_section_details()
[all …]
H A Ddwarf_elfread.h233 dwarf_elf_object_access_internals_t **ep,int *errcode);
234 int dwarf_destruct_elf_access(dwarf_elf_object_access_internals_t *ep,int *errcode);
235 int _dwarf_load_elf_header(dwarf_elf_object_access_internals_t *ep,int *errcode);
236 int _dwarf_load_elf_sectheaders(dwarf_elf_object_access_internals_t* ep,int *errcode);
238 int _dwarf_load_elf_symtab_symbols(dwarf_elf_object_access_internals_t *ep,int *errcode);
239 int _dwarf_load_elf_symstr( dwarf_elf_object_access_internals_t *ep, int *errcode);
253 Dwarf_Unsigned secnum,enum RelocRela,int *errcode);
H A Ddwarf_debuglink.c130 int *errcode)
144 *errcode = suggested_error;
154 *errcode = suggested_error;
295 int *errcode) in dwarfstring_list_add_new() argument
302 *errcode = DW_DLE_ALLOC_FAIL; in dwarfstring_list_add_new()
393 int *errcode) in _dwarf_construct_linkedto_path() argument
432 *errcode = DW_DLE_ALLOC_FAIL; in _dwarf_construct_linkedto_path()
485 &now_last,errcode); in _dwarf_construct_linkedto_path()
517 &now_last,errcode); in _dwarf_construct_linkedto_path()
806 int errcode = 0; in dwarf_gnu_debuglink() local
[all …]
H A Ddwarf_generic_init.c145 int errcode = 0; in dwarf_init_path() local
156 &ftype,&endian,&offsetsize,&filesize,&errcode); in dwarf_init_path()
161 DWARF_DBG_ERROR(NULL, errcode, DW_DLV_ERROR); in dwarf_init_path()
249 int errcode = 0; in dwarf_init_b() local
255 &endian,&offsetsize,&filesize,&errcode); in dwarf_init_b()
H A Ddwarf_object_detector.h96 int * errcode);
103 int * errcode);
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddo_as_req.c68 krb5_error_code errcode; in process_as_req() local
295 if (errcode) { in process_as_req()
357 if (errcode) { in process_as_req()
426 if (errcode) { in process_as_req()
441 if (errcode) { in process_as_req()
481 if (errcode) in process_as_req()
493 if (errcode) in process_as_req()
496 if (errcode) { in process_as_req()
503 if (errcode < 0 || errcode > 128) in process_as_req()
506 errcode = prepare_error_as(request, errcode, &e_data, response, in process_as_req()
[all …]
H A Ddo_tgs_req.c140 if (errcode) { in process_tgs_req()
244 if (errcode) { in process_tgs_req()
461 if (errcode) { in process_tgs_req()
466 if ((errcode = in process_tgs_req()
510 if ((errcode = in process_tgs_req()
632 if (errcode) { in process_tgs_req()
706 errcode); in process_tgs_req()
707 if (!errcode) in process_tgs_req()
709 if (errcode) in process_tgs_req()
722 if (errcode) in process_tgs_req()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/err/
H A Derr.c54 xtest(variant_t variant, int errcode, int exitcode, const char *fmt, ...) in xtest() argument
62 errno = errcode; in xtest()
71 verrc(exitcode, errcode, fmt, va); in xtest()
73 vwarnc(errcode, fmt, va); in xtest()
91 int errcode = 0; in main() local
109 errcode = (int)num; in main()
158 errno = errcode; in main()
167 errc(exitcode, errcode, "E/%d/%d", variant, exitcode); in main()
169 warnc(errcode, "W/%d", variant); in main()
181 xtest(variant, errcode, exitcode, "E/%d/%d", variant, in main()
[all …]
H A Derr.ksh76 ((errcode = 3 + v * 2))
78 key="${v}.${errcode}.${exitcode}"
81 cmd="$ROOT/err -v $v -e $errcode -x $exitcode"
85 cmd="$ROOT/err -v $v -e $errcode"
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dprompter.c41 krb5_error_code errcode; in krb5_prompter_posix() local
70 errcode = KRB5_LIBOS_CANTREADPWD; in krb5_prompter_posix()
76 if (errcode) in krb5_prompter_posix()
92 errcode = KRB5_LIBOS_PWDINTR; in krb5_prompter_posix()
111 if (errcode) in krb5_prompter_posix()
121 return errcode; in krb5_prompter_posix()
223 krb5_error_code errcode = 0; in krb5_prompter_posix() local
255 errcode = ENOTTY; in krb5_prompter_posix()
287 errcode = ENOTTY; in krb5_prompter_posix()
293 if (errcode) { in krb5_prompter_posix()
[all …]
H A Dread_pwd.c130 krb5_error_code errcode = 0; in read_console_password() local
151 errcode = KRB5_LIBOS_CANTREADPWD; in read_console_password()
165 errcode = ENOMEM; in read_console_password()
172 errcode = KRB5_LIBOS_CANTREADPWD; in read_console_password()
185 errcode = KRB5_LIBOS_BADPWDMATCH; in read_console_password()
196 if (errcode) in read_console_password()
200 return errcode; in read_console_password()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_slp.c566 errcode = netval; \
568 errcode, slpv2_error(errcode)); \
571 if (errcode != OK) \
573 if (errcode != OK) \
599 errcode = netval; \
604 if (errcode != OK) \
1142 GETSHORT(errcode); in v2_srv_rply()
1236 GETSHORT(errcode); in v2_srv_ack()
1273 GETSHORT(errcode); in v2_attr_rply()
1354 GETSHORT(errcode); in v2_srv_type_rply()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A D3c90x.c604 int i, errcode; in a3c90x_poll() local
635 errcode = INF_3C90X.ReceiveUPD.UpPktStatus; in a3c90x_poll()
636 if (errcode & (1<<16)) in a3c90x_poll()
637 printf("3C90X: Rx Overrun (%hX)\n",errcode>>16); in a3c90x_poll()
638 else if (errcode & (1<<17)) in a3c90x_poll()
639 printf("3C90X: Runt Frame (%hX)\n",errcode>>16); in a3c90x_poll()
640 else if (errcode & (1<<18)) in a3c90x_poll()
642 else if (errcode & (1<<19)) in a3c90x_poll()
643 printf("3C90X: CRC Error (%hX)\n",errcode>>16); in a3c90x_poll()
644 else if (errcode & (1<<20)) in a3c90x_poll()
[all …]
H A Dtftp.h49 uint16_t errcode; member
70 uint16_t errcode; member
/illumos-gate/usr/src/cmd/sed/
H A Dmisc.c54 strregerror(int errcode, regex_t *preg) in strregerror() argument
61 s = regerror(errcode, preg, NULL, 0); in strregerror()
64 (void) regerror(errcode, preg, oe, s); in strregerror()
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregerror.c90 regerror(int errcode, const regex_t *_RESTRICT_KYWD preg, in regerror() argument
95 int target = errcode &~ REG_ITOA; in regerror()
99 if (errcode == REG_ATOI) { in regerror()
107 if (errcode&REG_ITOA) { in regerror()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c126 int errcode; in tftp_sendfile() local
202 errcode = process_oack(&ackbuf, n); in tftp_sendfile()
203 if (errcode >= 0) { in tftp_sendfile()
204 nak(errcode); in tftp_sendfile()
254 int errcode; in tftp_recvfile() local
331 if (errcode >= 0) { in tftp_recvfile()
333 nak(errcode); in tftp_recvfile()
589 int i, errcode; in process_oack() local
607 errcode = options[i].opt_handler(optval); in process_oack()
608 if (errcode >= 0) in process_oack()
[all …]
/illumos-gate/usr/src/common/bzip2/
H A Dbzlib_private.h62 extern void BZ2_bz__AssertH__fail ( int errcode );
63 #define AssertH(cond,errcode) \ argument
64 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
93 extern void bz_internal_error ( int errcode );
94 #define AssertH(cond,errcode) \ argument
95 { if (!(cond) && &bz_internal_error != NULL) bz_internal_error ( errcode ); }
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Derror.c488 int err, errcode; in ldap_parse_result() local
512 err = nsldapi_parse_result( ld, lm->lm_msgtype, lm->lm_ber, &errcode, in ldap_parse_result()
517 *errcodep = errcode; in ldap_parse_result()
545 LDAP_SET_LDERRNO( ld, ( err == LDAP_SUCCESS ) ? errcode : err, m, e ); in ldap_parse_result()
562 int berrc, err, errcode; in nsldapi_parse_result() local
609 errcode = (int)along; /* XXX lossy cast */ in nsldapi_parse_result()
613 errcode = (int)along; /* XXX lossy cast */ in nsldapi_parse_result()
665 *errcodep = errcode; in nsldapi_parse_result()
H A Dvlistctrl.c186 int i, foundListControl, errcode; in ldap_parse_virtuallist_control() local
228 &errcode ) ) { in ldap_parse_virtuallist_control()
244 *errcodep = errcode; in ldap_parse_virtuallist_control()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c508 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData()
522 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData()
533 kmfh->lasterr.errcode = ckRv; in PKCS_VerifyData()
599 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
630 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
641 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
658 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
671 kmfh->lasterr.errcode = ckRv; in PKCS_EncryptData()
812 kmfh->lasterr.errcode = ckrv; in PKCS_DigestData()
821 kmfh->lasterr.errcode = ckrv; in PKCS_DigestData()
/illumos-gate/usr/src/lib/libvmmapi/common/
H A Dvmmapi.h209 int errcode_valid, uint32_t errcode, int restart_instruction);
212 int errcode_valid, int errcode);
221 vm_inject_ac(struct vcpu *vcpu, int errcode) in vm_inject_ac() argument
223 vm_inject_fault(vcpu, IDT_AC, 1, errcode); in vm_inject_ac()
226 vm_inject_ss(struct vcpu *vcpu, int errcode) in vm_inject_ss() argument
228 vm_inject_fault(vcpu, IDT_SS, 1, errcode); in vm_inject_ss()

1234