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

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/third_party/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...]
re2_test.cc 17 #include "re2/regexp.h"
105 const char *regexp; member in struct:re2::ReplaceTest
184 VLOG(1) << StringPrintf("\"%s\" =~ s/%s/%s/g", t->original, t->regexp, t->rewrite);
186 CHECK(RE2::Replace(&one, t->regexp, t->rewrite));
189 CHECK_EQ(RE2::GlobalReplace(&all, t->regexp, t->rewrite), t->greplace_count)
195 static void TestCheckRewriteString(const char* regexp, const char* rewrite,
198 RE2 exp(regexp);
470 RE2 re_simple("simple regexp");
471 RE2 re_medium("medium.*regexp");
472 RE2 re_complex("hard.{1,128}regexp");
1199 const char *regexp; member in struct:re2::ErrorTest
1230 const char* regexp; member in struct:re2::NeverTest
    [all...]
tester.cc 12 #include "re2/regexp.h"
14 DEFINE_bool(dump_prog, false, "dump regexp program");
16 DEFINE_bool(dump_rprog, false, "dump reversed regexp program");
19 "maximum number of regexp test failures (-1 = unlimited)");
21 DEFINE_string(regexp_engines, "", "pattern to select regexp engines to test");
135 Regexp::ParseFlags parse_flags;
139 static const Regexp::ParseFlags single_line =
140 Regexp::LikePerl;
141 static const Regexp::ParseFlags multi_line =
142 static_cast<Regexp::ParseFlags>(Regexp::LikePerl & ~Regexp::OneLine)
    [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...]
re2_test.cc 15 #include "re2/regexp.h"
98 const char *regexp; member in struct:re2::ReplaceTest
177 VLOG(1) << StringPrintf("\"%s\" =~ s/%s/%s/g", t->original, t->regexp, t->rewrite);
179 CHECK(RE2::Replace(&one, t->regexp, t->rewrite));
182 CHECK_EQ(RE2::GlobalReplace(&all, t->regexp, t->rewrite), t->greplace_count)
188 static void TestCheckRewriteString(const char* regexp, const char* rewrite,
191 RE2 exp(regexp);
463 RE2 re_simple("simple regexp");
464 RE2 re_medium("medium.*regexp");
465 RE2 re_complex("hard.{1,128}regexp");
1190 const char *regexp; member in struct:re2::ErrorTest
1221 const char* regexp; member in struct:re2::NeverTest
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/workspace/
SearchConfig.js 20 /** @typedef {!{regex: !RegExp, isNegative: boolean}} */
75 var regexp = new RegExp(pattern, "g");
76 var queryParts = this._query.match(regexp) || [];
97 this._fileRegexQueries.push({ regex: new RegExp(fileQuery.text, this.ignoreCase ? "i" : ""), isNegative: fileQuery.isNegative });
  /external/chromium_org/v8/test/mjsunit/
regexp-not-sticky-yet.js 28 // Test that sticky regexp support is not affecting V8 when the
35 assertThrows(function() { new RegExp("foo.bar", "y"); }, SyntaxError);
36 assertThrows(function() { new RegExp("foobar", "y"); }, SyntaxError);
37 assertThrows(function() { new RegExp("foo.bar", "gy"); }, SyntaxError);
38 assertThrows(function() { new RegExp("foobar", "gy"); }, SyntaxError);
54 re.sticky = true; // Has no effect on the regexp, just sets a property.
lazy-load.js 32 // Check that regexp literals use original RegExp (non-ECMA-262).
33 RegExp = 42;
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);
mirror-regexp.js 70 assertEquals('regexp', mirror.type());
83 assertEquals('regexp', fromJSON.type);
84 assertEquals('RegExp', fromJSON.className);
  /external/chromium_org/v8/test/webkit/fast/regex/
constructor.js 24 description("This test checks use of the regexp constructor.");
28 shouldBeTrue("re === RegExp(re)");
29 shouldBeTrue("re !== new RegExp(re)");
30 shouldThrow("re === RegExp(re,'i')");
31 shouldThrow("re !== new RegExp(re,'i')");
  /external/chromium_org/v8/test/webkit/
unexpected-constant-crash.js 25 "This test checks that the regexp and unexpected constant counters are not confused with each other. It will fail with an assertion failure in a debug build if this is the case."
  /external/chromium_org/v8/tools/
check-name-clashes.py 156 regexp = re.compile("^function (\w+)\s*\((.*?)\) {")
175 match = regexp.match(line)
  /prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.8/share/gdb/python/gdb/command/
