Searched defs:RegExp (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/v8/test/mjsunit/bugs/
H A Dbug-617.js36 RegExp.prototype.exec = make_sure_we_dont_get_here;
34 RegExp.prototype.exec = make_sure_we_dont_get_here; class
/external/chromium_org/v8/test/mjsunit/
H A Dregexp-string-methods.js36 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'; };
43 RegExp.prototype.exec = function(string) { return 'x'; }; class
/external/chromium_org/v8/test/webkit/fast/js/
H A DtoString-overrides.js34 var backupRegExpToString = RegExp.prototype.toString;
35 var backupRegExpToLocaleString = RegExp.prototype.toLocaleString;
40 RegExp.prototype.toString = function() { return "toString2"; }
41 RegExp.prototype.toLocaleString = function() { return "toLocaleString2"; }
50 RegExp.prototype.toLocaleString = "invalid";
64 RegExp.prototype.toString = backupRegExpToString;
65 RegExp.prototype.toLocaleString = backupRegExpToLocaleString;
39 RegExp.prototype.toString = function() { return "toString2"; } class
H A DObject-getOwnPropertyNames.js54 // RegExp objects
55 "new RegExp('foo')": "['global', 'ignoreCase', 'lastIndex', 'multiline', 'source']",
56 "(function(){var x=new RegExp();x.__proto__=[1,2,3];return x;})()": "['global', 'ignoreCase', 'lastIndex', 'multiline', 'source']",
88 "RegExp": "['$&', \"$'\", '$*', '$+', '$1', '$2', '$3', '$4', '$5', '$6', '$7', '$8', '$9', '$_', '$`', 'arguments', 'caller', 'input', 'lastMatch', 'lastParen', 'leftContext', 'length', 'multiline', 'name', 'prototype', 'rightContext']",
89 "RegExp.prototype": "['compile', 'constructor', 'exec', 'global', 'ignoreCase', 'lastIndex', 'multiline', 'source', 'test', 'toString']",
128 "RegExp",
/external/chromium_org/v8/test/webkit/fast/js/kde/
H A DArray.js204 var backupRegExpToString = RegExp.prototype.toString;
205 var backupRegExpToLocaleString = RegExp.prototype.toLocaleString;
210 RegExp.prototype.toString = function() { return "toString2"; }
211 RegExp.prototype.toLocaleString = function() { return "toLocaleString2"; }
220 RegExp.prototype.toLocaleString = "invalid";
234 RegExp.prototype.toString = backupRegExpToString;
235 RegExp.prototype.toLocaleString = backupRegExpToLocaleString;
209 RegExp.prototype.toString = function() { return "toString2"; } class
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dregexp_adapter.h18 // RegExp adapter to allow a pluggable regexp engine. It has been introduced
37 // Consume() method of RegExp which may differ depending on its various
50 class RegExp { class in namespace:i18n::phonenumbers
52 virtual ~RegExp() {}
151 // implementing RegExp and RegExpInput.
160 // Creates a new instance of RegExp. The deletion of the returned instance is
162 virtual RegExp* CreateRegExp(const string& utf8_regexp) const = 0;
/external/chromium_org/v8/src/
H A Dregexp.js10 var $RegExp = global.RegExp;
17 // RegExp : Called as constructor; see ECMA-262, section 15.10.4.
80 // RegExp : Called as function; see ECMA-262, section 15.10.3.1.
84 return new $RegExp(pattern, flags);
88 // Deprecated RegExp.prototype.compile method. We behave like the constructor
97 // RegExp.prototype.compile and in the constructor, where they are
100 if (this == $RegExp.prototype) {
101 // We don't allow recompiling RegExp.prototype.
103 ['RegExp
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dre.h80 typedef struct RegExp { struct
88 struct RegExp *exp;
89 struct RegExp *ctx;
97 struct RegExp *exp1, *exp2;
100 struct RegExp *exp;
103 struct RegExp *exp;
108 } RegExp; typedef in typeref:struct:RegExp
110 static RegExp *
111 RegExp_isA(RegExp *r, RegExpType t)
116 void RegExp_split(RegExp*, CharSe
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
H A Dmootools-1.2.2-core-nc.js91 var natives = {'Array': Array, 'Date': Date, 'Function': Function, 'Number': Number, 'RegExp': RegExp, 'String': String}; property
709 return ((typeof regex == 'string') ? new RegExp(regex, params) : regex).test(this);
1675 this.className = this.className.replace(new RegExp('(^|\\s)' + className + '(?:\\s|$)'), '$1');
/external/chromium_org/v8/include/
H A Dv8.h1559 * Returns true if this value is a RegExp.
3270 * An instance of the built-in RegExp constructor (ECMA-262, 15.10).
3272 class V8_EXPORT RegExp : public Object { class in namespace:v8
3291 * RegExp::New(v8::String::New("foo"),
3292 * static_cast<RegExp::Flags>(kGlobal | kMultiline))
3295 static Local<RegExp> New(Handle<String> pattern, Flags flags);
3308 V8_INLINE static RegExp* Cast(v8::Value* obj);
6622 RegExp* RegExp::Cast(v8::Value* value) {
6626 return static_cast<RegExp*>(valu
[all...]

Completed in 333 milliseconds