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

12345678

/freebsd-11.0-release/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 DMakefile11 INCS= regex.h.patched
12 INCSNAME= regex.h
15 PXINCS= ${REGEXDIR}/regex.h
21 CLEANFILES= regex.h.patched gnuregex.c
22 regex.h.patched: regex.h
23 sed 's=<posix/regex\.h>=<gnu/posix/regex.h>=g' \
26 gnuregex.c: regex.c
27 sed 's=<regex\
[all...]
/freebsd-11.0-release/lib/libc/regex/
H A DMakefile.inc2 # $FreeBSD: releng/11.0/lib/libc/regex/Makefile.inc 262722 2014-03-04 02:19:39Z marcel $
4 # regex sources
5 .PATH: ${LIBC_SRCTOP}/regex
11 SYM_MAPS+=${LIBC_SRCTOP}/regex/Symbol.map
13 MAN+= regex.3
16 MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
/freebsd-11.0-release/contrib/gdb/gdb/
H A Dgdb_regex.h1 /* Portable <regex.h>.
27 /* Request 4.2 BSD regex functions. */
29 # include <regex.h>
/freebsd-11.0-release/usr.bin/grep/regex/
H A Dfastmatch.c1 /* $FreeBSD: releng/11.0/usr.bin/grep/regex/fastmatch.c 226035 2011-10-05 09:56:43Z gabor $ */
33 #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)
91 tre_fastcomp(fastmatch_t *preg, const char *regex, int cflags) 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.h1 /* $FreeBSD: releng/11.0/usr.bin/grep/regex/tre-fastmatch.h 226035 2011-10-05 09:56:43Z gabor $ */
9 #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.c1 /* $FreeBSD: releng/11.0/usr.bin/grep/regex/tre-compile.c 226035 2011-10-05 09:56:43Z gabor $ */
8 #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.h1 /* $FreeBSD: releng/11.0/usr.bin/grep/regex/fastmatch.h 226035 2011-10-05 09:56:43Z gabor $ */
7 #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_
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/Support/
H A DRegex.h49 Regex &operator=(Regex regex) { argument
50 std::swap(preg, regex.preg);
51 std::swap(error, regex.error);
54 Regex(Regex &&regex) { argument
55 preg = regex.preg;
56 error = regex.error;
57 regex.preg = nullptr;
61 /// isValid - returns the error encountered during regex compilation, or
65 /// getNumMatches - In a valid regex, return the number of parenthesized
67 /// many entries plus one for the whole regex (a
[all...]
/freebsd-11.0-release/tools/regression/lib/libc/regex/
H A DMakefile1 # $FreeBSD: releng/11.0/tools/regression/lib/libc/regex/Makefile 132392 2004-07-19 09:00:26Z tjr $
3 GROT= ../../../../../lib/libc/regex/grot
7 cd ${GROT}; make && echo "PASS regex"
/freebsd-11.0-release/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-11.0-release/contrib/less/
H A Dpattern.h12 #include <regex.h>
18 #include <regex.h>
44 char *regex();
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Utility/
H A DNameMatches.cpp43 RegularExpression regex(match);
44 return regex.Execute(name);
/freebsd-11.0-release/share/doc/llvm/
H A DMakefile10 TOP= LICENSE.TXT COPYRIGHT.regex
/freebsd-11.0-release/lib/libc/regex/grot/
H A DMakefile1 # $FreeBSD: releng/11.0/lib/libc/regex/grot/Makefile 292153 2015-12-13 06:33:52Z 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-11.0-release/contrib/openpam/modules/pam_deny/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-11.0-release/contrib/openpam/modules/pam_permit/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-11.0-release/contrib/openpam/modules/pam_unix/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-11.0-release/usr.sbin/ndiscvt/
H A Dinf-token.l37 #include <regex.h>
/freebsd-11.0-release/contrib/mdocml/
H A Dtest-rewb-bsd.c2 #include <regex.h>
H A Dtest-rewb-sysv.c2 #include <regex.h>
/freebsd-11.0-release/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-11.0-release/contrib/llvm/tools/lldb/include/lldb/DataFormatters/
H A DFormattersHelpers.h32 bool regex = false);
38 bool regex = false);
45 bool regex = false);
51 bool regex = false);
60 bool regex = false);
68 bool regex = false);
76 bool regex = false);
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/DataFormatters/
H A DFormattersHelpers.cpp34 bool regex)
38 if (regex)
48 bool regex)
50 if (regex)
61 bool regex)
66 if (regex)
76 bool regex)
81 if (regex)
94 bool regex)
97 if (regex)
30 AddFormat(TypeCategoryImpl::SharedPointer category_sp, lldb::Format format, ConstString type_name, TypeFormatImpl::Flags flags, bool regex) argument
45 AddSummary(TypeCategoryImpl::SharedPointer category_sp, TypeSummaryImplSP summary_sp, ConstString type_name, bool regex) argument
57 AddStringSummary(TypeCategoryImpl::SharedPointer category_sp, const char* string, ConstString type_name, TypeSummaryImpl::Flags flags, bool regex) argument
73 AddOneLineSummary(TypeCategoryImpl::SharedPointer category_sp, ConstString type_name, TypeSummaryImpl::Flags flags, bool regex) argument
89 AddCXXSummary(TypeCategoryImpl::SharedPointer category_sp, CXXFunctionSummaryFormat::Callback funct, const char* description, ConstString type_name, TypeSummaryImpl::Flags flags, bool regex) argument
104 AddCXXSynthetic(TypeCategoryImpl::SharedPointer category_sp, CXXSyntheticChildren::CreateFrontEndCallback generator, const char* description, ConstString type_name, ScriptedSyntheticChildren::Flags flags, bool regex) argument
119 AddFilter(TypeCategoryImpl::SharedPointer category_sp, std::vector<std::string> children, const char* description, ConstString type_name, ScriptedSyntheticChildren::Flags flags, bool regex) argument
[all...]
/freebsd-11.0-release/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);

Completed in 380 milliseconds

12345678