pretty_printers.py 29 [object-regexp [name-regexp]].
35 the resulting compiled subprinter regexp is None if not provided.
61 raise SyntaxError("invalid object regexp: %s" % object_regexp)
65 raise SyntaxError("invalid name regexp: %s" % name_regexp)
70 raise SyntaxError("invalid subname regexp: %s" % subname_regexp)
87 Usage: info pretty-printer [object-regexp [name-regexp]]
89 OBJECT-REGEXP is a regular expression matching the objects to list.
93 NAME-REGEXP matches the name of the pretty-printer
    [all...]
  /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.8/share/gdb/python/gdb/command/
pretty_printers.py 29 [object-regexp [name-regexp]].
35 the resulting compiled subprinter regexp is None if not provided.
61 raise SyntaxError("invalid object regexp: %s" % object_regexp)
65 raise SyntaxError("invalid name regexp: %s" % name_regexp)
70 raise SyntaxError("invalid subname regexp: %s" % subname_regexp)
87 Usage: info pretty-printer [object-regexp [name-regexp]]
89 OBJECT-REGEXP is a regular expression matching the objects to list.
93 NAME-REGEXP matches the name of the pretty-printer
    [all...]
  /prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.8/share/gdb/python/gdb/command/
pretty_printers.py 29 [object-regexp [name-regexp]].
35 the resulting compiled subprinter regexp is None if not provided.
61 raise SyntaxError("invalid object regexp: %s" % object_regexp)
65 raise SyntaxError("invalid name regexp: %s" % name_regexp)
70 raise SyntaxError("invalid subname regexp: %s" % subname_regexp)
87 Usage: info pretty-printer [object-regexp [name-regexp]]
89 OBJECT-REGEXP is a regular expression matching the objects to list.
93 NAME-REGEXP matches the name of the pretty-printer
    [all...]
  /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.8/share/gdb/python/gdb/command/
pretty_printers.py 29 [object-regexp [name-regexp]].
35 the resulting compiled subprinter regexp is None if not provided.
61 raise SyntaxError("invalid object regexp: %s" % object_regexp)
65 raise SyntaxError("invalid name regexp: %s" % name_regexp)
70 raise SyntaxError("invalid subname regexp: %s" % subname_regexp)
87 Usage: info pretty-printer [object-regexp [name-regexp]]
89 OBJECT-REGEXP is a regular expression matching the objects to list.
93 NAME-REGEXP matches the name of the pretty-printer
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/uffi/
uffi.swg 44 (setf cname (replace-regexp cname "_" "-"))
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-apache-oro.jar 
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
draft75.py 178 for line, regexp in zip(lines, _FIRST_FIVE_LINES):
179 if not regexp.search(line):
182 % (line, regexp.pattern))
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
parser.c 10 static RegExp *parse_expr(void);
11 static RegExp *parse_diff(void);
12 static RegExp *parse_term(void);
13 static RegExp *parse_factor(void);
14 static RegExp *parse_primary(void);
17 static RegExp *spec;
40 RegExp *re, *look;
56 Scanner_fatal(in, "missing `;' after regexp");
77 Scanner_fatal(in, "missing code after regexp");
85 static RegExp *
    [all...]
  /external/chromium_org/tools/code_coverage/
croc.py 172 self.rules = [] # (regexp, dict of RHS attrs)
228 for regexp, rhs_dict in self.rules:
229 if regexp.match(filename):
275 # Compile regexp ahead of time
522 regexp = ruledict.pop('regexp')
523 self.AddRule(regexp, **ruledict)
  /external/chromium_org/ui/base/ime/win/
tsf_input_scope.cc 85 STDMETHOD(GetRegularExpression)(BSTR* regexp) OVERRIDE {
  /external/chromium_org/v8/src/
regexp-macro-assembler.h 141 // Return whether the matching (with a global regexp) will be restarted.
153 // a failure in a global regexp may still mean success overall.
176 // Result of calling generated native RegExp code.
191 static Result Match(Handle<Code> regexp,
199 // Called from generated RegExp code.
205 // Called from RegExp if the backtrack stack limit is hit.
217 // Used by generated RegExp code.
  /external/chromium_org/v8/test/mjsunit/harmony/
regexp-sticky.js 97 var stickyglobal2 = new RegExp("foo.bar", "gy");
113 sticky.lastIndex = -1; // Causes sticky regexp to fail fast
117 sticky.lastIndex = -1; // Causes sticky regexp to fail fast

Completed in 7283 milliseconds

1 2 3 45 6 7 8 91011>>