HomeSort by relevance Sort by last modified time
    Searched full:regexp (Results 101 - 125 of 1552) sorted by null

1 2 3 45 6 7 8 91011>>

  /prebuilts/go/linux-x86/src/regexp/
example_test.go 9 "regexp"
15 var validID = regexp.MustCompile(`^[a-z]+\[[0-9]+\]$`)
29 matched, err := regexp.MatchString("foo.*", "seafood")
31 matched, err = regexp.MatchString("bar.*", "seafood")
33 matched, err = regexp.MatchString("a(b", "seafood")
38 // false error parsing regexp: missing closing ): `a(b`
42 re := regexp.MustCompile("fo.?")
51 re := regexp.MustCompile("ab?")
60 re := regexp.MustCompile("a(x*)b(y|z)c")
69 re := regexp.MustCompile("a."
    [all...]
  /external/regex-re2/re2/testing/
dfa_test.cc 9 #include "re2/regexp.h"
36 // Create regexp with 2^FLAGS_size states in DFA.
45 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL);
60 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL);
89 // Create regexp with 2^30 states in DFA.
96 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL)
310 const char *regexp; member in struct:re2::ReverseTest
    [all...]
compile_test.cc 10 #include "re2/regexp.h"
18 // the regexp compiles to the expected code.
24 const char* regexp; member in struct:re2::Test
108 Regexp* re = Regexp::Parse(t.regexp, Regexp::PerlX|Regexp::Latin1, NULL);
110 LOG(ERROR) << "Cannot parse: " << t.regexp;
116 LOG(ERROR) << "Cannot compile: " << t.regexp;
    [all...]
