Searched refs:regcomp (Results 1 - 25 of 87) sorted by path

1234

/freebsd-11-stable/bin/ed/
H A Dre.c66 if ((n = regcomp(expr, exprs, 0))) {
/freebsd-11-stable/bin/expr/
H A Dexpr.y541 if ((eval = regcomp(&rp, b->u.s, 0)) != 0) {
/freebsd-11-stable/bin/pax/
H A Dpat_rep.c88 * is compiled by regcomp() and is applied to filenames. "new" is the
135 if ((rep->rcmp = regcomp(str+1)) == NULL) {
137 if ((res = regcomp(&(rep->rcmp), str+1, 0)) != 0) {
/freebsd-11-stable/bin/pkill/
H A Dpkill.c348 if ((rv = regcomp(&reg, *argv, cflags)) != 0) {
/freebsd-11-stable/contrib/amd/amd/
H A Dmapc.c477 retval = regcomp(&re, pattern, REG_ICASE);
/freebsd-11-stable/contrib/atf/atf-c++/detail/
H A Dtext.cpp58 // Special case: regcomp does not like empty regular expressions.
64 if (::regcomp(&preg, regex.c_str(), REG_EXTENDED) != 0)
/freebsd-11-stable/contrib/atf/atf-c/
H A Dutils.c86 ATF_REQUIRE(regcomp(&preg, regex, REG_EXTENDED) == 0);
/freebsd-11-stable/contrib/binutils/include/
H A Dxregex.h9 # define regcomp xregcomp macro
H A Dxregex2.h258 /* POSIX `cflags' bits (i.e., information for `regcomp'). */
302 /* POSIX regcomp return error codes. (In the order listed in the
320 REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */
540 extern int regcomp (regex_t *__restrict __preg,
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dregex.c68 # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) macro
7829 regcomp/regexec below without link errors. */
7894 /* regcomp takes a regular expression as a string and compiles it.
7930 regcomp (regex_t *preg, const char *pattern, int cflags)
8004 weak_alias (__regcomp, regcomp)
8012 `regcomp', we ignore PMATCH. Otherwise, we assume PMATCH has at
8083 from either regcomp or regexec. We don't use PREG here. */
/freebsd-11-stable/contrib/binutils/opcodes/
H A Dmep-asm.c1132 reg_err = regcomp ((regex_t *) CGEN_INSN_RX (insn), rxbuf, REG_NOSUB);
/freebsd-11-stable/contrib/bmake/
H A Dvar.c1643 * Print the error caused by a regcomp or regexec call.
3462 error = regcomp(&pattern.re, re, REG_EXTENDED);
/freebsd-11-stable/contrib/flex/
H A Dregex.c46 * @param preg Same as for regcomp().
47 * @param regex Same as for regcomp().
48 * @param cflags Same as for regcomp().
56 if ((err = regcomp (preg, regex, cflags)) != 0) {
62 flexfatal(_("Unable to allocate buffer to report regcomp"));
67 snprintf (errbuf, errbuf_sz, "regcomp for \"%s\" failed: %s", regex, rxerr);
/freebsd-11-stable/contrib/gcc/
H A Dgcc.c7856 if (regcomp (&r, "^([1-9][0-9]*|0)(\\.([1-9][0-9]*|0))*$",
/freebsd-11-stable/contrib/gcclibs/include/
H A Dxregex.h9 # define regcomp xregcomp macro
H A Dxregex2.h258 /* POSIX `cflags' bits (i.e., information for `regcomp'). */
302 /* POSIX regcomp return error codes. (In the order listed in the
320 REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */
540 extern int regcomp (regex_t *__restrict __preg,
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dregex.c68 # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) macro
7829 regcomp/regexec below without link errors. */
7894 /* regcomp takes a regular expression as a string and compiles it.
7930 regcomp (regex_t *preg, const char *pattern, int cflags)
8004 weak_alias (__regcomp, regcomp)
8012 `regcomp', we ignore PMATCH. Otherwise, we assume PMATCH has at
8083 from either regcomp or regexec. We don't use PREG here. */
/freebsd-11-stable/contrib/gdb/gdb/cli/
H A Dcli-cmds.c977 if (regcomp(&pattern,searchstr,REG_ICASE) == 0)
985 regerror(regcomp(&pattern,searchstr,REG_ICASE),NULL,errorbuffer,512);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dhpacc-abi.c319 regcomp (&constructor_pattern,
322 regcomp (&destructor_pattern,
325 regcomp (&operator_pattern,
/freebsd-11-stable/contrib/gdb/include/
H A Dxregex.h9 # define regcomp xregcomp macro
H A Dxregex2.h255 /* POSIX `cflags' bits (i.e., information for `regcomp'). */
299 /* POSIX regcomp return error codes. (In the order listed in the
317 REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */
549 extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,
/freebsd-11-stable/contrib/less/
H A Dregexp.c2 * regcomp and regexec -- regsub and regerror are elsewhere
55 * that regcomp() supplies a regmust only if the r.e. contains something
58 * supplied because the test in regexec() needs it and regcomp() is
159 * Global work variables for regcomp().
175 * Forward declarations for regcomp()'s friends.
195 - regcomp - compile a regular expression into internal code
210 regcomp(exp) function
/freebsd-11-stable/contrib/libarchive/tar/
H A Dsubst.c107 if ((r = regcomp(&rule->re, pattern, REG_BASIC)) != 0) {
/freebsd-11-stable/contrib/libgnuregex/
H A Dregcomp.c433 /* regcomp takes a regular expression as a string and compiles it.
469 regcomp (preg, pattern, cflags)
524 weak_alias (__regcomp, regcomp)
528 from either regcomp or regexec. We don't use PREG here. */
671 regcomp/regexec above without link errors. */
466 regcomp (preg, pattern, cflags) function
H A Dregex.c33 # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) macro
66 #include "regcomp.c"

Completed in 308 milliseconds

1234