Home
last modified time | relevance | path

Searched refs:regexp (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/crypto/openssl/util/perl/OpenSSL/
H A DParseC.pm84 { regexp => qr/#ifdef ?(.*)/,
97 { regexp => qr/#ifndef ?(.*)/,
110 { regexp => qr/#if (0|1)/,
127 { regexp => qr/#if ?(.*)/,
187 { regexp => qr/#elif (.*)/,
204 { regexp => qr/#else/,
223 { regexp => qr/#endif ?/,
248 { regexp => qr/#.*/,
513 { regexp => qr/
600 { regexp => qr/
[all …]
/freebsd/contrib/less/
H A Dregexp.h12 typedef struct regexp { struct
20 } regexp; argument
28 extern regexp *regcomp _ANSI_ARGS_((char *exp));
29 extern int regexec _ANSI_ARGS_((regexp *prog, char *string));
30 extern int regexec2 _ANSI_ARGS_((regexp *prog, char *string, int notbol));
31 extern void regsub _ANSI_ARGS_((regexp *prog, char *source, char *dest));
H A Dregexp.c209 regexp *
213 register regexp *r;
236 r = (regexp *)malloc(sizeof(regexp) + (unsigned)regsize);
727 register regexp *prog; in regexec2()
789 register regexp *prog; in regexec()
800 regexp *prog; in regtry()
1102 regexp *r; in regdump()
H A Dpattern.h69 #define PATTERN_TYPE struct regexp *
H A Dpattern.c122 struct regexp *comp; in compile_pattern2()
/freebsd/contrib/atf/atf-c/
H A Dmacros.h234 #define ATF_REQUIRE_MATCH(regexp, string) do { \
235 const char *_atf_regexp = (regexp); \
241 #define ATF_CHECK_MATCH(regexp, string) do { \
242 const char *_atf_regexp = (regexp); \
248 #define ATF_REQUIRE_MATCH_MSG(regexp, string, fmt, ...) do { \
249 const char *_atf_regexp = (regexp); \
256 #define ATF_CHECK_MATCH_MSG(regexp, string, fmt, ...) do { \
257 const char *_atf_regexp = (regexp); \
/freebsd/contrib/atf/atf-c++/
H A Dmacros.hpp125 #define ATF_REQUIRE_MATCH(regexp, string) \
127 if (!atf::tests::detail::match(regexp, string)) { \
130 << "match regexp '" << regexp << "'"; \
159 #define ATF_REQUIRE_THROW_RE(expected_exception, regexp, statement) \
169 if (!atf::tests::detail::match(regexp, e.what())) { \
173 << e.what() << "), but does not match '" << regexp \
H A Dutils.hpp52 grep_collection(const std::string& regexp, const Collection& collection) in grep_collection() argument
56 if (grep_string(regexp, *iter)) in grep_collection()
H A Dmacros_test.cpp153 const std::string regexp = get_config_var("regexp"); in ATF_TEST_CASE_BODY() local
157 ATF_REQUIRE_MATCH(regexp, string); in ATF_TEST_CASE_BODY()
473 const char *regexp; in ATF_TEST_CASE_BODY() member
485 for (t = &tests[0]; t->regexp != NULL; t++) { in ATF_TEST_CASE_BODY()
487 config["regexp"] = t->regexp; in ATF_TEST_CASE_BODY()
490 std::cout << "Checking with " << t->regexp << ", " << t->string in ATF_TEST_CASE_BODY()
H A Dtests.cpp136 detail::match(const std::string& regexp, const std::string& str) in match() argument
138 return atf::text::match(str, regexp); in match()
/freebsd/usr.bin/m4/tests/
H A Dpatterns.m410 dnl Special case: empty regexp
11 patsubst(`empty regexp',`',`a ')
/freebsd/crypto/openssl/test/recipes/
H A D20-test_passwd.t124 my ($cmdarray, $regexp) = @_;
127 return $lines[0] =~ m|$regexp|;
/freebsd/share/examples/csh/
H A Ddot.cshrc62 … 'c/--/(extended-regexp fixed-regexp basic-regexp regexp file ignore-case word-regexp line-regexp \
/freebsd/usr.bin/vgrind/
H A DMakefile3 SRCS= regexp.c vfontedpr.c
/freebsd/usr.bin/grep/
H A Dzgrep.sh87 --regexp=*)
/freebsd/contrib/tcsh/
H A Dcomplete.tcsh662 complete postmap 'n/1/(hash: regexp:)/' 'c/hash:/f/' 'c/regexp:/f/'
923 c/--/"(extended-regexp fixed-regexp basic-regexp \
924 regexp file ignore-case word-regexp line-regexp \
935 c/--/"(extended-regexp fixed-regexp basic-regexp \
936 regexp file ignore-case word-regexp line-regexp \
947 c/--/"(extended-regexp fixed-regexp basic-regexp \
948 regexp file ignore-case word-regexp line-regexp \
H A Dcsh-mode.el883 (defun csh-pickup-completion (regexp type match pmin pmax)
890 (re-search-forward regexp pmax t)
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectFrame.cpp973 bool regexp) { in HandleArgumentCompletion() argument
984 if (regexp) in HandleArgumentCompletion()
1047 llvm::ArrayRef<ConstString> symbols, bool regexp) { in DoExecute() argument
1059 if (regexp) in DoExecute()
H A DCommandObjectBreakpoint.cpp637 RegularExpression regexp(m_options.m_func_regexp); in DoExecute() local
638 if (llvm::Error err = regexp.GetError()) { in DoExecute()
654 &(m_options.m_modules), &(m_options.m_filenames), std::move(regexp), in DoExecute()
673 RegularExpression regexp(m_options.m_source_text_regexp); in DoExecute() local
674 if (llvm::Error err = regexp.GetError()) { in DoExecute()
682 m_options.m_source_regex_func_names, std::move(regexp), internal, in DoExecute()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DStackFrameRecognizer.h116 bool regexp)> const &callback);
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DSymtab.cpp746 const RegularExpression &regexp, SymbolType symbol_type, in AppendSymbolIndexesMatchingRegExAndType() argument
759 if (regexp.Execute(name)) in AppendSymbolIndexesMatchingRegExAndType()
768 const RegularExpression &regexp, SymbolType symbol_type, in AppendSymbolIndexesMatchingRegExAndType() argument
785 if (regexp.Execute(name)) in AppendSymbolIndexesMatchingRegExAndType()
/freebsd/contrib/one-true-awk/
H A Dproto.h58 extern Node *regexp(void);
H A Db.c962 np = regexp(); in reparse()
968 Node *regexp(void) /* top-level parse of reg expr */ in regexp() function
1018 np = regexp(); in primary()
/freebsd/contrib/atf/atf-sh/
H A Datf-check.cpp465 grep_file(const atf::fs::path& path, const std::string& regexp) in grep_file() argument
475 if (atf::text::match(line, regexp)) in grep_file()
/freebsd/contrib/lib9p/pytest/
H A Dprotocol.py1691 def parse_lines(self, name, text, regexp, match_handler): argument
1708 match = regexp.match(line)

123