HomeSort by relevance Sort by last modified time
    Searched full:regexp (Results 26 - 50 of 1409) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
regexp_cache.h 17 // RegExpCache is a simple wrapper around hash_map<> to store RegExp objects.
19 // To get a cached RegExp object for a regexp pattern string, call the
21 // a RegExp object corresponding to the pattern string doesn't already exist, it
25 // const RegExp& regexp = cache.GetRegExp("\d");
49 class RegExp;
54 typedef std::tr1::unordered_map<string, const RegExp*> CacheImpl;
56 typedef std::map<string, const RegExp*> CacheImpl;
64 const RegExp& GetRegExp(const string& pattern)
    [all...]
  /external/chromium_org/third_party/re2/re2/testing/
mimics_pcre_test.cc 7 #include "re2/regexp.h"
12 const char* regexp; member in struct:re2::PCRETest
63 Regexp::ParseFlags flags = Regexp::LikePerl;
65 flags = flags | Regexp::Latin1;
66 Regexp* re = Regexp::Parse(t.regexp, flags, NULL);
67 CHECK(re) << " " << t.regexp;
69 << " " << t.regexp << " "
    [all...]
parse_test.cc 10 #include "re2/regexp.h"
14 static const Regexp::ParseFlags TestZeroFlags = Regexp::ParseFlags(1<<30);
17 const char* regexp; member in struct:re2::Test
19 Regexp::ParseFlags flags;
22 static Regexp::ParseFlags kTestFlags = Regexp::MatchNL |
23 Regexp::PerlX |
24 Regexp::PerlClasses |
25 Regexp::UnicodeGroups
    [all...]
