Searched refs:regex (Results 1 - 25 of 185) sorted by relevance

12345678

/freebsd-10-stable/gnu/lib/libregex/
H A Dgnuregex.h31 #warning "Use -I/usr/include/gnu and <regex.h> instead of <gnuregex.h>"
33 #include <gnu/regex.h>
H A DMakefile13 INCS= regex.h.patched
14 INCSNAME= regex.h
17 PXINCS= ${REGEXDIR}/regex.h
23 CLEANFILES= regex.h.patched gnuregex.c
24 regex.h.patched: regex.h
25 sed 's=<posix/regex\.h>=<gnu/posix/regex.h>=g' \
28 gnuregex.c: regex.c
29 sed 's=<regex\
[all...]
/freebsd-10-stable/gnu/lib/libregex/doc/
H A DMakefile3 INFO = regex
5 INFOENTRY_regex= "* Regex: (regex). Regular expression library."
7 CLEANFILES += regex.texi
9 regex.texi: xregex.texi ../regex.h
10 awk -f ${.CURDIR}/include.awk -v source=${.CURDIR}/../regex.h \
/freebsd-10-stable/contrib/gdb/gdb/
H A Dgdb_regex.h1 /* Portable <regex.h>.
27 /* Request 4.2 BSD regex functions. */
29 # include <regex.h>
/freebsd-10-stable/usr.bin/grep/regex/
H A Dfastmatch.c33 #include <regex.h>
40 tre_fixncomp(fastmatch_t *preg, const char *regex, size_t n, int cflags) argument
48 ret = tre_convert_pattern(regex, n, &wregex, &wlen);
61 tre_fastncomp(fastmatch_t *preg, const char *regex, size_t n, int cflags) argument
69 ret = tre_convert_pattern(regex, n, &wregex, &wlen);
85 tre_fixcomp(fastmatch_t *preg, const char *regex, int cflags) argument
87 return tre_fixncomp(preg, regex, regex ? strlen(regex) : 0, cflags);
91 tre_fastcomp(fastmatch_t *preg, const char *regex, in argument
97 tre_fixwncomp(fastmatch_t *preg, const wchar_t *regex, size_t n, int cflags) argument
103 tre_fastwncomp(fastmatch_t *preg, const wchar_t *regex, size_t n, int cflags) argument
111 tre_fixwcomp(fastmatch_t *preg, const wchar_t *regex, int cflags) argument
117 tre_fastwcomp(fastmatch_t *preg, const wchar_t *regex, int cflags) argument
[all...]
H A Dtre-fastmatch.h9 #include <regex.h>
14 int tre_compile_literal(fastmatch_t *preg, const tre_char_t *regex,
16 int tre_compile_fast(fastmatch_t *preg, const tre_char_t *regex, size_t, int);
H A Dtre-compile.c8 #include <regex.h>
15 tre_convert_pattern(const char *regex, size_t n, tre_char_t **w, argument
36 const unsigned char *str = (const unsigned char *)regex;
54 consumed = tre_mbrtowc(wcptr, regex, n, &state);
59 if (*regex == '\0')
77 regex += consumed;
90 *w = (tre_char_t * const *)regex;
H A Dfastmatch.h7 #include <regex.h>
38 tre_fixcomp(fastmatch_t *preg, const char *regex, int cflags);
41 tre_fastcomp(fastmatch_t *preg, const char *regex, int cflags);
51 tre_fixwcomp(fastmatch_t *preg, const wchar_t *regex, int cflags);
54 tre_fastwcomp(fastmatch_t *preg, const wchar_t *regex, int cflags);
63 tre_fixncomp(fastmatch_t *preg, const char *regex, size_t len, int cflags);
66 tre_fastncomp(fastmatch_t *preg, const char *regex, size_t len, int cflags);
73 tre_fixwncomp(fastmatch_t *preg, const wchar_t *regex, size_t len, int cflags);
76 tre_fastwncomp(fastmatch_t *preg, const wchar_t *regex, size_t len, int cflags);
/freebsd-10-stable/include/
H A Dlibgen.h43 char *regex(const char *, const char *, ...);
/freebsd-10-stable/tools/regression/lib/libc/regex/
H A DMakefile3 GROT= ../../../../../lib/libc/regex/grot
7 cd ${GROT}; make && echo "PASS regex"
/freebsd-10-stable/contrib/gcc/
H A Dopt-functions.awk22 function flag_set_p(regex, flags)
24 return (" " flags " ") ~ (" " regex " ")
29 function test_flag(regex, flags, string)
31 if (flag_set_p(regex, flags))
67 regex = langs[j]
68 gsub ( "\\+", "\\+", regex )
69 result = result test_flag(regex, flags, " | " macros[j])
/freebsd-10-stable/contrib/less/
H A Dpattern.h12 #include <regex.h>
18 #include <regex.h>
44 char *regex LESSPARAMS ((char**, char*));
/freebsd-10-stable/share/doc/llvm/
H A DMakefile12 TOP= LICENSE.TXT COPYRIGHT.regex
/freebsd-10-stable/lib/libc/regex/grot/
H A DMakefile1 # $FreeBSD: stable/10/lib/libc/regex/grot/Makefile 313221 2017-02-04 16:36:07Z ngie $
53 sh mkh $(MKHFLAGS) -i _REGEX_H_ $(REGEXHSRC) >regex.tmp
54 cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
55 rm -f regex.tmp
57 regex.h: h
59 regcomp.o regexec.o regfree.o debug.o: utils.h regex.h regex2.h
96 rm -f junk* core regex
[all...]
/freebsd-10-stable/sys/xen/interface/foreign/
H A Dmkheader.py96 regex = "#define\s+%s\\b" % define; variable
97 match = re.search(regex, line);
104 regex = "\\b%s\\b" % define; variable
105 output += re.sub(regex, replace, line) + "\n";
115 regex = "union\s+%s\s*\{(.*?)\n\};" % union; variable
116 match = re.search(regex, input, re.S)
125 regex = "struct\s+%s\s*\{(.*?)\n\};" % struct; variable
126 match = re.search(regex, input, re.S)
/freebsd-10-stable/usr.sbin/ndiscvt/
H A Dinf-token.l37 #include <regex.h>
/freebsd-10-stable/contrib/openpam/modules/pam_deny/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-10-stable/contrib/openpam/modules/pam_unix/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-10-stable/contrib/openpam/modules/pam_permit/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-10-stable/contrib/atf/atf-c++/
H A Dutils.cpp74 atf::utils::grep_file(const std::string& regex, const std::string& path) argument
76 return atf_utils_grep_file("%s", path.c_str(), regex.c_str());
80 atf::utils::grep_string(const std::string& regex, const std::string& str) argument
82 return atf_utils_grep_string("%s", str.c_str(), regex.c_str());
/freebsd-10-stable/contrib/atf/atf-c++/detail/
H A Dtext.cpp29 #include <regex.h>
54 impl::match(const std::string& str, const std::string& regex) argument
59 if (regex.empty()) {
64 if (::regcomp(&preg, regex.c_str(), REG_EXTENDED) != 0)
65 throw std::runtime_error("Invalid regular expression '" + regex +
71 throw std::runtime_error("Invalid regular expression " + regex);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugPubnames.h29 bool Find(const lldb_private::RegularExpression& regex, std::vector<dw_offset_t>& die_offsets) const;
/freebsd-10-stable/lib/libc/locale/
H A Drpmatch.c31 #include <regex.h>
/freebsd-10-stable/lib/libcompat/4.3/
H A Dre_comp.c44 static char sccsid[] = "@(#)regex.c 5.1 (Berkeley) 3/29/92";
47 #include <regex.h>
/freebsd-10-stable/usr.bin/sed/
H A Dmisc.c45 #include <regex.h>

Completed in 658 milliseconds

12345678