Home
last modified time | relevance | path

Searched refs:RegExp (Results 1 – 25 of 43) 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]"
Dprototype_proto-expected.txt36 PASS RegExp.prototype.__proto__ is Object.prototype
Dconstructor_length-expected.txt36 PASS RegExp.length is 2
/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
/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 PASS RegExp.prototype.source is "(?:)"
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/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/regex/
DPattern.java19 import com.google.gwt.regexp.shared.RegExp;
24 final RegExp regExp;
27 this.regExp = RegExp.compile(regExp); in Pattern()
DMatcher.java19 import com.google.gwt.regexp.shared.RegExp;
25 private final RegExp 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/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.h30 #define FORWARD_DECLARE(Name) class RegExp##Name;
43 virtual void* Visit##Name(RegExp##Name*, void* data) = 0;
211 virtual RegExp##Name* As##Name(); \
/external/v8/test/mozilla/
Dmozilla.status94 'ecma_3/RegExp/15.10.6.2-2': [FAIL],
99 # RegExp.multiline is not part of any ECMAScript specification, and is
190 'ecma_3/RegExp/regress-209067': [PASS, ['mode == debug', FAIL]],
235 'ecma_3/RegExp/regress-311414': [PASS, FAIL],
236 'ecma_3/RegExp/regress-289669': [PASS, FAIL],
282 'ecma_3/RegExp/regress-85721': [PASS, ['mode == debug', FAIL]],
334 #:=== RegExp:===
336 # RegExp flags.
337 'ecma_3/RegExp/15.10.4.1-6': [FAIL_OK],
344 'ecma_3/RegExp/regress-330684': [SKIP],
[all …]
/external/v8/test/test262/
Dtest262.status108 'built-ins/RegExp/prototype/Symbol.match/coerce-global': [SKIP],
111 'built-ins/RegExp/prototype/Symbol.replace/y-init-lastindex': [FAIL],
112 'built-ins/RegExp/prototype/Symbol.replace/y-set-lastindex': [FAIL],
116 'built-ins/RegExp/prototype/Symbol.match/builtin-failure-set-lastindex-err': [PASS, FAIL],
117 'built-ins/RegExp/prototype/Symbol.match/builtin-failure-y-set-lastindex-err': [PASS, FAIL],
118 'built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err': [SKIP],
119 'built-ins/RegExp/prototype/Symbol.match/builtin-success-y-set-lastindex-err': [PASS, FAIL],
120 'built-ins/RegExp/prototype/Symbol.match/g-init-lastindex-err': [PASS, FAIL],
121 'built-ins/RegExp/prototype/Symbol.match/g-match-empty-set-lastindex-err': [PASS, FAIL],
122 'built-ins/RegExp/prototype/Symbol.match/y-fail-lastindex-no-write': [PASS, FAIL],
[all …]
/external/v8/src/ast/
Dprettyprinter.cc254 if (node->flags() & RegExp::kGlobal) Print("g"); in VisitRegExpLiteral()
255 if (node->flags() & RegExp::kIgnoreCase) Print("i"); in VisitRegExpLiteral()
256 if (node->flags() & RegExp::kMultiline) Print("m"); in VisitRegExpLiteral()
257 if (node->flags() & RegExp::kUnicode) Print("u"); in VisitRegExpLiteral()
258 if (node->flags() & RegExp::kSticky) Print("y"); in VisitRegExpLiteral()
795 if (node->flags() & RegExp::kGlobal) Print("g"); in VisitRegExpLiteral()
796 if (node->flags() & RegExp::kIgnoreCase) Print("i"); in VisitRegExpLiteral()
797 if (node->flags() & RegExp::kMultiline) Print("m"); in VisitRegExpLiteral()
798 if (node->flags() & RegExp::kUnicode) Print("u"); in VisitRegExpLiteral()
799 if (node->flags() & RegExp::kSticky) Print("y"); in VisitRegExpLiteral()
[all …]
/external/v8/src/parsing/
Dscanner.cc1439 Maybe<RegExp::Flags> Scanner::ScanRegExpFlags() { in ScanRegExpFlags()
1444 RegExp::Flags flag = RegExp::kNone; in ScanRegExpFlags()
1447 flag = RegExp::kGlobal; in ScanRegExpFlags()
1450 flag = RegExp::kIgnoreCase; in ScanRegExpFlags()
1453 flag = RegExp::kMultiline; in ScanRegExpFlags()
1456 flag = RegExp::kUnicode; in ScanRegExpFlags()
1459 flag = RegExp::kSticky; in ScanRegExpFlags()
1462 return Nothing<RegExp::Flags>(); in ScanRegExpFlags()
1464 if (flags & flag) return Nothing<RegExp::Flags>(); in ScanRegExpFlags()
1471 return Just(RegExp::Flags(flags)); in ScanRegExpFlags()
/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