Home
last modified time | relevance | path

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

123

/freebsd-13-stable/contrib/less/
HDregexp.h12 typedef struct regexp { struct
20 } regexp; argument
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));
HDregexp.c209 regexp *
212 register regexp *r; in regcomp()
235 r = (regexp *)malloc(sizeof(regexp) + (unsigned)regsize); in regcomp()
698 STATIC int regtry(regexp *, constant char *);
712 regexec2(register regexp *prog, register constant char *string, int notbol) in regexec2()
771 regexec(register regexp *prog, register constant char *string) in regexec()
780 regtry(regexp *prog, constant char *string) in regtry()
1078 regexp *r; in regdump()
HDpattern.h69 #define PATTERN_TYPE struct regexp *
HDpattern.c122 struct regexp *comp; in compile_pattern2()
/freebsd-13-stable/contrib/atf/atf-c/
HDmacros.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-13-stable/contrib/atf/atf-c++/
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 \
Dutils.hpp52 grep_collection(const std::string& regexp, const Collection& collection) in grep_collection() argument
56 if (grep_string(regexp, *iter)) in grep_collection()
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()
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-13-stable/usr.bin/m4/tests/
HDpatterns.m410 dnl Special case: empty regexp
11 patsubst(`empty regexp',`',`a ')
/freebsd-13-stable/share/examples/csh/
HDdot.cshrc62 … 'c/--/(extended-regexp fixed-regexp basic-regexp regexp file ignore-case word-regexp line-regexp \
/freebsd-13-stable/crypto/libecc/src/arithmetic_tests/
HDarithmetic_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-13-stable/usr.bin/vgrind/
HDMakefile4 SRCS= regexp.c vfontedpr.c
/freebsd-13-stable/usr.bin/grep/
HDzgrep.sh87 --regexp=*)
/freebsd-13-stable/contrib/tcsh/
HDcomplete.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 \
HDcsh-mode.el883 (defun csh-pickup-completion (regexp type match pmin pmax)
890 (re-search-forward regexp pmax t)
/freebsd-13-stable/contrib/llvm-project/lldb/source/Commands/
HDCommandObjectFrame.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()
HDCommandObjectBreakpoint.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-13-stable/crypto/openssl/
HDNOTES.PERL27 requirement is due to our use of regexp backslash sequence \R among
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Target/
HDStackFrameRecognizer.h117 bool regexp)> const &callback);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Symbol/
HDSymtab.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-13-stable/contrib/one-true-awk/
HDproto.h59 extern Node *regexp(void);
HDb.c746 np = regexp(); in reparse()
752 Node *regexp(void) /* top-level parse of reg expr */ in regexp() function
802 np = regexp(); in primary()
/freebsd-13-stable/contrib/atf/atf-sh/
HDatf-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-13-stable/contrib/lib9p/pytest/
HDprotocol.py1691 def parse_lines(self, name, text, regexp, match_handler): argument
1708 match = regexp.match(line)

123