simplify_test.cc 10 #include "re2/regexp.h"
15 const char* regexp; member in struct:re2::Test
144 VLOG(1) << "Testing " << tests[i].regexp;
145 Regexp* re = Regexp::Parse(tests[i].regexp,
146 Regexp::MatchNL | (Regexp::LikePerl &
147 ~Regexp::OneLine),
149 CHECK(re != NULL) << " " << tests[i].regexp << " " << status.Text()
    [all...]
exhaustive_tester.h 18 // then check that NFA, DFA, and PCRE agree about whether each regexp matches
22 // of random regexp and strings, allowing testing of larger expressions
46 void HandleRegexp(const string& regexp);
57 string wrapper_; // Regexp wrapper - either empty or has one %s.
58 string topwrapper_; // Regexp top-level wrapper.
60 int tests_; // Number of regexp tests.
  /prebuilts/gdb/darwin-x86/share/gdb/python/gdb/command/
xmethods.py 23 def validate_xm_regexp(part_name, regexp):
25 return re.compile(regexp)
27 raise SyntaxError("Invalid %s regexp: %s", part_name, regexp)
180 Usage: info xmethod [locus-regexp [name-regexp]]
182 LOCUS-REGEXP is a regular expression matching the location of the
189 NAME-REGEXP is a regular expression matching the names of xmethod
192 managed by a single matcher, the name regexp can be specified as
193 matcher-name-regexp;xmethod-name-regexp
    [all...]
unwinders.py 25 raise SyntaxError("Invalid %s regexp: %s." % (idstring, exp))
33 [locus-regexp [name-regexp]]
59 Usage: info unwinder [locus-regexp [name-regexp]]
61 LOCUS-REGEXP is a regular expression matching the location of the
67 NAME-REGEXP is a regular expression to filter unwinder names. If
77 """Lists the unwinders whose name matches regexp.
146 Usage: enable unwinder [locus-regexp [name-regexp]]
    [all...]
  /prebuilts/gdb/linux-x86/share/gdb/python/gdb/command/
xmethods.py 23 def validate_xm_regexp(part_name, regexp):
25 return re.compile(regexp)
27 raise SyntaxError("Invalid %s regexp: %s", part_name, regexp)
180 Usage: info xmethod [locus-regexp [name-regexp]]
182 LOCUS-REGEXP is a regular expression matching the location of the
189 NAME-REGEXP is a regular expression matching the names of xmethod
192 managed by a single matcher, the name regexp can be specified as
193 matcher-name-regexp;xmethod-name-regexp
    [all...]
unwinders.py 25 raise SyntaxError("Invalid %s regexp: %s." % (idstring, exp))
33 [locus-regexp [name-regexp]]
59 Usage: info unwinder [locus-regexp [name-regexp]]
61 LOCUS-REGEXP is a regular expression matching the location of the
67 NAME-REGEXP is a regular expression to filter unwinder names. If
77 """Lists the unwinders whose name matches regexp.
146 Usage: enable unwinder [locus-regexp [name-regexp]]
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/pprof/internal/profile/
prune.go 11 "regexp"
17 func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
82 var keep, drop *regexp.Regexp
86 if drop, err = regexp.Compile("^(" + p.DropFrames + ")$"); err != nil {
87 return fmt.Errorf("failed to compile regexp %s: %v", p.DropFrames, err)
90 if keep, err = regexp.Compile("^(" + p.KeepFrames + ")$"); err != nil {
91 return fmt.Errorf("failed to compile regexp %s: %v", p.KeepFrames, err)
  /prebuilts/go/linux-x86/src/cmd/pprof/internal/profile/
prune.go 11 "regexp"
17 func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
82 var keep, drop *regexp.Regexp
86 if drop, err = regexp.Compile("^(" + p.DropFrames + ")$"); err != nil {
87 return fmt.Errorf("failed to compile regexp %s: %v", p.DropFrames, err)
90 if keep, err = regexp.Compile("^(" + p.KeepFrames + ")$"); err != nil {
91 return fmt.Errorf("failed to compile regexp %s: %v", p.KeepFrames, err)
  /external/v8/src/js/
regexp.js 14 var GlobalRegExp = global.RegExp;
34 // regexp match. The property RegExpLastMatchInfo includes the matchIndices
35 // array of the last successful regexp match (an array of start/end index
107 "RegExp.prototype.compile", this);
124 function DoRegExpExec(regexp, string, index) {
125 return %_RegExpExec(regexp, string, index, RegExpLastMatchInfo);
155 function RegExpExecNoTests(regexp, string, start) {
156 // Must be called with RegExp, string and positive integer as arguments.
157 var matchInfo = %_RegExpExec(regexp, string, start, RegExpLastMatchInfo);
160 if (REGEXP_STICKY(regexp)) regexp.lastIndex = matchInfo[CAPTURE1]
    [all...]
harmony-unicode-regexps.js 14 var GlobalRegExp = global.RegExp;
27 // TODO(littledan): Remove this RegExp compat workaround
32 throw MakeTypeError(kRegExpNonRegExp, "RegExp.prototype.unicode");
36 %FunctionSetName(RegExpGetUnicode, "RegExp.prototype.unicode");
  /external/ltrace/testsuite/ltrace.minor/
demangle.exp 29 if [regexp {ELF from incompatible architecture} $exec_output] {
32 } elseif [ regexp {Couldn't get .hash data} $exec_output ] {
35 } elseif [ regexp {invalid option} $exec_output ] {
43 if [regexp {extern (double|float|void|char|int|short|long|void \*|void \*\*) ([^ ])\(} $line match type fun] {
52 if [ regexp {((myclass|nested)::[^\(]*)\(} $line match fun] {
58 if [regexp {(new|delete)} $fun match sub_fun] {
  /external/v8/test/webkit/
regexp-compile.js 25 'Test RegExp.compile method.'
28 re = new RegExp("a", "i");
41 re.compile(new RegExp("c"));
44 re.compile(new RegExp("c", "i"));
49 shouldThrow("re.compile(new RegExp('c'), 'i');");
55 shouldThrow("re.compile(new RegExp('+'));");
  /external/libxml2/
testAutomata.c 38 xmlRegexpPtr regexp = NULL; local
171 regexp = xmlAutomataCompile(am);
174 if (regexp == NULL) {
180 if (regexp == NULL) {
184 exec = xmlRegNewExecCtxt(regexp, NULL, NULL);
198 } else if (regexp != NULL) {
200 exec = xmlRegNewExecCtxt(regexp, NULL, NULL);
209 if (regexp != NULL)
210 xmlRegFreeRegexp(regexp);
225 xmlRegexpPtr regexp; local
    [all...]
  /prebuilts/go/darwin-x86/doc/
debugging_with_gdb.html 79 <pre>(gdb) <b>info variables <i>regexp</i></b></pre>
155 <a href="/pkg/regexp/">regexp</a> package's unit tests. To build the binary,
156 change to <code>$GOROOT/src/regexp</code> and run <code>go test -c</code>.
157 This should produce an executable file named <code>regexp.test</code>.
164 Launch GDB, debugging <code>regexp.test</code>:
168 $ <b>gdb regexp.test</b>
175 Reading symbols from /home/user/go/src/regexp/regexp.test...
192 $ <b>gdb regexp.test -d $GOROOT</b
    [all...]
  /prebuilts/go/linux-x86/doc/
debugging_with_gdb.html 79 <pre>(gdb) <b>info variables <i>regexp</i></b></pre>
155 <a href="/pkg/regexp/">regexp</a> package's unit tests. To build the binary,
156 change to <code>$GOROOT/src/regexp</code> and run <code>go test -c</code>.
157 This should produce an executable file named <code>regexp.test</code>.
164 Launch GDB, debugging <code>regexp.test</code>:
168 $ <b>gdb regexp.test</b>
175 Reading symbols from /home/user/go/src/regexp/regexp.test...
192 $ <b>gdb regexp.test -d $GOROOT</b
    [all...]
  /external/eigen/scripts/
check.in 6 echo "usage: ./check regexp"
7 echo " Builds and runs tests matching the regexp."
  /external/icu/icu4c/source/i18n/
uregex.cpp 324 RegularExpression *regexp = (RegularExpression*)regexp2; local
326 if (validateRE(regexp, FALSE, status) == FALSE) {
330 *patLength = regexp->fPatStringLen;
332 return regexp->fPatString;
344 RegularExpression *regexp = (RegularExpression*)regexp2; local
345 return regexp->fPat->patternText(*status);
356 RegularExpression *regexp = (RegularExpression*)regexp2; local
357 if (validateRE(regexp, FALSE, status) == FALSE) {
360 int32_t flags = regexp->fPat->flags();
375 RegularExpression *regexp = (RegularExpression*)regexp2 local
408 RegularExpression *regexp = (RegularExpression*)regexp2; local
438 RegularExpression *regexp = (RegularExpression*)regexp2; local
478 RegularExpression *regexp = (RegularExpression*)regexp2; local
495 RegularExpression *regexp = (RegularExpression*)regexp2; local
519 RegularExpression *regexp = (RegularExpression*)regexp2; local
549 RegularExpression *regexp = (RegularExpression*)regexp2; local
580 RegularExpression *regexp = (RegularExpression*)regexp2; local
603 RegularExpression *regexp = (RegularExpression*)regexp2; local
619 RegularExpression *regexp = (RegularExpression*)regexp2; local
638 RegularExpression *regexp = (RegularExpression*)regexp2; local
651 RegularExpression *regexp = (RegularExpression*)regexp2; local
669 RegularExpression *regexp = (RegularExpression*)regexp2; local
739 RegularExpression *regexp = (RegularExpression*)regexp2; local
764 RegularExpression *regexp = (RegularExpression*)regexp2; local
788 RegularExpression *regexp = (RegularExpression*)regexp2; local
812 RegularExpression *regexp = (RegularExpression*)regexp2; local
838 RegularExpression *regexp = (RegularExpression*)regexp2; local
857 RegularExpression *regexp = (RegularExpression*)regexp2; local
878 RegularExpression *regexp = (RegularExpression*)regexp2; local
900 RegularExpression *regexp = (RegularExpression*)regexp2; local
916 RegularExpression *regexp = (RegularExpression*)regexp2; local
933 RegularExpression *regexp = (RegularExpression*)regexp2; local
949 RegularExpression *regexp = (RegularExpression*)regexp2; local
966 RegularExpression *regexp = (RegularExpression*)regexp2; local
982 RegularExpression *regexp = (RegularExpression*)regexp2; local
998 RegularExpression *regexp = (RegularExpression*)regexp2; local
1015 RegularExpression *regexp = (RegularExpression*)regexp2; local
1032 RegularExpression *regexp = (RegularExpression*)regexp2; local
1050 RegularExpression *regexp = (RegularExpression*)regexp2; local
1067 RegularExpression *regexp = (RegularExpression*)regexp2; local
1085 RegularExpression *regexp = (RegularExpression*)regexp2; local
1102 RegularExpression *regexp = (RegularExpression*)regexp2; local
1119 RegularExpression *regexp = (RegularExpression*)regexp2; local
1136 RegularExpression *regexp = (RegularExpression*)regexp2; local
1155 RegularExpression *regexp = (RegularExpression*)regexp2; local
1203 RegularExpression *regexp = (RegularExpression*)regexp2; local
1229 RegularExpression *regexp = (RegularExpression*)regexp2; local
1264 RegularExpression *regexp = (RegularExpression*)regexp2; local
1589 RegularExpression *regexp = (RegularExpression*)regexp2; local
1602 RegularExpression *regexp = (RegularExpression*)regexp2; local
1742 RegularExpression *regexp = (RegularExpression*)regexp2; local
1754 RegularExpression *regexp = (RegularExpression*)regexp2; local
1945 RegularExpression *regexp = (RegularExpression*)regexp2; local
1969 RegularExpression *regexp = (RegularExpression*)regexp2; local
    [all...]
  /external/v8/test/mjsunit/harmony/
string-split.js 5 // Flags: --harmony-regexp-subclass
21 assertEquals("[Symbol.split]", RegExp.prototype[Symbol.split].name);
  /external/regex-re2/re2/
set.h 23 // Add adds regexp pattern to the set, interpreted using the RE2 options.
25 // Add returns the regexp index that will be used to identify
26 // it in the result of Match, or -1 if the regexp cannot be parsed.
45 vector<re2::Regexp*> re_;
  /external/v8/test/mjsunit/es6/
regexp-match-lastindex.js 5 // Tests that lastIndex of a global RegExp is overwritten as per
  /external/v8/test/mjsunit/
regexp-cache-replace.js 28 // Tests that regexp caching isn't messing things up.
32 assertEquals("o", RegExp.$1);
34 assertEquals("x", RegExp.$1);
36 assertEquals("o", RegExp.$1);
regexp-stack-overflow.js 8 re.test("a"); // Trigger regexp compile.

Completed in 1421 milliseconds

1 2 3 45 6 7 8 91011>>