Searched defs:valueOf (Results 1 - 16 of 16) sorted by relevance
/external/v8/test/mjsunit/regress/ |
H A D | regress-1327557.js | 28 var x = { valueOf: function() { throw "x"; } }; 29 var y = { valueOf: function() { throw "y"; } };
|
/external/v8/test/mjsunit/ |
H A D | to_number_order.js | 33 v.valueOf = vv; 34 w.valueOf = ww; 51 var year = { valueOf: function() { x += 1; return 2007; } }; 52 var month = { valueOf: function() { x += 2; return 2; } }; 53 var date = { valueOf: function() { x += 3; return 4; } }; 54 var hours = { valueOf: function() { x += 4; return 13; } }; 55 var minutes = { valueOf: function() { x += 5; return 50; } }; 56 var seconds = { valueOf: function() { x += 6; return 0; } }; 57 var ms = { valueOf: function() { x += 7; return 999; } }; 125 var a = { valueOf [all...] |
H A D | double-equals.js | 113 this.valueOf = function () { return this.value; };
|
H A D | math-min-max.js | 53 o.valueOf = function() { return 1; }; 86 o.valueOf = function() { return 3; };
|
H A D | negate.js | 43 var x = { valueOf: function() { return 2; } }; 44 var y = { valueOf: function() { return 3; } }; 51 var v = { valueOf: function() { z+=2; return z; } }; 52 var w = { valueOf: function() { z+=3; return z; } };
|
H A D | array-splice.js | 191 spliced = array.splice({valueOf: function() { return 1; }}, 206 bad_start = { valueOf: function() { array.push(2*i); return -1; } }; 207 bad_count = { valueOf: function() { array.push(2*i + 1); return 1; } };
|
H A D | const.js | 53 const o = { valueOf: function() { valueOfCount++; return 42; } }
|
H A D | json.js | 30 n1.valueOf = function () { return alternative; }; 33 n2.valueOf = null; 36 n3.valueOf = function () { return {}; }; 39 n4.valueOf = function () {
|
H A D | stack-traces.js | 53 Nirk.prototype.valueOf = function () { FAIL; }; 190 testTrace("testImplicitConversion", testImplicitConversion, ["at Nirk.valueOf"]);
|
/external/webkit/LayoutTests/fast/dom/Geolocation/resources/ |
H A D | argument-types.js | 27 ObjectThrowingException.prototype.valueOf = function() { 28 throw new Error('valueOf threw exception'); 98 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:objectThrowingException})', true, 'Error: valueOf threw exception'); 109 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout:objectThrowingException})', true, 'Error: valueOf threw exception');
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
H A D | try-007.js | 27 throw EXCEPTION_STRING +": " + this.valueOf(); 36 return this.valueOf(); 62 this.valueOf = function () { return this.value; }
|
/external/v8/benchmarks/ |
H A D | base.js | 57 BenchmarkResult.prototype.valueOf = function() {
|
/external/webkit/WebCore/bridge/c/ |
H A D | c_instance.cpp | 226 return valueOf(exec); 248 JSValue CInstance::valueOf(ExecState* exec) const function in class:JSC::Bindings::CInstance
|
/external/webkit/WebCore/bridge/jni/jsc/ |
H A D | JavaInstanceJSC.cpp | 320 return valueOf(exec); 323 JSValue JavaInstance::valueOf(ExecState* exec) const function in class:JavaInstance
|
/external/webkit/WebCore/bridge/qt/ |
H A D | qt_instance.cpp | 250 return valueOf(exec); 308 JSValue QtInstance::valueOf(ExecState* exec) const function in class:JSC::Bindings::QtInstance
|
H A D | qt_pixmapruntime.cpp | 142 return inst->valueOf(exec); 240 return valueOf(exec); 244 JSValue QtPixmapInstance::valueOf(ExecState* exec) const function in class:JSC::Bindings::QtPixmapInstance
|
Completed in 155 milliseconds