Home
last modified time | relevance | path

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

12

/dragonfly/contrib/tre/lib/
H A Dregerror.c57 tre_regerror(int errcode, const regex_t * __restrict preg, in tre_regerror() argument
64 if (errcode >= 0 in tre_regerror()
65 && errcode < (int)(sizeof(tre_error_messages) in tre_regerror()
67 err = gettext(tre_error_messages[errcode]); in tre_regerror()
H A Dtre-compile.c2899 return errcode; in tre_ast_to_tnfa()
2910 return errcode; in tre_ast_to_tnfa()
2913 return errcode; in tre_ast_to_tnfa()
2929 return errcode; in tre_ast_to_tnfa()
2934 return errcode; in tre_ast_to_tnfa()
2961 reg_errcode_t errcode; in tre_compile() local
2997 if (errcode != REG_OK) in tre_compile()
2998 ERROR_EXIT(errcode); in tre_compile()
3036 ERROR_EXIT(errcode); in tre_compile()
3070 ERROR_EXIT(errcode); in tre_compile()
[all …]
/dragonfly/contrib/nvi2/regex/
H A Dregerror.c114 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument
118 int target = errcode &~ REG_ITOA; in regerror()
122 if (errcode == REG_ATOI) in regerror()
129 if (errcode&REG_ITOA) { in regerror()
/dragonfly/usr.bin/sed/
H A Dmisc.c59 strregerror(int errcode, regex_t *preg) in strregerror() argument
66 s = regerror(errcode, preg, NULL, 0); in strregerror()
69 (void)regerror(errcode, preg, oe, s); in strregerror()
/dragonfly/contrib/bzip2/
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 ); }
H A Dbzlib.c42 void BZ2_bz__AssertH__fail ( int errcode ) in BZ2_bz__AssertH__fail() argument
53 errcode, in BZ2_bz__AssertH__fail()
57 if (errcode == 1007) { in BZ2_bz__AssertH__fail()
/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_lib.c295 int errcode; in X509V3_add1_i2d() local
312 errcode = X509V3_R_EXTENSION_EXISTS; in X509V3_add1_i2d()
328 errcode = X509V3_R_EXTENSION_NOT_FOUND; in X509V3_add1_i2d()
362 X509V3error(errcode); in X509V3_add1_i2d()
/dragonfly/contrib/gdb-7/gdb/
H A Dvalprint.c1723 if (errcode == 0) in partial_memory_read()
1731 for (errcode = 0, nread = 0; len > 0 && errcode == 0; nread++, len--) in partial_memory_read()
1736 if (errcode != 0) in partial_memory_read()
1743 *errnoptr = errcode; in partial_memory_read()
1852 errcode = 0; in read_string()
1858 while (errcode == 0 /* no error */ in read_string()
1866 errcode = 0; in read_string()
1877 return errcode; in read_string()
2513 if (errcode == 0 || bytes_read > 0) in val_print_string()
2519 if (errcode != 0) in val_print_string()
[all …]
H A Dbtrace.c358 int errcode = 0; in btrace_disable() local
377 int errcode = 0; in btrace_teardown() local
520 int errcode; in VEC() local
525 errcode = gdb_xml_parse_quick (_("btrace"), "btrace.dtd", btrace_elements, in VEC()
527 if (errcode != 0) in VEC()
H A Dsolib-svr4.c886 int errcode; in open_symbol_file_object() local
931 target_read_string (l_name, &filename, SO_NAME_MAX_PATH_SIZE - 1, &errcode); in open_symbol_file_object()
934 if (errcode) in open_symbol_file_object()
937 safe_strerror (errcode)); in open_symbol_file_object()
1178 int errcode; in svr4_read_so_list() local
1218 SO_NAME_MAX_PATH_SIZE - 1, &errcode); in svr4_read_so_list()
1219 if (errcode != 0) in svr4_read_so_list()
1222 safe_strerror (errcode)); in svr4_read_so_list()
H A Dutils.h283 extern void throw_perror_with_name (enum errors errcode, const char *string)
H A Dutils.c1084 throw_perror_with_name (enum errors errcode, const char *string) in throw_perror_with_name() argument
1101 throw_error (errcode, _("%s."), combined); in throw_perror_with_name()
1116 print_sys_errmsg (const char *string, int errcode) in print_sys_errmsg() argument
1121 err = safe_strerror (errcode); in print_sys_errmsg()
H A Dtarget.c1244 int errcode = 0; in target_read_string() local
1262 errcode = target_read_memory (memaddr & ~3, buf, sizeof buf); in target_read_string()
1263 if (errcode != 0) in target_read_string()
1270 errcode = target_read_memory (memaddr, buf, 1); in target_read_string()
1271 if (errcode != 0) in target_read_string()
1302 *errnop = errcode; in target_read_string()
/dragonfly/contrib/flex/src/
H A Dscanopt.c659 int errcode = 0, has_next; in scanopt() local
695 (s, 1, optname, namelen, &errcode, in scanopt()
697 scanopt_err (s, 0, errcode); in scanopt()
698 return errcode; in scanopt()
731 (s, 0, pstart, namelen, &errcode, &opt_offset)) { in scanopt()
732 return scanopt_err (s, 1, errcode); in scanopt()
760 scanopt_err (s, is_short, errcode = SCANOPT_ERR_ARG_NOT_ALLOWED); in scanopt()
762 return errcode; in scanopt()
/dragonfly/contrib/cvs-1.12/lib/
H A Dregex.c29 # define regerror(errcode, preg, errbuf, errbuf_size) \ argument
30 __regerror(errcode, preg, errbuf, errbuf_size)
/dragonfly/contrib/grep/lib/
H A Dregex.c42 # define regerror(errcode, preg, errbuf, errbuf_size) \ argument
43 __regerror(errcode, preg, errbuf, errbuf_size)
/dragonfly/crypto/libressl/crypto/conf/
H A Dconf_mod.c242 int errcode = 0; in module_load_dso() local
253 errcode = CONF_R_ERROR_LOADING_DSO; in module_load_dso()
258 errcode = CONF_R_MISSING_INIT_FUNCTION; in module_load_dso()
273 CONFerror(errcode); in module_load_dso()
/dragonfly/contrib/diffutils/lib/
H A Dregex.c42 # define regerror(errcode, preg, errbuf, errbuf_size) \ argument
43 __regerror(errcode, preg, errbuf, errbuf_size)
/dragonfly/usr.bin/find/
H A Dfunction.c1336 int errcode; in f_regex() local
1348 errcode = regexec(pre, str, 1, &pmatch, REG_STARTEND); in f_regex()
1350 if (errcode != 0 && errcode != REG_NOMATCH) { in f_regex()
1351 regerror(errcode, pre, errbuf, sizeof errbuf); in f_regex()
1356 if (errcode == 0 && pmatch.rm_so == 0 && pmatch.rm_eo == len) in f_regex()
1368 int errcode; in c_regex() local
1376 if ((errcode = regcomp(pre, pattern, in c_regex()
1378 regerror(errcode, pre, errbuf, sizeof errbuf); in c_regex()
/dragonfly/contrib/gdb-7/gdb/common/
H A Dlinux-btrace.c500 int errcode; in linux_disable_btrace() local
503 errcode = munmap (tinfo->buffer, perf_event_mmap_size (tinfo)); in linux_disable_btrace()
504 if (errcode != 0) in linux_disable_btrace()
/dragonfly/contrib/less/
H A Dpattern.c80 int errcode; in compile_pattern2() local
85 &errcode, &erroffset, NULL); in compile_pattern2()
91 pcre2_get_error_message(errcode, (PCRE2_UCHAR*)msg, sizeof(msg)); in compile_pattern2()
/dragonfly/contrib/cryptsetup/src/
H A Dcryptsetup.c176 static void show_status(int errcode) in show_status() argument
184 if(!errcode) { in show_status()
192 ret = strerror_r(-errcode, error, sizeof(error)); in show_status()
195 log_err(_("Command failed with code %i"), -errcode); in show_status()
/dragonfly/lib/libc/tre-regex/
H A Dregex.h175 tre_regerror(int errcode, const regex_t * __restrict preg,
/dragonfly/contrib/nvi2/ex/
H A Dex_subst.c1278 re_error(SCR *sp, int errcode, regex_t *preg) in re_error() argument
1283 s = regerror(errcode, preg, "", 0); in re_error()
1286 (void)regerror(errcode, preg, oe, s); in re_error()
/dragonfly/contrib/tcpdump/
H A Dprint-rx.c1113 int32_t errcode; in fs_reply_print() local
1115 errcode = GET_BE_S_4(bp); in fs_reply_print()
1118 ND_PRINT(" error %s", tok2str(afs_fs_errors, "#%d", errcode)); in fs_reply_print()

12