Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/util/perl/OpenSSL/
H A DParseC.pm72 { regexp => qr/#if(def|ndef) OPENSSL_NO_DEPRECATED_(\d+_\d+(?:_\d+)?)$/,
84 { 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 ?/,
238 { regexp => qr/#define ([[:alpha:]_]\w*)(<<<\(.*?\)>>>)?( (.*))?/,
248 { regexp => qr/#.*/,
[all …]
/freebsd/contrib/less/
H A Dregexp.h2 * Definitions etc. for regexp(3) routines.
4 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
12 typedef struct regexp { struct
20 } regexp; typedef
28 extern regexp *regcomp _ANSI_ARGS_((constant char *exp));
29 extern int regexec _ANSI_ARGS_((regexp *prog, constant char *string));
30 extern int regexec2 _ANSI_ARGS_((regexp *prog, constant char *string, int notbol));
31 extern void regsub _ANSI_ARGS_((regexp *prog, constant char *source, char *dest));
H A Dregexp.c40 #include "regexp.h"
43 * The "internal use only" fields in regexp.h are present to pass info from
63 * Structure for regexp "program". This is essentially a linear encoding
168 * The first byte of the regexp internal "program" is actually this magic
207 * of the structure of the compiled regexp.
209 regexp *
212 register regexp *r;
232 FAIL("regexp too big");
235 r = (regexp *)malloc(sizeof(regexp)
[all...]
H A Dpattern.h67 #include "regexp.h"
69 #define PATTERN_TYPE struct regexp *
/freebsd/contrib/atf/atf-c/
H A Dmacros.h234 #define ATF_REQUIRE_MATCH(regexp, string) do { \ argument
235 const char *_atf_regexp = (regexp); \
241 #define ATF_CHECK_MATCH(regexp, string) do { \ argument
242 const char *_atf_regexp = (regexp); \
248 #define ATF_REQUIRE_MATCH_MSG(regexp, string, fmt, ...) do { \ argument
249 const char *_atf_regexp = (regexp); \
256 #define ATF_CHECK_MATCH_MSG(regexp, string, fmt, ...) do { \ argument
257 const char *_atf_regexp = (regexp); \
/freebsd/contrib/atf/atf-c++/
H A Dmacros.hpp125 #define ATF_REQUIRE_MATCH(regexp, string) \ argument
127 if (!atf::tests::detail::match(regexp, string)) { \
130 << "match regexp '" << regexp << "'"; \
159 #define ATF_REQUIRE_THROW_RE(expected_exception, regexp, statement) \ argument
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/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests_generator.py1060 regexp = r'//.*?$|/\*.*?\*/|\'(?:\\.|[^\\\'])*\'|"(?:\\.|[^\\"])*"'
1061 pattern = re.compile(regexp, re.DOTALL | re.MULTILINE)
1284 def check_regexp(regexp, string): argument
1285 return re.match(regexp+"$", string)
1289 for regexp in asked_tests_regexps:
1291 match = [x for x in all_tests if check_regexp(regexp, x)]
1293 print "Warning: regexp matches no known operation ", regexp
/freebsd/usr.bin/vgrind/
H A DMakefile2 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.cpp928 bool regexp) { in HandleArgumentCompletion() argument
939 if (regexp) in HandleArgumentCompletion()
1002 llvm::ArrayRef<ConstString> symbols, bool regexp) { in DoExecute() argument
1014 if (regexp) in DoExecute()
H A DCommandObjectBreakpoint.cpp647 RegularExpression regexp(m_options.m_func_regexp); in DoExecute() local
648 if (llvm::Error err = regexp.GetError()) { in DoExecute()
664 &(m_options.m_modules), &(m_options.m_filenames), std::move(regexp), in DoExecute()
683 RegularExpression regexp(m_options.m_source_text_regexp); in DoExecute() local
684 if (llvm::Error err = regexp.GetError()) { in DoExecute()
692 m_options.m_source_regex_func_names, std::move(regexp), internal, in DoExecute()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DStackFrameRecognizer.h117 bool regexp)> const &callback);
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DSymtab.cpp758 const RegularExpression &regexp, SymbolType symbol_type, in AppendSymbolIndexesMatchingRegExAndType() argument
771 if (regexp.Execute(name)) in AppendSymbolIndexesMatchingRegExAndType()
780 const RegularExpression &regexp, SymbolType symbol_type, in AppendSymbolIndexesMatchingRegExAndType() argument
797 if (regexp.Execute(name)) in AppendSymbolIndexesMatchingRegExAndType()
/freebsd/contrib/one-true-awk/
H A Dproto.h55 extern Node *regexp(void);
H A Db.c975 np = regexp(); in reparse()
981 Node *regexp(void) /* top-level parse of reg expr */ in regexp() function
1031 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