OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RegExp
(Results
1 - 10
of
10
) sorted by null
/external/v8/test/mjsunit/bugs/
bug-617.js
36
RegExp
.prototype.exec = make_sure_we_dont_get_here;
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/
constructor-001.js
2
* File Name:
RegExp
/constructor-001.js
9
var SECTION = "
RegExp
/constructor-001";
11
var TITLE = "new
RegExp
()";
17
* - verify that [[Class]] property is
RegExp
18
* - prototype property should be set to
RegExp
.prototype
26
RegExp
.prototype.getClassProperty = Object.prototype.toString;
27
var re = new
RegExp
();
30
"new
RegExp
().__proto__",
31
RegExp
.prototype,
36
"
RegExp
.prototype.getClassProperty = Object.prototype.toString; "
[
all
...]
function-001.js
2
* File Name:
RegExp
/function-001.js
9
var SECTION = "
RegExp
/function-001";
11
var TITLE = "
RegExp
( pattern, flags )";
17
* - verify that [[Class]] property is
RegExp
18
* - prototype property should be set to
RegExp
.prototype
26
RegExp
.prototype.getClassProperty = Object.prototype.toString;
27
var re = new
RegExp
();
30
"new
RegExp
().__proto__",
31
RegExp
.prototype,
36
"
RegExp
.prototype.getClassProperty = Object.prototype.toString; "
[
all
...]
/external/v8/test/mjsunit/
regexp-string-methods.js
28
//
Regexp
shouldn't use String.prototype.slice()
35
//
Regexp
shouldn't use String.prototype.charAt()
36
var f1 = new
RegExp
("f", "i");
41
var f2 = new
RegExp
("[g]", "i");
47
// We match other browsers in using the original value of
RegExp
.prototype.exec.
48
// I.e.,
RegExp
.prototype.test shouldn't use the current value of
49
//
RegExp
.prototype.exec.
50
RegExp
.prototype.exec = function(string) { return 'x'; };
/external/webkit/Source/JavaScriptCore/runtime/
RegExp.cpp
24
#include "
RegExp
.h"
76
inline
RegExp
::
RegExp
(JSGlobalData* globalData, const UString& patternString, RegExpFlags flags)
90
RegExp
::~
RegExp
()
94
PassRefPtr<
RegExp
>
RegExp
::create(JSGlobalData* globalData, const UString& patternString, RegExpFlags flags)
96
RefPtr<
RegExp
> res = adoptRef(new
RegExp
(globalData, patternString, flags));
103
RegExp
::RegExpState RegExp::compile(JSGlobalData* globalData
[
all
...]
RegExp.h
38
class
RegExp
: public RefCounted<
RegExp
> {
40
static PassRefPtr<
RegExp
> create(JSGlobalData* globalData, const UString& pattern, RegExpFlags);
41
~
RegExp
();
60
RegExp
(JSGlobalData* globalData, const UString& pattern, RegExpFlags);
/external/v8/src/
regexp.js
31
var $
RegExp
= global.
RegExp
;
36
//
RegExp
: Called as constructor; see ECMA-262, section 15.10.4.
90
//
RegExp
: Called as function; see ECMA-262, section 15.10.3.1.
94
return new $
RegExp
(pattern, flags);
98
// Deprecated
RegExp
.prototype.compile method. We behave like the constructor
99
// were called again. In SpiderMonkey, this method returns the
regexp
object.
107
//
RegExp
.prototype.compile and in the constructor, where they are
110
if (this == $
RegExp
.prototype) {
111
// We don't allow recompiling
RegExp
.prototype
[
all
...]
/external/webkit/Source/WebCore/bridge/qt/
qt_runtime.cpp
101
RegExp
,
114
"
RegExp
", "Array", "RTObject", "Object", "Null", "RTArray"};
174
return
RegExp
;
226
case
RegExp
:
571
if (type ==
RegExp
) {
593
qConvDebug() << "couldn't parse a JS
regexp
";
851
RefPtr<JSC::
RegExp
>
regExp
= JSC::
RegExp
::create(&exec->globalData(), pattern, flags);
852
if (
regExp
->isValid()
[
all
...]
/external/v8/include/
v8.h
955
* Returns true if this value is a
RegExp
.
[
all
...]
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
mootools-1.2.2-core-nc.js
91
var natives = {'Array': Array, 'Date': Date, 'Function': Function, 'Number': Number, '
RegExp
':
RegExp
, 'String': String};
709
return ((typeof regex == 'string') ? new
RegExp
(regex, params) : regex).test(this);
775
substitute: function(object,
regexp
){
776
return this.replace(
regexp
|| (/\\?\{([^{}]+)\}/g), function(match, name){
[
all
...]
Completed in 1504 milliseconds