Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/usr.bin/cvs/windows-NT/
H A Drcmd.c99 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 Dvalprint.c844 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 Dsolib-irix.c512 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 Dsolib-svr4.c545 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 Dsolib-osf.c213 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 Dsolib-sunos.c400 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 Dsolib-frv.c450 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 Dlogmsg.c135 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 Drtr_proto.c36 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 Dsession.c1743 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 Dx509_lib.c262 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 Dregerror.c78 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&REG_ITOA) { in regerror()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A Dregerror.c84 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&REG_ITOA) { in llvm_regerror()
/openbsd-src/usr.bin/sed/
H A Dmisc.c89 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 Dx509_info.c63 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 Da29k-dis.c293 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 Dsparc-dis.c686 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 Dbzlib_private.h58 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 Dscanopt.c683 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 Devutil.h62 #define EVUTIL_SET_SOCKET_ERROR(errcode) \ argument
63 do { errno = (errcode); } while (0)
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dsparc-dis.c937 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 Dbgpctl.c840 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 Dmakedepend.c72 usage (int errcode) in usage() argument
77 exit (errcode); in usage()
/openbsd-src/usr.bin/make/
H A Dmain.c832 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 Dadw.c328 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()

12