HomeSort by relevance Sort by last modified time
    Searched refs:RegExp (Results 101 - 125 of 204) sorted by null

1 2 3 45 6 7 8 9

  /external/v8/test/mjsunit/
string-replace.js 195 // Test nested calls to replace, including that it sets RegExp.$& correctly.
198 assertEquals(m,RegExp['$&']);
199 return "[" + RegExp['$&'] + "-"
201 + m.replace(/./g,function() { return RegExp['$&']; })
202 + "-" + RegExp['$&'] + "]";
regexp-standalones.js 28 /* Many of the Mozilla regexp tests used 'toSource' to test their
33 // Tests from ecma_3/RegExp/regress-78156.js
58 // Tests from ecma_3/RegExp/regress-72964.js
stack-traces-2.js 73 testTraceNativeConversion(RegExp); // Does ToString on argument.
77 testTraceNativeConstructor(RegExp); // Does ToString on argument.
regexp-captures.js 29 var r = new RegExp(re)
typeof.js 31 var r = new RegExp;
function-names.js 102 // RegExp.prototype functions.
105 TestFunctionNames(RegExp.prototype, regExpPrototypeFunctions);
fuzz-accessors.js 45 RegExp,
  /external/v8/test/mjsunit/compiler/
literals.js 41 assertEquals("\\x1/", RegExp("\\x1/").source);
42 assertEquals("\\u111/", RegExp("\\u111/").source);
  /external/v8/test/mjsunit/regress/
regress-254.js 30 // RegExp with global flag: exec and test updates lastIndex.
45 // RegExp without global flag: exec and test leavs lastIndex at zero.
short-circuit.js 31 arr.push(new RegExp("prefix" + i.toString() + i.toString() + i.toString()));
regress-1748.js 29 // Bug in x64 caused it to match when executing the RegExp on a part
regress-regexp-codeflush.js 30 // Regression test for regexp that has multiple matches and which
32 // ensuring that the regexp is compiled.
36 var re = new RegExp('(s)', "g");
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/
15.9.5.4.js 49 var regexp = ''; variable
53 var cnERR ='OOPS! FATAL ERROR: no regexp match in extractTimeString()';
144 * Thus, use a regexp of the form /date.toDateString()(.*)$/
149 regexp = new RegExp(date.toDateString() + '(.*)' + '$');
153 hopeThisIsTimeString = date.toString().match(regexp)[1];
15.9.5.7.js 53 var regexp = ''; variable
57 var cnERR ='OOPS! FATAL ERROR: no regexp match in extractLocaleTimeString()';
147 * So first, use a regexp of the form /date.toDateString()(.*)$/
154 regexp = new RegExp(date.toDateString() + '(.*)' + '$');
157 TimeString = date.toString().match(regexp)[1];
169 regexp= /([^G]*)GMT.*/;
172 hopeThisIsLocaleTimeString = TimeString.match(regexp)[1];
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Exceptions/
regress-181914.js 164 return err.toString().search(RegExp(pattern));
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
octal-002.js 39 * This is an elaboration of mozilla/js/tests/ecma_2/RegExp/octal-003.js
84 * We should get no match from the regexp /.\011/, because it should be
99 * Should get a match now, because the octal escape sequence in the regexp
174 * Unlike Section 1, use the RegExp() function to create the
175 * regexp pattern: null character followed by the string '11'.
181 pattern = RegExp(string);
regress-85721.js 38 * SUMMARY: Performance: Regexp performance degraded from 4.7
78 * The first regexp. We'll test for performance (Section 1) and accuracy (Section 2).
102 * The second regexp (HUGE!). We'll test for performance (Section 3) and accuracy (Section 4).
254 re = new RegExp($mailbox, "g");
shell.js 22 * Functionality common to RegExp testing -
30 var ERR_MATCH = '\nERROR !!! regexp failed to give expected match array:';
31 var ERR_NO_MATCH = '\nERROR !!! regexp FAILED to match anything !!!';
32 var ERR_UNEXP_MATCH = '\nERROR !!! regexp MATCHED when we expected it to fail !!!';
47 var pattern = new RegExp();
  /external/v8/test/mjsunit/bugs/
bug-617.js 36 RegExp.prototype.exec = make_sure_we_dont_get_here;
  /external/v8/test/preparser/
strict-octal-regexp.js 28 // Strict mode with octal escape in RegExp literal.
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/
split-002.js 12 * are already tests for regular expressions in the js1_2/regexp folder.
15 * our implementation of RegExp conforms to the ECMA specification, but
22 * String.split where separator is a RegExp are in
23 * js1_2/regexp/string_split.js
29 var TITLE = "String.prototype.split( regexp, [,limit] )";
38 // AddSplitCases( "splitme", new RegExp(), "new RegExp()", ["s", "p", "l", "i", "t", "m", "e"] );
40 // separator is an empty regexp
86 // separartor is a regexp
87 // separator regexp value global setting is se
    [all...]
  /external/webkit/Source/JavaScriptCore/jit/
JITStubs.h 60 class RegExp;
73 RegExp* regExp() { return static_cast<RegExp*>(asPointer); }
  /external/v8/src/
api.h 176 static inline Local<RegExp> ToLocal(
214 OpenHandle(const RegExp* data);
271 MAKE_TO_LOCAL(ToLocal, JSRegExp, RegExp)
304 MAKE_OPEN_HANDLE(RegExp, JSRegExp)
  /external/webkit/Source/JavaScriptCore/parser/
Lexer.h 38 class RegExp;
  /external/webkit/Source/JavaScriptCore/runtime/
RegExpObject.cpp 52 const ClassInfo RegExpObject::s_info = { "RegExp", &JSObjectWithGlobalObject::s_info, 0, ExecState::regExpTable };
64 RegExpObject::RegExpObject(JSGlobalObject* globalObject, Structure* structure, NonNullPassRefPtr<RegExp> regExp)
66 , d(adoptPtr(new RegExpObjectData(regExp)))
94 return jsBoolean(asRegExpObject(slotBase)->regExp()->global());
99 return jsBoolean(asRegExpObject(slotBase)->regExp()->ignoreCase());
104 return jsBoolean(asRegExpObject(slotBase)->regExp()->multiline());
109 return jsString(exec, asRegExpObject(slotBase)->regExp()->pattern());
145 if (!regExp()->global()) {
148 regExpConstructor->performMatch(d->regExp.get(), input, 0, position, length)
    [all...]

Completed in 587 milliseconds

1 2 3 45 6 7 8 9