Home
last modified time | relevance | path

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

12

/external/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 …]
Dinbuilt_function_proto-expected.txt119 PASS RegExp.prototype.exec.__proto__ is Function.prototype
120 PASS RegExp.prototype.test.__proto__ is Function.prototype
121 PASS RegExp.prototype.toString.__proto__ is Function.prototype
Dobject_prototype_tostring-expected.txt35 PASS _regexp.toString() is "[object RegExp]"
Dconstructor_length-expected.txt36 PASS RegExp.length is 2
Dprototype_proto-expected.txt36 PASS RegExp.prototype.__proto__ is Object.prototype
/external/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…
Dregexp-character-match-out-of-order-expected.txt24 Test to ensure RegExp generates single character matches in the correct order
Dregexp-backreferences-expected.txt24 Test to ensure correct behaviour when using backreferences in a RegExp
Dregexp-negative-special-characters-expected.txt24 This test checks Unicode in negative RegExp character classes.
Dregexp-in-and-foreach-handling-expected.txt24 Test for bug 31689: RegExp#exec's returned Array-like object behaves differently from regular Arrays
/external/v8/test/webkit/fast/regex/
DtoString-expected.txt24 This page tests toString conversion of RegExp objects, particularly wrt to '/' characters and RegEx…
29 PASS RegExp('/').source is "\\/"
30 PASS RegExp('').source is "(?:)"
31 FAIL RegExp.prototype.source should be (?:) (of type string). Was undefined (of type undefined).
32 PASS RegExp('/').toString() is "/\\//"
33 PASS RegExp('').toString() is "/(?:)/"
34 PASS RegExp.prototype.toString() is "/(?:)/"
54 FAIL RegExp('[/]').source should be [/]. Was [\/].
55 PASS RegExp('\\[/]').source is '\\[\\/]'
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') is false
32 PASS re !== new RegExp(re,'i') is true
DlastIndex-expected.txt24 This page tests that a RegExp object's lastIndex behaves like a regular property.
30 …ete /x/.lastIndex threw exception TypeError: Cannot delete property 'lastIndex' of [object RegExp].
/external/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()
Dregexp-lastindex-expected.txt24 Test for regression against REGRESSION: RegExp("[^\s$]+", "g") returns extra matches
/external/pcre/dist/
Dpcregexp.pas70 RegExp: shortstring;
467 RegExp:=ARegExp;
476 if length(RegExp) < 255 then
478 RegExp[length(RegExp)+1]:=#0;
479 pRegExp:=@RegExp[1];
483 GetMem(pRegExp,length(RegExp)+1);
484 pRegExp:=strpcopy(pRegExp,RegExp);
489 if length(RegExp) = 255 then
717 Compare := stringsx.PasStrCmp(PpcRegExp(P1).RegExp, PpcRegExp(P2).RegExp, False);
732 Compare := stringsx.PasStrCmp(PpcRegExp(P1).RegExp, SearchRegExp, False);
/external/v8/test/test262/
Dtest262.status83 'built-ins/RegExp/symbol-species': [FAIL],
84 'built-ins/RegExp/symbol-species-name': [FAIL],
110 'built-ins/RegExp/call_with_non_regexp_same_constructor': [FAIL],
111 'built-ins/RegExp/from-regexp-like-short-circuit': [FAIL],
112 'built-ins/RegExp/from-regexp-like': [FAIL],
113 'built-ins/RegExp/from-regexp-like-flag-override': [FAIL],
114 'built-ins/RegExp/from-regexp-like-get-source-err': [FAIL],
115 'built-ins/RegExp/from-regexp-like-get-flags-err': [FAIL],
116 'built-ins/RegExp/from-regexp-like-get-ctor-err': [FAIL],
281 'built-ins/RegExp/prototype/exec/u-lastindex-adv': [FAIL],
[all …]
/external/v8/src/regexp/
Dregexp-ast.cc12 void* RegExp##Name::Accept(RegExpVisitor* visitor, void* data) { \
19 RegExp##Name* RegExpTree::As##Name() { return NULL; } \
25 RegExp##Name* RegExp##Name::As##Name() { return this; } \ in FOR_EACH_REG_EXP_TREE_TYPE()
26 bool RegExp##Name::Is##Name() { return true; }
143 #define MAKE_CASE(Name) void* Visit##Name(RegExp##Name*, void* data) override;
Dregexp-ast.h28 #define FORWARD_DECLARE(Name) class RegExp##Name;
41 virtual void* Visit##Name(RegExp##Name*, void* data) = 0;
202 virtual RegExp##Name* As##Name(); \
/external/v8/test/mozilla/
Dmozilla.status91 'ecma_3/RegExp/15.10.6.2-2': [FAIL],
96 # RegExp.multiline is not part of any ECMAScript specification, and is
182 'ecma_3/RegExp/regress-209067': [PASS, ['mode == debug', FAIL]],
227 'ecma_3/RegExp/regress-311414': [PASS, FAIL],
228 'ecma_3/RegExp/regress-289669': [PASS, FAIL],
274 'ecma_3/RegExp/regress-85721': [PASS, ['mode == debug', FAIL]],
326 #:=== RegExp:===
328 # RegExp flags.
329 'ecma_3/RegExp/15.10.4.1-6': [FAIL_OK],
336 'ecma_3/RegExp/regress-330684': [SKIP],
[all …]
/external/v8/src/parsing/
Dscanner.cc1396 Maybe<RegExp::Flags> Scanner::ScanRegExpFlags() { in ScanRegExpFlags()
1401 RegExp::Flags flag = RegExp::kNone; in ScanRegExpFlags()
1404 flag = RegExp::kGlobal; in ScanRegExpFlags()
1407 flag = RegExp::kIgnoreCase; in ScanRegExpFlags()
1410 flag = RegExp::kMultiline; in ScanRegExpFlags()
1413 if (!FLAG_harmony_unicode_regexps) return Nothing<RegExp::Flags>(); in ScanRegExpFlags()
1414 flag = RegExp::kUnicode; in ScanRegExpFlags()
1417 if (!FLAG_harmony_regexps) return Nothing<RegExp::Flags>(); in ScanRegExpFlags()
1418 flag = RegExp::kSticky; in ScanRegExpFlags()
1421 return Nothing<RegExp::Flags>(); in ScanRegExpFlags()
[all …]
/external/v8/src/ast/
Dprettyprinter.cc252 if (node->flags() & RegExp::kGlobal) Print("g"); in VisitRegExpLiteral()
253 if (node->flags() & RegExp::kIgnoreCase) Print("i"); in VisitRegExpLiteral()
254 if (node->flags() & RegExp::kMultiline) Print("m"); in VisitRegExpLiteral()
255 if (node->flags() & RegExp::kUnicode) Print("u"); in VisitRegExpLiteral()
256 if (node->flags() & RegExp::kSticky) Print("y"); in VisitRegExpLiteral()
767 if (node->flags() & RegExp::kGlobal) Print("g"); in VisitRegExpLiteral()
768 if (node->flags() & RegExp::kIgnoreCase) Print("i"); in VisitRegExpLiteral()
769 if (node->flags() & RegExp::kMultiline) Print("m"); in VisitRegExpLiteral()
770 if (node->flags() & RegExp::kUnicode) Print("u"); in VisitRegExpLiteral()
771 if (node->flags() & RegExp::kSticky) Print("y"); in VisitRegExpLiteral()
[all …]
/external/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
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h233 std::string, RegExp) { in AST_POLYMORPHIC_MATCHER_P() argument
246 llvm::Regex RE(RegExp); in AST_POLYMORPHIC_MATCHER_P()
1856 AST_MATCHER_P(NamedDecl, matchesName, std::string, RegExp) { in AST_MATCHER_P() argument
1857 assert(!RegExp.empty()); in AST_MATCHER_P()
1859 llvm::Regex RE(RegExp); in AST_MATCHER_P()
2190 AST_MATCHER_P(ObjCMessageExpr, matchesSelector, std::string, RegExp) { in AST_MATCHER_P() argument
2191 assert(!RegExp.empty()); in AST_MATCHER_P()
2193 llvm::Regex RE(RegExp); in AST_MATCHER_P()

12