HomeSort by relevance Sort by last modified time
    Searched defs:valueOf (Results 1 - 25 of 356) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/v8/test/mjsunit/regress/
regress-1327557.js 28 var x = { valueOf: function() { throw "x"; } };
29 var y = { valueOf: function() { throw "y"; } };
regress-3006390.js 29 X.prototype.valueOf = function () { return 7; }
regress-760-1.js 28 // Check that when valueOf for a String object is overwritten it is called and
33 String.prototype.valueOf = function() { return 'y' };
regress-760-2.js 28 // Check that when valueOf for a String object is overwritten it is called and
35 o.valueOf = function() { return 'y' };
42 o.valueOf = function() { return 'y' };
regress-1412.js 46 Object.prototype.valueOf.apply(receiver, arguments);
regress-1233.js 29 // call toString or valueOf on members of the object.
36 delicate.valueOf = function(){ throw Error("valueOf"); };
regress-1365.js 36 var valueOf = Object.prototype.valueOf;
39 function callGlobalValueOf() { valueOf(); }
40 function callGlobalHasOwnProperty() { valueOf(); }
42 assertEquals(Object.prototype, Object.prototype.valueOf());
46 %OptimizeFunctionOnNextCall(Object.prototype.valueOf);
47 Object.prototype.valueOf();
49 assertEquals(Object.prototype, Object.prototype.valueOf());
54 var valueOf = Object.prototype.valueOf;
    [all...]
  /external/v8/test/mjsunit/
to_number_order.js 33 v.valueOf = vv;
34 w.valueOf = ww;
59 var year = { valueOf: function() { x += 1; return 2007; } };
60 var month = { valueOf: function() { x += 2; return 2; } };
61 var date = { valueOf: function() { x += 3; return 4; } };
62 var hours = { valueOf: function() { x += 4; return 13; } };
63 var minutes = { valueOf: function() { x += 5; return 50; } };
64 var seconds = { valueOf: function() { x += 6; return 0; } };
65 var ms = { valueOf: function() { x += 7; return 999; } };
134 var a = { valueOf: function() { x += "hest"; return 97; } }
    [all...]
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; } };
value-of.js 31 o.valueOf = function() { throw new MyException(); }
array-splice.js 207 spliced = array.splice({valueOf: function() { return 1; }},
222 bad_start = { valueOf: function() { array.push(2*i); return -1; } };
223 bad_count = { valueOf: function() { array.push(2*i + 1); return 1; } };
const.js 53 const o = { valueOf: function() { valueOfCount++; return 42; } };
double-equals.js 51 this.valueOf = function () { return this.value; };
55 // valueOf isn't a function.
58 this.valueOf = null;
195 // and valueOf second.
198 dnow.valueOf = function () { return "42"; };
217 valueOf: null,
parse-int-float.js 104 var throwingRadix = { valueOf: function() { state = "throwingRadix"; throw null; } };
stack-traces-2.js 33 var thrower = { valueOf: function() { FAIL; },
math-min-max.js 65 o.valueOf = function() { return 1; };
98 o.valueOf = function() { return 3; };
173 v9.valueOf = function() { return 6; }
  /external/v8/test/mjsunit/compiler/
recursive-deopt.js 44 var one = { valueOf: function() { return 1; } };
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Integers.java 5 public static Integer valueOf(int value)
7 return Integer.valueOf(value);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowColorStateList.java 11 public static ColorStateList valueOf(int color) {
  /external/webkit/LayoutTests/fast/dom/DeviceMotion/script-tests/
optional-event-properties.js 4 ObjectThrowingException.prototype.valueOf = function() { throw new Error('valueOf threw exception'); }
38 testException("event.initDeviceMotionEvent('', false, false, {x: objectThrowingException, y: 1, z: 2}, {x: 3, y: 4, z: 5}, {alpha: 6, beta: 7, gamma: 8}, 9)", "Error: valueOf threw exception");
39 testException("event.initDeviceMotionEvent('', false, false, {x: 0, y: 1, z: 2}, {x: 3, y: objectThrowingException, z: 5}, {alpha: 6, beta: 7, gamma: 8}, 9)", "Error: valueOf threw exception");
40 testException("event.initDeviceMotionEvent('', false, false, {x: 0, y: 1, z: 2}, {x: 3, y: 4, z: 5}, {alpha: 6, beta: 7, gamma: objectThrowingException}, 9)", "Error: valueOf threw exception");
  /frameworks/base/core/java/android/text/
SpannedString.java 41 public static SpannedString valueOf(CharSequence source) {
SpannableString.java 37 public static SpannableString valueOf(CharSequence source) {
  /cts/tests/src/android/text/method/cts/
TextMethodUtils.java 36 Assert.assertEquals(String.valueOf(expected), String.valueOf(actual));
  /external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
argument-types.js 27 ObjectThrowingException.prototype.valueOf = function() {
28 throw new Error('valueOf threw exception');
100 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:objectThrowingException})', true, 'Error: valueOf threw exception');
111 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout:objectThrowingException})', true, 'Error: valueOf threw exception');
  /libcore/luni/src/main/native/
valueOf.cpp 17 #define LOG_TAG "valueOf"
19 #include "valueOf.h"
24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) {
25 static jmethodID valueOfMethod = env->GetStaticMethodID(c, "valueOf", signature);
30 return valueOf(env, JniConstants::booleanClass, "(Z)Ljava/lang/Boolean;", value);
34 return valueOf(env, JniConstants::doubleClass, "(D)Ljava/lang/Double;", value);
38 return valueOf(env, JniConstants::integerClass, "(I)Ljava/lang/Integer;", value);
42 return valueOf(env, JniConstants::longClass, "(J)Ljava/lang/Long;", value);

Completed in 2394 milliseconds

1 2 3 4 5 6 7 8 91011>>