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

123456789

/freebsd-11-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 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-stable/lib/libc/regex/
H A DMakefile.inc4 # 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-stable/contrib/gdb/gdb/
H A Dgdb_regex.h1 /* Portable <regex.h>.
27 /* Request 4.2 BSD regex functions. */
29 # include <regex.h>
/freebsd-11-stable/usr.bin/grep/regex/
H A Dfastmatch.c1 /* $FreeBSD: stable/11/usr.bin/grep/regex/fastmatch.c 330449 2018-03-05 07:26:05Z eadler $ */
35 #include <regex.h>
41 tre_fixncomp(fastmatch_t *preg, const char *regex, size_t n, int cflags) argument
49 ret = tre_convert_pattern(regex, n, &wregex, &wlen);
62 tre_fastncomp(fastmatch_t *preg, const char *regex, size_t n, int cflags) argument
70 ret = tre_convert_pattern(regex, n, &wregex, &wlen);
86 tre_fixcomp(fastmatch_t *preg, const char *regex, int cflags) argument
88 return tre_fixncomp(preg, regex, regex ? strlen(regex)
92 tre_fastcomp(fastmatch_t *preg, const char *regex, int cflags) argument
98 tre_fixwncomp(fastmatch_t *preg, const wchar_t *regex, size_t n, int cflags) argument
104 tre_fastwncomp(fastmatch_t *preg, const wchar_t *regex, size_t n, int cflags) argument
112 tre_fixwcomp(fastmatch_t *preg, const wchar_t *regex, int cflags) argument
118 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.c1 /* $FreeBSD: stable/11/usr.bin/grep/regex/tre-compile.c 322557 2017-08-16 00:23:59Z kevans $ */
8 #include <regex.h>
13 tre_convert_pattern(const char *regex, size_t n, tre_char_t **w, argument
34 const unsigned char *str = (const unsigned char *)regex;
52 consumed = tre_mbrtowc(wcptr, regex, n, &state);
57 if (*regex == '\0')
75 regex += consumed;
88 *w = (tre_char_t * const *)regex;
H A Dfastmatch.h1 /* $FreeBSD: stable/11/usr.bin/grep/regex/fastmatch.h 323903 2017-09-22 06:16:21Z emaste $ */
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-stable/tools/regression/lib/libc/regex/
H A DMakefile3 GROT= ../../../../../lib/libc/regex/grot
7 cd ${GROT}; make && echo "PASS regex"
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DNameMatches.cpp29 RegularExpression regex(match);
30 return regex.Execute(name);
/freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/
H A DFormattersHelpers.cpp27 ConstString type_name, TypeFormatImpl::Flags flags, bool regex) {
30 if (regex)
40 ConstString type_name, bool regex) {
41 if (regex)
51 ConstString type_name, TypeSummaryImpl::Flags flags, bool regex) {
54 if (regex)
64 TypeSummaryImpl::Flags flags, bool regex) {
68 if (regex)
79 ConstString type_name, TypeSummaryImpl::Flags flags, bool regex) {
82 if (regex)
25 AddFormat( TypeCategoryImpl::SharedPointer category_sp, lldb::Format format, ConstString type_name, TypeFormatImpl::Flags flags, bool regex) argument
38 AddSummary( TypeCategoryImpl::SharedPointer category_sp, TypeSummaryImplSP summary_sp, ConstString type_name, bool regex) argument
49 AddStringSummary( TypeCategoryImpl::SharedPointer category_sp, const char *string, ConstString type_name, TypeSummaryImpl::Flags flags, bool regex) argument
62 AddOneLineSummary( TypeCategoryImpl::SharedPointer category_sp, ConstString type_name, TypeSummaryImpl::Flags flags, bool regex) argument
76 AddCXXSummary( TypeCategoryImpl::SharedPointer category_sp, CXXFunctionSummaryFormat::Callback funct, const char *description, ConstString type_name, TypeSummaryImpl::Flags flags, bool regex) argument
90 AddCXXSynthetic( TypeCategoryImpl::SharedPointer category_sp, CXXSyntheticChildren::CreateFrontEndCallback generator, const char *description, ConstString type_name, ScriptedSyntheticChildren::Flags flags, bool regex) argument
105 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-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-11-stable/contrib/llvm-project/lld/Common/
H A DErrorHandler.cpp19 #include <regex>
119 static std::regex regexes[] = {
120 std::regex(
123 std::regex(
125 std::regex(R"(^undefined symbol:.*\n>>> referenced by (.*):)"),
126 std::regex(
128 std::regex(
130 std::regex(R"(^duplicate symbol: .*\n>>> defined at (\S+):(\d+))"),
131 std::regex(
133 std::regex(
[all...]
/freebsd-11-stable/contrib/less/
H A Dpattern.h12 #include <regex.h>
18 #include <regex.h>
51 char *regex LESSPARAMS ((char**, char*));
/freebsd-11-stable/lib/libc/regex/grot/
H A DMakefile1 # $FreeBSD: stable/11/lib/libc/regex/grot/Makefile 313240 2017-02-04 17:17:38Z ngie $
8 PATHS= ${LIBC_SRCTOP}/regex ${LIBC_SRCTOP}/locale ${SRCTOP}/include
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
[all...]
/freebsd-11-stable/share/doc/llvm/
H A DMakefile10 TOP= LICENSE.TXT COPYRIGHT.regex
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DRegex.h52 Regex &operator=(Regex regex) { argument
53 std::swap(preg, regex.preg);
54 std::swap(error, regex.error);
57 Regex(Regex &&regex);
60 /// isValid - returns the error encountered during regex compilation, if
65 /// getNumMatches - In a valid regex, return the number of parenthesized
67 /// many entries plus one for the whole regex (as element 0).
70 /// matches - Match the regex against a given \p String.
83 /// sub - Return the result of replacing the first match of the regex in
100 /// Turn String into a regex b
[all...]
/freebsd-11-stable/contrib/openpam/modules/pam_return/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-11-stable/contrib/openpam/modules/pam_unix/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-11-stable/contrib/openpam/modules/pam_permit/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-11-stable/contrib/openpam/modules/pam_deny/
H A DMakefile.am14 -export-symbols-regex '^pam_sm_'
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DRegex.cpp21 // xlocale.h, this will cause trouble, because of missing regex-related types.
28 Regex::Regex(StringRef regex, unsigned Flags) { argument
31 preg->re_endp = regex.end();
38 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND);
41 Regex::Regex(Regex &&regex) { argument
42 preg = regex.preg;
43 error = regex.error;
44 regex.preg = nullptr;
45 regex.error = REG_BADPAT;
57 /// Utility to convert a regex erro
[all...]
/freebsd-11-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-11-stable/tests/sys/audit/
H A Dfile-write.c96 const char *regex = "ftruncate.*return,success"; local
101 check_audit(fds, regex, pipefd);
120 const char *regex = "ftruncate.*return,failure"; local
124 check_audit(fds, regex, pipefd);
/freebsd-11-stable/contrib/mdocml/
H A Dtest-rewb-bsd.c3 #include <regex.h>

Completed in 222 milliseconds

123456789