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

12

/freebsd-10.1-release/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.c99 struct regexp *comp;
100 struct regexp **pcomp = (struct regexp **) comp_pattern;
178 struct regexp **pcomp = (struct regexp **) pattern;
277 struct regexp *spattern = (struct regexp *) pattern;
H A Dpattern.h51 #include "regexp.h"
52 #define DEFINE_PATTERN(name) struct regexp *name
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...]
/freebsd-10.1-release/lib/libkse/test/
H A Dpropagate_s.pl47 $regexp = "\" U \\(" . $cpoints . "\\\)\$\"";
49 `nm -a /usr/lib/libc.a |grep $regexp >propagate_s.out`;
/freebsd-10.1-release/bin/pax/
H A Dpat_rep.h43 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-10.1-release/usr.bin/vgrind/RETEST/
H A DMakefile5 SRCS= regexp.c retest.c
/freebsd-10.1-release/contrib/atf/atf-c++/
H A Dutils.hpp55 grep_collection(const std::string& regexp, const Collection& collection) argument
59 if (grep_string(regexp, *iter))
H A Dmacros.hpp127 #define ATF_REQUIRE_MATCH(regexp, string) \
129 if (!atf::tests::detail::match(regexp, string)) { \
132 << "match regexp '" << regexp << "'"; \
159 #define ATF_REQUIRE_THROW_RE(type, regexp, x) \
168 if (!atf::tests::detail::match(regexp, e.what())) { \
171 << e.what() << "), but does not match '" << regexp \
H A Dmacros_test.cpp155 const std::string regexp = get_config_var("regexp"); local
159 ATF_REQUIRE_MATCH(regexp, string);
475 const char *regexp; member in struct:test
487 for (t = &tests[0]; t->regexp != NULL; t++) {
489 config["regexp"] = t->regexp;
492 std::cout << "Checking with " << t->regexp << ", " << t->string
/freebsd-10.1-release/gnu/usr.bin/grep/tests/
H A Dkhadafy.sh11 ${GREP} -E -f $srcdir/khadafy.regexp $srcdir/khadafy.lines > khadafy.out
/freebsd-10.1-release/contrib/gcc/
H A Dgenautomata.c171 struct regexp;
186 typedef struct regexp *regexp_t;
332 regexp. */
365 correct distributions of units to automata in a regexp. */
405 an regexp definition. */
441 regexp_t regexp;
446 regexp. */
458 regexp_t regexp;
472 /* The following field is the insn regexp transformed that
473 the regexp ha
437 regexp_t regexp; member in struct:reserv_decl
454 regexp_t regexp; member in struct:insn_reserv_decl
555 regexp_t regexp; member in struct:repeat_regexp
575 struct regexp struct
589 } regexp; member in struct:regexp
1537 regexp_t regexp; local
1569 regexp_t regexp; local
2648 process_regexp(regexp_t regexp) argument
2770 loop_in_regexp(regexp_t regexp, decl_t start_decl) argument
2861 process_regexp_cycles(regexp_t regexp, int max_start_cycle, int min_start_cycle, int *max_finish_cycle, int *min_finish_cycle) argument
4359 copy_insn_regexp(regexp_t regexp) argument
4424 transform_1(regexp_t regexp) argument
4454 transform_2(regexp_t regexp) argument
4595 transform_3(regexp_t regexp) argument
4805 regexp_transform_func(regexp_t regexp, regexp_t (*func) (regexp_t regexp)) argument
4848 transform_regexp(regexp_t regexp) argument
4920 store_alt_unit_usage(regexp_t regexp, regexp_t unit, int cycle, int alt_num) argument
4949 check_regexp_units_distribution(const char *insn_reserv_name, regexp_t regexp) argument
5113 process_seq_for_forming_states(regexp_t regexp, automaton_t automaton, int curr_cycle) argument
5187 process_alts_for_forming_states(regexp_t regexp, automaton_t automaton, int inside_oneof_p) argument
6552 form_regexp(regexp_t regexp) argument
6637 regexp_representation(regexp_t regexp) argument
8449 output_regexp(regexp_t regexp) argument
[all...]
/freebsd-10.1-release/contrib/atf/atf-c/
H A Dmacros.h184 #define ATF_REQUIRE_MATCH(regexp, string) \
185 ATF_REQUIRE_MSG(atf_utils_grep_string("%s", string, regexp), \
186 "'%s' not matched in '%s'", regexp, string);
188 #define ATF_CHECK_MATCH(regexp, string) \
189 ATF_CHECK_MSG(atf_utils_grep_string("%s", string, regexp), \
190 "'%s' not matched in '%s'", regexp, string);
192 #define ATF_REQUIRE_MATCH_MSG(regexp, string, fmt, ...) \
193 ATF_REQUIRE_MSG(atf_utils_grep_string("%s", string, regexp), \
194 "'%s' not matched in '%s': " fmt, regexp, string, \
197 #define ATF_CHECK_MATCH_MSG(regexp, strin
[all...]
/freebsd-10.1-release/contrib/gdb/gdb/
H A Dobjc-lang.c822 * Function: selectors_info (regexp, from_tty)
824 * Implements the "Info selectors" command. Takes an optional regexp
825 * arg. Lists all objective c selectors that match the regexp. Works
831 selectors_info (char *regexp, int from_tty) argument
845 if (regexp == NULL)
849 if (*regexp == '+' || *regexp == '-')
851 plusminus = *regexp++;
852 while (*regexp == ' ' || *regexp
982 classes_info(char *regexp, int from_tty) argument
[all...]
H A Dsymtab.c2418 case '\\': /* regexp quoting */
2738 search_symbols (char *regexp, domain_enum kind, int nfiles, char *files[],
2786 if (regexp != NULL)
2793 char *opname = operator_chars (regexp, &opend);
2814 regexp = tmp;
2818 if (0 != (val = re_comp (regexp)))
2819 error ("Invalid regexp (%s): %s", val, regexp);
2823 matching the regexp. That way we don't have to reproduce all of
2861 && ((regexp
2730 search_symbols(char *regexp, domain_enum kind, int nfiles, char *files[], struct symbol_search **matches) argument
3087 symtab_symbol_info(char *regexp, domain_enum kind, int from_tty) argument
3135 variables_info(char *regexp, int from_tty) argument
3141 functions_info(char *regexp, int from_tty) argument
3148 types_info(char *regexp, int from_tty) argument
3156 rbreak_command_wrapper(char *regexp, int from_tty) argument
3162 rbreak_command(char *regexp, int from_tty) argument
[all...]
H A Dgdb_mbuild.sh33 -e <regexp> Regular expression for selecting the targets to build.
H A Dsymmisc.c988 maintenance_info_symtabs (char *regexp, int from_tty)
992 if (regexp)
993 re_comp (regexp);
1004 if (! regexp
1037 maintenance_info_psymtabs (char *regexp, int from_tty)
1041 if (regexp)
1042 re_comp (regexp);
1053 if (! regexp
987 maintenance_info_symtabs(char *regexp, int from_tty) argument
1036 maintenance_info_psymtabs(char *regexp, int from_tty) argument
/freebsd-10.1-release/usr.bin/vgrind/
H A DMakefile5 SRCS= regexp.c vfontedpr.c
/freebsd-10.1-release/contrib/libgnuregex/
H A Dregcomp.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,
240 /* Set by `re_set_syntax' to the current regexp synta
734 re_string_t regexp; local
2104 parse(re_string_t *regexp, regex_t *preg, reg_syntax_t syntax, reg_errcode_t *err) argument
2138 parse_reg_exp(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, int nest, reg_errcode_t *err) argument
2179 parse_branch(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, int nest, reg_errcode_t *err) argument
2224 parse_expression(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, int nest, reg_errcode_t *err) argument
2440 parse_sub_exp(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, int nest, reg_errcode_t *err) argument
2482 parse_dup_op(bin_tree_t *elem, re_string_t *regexp, re_dfa_t *dfa, re_token_t *token, reg_syntax_t syntax, reg_errcode_t *err) argument
2766 parse_bracket_exp(re_string_t *regexp, re_dfa_t *dfa, re_token_t *token, reg_syntax_t syntax, reg_errcode_t *err) argument
3310 parse_bracket_element(bracket_elem_t *elem, re_string_t *regexp, re_token_t *token, int token_len, re_dfa_t *dfa, reg_syntax_t syntax, int accept_hyphen) argument
3350 parse_bracket_symbol(bracket_elem_t *elem, re_string_t *regexp, re_token_t *token) argument
[all...]
/freebsd-10.1-release/contrib/ncurses/form/
H A Dfty_regex.c75 #include <regexp.h>
/freebsd-10.1-release/usr.sbin/pkg_install/
H A Dtkpkg88 regexp {[^ ]*} $s filename
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectBreakpoint.cpp464 RegularExpression regexp(m_options.m_func_regexp.c_str());
465 if (!regexp.IsValid())
468 regexp.GetErrorAsCString(err_str, sizeof(err_str));
477 regexp,
483 case eSetTypeSourceRegexp: // Breakpoint by regexp on source text.
502 RegularExpression regexp(m_options.m_source_text_regexp.c_str());
503 if (!regexp.IsValid())
506 regexp.GetErrorAsCString(err_str, sizeof(err_str));
514 regexp,
692 { LLDB_OPT_SET_9, true, "source-pattern-regexp", '
[all...]
/freebsd-10.1-release/contrib/one-true-awk/
H A Dproto.h58 extern Node *regexp(void);
/freebsd-10.1-release/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...]

Completed in 191 milliseconds

12