Home
last modified time | relevance | path

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

1234

/NextBSD/contrib/gcc/
HDgenautomata.c171 struct regexp;
186 typedef struct regexp *regexp_t;
437 regexp_t regexp; member
454 regexp_t regexp; member
555 regexp_t regexp; member
575 struct regexp struct
589 } regexp; argument
988 (({ struct regexp *const _regexp = (r); \
992 &(_regexp)->regexp.unit; }))
995 (({ struct regexp *const _regexp = (r); \
[all …]
/NextBSD/contrib/less/
HDregexp.h12 typedef struct regexp { struct
20 } regexp; typedef
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));
HDpattern.c105 struct regexp *comp;
106 struct regexp **pcomp = (struct regexp **) comp_pattern;
187 struct regexp **pcomp = (struct regexp **) pattern;
315 struct regexp *spattern = (struct regexp *) pattern;
HDregexp.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()
HDpattern.h53 #define DEFINE_PATTERN(name) struct regexp *name
/NextBSD/contrib/atf/atf-c/
HDmacros.h188 #define ATF_REQUIRE_MATCH(regexp, string) \ argument
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) \ argument
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, ...) \ argument
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, string, fmt, ...) \ argument
[all …]
/NextBSD/contrib/gdb/gdb/
HDobjc-lang.c831 selectors_info (char *regexp, int from_tty) in selectors_info() argument
845 if (regexp == NULL) in selectors_info()
849 if (*regexp == '+' || *regexp == '-') in selectors_info()
851 plusminus = *regexp++; in selectors_info()
852 while (*regexp == ' ' || *regexp == '\t') in selectors_info()
853 regexp++; in selectors_info()
855 if (*regexp == '\0') in selectors_info()
859 strcpy(myregexp, regexp); in selectors_info()
867 if (regexp != NULL) in selectors_info()
871 error ("Invalid regexp (%s): %s", val, regexp); in selectors_info()
[all …]
HDsymtab.c2730 search_symbols (char *regexp, domain_enum kind, int nfiles, char *files[], in search_symbols() argument
2778 if (regexp != NULL) in search_symbols()
2785 char *opname = operator_chars (regexp, &opend); in search_symbols()
2806 regexp = tmp; in search_symbols()
2810 if (0 != (val = re_comp (regexp))) in search_symbols()
2811 error ("Invalid regexp (%s): %s", val, regexp); in search_symbols()
2853 && ((regexp == NULL in search_symbols()
2891 if (regexp == NULL in search_symbols()
2932 && ((regexp == NULL in search_symbols()
2987 if (regexp == NULL in search_symbols()
[all …]
HDsymmisc.c987 maintenance_info_symtabs (char *regexp, int from_tty) in maintenance_info_symtabs() argument
991 if (regexp) in maintenance_info_symtabs()
992 re_comp (regexp); in maintenance_info_symtabs()
1003 if (! regexp in maintenance_info_symtabs()
1036 maintenance_info_psymtabs (char *regexp, int from_tty) in maintenance_info_psymtabs() argument
1040 if (regexp) in maintenance_info_psymtabs()
1041 re_comp (regexp); in maintenance_info_psymtabs()
1052 if (! regexp in maintenance_info_psymtabs()
HDgdb_mbuild.sh33 -e <regexp> Regular expression for selecting the targets to build.
/NextBSD/contrib/libgnuregex/
HDregcomp.c59 static bin_tree_t *parse (re_string_t *regexp, regex_t *preg,
61 static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg,
64 static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg,
67 static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg,
70 static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg,
73 static bin_tree_t *parse_dup_op (bin_tree_t *dup_elem, re_string_t *regexp,
76 static bin_tree_t *parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa,
80 re_string_t *regexp,
86 re_string_t *regexp,
734 re_string_t regexp; in re_compile_internal() local
[all …]
/NextBSD/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.hpp51 grep_collection(const std::string& regexp, const Collection& collection) in grep_collection() argument
55 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()
/NextBSD/usr.bin/m4/tests/
HDpatterns.m411 dnl Special case: empty regexp
12 patsubst(`empty regexp',`',`a ')
/NextBSD/share/examples/csh/
HDdot.cshrc63 … 'c/--/(extended-regexp fixed-regexp basic-regexp regexp file ignore-case word-regexp line-regexp \
/NextBSD/bin/pax/
HDpat_rep.h43 regexp *rcmp; /* compiled regular expression used to match */
/NextBSD/gnu/usr.bin/grep/tests/
HDkhadafy.sh11 ${GREP} -E -f $srcdir/khadafy.regexp $srcdir/khadafy.lines > khadafy.out
/NextBSD/usr.bin/vgrind/
HDMakefile5 SRCS= regexp.c vfontedpr.c
/NextBSD/contrib/llvm/tools/lldb/source/API/
HDSBTarget.cpp969 RegularExpression regexp(symbol_name_regex); in BreakpointCreateByRegex() local
979 …*sb_bp = target_sp->CreateFuncRegexBreakpoint (&module_spec_list, NULL, regexp, skip_prologue, int… in BreakpointCreateByRegex()
983 …*sb_bp = target_sp->CreateFuncRegexBreakpoint (NULL, NULL, regexp, skip_prologue, internal, hardwa… in BreakpointCreateByRegex()
1007 RegularExpression regexp(symbol_name_regex); in BreakpointCreateByRegex() local
1012 …_sp->CreateFuncRegexBreakpoint (module_list.get(), comp_unit_list.get(), regexp, skip_prologue, in… in BreakpointCreateByRegex()
1058 RegularExpression regexp(source_regex); in BreakpointCreateBySourceRegex() local
1069 …>CreateSourceRegexBreakpoint (&module_spec_list, &source_file_spec_list, regexp, false, hardware, … in BreakpointCreateBySourceRegex()
1073 …*sb_bp = target_sp->CreateSourceRegexBreakpoint (NULL, &source_file_spec_list, regexp, false, hard… in BreakpointCreateBySourceRegex()
1103 RegularExpression regexp(source_regex); in BreakpointCreateBySourceRegex() local
1104 …>CreateSourceRegexBreakpoint (module_list.get(), source_file_list.get(), regexp, false, hardware, … in BreakpointCreateBySourceRegex()
/NextBSD/contrib/llvm/tools/lldb/source/Commands/
HDCommandObjectBreakpoint.cpp527 RegularExpression regexp(m_options.m_func_regexp.c_str()); in DoExecute() local
528 if (!regexp.IsValid()) in DoExecute()
531 regexp.GetErrorAsCString(err_str, sizeof(err_str)); in DoExecute()
540 regexp, in DoExecute()
565 RegularExpression regexp(m_options.m_source_text_regexp.c_str()); in DoExecute() local
566 if (!regexp.IsValid()) in DoExecute()
569 regexp.GetErrorAsCString(err_str, sizeof(err_str)); in DoExecute()
577 regexp, in DoExecute()
/NextBSD/contrib/mdocml/
HDmansearch.c72 regex_t regexp; /* compiled regexp, if applicable */ member
278 SQL_BIND_BLOB(db, s, j, ep->regexp); in mansearch()
804 irc = regcomp(&e->regexp, val, in exprterm()
809 regerror(irc, &e->regexp, errbuf, sizeof(errbuf)); in exprterm()
/NextBSD/contrib/tcsh/
HDcomplete.tcsh639 complete postmap 'n/1/(hash: regexp:)/' 'c/hash:/f/' 'c/regexp:/f/'
900 c/--/"(extended-regexp fixed-regexp basic-regexp \
901 regexp file ignore-case word-regexp line-regexp \
912 c/--/"(extended-regexp fixed-regexp basic-regexp \
913 regexp file ignore-case word-regexp line-regexp \
924 c/--/"(extended-regexp fixed-regexp basic-regexp \
925 regexp file ignore-case word-regexp line-regexp \
/NextBSD/gnu/usr.bin/grep/
HDREADME12 considered by the full regexp matcher without necessarily having to
HDAUTHORS19 non-matching text before calling the regexp matcher was originally due

1234