HomeSort by relevance Sort by last modified time
    Searched defs:RegExp (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/v8/test/mjsunit/bugs/
bug-617.js 36 RegExp.prototype.exec = make_sure_we_dont_get_here;
  /external/chromium_org/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/chromium_org/v8/test/webkit/fast/js/
toString-overrides.js 34 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;
Object-getOwnPropertyNames.js 54 // 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', '$_', '$`', '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/
Array.js 204 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;
  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
regexp_adapter.h 18 // 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 {
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/
regexp.js 10 var $RegExp = global.RegExp;
17 // RegExp : Called as constructor; see ECMA-262, section 15.10.4.
71 // RegExp : Called as function; see ECMA-262, section 15.10.3.1.
75 return new $RegExp(pattern, flags);
79 // Deprecated RegExp.prototype.compile method. We behave like the constructor
80 // were called again. In SpiderMonkey, this method returns the regexp object.
88 // RegExp.prototype.compile and in the constructor, where they are
91 if (this == $RegExp.prototype) {
92 // We don't allow recompiling RegExp.prototype
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
re.h 80 typedef struct RegExp {
88 struct RegExp *exp;
89 struct RegExp *ctx;
97 struct RegExp *exp1, *exp2;
100 struct RegExp *exp;
103 struct RegExp *exp;
108 } RegExp;
110 static RegExp *
111 RegExp_isA(RegExp *r, RegExpType t)
116 void RegExp_split(RegExp*, CharSet*)
    [all...]
  /external/chromium_org/third_party/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...]
  /external/chromium_org/v8/include/
v8.h     [all...]

Completed in 360 milliseconds