Searched refs:regexp (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-13-stable/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 in typeref:struct:regexp
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 Dpattern.h58 #include "regexp.h"
60 #define PATTERN_TYPE struct regexp *
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 *
213 register regexp *r;
233 FAIL("regexp too big");
236 r = (regexp *)malloc(sizeof(regexp)
[all...]
H A Dpattern.c124 struct regexp *comp;
/freebsd-13-stable/bin/pax/
H A Dpat_rep.h45 regexp *rcmp; /* compiled regular expression used to match */
H A Dpat_rep.c50 #include <regexp.h>
77 static int resub(regexp *, char *, char *, char *);
844 * is empty, we will skip this archive member. We use the regexp(3)
845 * routines (regexp() ought to win a prize as having the most cryptic
1025 resub(regexp *prog, char *src, char *dest, char *destend)
/freebsd-13-stable/contrib/atf/atf-c++/
H A Dutils.hpp52 grep_collection(const std::string& regexp, const Collection& collection) argument
56 if (grep_string(regexp, *iter))
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 Dmacros_test.cpp153 const std::string regexp = get_config_var("regexp"); local
157 ATF_REQUIRE_MATCH(regexp, string);
473 const char *regexp; member in struct:test
485 for (t = &tests[0]; t->regexp != NULL; t++) {
487 config["regexp"] = t->regexp;
490 std::cout << "Checking with " << t->regexp << ", " << t->string
H A Dtests.cpp136 detail::match(const std::string& regexp, const std::string& str) argument
138 return atf::text::match(str, regexp);
/freebsd-13-stable/contrib/atf/atf-c/
H A Dmacros.h188 #define ATF_REQUIRE_MATCH(regexp, string) \
189 ATF_REQUIRE_MSG(atf_utils_grep_string("%s", string, regexp), \
190 "'%s' not matched in '%s'", regexp, string);
192 #define ATF_CHECK_MATCH(regexp, string) \
193 ATF_CHECK_MSG(atf_utils_grep_string("%s", string, regexp), \
194 "'%s' not matched in '%s'", regexp, string);
196 #define ATF_REQUIRE_MATCH_MSG(regexp, string, fmt, ...) \
197 ATF_REQUIRE_MSG(atf_utils_grep_string("%s", string, regexp), \
198 "'%s' not matched in '%s': " fmt, regexp, string, \
201 #define ATF_CHECK_MATCH_MSG(regexp, strin
[all...]
/freebsd-13-stable/contrib/netbsd-tests/bin/ps/
H A Dt_ps.sh102 # Convert a list of keywords like "pid comm" to a regexp
107 local regexp
108 regexp="$(echo "$keywords" | \
110 eval regexp=\""${regexp}"\"
111 regexp="^${regexp}\$"
112 echo "$regexp"
116 # Check that a string matches a regexp; use the specified id
120 local id="$1" string="$2" regexp
[all...]
/freebsd-13-stable/usr.bin/vgrind/
H A DMakefile5 SRCS= regexp.c vfontedpr.c
/freebsd-13-stable/usr.bin/grep/
H A Dzgrep.sh88 --regexp=*)
89 pattern="${1#--regexp=}"
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/
H A DStackFrameRecognizer.cpp72 bool regexp)> const &callback) {
185 bool regexp)> const &callback) {
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DStackFrameRecognizer.h119 bool regexp)> const &callback);
/freebsd-13-stable/contrib/ncurses/form/
H A Dfty_regex.c83 #include <regexp.h>
/freebsd-13-stable/contrib/tcsh/
H A Dcsh-mode.el66 ;; -regexp-: regexp used to parse the script
70 (defvar csh-completion-regexp-var "\\([A-Za-z_0-9]+\\)=")
73 (defvar csh-completion-regexp-var2 "\\$\\({\\|{#\\)?\\([A-Za-z_0-9]+\\)[#%:}]?")
75 (defvar csh-completion-regexp-function
92 (defvar csh-comment-regexp "^\\s *#"
175 ;; Label definitions (1 means first parenthesized exp in regexp).
348 (not (looking-at csh-comment-regexp)))
655 csh-comment-regexp
883 (defun csh-pickup-completion (regexp typ
[all...]
/freebsd-13-stable/contrib/one-true-awk/
H A Dproto.h58 extern Node *regexp(void);
H A Db.c49 #define ELEAF case EMPTYRE: /* empty string in regexp */
640 /* GNU compatibility: an empty regexp matches anything */
645 np = regexp();
651 Node *regexp(void) /* top-level parse of reg expr */ function
701 np = regexp();
/freebsd-13-stable/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectFrame.cpp947 bool regexp) {
958 if (regexp)
959 strm << " (regexp)";
1017 llvm::ArrayRef<ConstString> symbols, bool regexp) {
1029 if (regexp)
1030 stream << " (regexp)";
H A DCommandObjectBreakpoint.cpp620 RegularExpression regexp(m_options.m_func_regexp);
621 if (llvm::Error err = regexp.GetError()) {
638 &(m_options.m_modules), &(m_options.m_filenames), std::move(regexp),
642 case eSetTypeSourceRegexp: // Breakpoint by regexp on source text.
658 RegularExpression regexp(m_options.m_source_text_regexp);
659 if (llvm::Error err = regexp.GetError()) {
668 m_options.m_source_regex_func_names, std::move(regexp), internal,
/freebsd-13-stable/contrib/libedit/
H A Dsearch.c52 #include <regexp.h>
122 regexp *rp;
/freebsd-13-stable/crypto/openssl/
H A DNOTES.PERL27 requirement is due to our use of regexp backslash sequence \R among
/freebsd-13-stable/contrib/llvm-project/lldb/source/Symbol/
H A DSymtab.cpp674 const RegularExpression &regexp, SymbolType symbol_type,
686 if (regexp.Execute(name))
695 const RegularExpression &regexp, SymbolType symbol_type,
711 if (regexp.Execute(name))
673 AppendSymbolIndexesMatchingRegExAndType( const RegularExpression &regexp, SymbolType symbol_type, std::vector<uint32_t> &indexes) argument
694 AppendSymbolIndexesMatchingRegExAndType( const RegularExpression &regexp, SymbolType symbol_type, Debug symbol_debug_type, Visibility symbol_visibility, std::vector<uint32_t> &indexes) argument

Completed in 285 milliseconds

12