| /openbsd-src/gnu/usr.bin/cvs/windows-NT/ |
| H A D | rcmd.c | 99 int result, errcode; in bind_and_connect() local 108 errcode = SOCK_ERRNO; in bind_and_connect() 112 if (errcode == WSAEADDRINUSE) in bind_and_connect() 116 SOCK_STRERROR (errcode)); in bind_and_connect() 121 errcode = SOCK_ERRNO; in bind_and_connect() 125 if (errcode == WSAEADDRINUSE) in bind_and_connect() 129 SOCK_STRERROR (errcode)); in bind_and_connect()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | valprint.c | 844 int errcode; /* Error from last read. */ in partial_memory_read() local 847 errcode = target_read_memory (memaddr, myaddr, len); in partial_memory_read() 848 if (errcode == 0) in partial_memory_read() 856 for (errcode = 0, nread = 0; len > 0 && errcode == 0; nread++, len--) in partial_memory_read() 858 errcode = target_read_memory (memaddr++, myaddr++, 1); in partial_memory_read() 861 if (errcode != 0) in partial_memory_read() 868 *errnoptr = errcode; in partial_memory_read() 885 int errcode; /* Errno returned from bad reads. */ in val_print_string() local 928 nfetch = partial_memory_read (addr, bufptr, len * width, &errcode) in val_print_string() 954 nfetch = partial_memory_read (addr, bufptr, nfetch * width, &errcode) in val_print_string() [all …]
|
| H A D | solib-irix.c | 512 int errcode; in irix_current_sos() local 540 name_size, &errcode); in irix_current_sos() 541 if (errcode != 0) in irix_current_sos() 544 safe_strerror (errcode)); in irix_current_sos() 596 int errcode; in irix_open_symbol_file_object() local 620 &errcode); in irix_open_symbol_file_object() 622 if (errcode) in irix_open_symbol_file_object() 625 safe_strerror (errcode)); in irix_open_symbol_file_object()
|
| H A D | solib-svr4.c | 545 int errcode; in open_symbol_file_object() local 576 target_read_string (l_name, &filename, SO_NAME_MAX_PATH_SIZE - 1, &errcode); in open_symbol_file_object() 578 if (errcode) in open_symbol_file_object() 581 safe_strerror (errcode)); in open_symbol_file_object() 736 int errcode; in svr4_current_sos() local 741 SO_NAME_MAX_PATH_SIZE - 1, &errcode); in svr4_current_sos() 742 if (errcode != 0) in svr4_current_sos() 745 safe_strerror (errcode)); in svr4_current_sos() 787 int errcode; in svr4_fetch_objfile_link_map() local 812 SO_NAME_MAX_PATH_SIZE - 1, &errcode); in svr4_fetch_objfile_link_map() [all …]
|
| H A D | solib-osf.c | 213 int i, errcode; in fetch_sec_names() local 220 target_read_string (lms->nameaddr, &name, PATH_MAX, &errcode); in fetch_sec_names() 221 if (errcode != 0) in fetch_sec_names() 473 int errcode, i; in read_map() local 486 target_read_string (minf.module_name, &name, PATH_MAX, &errcode); in read_map() 487 if (errcode != 0) in read_map()
|
| H A D | solib-sunos.c | 400 int errcode; in sunos_current_sos() local 439 SO_NAME_MAX_PATH_SIZE - 1, &errcode); in sunos_current_sos() 440 if (errcode != 0) in sunos_current_sos() 443 safe_strerror (errcode)); in sunos_current_sos()
|
| H A D | solib-frv.c | 450 int errcode; in frv_current_sos() local 474 &errcode); in frv_current_sos() 480 if (errcode != 0) in frv_current_sos() 483 safe_strerror (errcode)); in frv_current_sos()
|
| /openbsd-src/usr.sbin/bgpd/ |
| H A D | logmsg.c | 135 log_notification(const struct peer *peer, uint8_t errcode, uint8_t subcode, in log_notification() argument 149 switch (errcode) { in log_notification() 163 if (errcode == ERR_OPEN && subcode == ERR_OPEN_CAPA) { in log_notification() 170 p, dir, errnames[errcode], suberrname, in log_notification() 199 errnames[errcode], suberrname, in log_notification() 228 "%u, subcode %u", p, dir, errcode, subcode); in log_notification() 235 p, dir, errnames[errcode], subcode); in log_notification() 239 dir, errnames[errcode]); in log_notification() 242 p, dir, errnames[errcode], suberrname); in log_notification()
|
| H A D | rtr_proto.c | 36 uint16_t errcode; 466 uint16_t errcode; in rtr_parse_header() 486 errcode = ntohs(rh.session_id); in rtr_parse_header() 487 if (errcode == UNSUPP_PROTOCOL_VERS || in rtr_parse_header() 488 errcode == NO_DATA_AVAILABLE) { in rtr_parse_header() 990 uint16_t errcode; in rtr_parse_error() 995 errcode = ntohs(rh.errcode); in rtr_parse_error() 1013 log_rtr_error(errcode), str ? ": " : "", str ? str : ""); in rtr_process_msg() 1015 if (errcode in rtr_process_msg() 428 uint16_t errcode; rtr_parse_header() local 952 uint16_t errcode; rtr_parse_error() local [all...] |
| H A D | session.c | 1743 session_req_hard_reset(enum err_codes errcode, uint8_t subcode) in session_notification() 1745 switch (errcode) { in session_notification() 1775 session_notification_data(struct peer *p, uint8_t errcode, uint8_t subcode, in session_neighbor_rrefresh() 1781 session_notification(p, errcode, subcode, &ibuf); in session_neighbor_rrefresh() 1785 session_notification(struct peer *p, uint8_t errcode, uint8_t subcode, 1800 log_notification(p, errcode, subcode, ibuf, "dropping"); in session_rrefresh() 1805 if (session_req_hard_reset(errcode, subcode)) { in session_rrefresh() 1814 log_notification(p, errcode, subcode, ibuf, reason); in session_rrefresh() 1839 errs += ibuf_add_n8(buf, errcode); 1853 p->stats.last_sent_errcode = errcode; in session_graceful_restart() 1699 session_notification_data(struct peer * p,uint8_t errcode,uint8_t subcode,void * data,size_t datalen) session_notification_data() argument 1709 session_notification(struct peer * p,uint8_t errcode,uint8_t subcode,struct ibuf * ibuf) session_notification() argument 2482 uint8_t errcode, subcode; parse_notification() local 2939 uint8_t aid, errcode, subcode; session_dispatch_imsg() local [all...] |
| /openbsd-src/lib/libcrypto/x509/ |
| H A D | x509_lib.c | 262 int errcode = 0; in X509V3_add1_i2d() local 272 errcode = X509V3_R_EXTENSION_EXISTS; in X509V3_add1_i2d() 291 errcode = X509V3_R_EXTENSION_NOT_FOUND; in X509V3_add1_i2d() 303 errcode = X509V3_R_EXTENSION_NOT_FOUND; in X509V3_add1_i2d() 315 errcode = X509V3_R_UNSUPPORTED_OPTION; /* XXX */ in X509V3_add1_i2d() 358 if ((flags & X509V3_ADD_SILENT) == 0 && errcode != 0) in X509V3_add1_i2d() 359 X509V3error(errcode); in X509V3_add1_i2d()
|
| /openbsd-src/lib/libc/regex/ |
| H A D | regerror.c | 78 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument 82 int target = errcode &~ REG_ITOA; in regerror() 86 if (errcode == REG_ATOI) in regerror() 93 if (errcode®_ITOA) { in regerror()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | regerror.c | 84 llvm_regerror(int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size) in llvm_regerror() argument 88 int target = errcode &~ REG_ITOA; in llvm_regerror() 92 if (errcode == REG_ATOI) in llvm_regerror() 99 if (errcode®_ITOA) { in llvm_regerror()
|
| /openbsd-src/usr.bin/sed/ |
| H A D | misc.c | 89 strregerror(int errcode, regex_t *preg) in strregerror() argument 95 s = regerror(errcode, preg, "", 0); in strregerror() 97 (void)regerror(errcode, preg, oe, s); in strregerror()
|
| /openbsd-src/regress/lib/libcrypto/pem/ |
| H A D | x509_info.c | 63 unsigned long errcode; in main() local 123 while ((errcode = ERR_get_error_line_data(NULL, NULL, in main() 127 ERR_error_string(errcode, NULL), in main() 130 warnx("%s", ERR_error_string(errcode, NULL)); in main()
|
| /openbsd-src/gnu/usr.bin/binutils/opcodes/ |
| H A D | a29k-dis.c | 293 int errcode; local 297 errcode = (*info->read_memory_func) (memaddr - 4, 301 if (errcode == 0) 315 errcode = (*info->read_memory_func) 324 if (errcode == 0)
|
| H A D | sparc-dis.c | 686 int errcode; local 689 errcode = 693 errcode = 1; 697 if (errcode == 0) 710 errcode = (*info->read_memory_func) 713 errcode = 1; 721 if (errcode == 0)
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Compress-Raw-Bzip2/bzip2-src/ |
| H A D | bzlib_private.h | 58 extern void BZ2_bz__AssertH__fail ( int errcode ); 59 #define AssertH(cond,errcode) \ argument 60 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); } 88 extern void bz_internal_error ( int errcode ); 89 #define AssertH(cond,errcode) \ argument 90 { if (!(cond)) bz_internal_error ( errcode ); }
|
| /openbsd-src/usr.bin/lex/ |
| H A D | scanopt.c | 683 int errcode = 0, has_next; 719 (s, 1, optname, namelen, &errcode, 721 scanopt_err (s, opt_offset, 0, errcode); 722 return errcode; 755 (s, 0, pstart, namelen, &errcode, &opt_offset)) { 756 return scanopt_err (s, opt_offset, 1, errcode); 784 scanopt_err (s, opt_offset, is_short, errcode = 787 return errcode; 716 int errcode = 0, has_next; global() local
|
| /openbsd-src/lib/libevent/ |
| H A D | evutil.h | 62 #define EVUTIL_SET_SOCKET_ERROR(errcode) \ argument 63 do { errno = (errcode); } while (0)
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/ |
| H A D | sparc-dis.c | 937 int errcode; in print_insn_sparc() local 940 errcode = in print_insn_sparc() 944 errcode = 1; in print_insn_sparc() 948 if (errcode == 0) in print_insn_sparc() 961 errcode = (*info->read_memory_func) in print_insn_sparc() 964 errcode = 1; in print_insn_sparc() 972 if (errcode == 0) in print_insn_sparc()
|
| /openbsd-src/usr.sbin/bgpctl/ |
| H A D | bgpctl.c | 840 fmt_errstr(uint8_t errcode, uint8_t subcode) in fmt_errstr() 847 if (errcode == 0) /* no error */ in fmt_errstr() 850 if (errcode < sizeof(errnames)/sizeof(char *)) in fmt_errstr() 851 errstr = errnames[errcode]; in fmt_errstr() 853 switch (errcode) { in fmt_errstr() 890 "unknown error code %u subcode %u", errcode, subcode); in fmt_errstr() 1479 print_notification(uint8_t errcode, uint8_t subcode) in print_notification() 1484 switch (errcode) { in print_notification() 1520 printf("unknown errcode %u, subcode %u", in print_notification() 1521 errcode, subcod in print_notification() 835 fmt_errstr(uint8_t errcode,uint8_t subcode) fmt_errstr() argument 1473 print_notification(uint8_t errcode,uint8_t subcode) print_notification() argument 1603 uint8_t errcode, subcode, reason_len, c; show_mrt_notification() local [all...] |
| /openbsd-src/gnu/gcc/libcpp/ |
| H A D | makedepend.c | 72 usage (int errcode) in usage() argument 77 exit (errcode); in usage()
|
| /openbsd-src/usr.bin/make/ |
| H A D | main.c | 832 int errcode; member 846 fprintf(stderr, "\t%s: %s\n", u->fname, strerror(u->errcode)); in dump_unreadable() 865 u->errcode = errno; in open_makefile()
|
| /openbsd-src/sys/dev/ic/ |
| H A D | adw.c | 328 int errcode = ADW_SUCCESS; in adw_queue_ccb() local 336 errcode = AdwExeScsiQueue(sc, &ccb->scsiq); in adw_queue_ccb() 337 switch(errcode) { in adw_queue_ccb() 360 return(errcode); in adw_queue_ccb()
|