Searched defs:regexp (Results 1 - 25 of 75) sorted by relevance

123

/external/chromium_org/v8/test/webkit/fast/regex/
H A Dmalformed-escapes.js28 var regexp; variable
30 regexp = /\ug/gm;
31 debug("\nTesting regexp: " + regexp);
32 shouldBeTrue("regexp.test('ug')");
33 shouldBe("regexp.lastIndex", "2");
35 regexp = /\xg/gm;
36 debug("\nTesting regexp: " + regexp);
37 shouldBeTrue("regexp
[all...]
H A Dquantified-assertions.js28 var regexp; variable
30 regexp = /(?=a){0}/gm;
31 debug("\nTesting regexp: " + regexp);
32 shouldBeTrue("regexp.test('a')");
33 shouldBe("regexp.lastIndex", "0");
35 regexp = /(?=a){1}/gm;
36 debug("\nTesting regexp: " + regexp);
37 shouldBeTrue("regexp
[all...]
/external/chromium_org/v8/test/webkit/
H A Dregexp-many-brackets.js30 var regexp = ""; variable
32 regexp += "(";
33 regexp += "hello";
35 regexp += ")";
41 var manyBracketsRegExp = new RegExp(regexp);
/external/chromium_org/v8/test/mjsunit/
H A Dfunction-without-prototype.js53 var regexp = /abc/g; variable
54 testConstruction("regexp.test");
H A Dregexp-call-as-function.js32 var regexp = /a(b)(c)/; variable
35 assertEquals(expected, String(regexp.exec(subject)));
36 assertThrows(function(){ regexp(subject); });
H A Dwith-function-expression.js33 // Check that the return value is a function. Use regexp to avoid
35 var regexp = /function/; variable
36 var res = assertTrue(eval(source).match(regexp) == 'function');
/external/chromium_org/third_party/re2/re2/testing/
H A Dmimics_pcre_test.cc7 #include "re2/regexp.h"
12 const char* regexp; member in struct:re2::PCRETest
66 Regexp* re = Regexp::Parse(t.regexp, flags, NULL);
67 CHECK(re) << " " << t.regexp;
69 << " " << t.regexp << " "
H A Dsimplify_test.cc10 #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,
149 CHECK(re != NULL) << " " << tests[i].regexp << " " << status.Text();
154 if (strcmp(tests[i].regexp, tests[i].simplified) == 0) {
155 CHECK(re == sre) << " " << tests[i].regexp
160 << " " << tests[i].regexp << " " << sre->Dump();
H A Dcompile_test.cc10 #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;
124 LOG(ERROR) << "Incorrect compiled code for: " << t.regexp;
H A Drequired_prefix_test.cc6 #include "re2/regexp.h"
11 const char* regexp; member in struct:re2::PrefixTest
19 // If the regexp is missing a ^, there's no required prefix.
24 // If the regexp immediately goes into
46 Regexp* re = Regexp::Parse(t.regexp, flags, NULL);
47 CHECK(re) << " " << t.regexp;
52 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf") << " " << re->Dump();
55 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf");
57 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf");
59 << " " << t.regexp << " " << (
[all...]
H A Dsearch_test.cc9 #include "re2/regexp.h"
16 const char* regexp; member in struct:re2::RegexpTest
309 if (!TestRegexpOnText(t.regexp, t.text))
316 atom.push_back(StringPiece(t.regexp).as_string());
/external/regex-re2/re2/testing/
H A Dmimics_pcre_test.cc7 #include "re2/regexp.h"
12 const char* regexp; member in struct:re2::PCRETest
66 Regexp* re = Regexp::Parse(t.regexp, flags, NULL);
67 CHECK(re) << " " << t.regexp;
69 << " " << t.regexp << " "
H A Dsimplify_test.cc10 #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,
149 CHECK(re != NULL) << " " << tests[i].regexp << " " << status.Text();
154 if (strcmp(tests[i].regexp, tests[i].simplified) == 0) {
155 CHECK(re == sre) << " " << tests[i].regexp
160 << " " << tests[i].regexp << " " << sre->Dump();
H A Dcompile_test.cc10 #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;
124 LOG(ERROR) << "Incorrect compiled code for: " << t.regexp;
H A Drequired_prefix_test.cc6 #include "re2/regexp.h"
11 const char* regexp; member in struct:re2::PrefixTest
19 // If the regexp is missing a ^, there's no required prefix.
24 // If the regexp immediately goes into
46 Regexp* re = Regexp::Parse(t.regexp, flags, NULL);
47 CHECK(re) << " " << t.regexp;
52 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf") << " " << re->Dump();
55 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf");
57 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf");
59 << " " << t.regexp << " " << (
[all...]
H A Dsearch_test.cc9 #include "re2/regexp.h"
16 const char* regexp; member in struct:re2::RegexpTest
309 if (!TestRegexpOnText(t.regexp, t.text))
316 atom.push_back(StringPiece(t.regexp).as_string());
/external/chromium_org/tools/gyp/tools/emacs/
H A Dgyp.el51 (defconst gyp-dependencies-regexp
52 (regexp-opt (list "dependencies" "export_dependent_settings"))
55 (defconst gyp-sources-regexp
56 (regexp-opt (list "action" "files" "include_dirs" "includes" "inputs"
60 (defconst gyp-conditions-regexp
61 (regexp-opt (list "conditions" "target_conditions"))
64 (defconst gyp-variables-regexp
68 (defconst gyp-defines-regexp
72 (defconst gyp-targets-regexp
87 (cond ((string-match-p gyp-dependencies-regexp sectio
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dregexp_cache.cc54 const RegExp* regexp = regexp_factory_.CreateRegExp(pattern); local
55 cache_impl_->insert(make_pair(pattern, regexp));
56 return *regexp;
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dparser.h25 RegExp *regexp; member in union:__anon16383
/external/chromium_org/tools/grit/grit/gather/
H A Dadmin_template.py11 from grit.gather import regexp namespace
21 class AdmGatherer(regexp.RegexpGatherer):
57 # Then parse the rest using the _TRANSLATEABLES regexp.
H A Digoogle_strings.py14 from grit.gather import regexp namespace
73 class IgoogleStrings(regexp.RegexpGatherer):
H A Dmuppet_strings.py16 from grit.gather import regexp namespace
79 class MuppetStrings(regexp.RegexpGatherer):
/external/oprofile/libregex/
H A Dop_regex.h86 // when this regexp is matched
87 regex_t regexp; member in struct:regular_expression_replace::replace_t
93 bool do_execute(std::string & str, replace_t const & regexp) const;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-apache-regexp.jar ... org/apache/tools/ant/util/ org/apache/tools/ant/util/regexp/ org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.class JakartaRegexpMatcher ...
/external/chromium_org/third_party/libxml/src/
H A DtestAutomata.c38 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...]

Completed in 700 milliseconds

123