null_walker.cc 6 #include "re2/regexp.h"
13 class NullWalker : public Regexp::Walker<bool> {
16 bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg,
19 bool ShortVisit(Regexp* re, bool a) {
33 bool NullWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg,
39 void Regexp::NullWalk() {
  /external/regex-re2/re2/testing/
mimics_pcre_test.cc 7 #include "re2/regexp.h"
12 const char* regexp; member in struct:re2::PCRETest
63 Regexp::ParseFlags flags = Regexp::LikePerl;
65 flags = flags | Regexp::Latin1;
66 Regexp* re = Regexp::Parse(t.regexp, flags, NULL);
67 CHECK(re) << " " << t.regexp;
69 << " " << t.regexp << " "
    [all...]
parse_test.cc 10 #include "re2/regexp.h"
14 static const Regexp::ParseFlags TestZeroFlags = Regexp::ParseFlags(1<<30);
17 const char* regexp; member in struct:re2::Test
19 Regexp::ParseFlags flags;
22 static Regexp::ParseFlags kTestFlags = Regexp::MatchNL |
23 Regexp::PerlX |
24 Regexp::PerlClasses |
25 Regexp::UnicodeGroups
    [all...]
null_walker.cc 6 #include "re2/regexp.h"
13 class NullWalker : public Regexp::Walker<bool> {
16 bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg,
19 bool ShortVisit(Regexp* re, bool a) {
33 bool NullWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg,
39 void Regexp::NullWalk() {
  /external/chromium_org/third_party/re2/re2/
set.cc 11 #include "re2/regexp.h"
34 Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>(
38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status);
49 re2::Regexp* m = re2::Regexp::HaveMatch(n, pf);
52 re2::Regexp** sub = new re2::Regexp*[nsub + 1];
57 re = re2::Regexp::Concat(sub, nsub + 1, pf)
    [all...]
regexp.h 17 // Any operation that traverses the Regexp structures should be written
18 // using Regexp::Walker (see walker-inl.h), not recursively, because deeply nested
27 // Regexp::Parse parses regular expressions encoded in UTF-8.
39 // Regexp::Parse. In particular, many of the basic Perl additions
42 // If parsed with the flag Regexp::Latin1, both the regular expression
48 // Once Regexp has parsed a regular expression, it provides methods
53 // To call a sublibrary, Regexp does not simply prepare a
55 // sublibrary. Instead, Regexp prepares, from its own parsed form, the
61 // to be that used by Regexp's parser, not the syntax expected
62 // by the sublibrary. Regexp might accept a restricted o
    [all...]
  /external/chromium_org/v8/src/
regexp.js 33 var $RegExp = global.RegExp;
40 // RegExp : Called as constructor; see ECMA-262, section 15.10.4.
94 // RegExp : Called as function; see ECMA-262, section 15.10.3.1.
98 return new $RegExp(pattern, flags);
102 // Deprecated RegExp.prototype.compile method. We behave like the constructor
103 // were called again. In SpiderMonkey, this method returns the regexp object.
111 // RegExp.prototype.compile and in the constructor, where they are
114 if (this == $RegExp.prototype) {
115 // We don't allow recompiling RegExp.prototype
    [all...]
  /external/regex-re2/re2/
set.cc 11 #include "re2/regexp.h"
34 Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>(
38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status);
49 re2::Regexp* m = re2::Regexp::HaveMatch(n, pf);
52 re2::Regexp** sub = new re2::Regexp*[nsub + 1];
57 re = re2::Regexp::Concat(sub, nsub + 1, pf)
    [all...]
regexp.h 17 // Any operation that traverses the Regexp structures should be written
18 // using Regexp::Walker (see walker-inl.h), not recursively, because deeply nested
27 // Regexp::Parse parses regular expressions encoded in UTF-8.
39 // Regexp::Parse. In particular, many of the basic Perl additions
42 // If parsed with the flag Regexp::Latin1, both the regular expression
48 // Once Regexp has parsed a regular expression, it provides methods
53 // To call a sublibrary, Regexp does not simply prepare a
55 // sublibrary. Instead, Regexp prepares, from its own parsed form, the
61 // to be that used by Regexp's parser, not the syntax expected
62 // by the sublibrary. Regexp might accept a restricted o
    [all...]
  /external/v8/src/
regexp.js 31 var $RegExp = global.RegExp;
36 // RegExp : Called as constructor; see ECMA-262, section 15.10.4.
90 // RegExp : Called as function; see ECMA-262, section 15.10.3.1.
94 return new $RegExp(pattern, flags);
98 // Deprecated RegExp.prototype.compile method. We behave like the constructor
99 // were called again. In SpiderMonkey, this method returns the regexp object.
107 // RegExp.prototype.compile and in the constructor, where they are
110 if (this == $RegExp.prototype) {
111 // We don't allow recompiling RegExp.prototype
    [all...]
  /external/chromium_org/build/ios/
chrome_ios.croc 15 'regexp' : '.*',
23 'regexp' : '.*/$',
29 'regexp' : '.*/ios/.*',
36 'regexp' : '.*_ios\\.(c|cc|m|mm)$',
43 'regexp' : '.*_ios_unittest\\.(c|cc|m|mm)$',
51 'regexp' : '.*\\.(h|hpp)$',
57 'regexp' : '.*perftest\\.(c|cc|m|mm)$',
63 'regexp' : '.*\\.m$',
67 'regexp' : '.*\\.mm$',
  /external/chromium/build/linux/
chrome_linux.croc 14 'regexp' : '.*/(chromeos|views)/',
19 'regexp' : '.*(_|/)(chromeos|mac|win|views)(\\.|_)',
25 'regexp' : '.*_test_linux\\.',
  /external/chromium_org/build/linux/
chrome_linux.croc 14 'regexp' : '.*/(chromeos|views)/',
19 'regexp' : '.*(_|/)(chromeos|mac|win|views)(\\.|_)',
25 'regexp' : '.*_test_linux\\.',
  /external/chromium_org/v8/test/webkit/fast/regex/
quantified-assertions-expected.txt 30 Testing regexp: /(?=a){0}/gm
31 PASS regexp.test('a') is true
32 PASS regexp.lastIndex is 0
34 Testing regexp: /(?=a){1}/gm
35 PASS regexp.test('a') is true
36 PASS regexp.lastIndex is 0
38 Testing regexp: /(?!a){0}/gm
39 PASS regexp.test('b') is true
40 PASS regexp.lastIndex is 0
42 Testing regexp: /(?!a){1}/g
    [all...]
toString.js 24 description("This page tests toString conversion of RegExp objects, particularly wrt to '/' characters and RegExp.prototype.");
30 re1 = new RegExp(pattern);
38 re1 = new RegExp(pattern);
43 shouldBe("RegExp('/').source", '"\\\\/"');
44 shouldBe("RegExp('').source", '"(?:)"');
45 shouldBe("RegExp.prototype.source", '"(?:)"');
47 shouldBe("RegExp('/').toString()", '"/\\\\//"');
48 shouldBe("RegExp('').toString()", '"/(?:)/"');
49 shouldBe("RegExp.prototype.toString()", '"/(?:)/"')
    [all...]
  /external/chromium_org/v8/test/webkit/
regexp-extended-characters-match.js 28 // shouldThrow('var r = new RegExp("[\u0101-\u0100]"); r.exec("a")', 'null');
30 shouldBe('(new RegExp("[\u0100-\u0101]")).exec("a")', 'null');
31 shouldBe('(new RegExp("[\u0100]")).exec("a")', 'null');
32 shouldBe('(new RegExp("\u0100")).exec("a")', 'null');
33 shouldBe('(new RegExp("[\u0061]")).exec("a").toString()', '"a"');
34 shouldBe('(new RegExp("[\u0100-\u0101a]")).exec("a").toString()', '"a"');
35 shouldBe('(new RegExp("[\u0100a]")).exec("a").toString()', '"a"');
36 shouldBe('(new RegExp("\u0061")).exec("a").toString()', '"a"');
37 shouldBe('(new RegExp("[a-\u0100]")).exec("a").toString()', '"a"');
38 shouldBe('(new RegExp("[\u0100]")).exec("\u0100").toString()', '"\u0100"')
    [all...]
regexp-extended-characters-match-expected.txt 29 PASS (new RegExp("[?-?]")).exec("a") is null
30 PASS (new RegExp("[?]")).exec("a") is null
31 PASS (new RegExp("?")).exec("a") is null
32 PASS (new RegExp("[a]")).exec("a").toString() is "a"
33 PASS (new RegExp("[?-?a]")).exec("a").toString() is "a"
34 PASS (new RegExp("[?a]")).exec("a").toString() is "a"
35 PASS (new RegExp("a")).exec("a").toString() is "a"
36 PASS (new RegExp("[a-?]")).exec("a").toString() is "a"
37 PASS (new RegExp("[?]")).exec("?").toString() is "?"
38 PASS (new RegExp("[?-?]")).exec("?").toString() is "?
    [all...]
  /external/chromium_org/v8/test/webkit/fast/js/kde/
RegExp-expected.txt 29 PASS (new RegExp()).source is '(?:)'
30 PASS Boolean(new RegExp()) is true
31 PASS isNaN(Number(new RegExp())) is true
32 PASS RegExp(/x/).source is 'x'
33 PASS RegExp('x', 'g').global is true
34 PASS RegExp('x').source is 'x'
35 PASS new RegExp('x').source is 'x'
55 PASS var r = new RegExp(/x/); r.global=true; r.lastIndex = -1; typeof r.test('a') is 'boolean'
58 PASS RegExp.$1 is 'abc'
59 PASS RegExp.$2 is 'ghi
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/po/
POTFILES.in 3 sed/regexp.c
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
parser.h 25 RegExp *regexp; member in union:__anon14570
  /external/chromium_org/v8/test/mjsunit/regress/
regress-219.js 52 re = RegExp("a","");
55 re = RegExp("a", "gim");
74 assertThrows(function(){ return RegExp("a", "ii"); })
76 assertThrows(function(){ return RegExp("a", "gii"); })
78 assertThrows(function(){ return RegExp("a", "igi"); })
80 assertThrows(function(){ return RegExp("a", "iig"); })
82 assertThrows(function(){ return RegExp("a", "gimi"); })
84 assertThrows(function(){ return RegExp("a", "giim"); })
86 assertThrows(function(){ return RegExp("a", "igim"); })
102 assertThrows(function(){ return RegExp("a", "iii"); }
    [all...]
  /external/v8/test/mjsunit/regress/
regress-219.js 52 re = RegExp("a","");
55 re = RegExp("a", "gim");
74 assertThrows(function(){ return RegExp("a", "ii"); })
76 assertThrows(function(){ return RegExp("a", "gii"); })
78 assertThrows(function(){ return RegExp("a", "igi"); })
80 assertThrows(function(){ return RegExp("a", "iig"); })
82 assertThrows(function(){ return RegExp("a", "gimi"); })
84 assertThrows(function(){ return RegExp("a", "giim"); })
86 assertThrows(function(){ return RegExp("a", "igim"); })
102 assertThrows(function(){ return RegExp("a", "iii"); }
    [all...]

Completed in 482 milliseconds

12 3 4 5 6 7 8 91011>>