Home
last modified time | relevance | path

Searched refs:RegExp (Results 1 – 25 of 33) 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
Dprototype_length-expected.txt36 PASS RegExp.prototype.length is undefined
/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 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…
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()
DObject-getOwnPropertyNames-expected.txt50 PASS getSortedOwnPropertyNames(new RegExp('foo')) is ['global', 'ignoreCase', 'lastIndex', 'multili…
51 PASS getSortedOwnPropertyNames((function(){var x=new RegExp();x.__proto__=[1,2,3];return x;})()) is…
80 PASS getSortedOwnPropertyNames(RegExp) is ['$&', "$'", '$*', '$+', '$1', '$2', '$3', '$4', '$5', '$…
81 PASS getSortedOwnPropertyNames(RegExp.prototype) is ['compile', 'constructor', 'exec', 'global', 'i…
106 PASS globalPropertyNames.indexOf('RegExp') != -1 is true
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/mozilla/
Dmozilla.status132 'ecma_3/RegExp/regress-209067': [PASS, ['mode == debug', FAIL]],
177 'ecma_3/RegExp/regress-311414': [PASS, FAIL],
178 'ecma_3/RegExp/regress-289669': [PASS, FAIL],
223 'ecma_3/RegExp/regress-85721': [PASS, ['mode == debug', FAIL]],
271 #:=== RegExp:===
273 # RegExp flags.
274 'ecma_3/RegExp/15.10.4.1-6': [FAIL_OK],
280 'ecma_3/RegExp/regress-119909': [PASS, FAIL_OK],
287 'ecma_3/RegExp/regress-209919': [PASS, FAIL_OK],
296 'ecma_3/RegExp/regress-330684': [SKIP],
[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.h232 std::string, RegExp) { in AST_POLYMORPHIC_MATCHER_P() argument
245 llvm::Regex RE(RegExp); in AST_POLYMORPHIC_MATCHER_P()
1741 AST_MATCHER_P(NamedDecl, matchesName, std::string, RegExp) { in AST_MATCHER_P() argument
1742 assert(!RegExp.empty()); in AST_MATCHER_P()
1744 llvm::Regex RE(RegExp); in AST_MATCHER_P()
2064 AST_MATCHER_P(ObjCMessageExpr, matchesSelector, std::string, RegExp) { in AST_MATCHER_P() argument
2065 assert(!RegExp.empty()); in AST_MATCHER_P()
2067 llvm::Regex RE(RegExp); in AST_MATCHER_P()
/external/v8/src/
Dast.cc669 void* RegExp##Name::Accept(RegExpVisitor* visitor, void* data) { \
676 RegExp##Name* RegExpTree::As##Name() { \
684 RegExp##Name* RegExp##Name::As##Name() { \ in FOR_EACH_REG_EXP_TREE_TYPE()
687 bool RegExp##Name::Is##Name() { return true; }
802 #define MAKE_CASE(Name) virtual void* Visit##Name(RegExp##Name*, \
Dapi.h145 V(RegExp, JSRegExp) \
199 static inline Local<RegExp> ToLocal(
342 MAKE_TO_LOCAL(ToLocal, JSRegExp, RegExp) in MAKE_TO_LOCAL()
/external/v8/
DChangeLog208 Remove RegExp.$input (issue 3486).
3302 Fixed additional spec violations wrt RegExp.lastIndex.
3327 Correctly reset lastIndex in an RegExp object.
4131 Fixed RegExp.prototype.toString for incompatible receivers
4260 Fixed source property of empty RegExp objects. (issue 1982)
4921 Removed special casing of calls to RegExp test and exec methods with no
5002 Fixed x64 RegExp start-of-string bug (Issues 1746, 1748).
5011 Made the RegExp.prototype object be a RegExp object (Issue 1217).
5285 Fixed a GC bug with RegExp code flushing.
5307 Introduced code flushing of RegExp code to free memory used by
[all …]

12