Home
last modified time | relevance | path

Searched refs:RegExp (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
Dre.h80 typedef struct RegExp { struct
88 struct RegExp *exp; argument
89 struct RegExp *ctx;
97 struct RegExp *exp1, *exp2;
100 struct RegExp *exp;
103 struct RegExp *exp;
108 } RegExp; argument
110 static RegExp *
111 RegExp_isA(RegExp *r, RegExpType t) in RegExp_isA()
116 void RegExp_split(RegExp*, CharSet*);
[all …]
Dparser.c10 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; in yyparse()
85 static RegExp *
88 RegExp *e, *f; in parse_expr()
98 static RegExp *
[all …]
Dactions.c58 AltOp_fixedLength(RegExp *r) in AltOp_fixedLength()
69 CatOp_fixedLength(RegExp *r) in CatOp_fixedLength()
79 RegExp_fixedLength(RegExp *r) in RegExp_fixedLength()
97 RegExp_calcSize(RegExp *re, Char *rep) in RegExp_calcSize()
147 MatchOp_compile(RegExp *re, Char *rep, Ins *i) in MatchOp_compile()
170 AltOp_compile(RegExp *re, Char *rep, Ins *i){ in AltOp_compile()
183 RegExp_compile(RegExp *re, Char *rep, Ins *i) in RegExp_compile()
241 MatchOp_split(RegExp *re, CharSet *s) in MatchOp_split()
273 RegExp_split(RegExp *re, CharSet *s) in RegExp_split()
301 RegExp_display(RegExp *re, FILE *o) in RegExp_display()
[all …]
Ddfa.h37 RegExp *rule; /* RuleOp */
57 RegExp *rule; /* RuleOp */
144 Action_new_Rule(State *s, RegExp *r) /* RuleOp */ in Action_new_Rule()
Dparser.h25 RegExp *regexp;
Dparse.h11 RegExp *re;
/external/chromium_org/v8/test/webkit/fast/js/kde/
DRegExp-expected.txt29 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 …]
/external/chromium_org/v8/test/webkit/
Dregexp-extended-characters-match-expected.txt29 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 …]
Dregexp-compile-expected.txt24 Test RegExp.compile method.
40 PASS re.compile(new RegExp('c'), 'i'); threw exception TypeError: Cannot supply flags when construc…
42 PASS re.compile(new RegExp('+')); threw exception SyntaxError: Invalid regular expression: /+/: Not…
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DScriptRegexp.cpp46 unsigned flags = v8::RegExp::kNone; in ScriptRegexp()
48 flags |= v8::RegExp::kIgnoreCase; in ScriptRegexp()
50 flags |= v8::RegExp::kMultiline; in ScriptRegexp()
52 …v8::Local<v8::RegExp> regex = v8::RegExp::New(v8String(isolate, pattern), static_cast<v8::RegExp::… in ScriptRegexp()
78 v8::Local<v8::RegExp> regex = m_regex.newLocal(isolate); in match()
DScriptRegexp.h52 ScopedPersistent<v8::RegExp> m_regex;
/external/chromium_org/v8/test/webkit/fast/regex/
DtoString-expected.txt24 This page tests toString conversion of RegExp objects, particularly wrt to '/' characters and RegEx…
29 FAIL RegExp('/').source should be \/. Was /.
30 PASS RegExp('').source is "(?:)"
31 PASS RegExp.prototype.source is "(?:)"
32 FAIL RegExp('/').toString() should be /\//. Was ///.
33 PASS RegExp('').toString() is "/(?:)/"
34 PASS RegExp.prototype.toString() is "/(?:)/"
54 PASS RegExp('[/]').source is '[/]'
55 FAIL RegExp('\\[/]').source should be \[\/]. Was \[/].
56 PASS var o = new RegExp(); o.toString() === '/'+o.source+'/' && eval(o.toString()+'.exec(String())'…
Dconstructor-expected.txt29 PASS re === RegExp(re) is true
30 PASS re !== new RegExp(re) is true
31 PASS re === RegExp(re,'i') threw exception TypeError: Cannot supply flags when constructing one Reg…
32 PASS re !== new RegExp(re,'i') threw exception TypeError: Cannot supply flags when constructing one…
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dregexp_cache.h49 class RegExp; variable
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);
Dregexp_adapter.h50 class RegExp {
52 virtual ~RegExp() {} in ~RegExp()
162 virtual RegExp* CreateRegExp(const string& utf8_regexp) const = 0;
Dregexp_cache.cc49 const RegExp& RegExpCache::GetRegExp(const string& pattern) { in GetRegExp()
54 const RegExp* regexp = regexp_factory_.CreateRegExp(pattern); in GetRegExp()
Dphonenumbermatcher.cc236 scoped_ptr<const RegExp> pub_pages_;
239 scoped_ptr<const RegExp> slash_separated_dates_;
242 scoped_ptr<const RegExp> time_stamps_;
243 scoped_ptr<const RegExp> time_stamps_suffix_;
247 scoped_ptr<const RegExp> matching_brackets_;
252 scoped_ptr<const RegExp> group_separator_;
253 scoped_ptr<const RegExp> capture_up_to_second_number_start_pattern_;
254 scoped_ptr<const RegExp> capturing_ascii_digits_pattern_;
256 scoped_ptr<const RegExp> lead_class_pattern_;
258 scoped_ptr<const RegExp> pattern_;
Dphonenumberutil.cc350 const RegExp& number_pattern, const string& number) { in TestNumberLengthAgainstPattern()
538 scoped_ptr<const RegExp> unique_international_prefix_;
540 scoped_ptr<const RegExp> digits_pattern_;
541 scoped_ptr<const RegExp> capturing_digit_pattern_;
542 scoped_ptr<const RegExp> capturing_ascii_digits_pattern_;
553 scoped_ptr<const RegExp> valid_start_char_pattern_;
557 scoped_ptr<const RegExp> capture_up_to_second_number_start_pattern_;
565 scoped_ptr<const RegExp> unwanted_end_char_pattern_;
568 scoped_ptr<const RegExp> separator_pattern_;
577 scoped_ptr<const RegExp> extn_pattern_;
[all …]
Dregexp_adapter_re2.cc96 class RE2RegExp : public RegExp {
156 RegExp* RE2RegExpFactory::CreateRegExp(const string& utf8_regexp) const { in CreateRegExp()
Dregexp_adapter_icu.h35 virtual RegExp* CreateRegExp(const string& utf8_regexp) const;
Dregexp_adapter_re2.h34 virtual RegExp* CreateRegExp(const string& utf8_regexp) const;
/external/chromium_org/v8/test/webkit/fast/js/
Dregexp-extended-characters-crash-expected.txt29 PASS new RegExp("[À-Ὅ]").toString() is /[À-Ὅ]/.toString()
30 PASS new RegExp("[ぁ-ゔ]").toString() is /[ぁ-ゔ]/.toString()
31 PASS new RegExp("[䴀-䶵]").toString() is /[䴀-䶵]/.toString()
32 PASS new RegExp("[一-龥]").toString() is /[一-龥]/.toString()
33 PASS new RegExp("[-Ὅ]").toString() is /[-Ὅ]/.toString()
/external/chromium_org/v8/test/mozilla/
Dmozilla.status121 'ecma_3/RegExp/regress-209067': [PASS, ['mode == debug', FAIL]],
166 'ecma_3/RegExp/regress-311414': [PASS, FAIL],
167 'ecma_3/RegExp/regress-289669': [PASS, FAIL],
212 'ecma_3/RegExp/regress-85721': [PASS, ['mode == debug', FAIL]],
260 #:=== RegExp:===
262 # RegExp flags.
263 'ecma_3/RegExp/15.10.4.1-6': [FAIL_OK],
269 'ecma_3/RegExp/regress-119909': [PASS, FAIL_OK],
276 'ecma_3/RegExp/regress-209919': [PASS, FAIL_OK],
285 'ecma_3/RegExp/regress-330684': [SKIP],
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/
DUNCOVERED37 RegExp.exec
38 RegExp custom properties
/external/chromium_org/v8/benchmarks/
DREADME.txt35 Version 3 adds a new benchmark, RegExp. The RegExp benchmark is
73 increasing pressure on the memory subsystem. Changed the RegExp

123