/external/slf4j/log4j-over-slf4j/compatibility/src/main/java/test/ |
DummyObject.java | 5 public String toString() {
|
/external/v8/test/webkit/fast/js/ |
toString-number-expected.txt | 24 Test the conversion performed by the function Number.prototype.toString. 29 PASS Number(0).toString() is "0" 30 PASS Number.prototype.toString.call(0) is "0" 31 PASS Number.prototype.toString.call(new Number(0)) is "0" 32 PASS Number("0").toString() is "0" 33 PASS Number(0).toString(10) is "0" 34 PASS Number(0).toString(2) is "0" 35 PASS Number.prototype.toString.call(0, 2) is "0" 36 PASS Number.prototype.toString.call(new Number(0), 2) is "0" 37 PASS Number(0).toString(36) is "0 [all...] |
number-toString.js | 28 shouldBeEqualToString("(0.0).toString(4)", "0"); 29 shouldBeEqualToString("(-0.0).toString(4)", "0"); 30 shouldBeEqualToString("(0.0).toString()", "0"); 31 shouldBeEqualToString("(-0.0).toString()", "0"); 34 shouldBeEqualToString("(1234.567).toString()", "1234.567"); 35 shouldThrow("(1234.567).toString(0)"); 37 shouldThrow("(1234.567).toString(null)"); 38 shouldThrow("(1234.567).toString(false)"); 39 shouldThrow("(1234.567).toString('foo')"); 40 shouldThrow("(1234.567).toString(nan)"); // nan is treated like [all...] |
number-toString-expected.txt | 24 PASS (0.0).toString(4) is "0" 25 PASS (-0.0).toString(4) is "0" 26 PASS (0.0).toString() is "0" 27 PASS (-0.0).toString() is "0" 28 PASS (1234.567).toString() is "1234.567" 29 PASS (1234.567).toString(0) threw exception RangeError: toString() radix argument must be between 2 and 36. 30 PASS (1234.567).toString(null) threw exception RangeError: toString() radix argument must be between 2 and 36. 31 PASS (1234.567).toString(false) threw exception RangeError: toString() radix argument must be between 2 and 36 [all...] |
regexp-unicode-handling-expected.txt | 39 PASS inlineRe.toString() is newFromInlineRe.toString() 40 PASS inlineRe.toString() is evalFromInlineRe.toString() 41 PASS inlineRe.toString() is evalInlineRe.toString() 42 PASS inlineRe.toString() is newFromEvalInlineRe.toString() 43 PASS inlineRe.toString() is evalFromEvalInlineRe.toString() [all...] |
regexp-no-extensions.js | 31 shouldBe('/[\\x{41}]/.exec("yA1").toString()', '"1"'); 32 shouldBe('/\\x1g/.exec("x1g").toString()', '"x1g"'); 33 shouldBe('/[\\x1g]/.exec("x").toString()', '"x"'); 34 shouldBe('/[\\x1g]/.exec("1").toString()', '"1"'); 35 shouldBe('/\\2147483648/.exec(String.fromCharCode(140) + "7483648").toString()', 'String.fromCharCode(140) + "7483648"'); 36 shouldBe('/\\4294967296/.exec("\\"94967296").toString()', '"\\"94967296"'); 37 shouldBe('/\\8589934592/.exec("\\\\8589934592").toString()', '"\\\\8589934592"'); 47 shouldBe('/\\060/.exec("y01").toString()', '"0"'); 48 shouldBe('/[\\060]/.exec("y01").toString()', '"0"'); 49 shouldBe('/\\606/.exec("y06").toString()', '"06"') [all...] |
regexp-unicode-handling.js | 66 var evalFromInlineRe=eval(inlineRe.toString()) 68 var evalFromEvalInlineRe=eval(evalInlineRe.toString()) 70 var evalFromExplicitRe=eval(explicitRe.toString()) 81 shouldBe("inlineRe.toString()", "newFromInlineRe.toString()") 82 shouldBe("inlineRe.toString()", "evalFromInlineRe.toString()") 83 shouldBe("inlineRe.toString()", "evalInlineRe.toString()") 84 shouldBe("inlineRe.toString()", "newFromEvalInlineRe.toString()" [all...] |
regexp-ranges-and-escaped-hyphens-expected.txt | 29 PASS regexp01.toString() is "1235" 30 PASS regexp01a.toString() is "123 5" 31 PASS regexp01b.toString() is "1-3 5" 32 PASS regexp01c.toString() is "1-3 5" 33 PASS regexp01d.toString() is "123 5" 34 PASS regexp01e.toString() is "123 5" 35 PASS regexp01f.toString() is "-3" 36 PASS regexp01g.toString() is "2-" 37 PASS regexp02.toString() is "1-35" 38 PASS regexp02a.toString() is "1-3 5 [all...] |
/external/v8/test/webkit/ |
integer-extremes-expected.txt | 29 PASS (-1).toString() is "-1" 30 PASS (0).toString() is "0" 31 PASS (-0).toString() is "0" 34 PASS min.toString() is "-128" 35 PASS (min - 1).toString() is "-129" 36 PASS max.toString() is "127" 37 PASS (max + 1).toString() is "128" 39 PASS min.toString() is "-256" 40 PASS (min - 1).toString() is "-257" 41 PASS max.toString() is "255 [all...] |
dfg-to-string-side-effect-expected.txt | 24 Tests that we do ToString conversions correctly when String.prototype.valueOf is not what we wanted. 30 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42" 32 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42" 34 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42" 36 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42" 38 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42" 40 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42" 42 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42" 44 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42" 46 PASS "" + foo({toString:function() { debug("hello"); return 42; }}) is "42 [all...] |
numeric-conversion-expected.txt | 29 PASS Number(1152921504606847105).toString() is '1152921504606847200' 30 PASS parseInt('1152921504606847105').toString() is '1152921504606847200' 31 PASS (- (- '1152921504606847105')).toString() is '1152921504606847200' 32 PASS Number(0x1000000000000081).toString(16) is '1000000000000100' 33 PASS parseInt('0x1000000000000081', 16).toString(16) is '1000000000000100' 34 PASS (- (- '0x1000000000000081')).toString(16) is '1000000000000100' 35 PASS Number(0100000000000000000201).toString(8) is '100000000000000000400' 36 PASS parseInt('100000000000000000201', 8).toString(8) is '100000000000000000400' 37 PASS (- 'infinity').toString() is 'NaN' 38 PASS parseInt('1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000').toString() is 'Infinity [all...] |
numeric-conversion.js | 28 shouldBe("Number(1152921504606847105).toString()", "'1152921504606847200'"); 29 shouldBe("parseInt('1152921504606847105').toString()", "'1152921504606847200'"); 30 shouldBe("(- (- '1152921504606847105')).toString()", "'1152921504606847200'"); 32 shouldBe("Number(0x1000000000000081).toString(16)", "'1000000000000100'"); 33 shouldBe("parseInt('0x1000000000000081', 16).toString(16)", "'1000000000000100'"); 34 shouldBe("(- (- '0x1000000000000081')).toString(16)", "'1000000000000100'"); 36 shouldBe("Number(0100000000000000000201).toString(8)", "'100000000000000000400'"); 37 shouldBe("parseInt('100000000000000000201', 8).toString(8)", "'100000000000000000400'"); 39 shouldBe("(- 'infinity').toString()", "'NaN'"); 41 shouldBe("parseInt('1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000').toString()", "'Infinity'") [all...] |
/external/v8/test/mjsunit/harmony/ |
to-string.js | 7 assertEquals("1", %ToString(1)); 10 assertEquals("0.5", %ToString(.5)); 13 assertEquals("null", %ToString(null)); 16 assertEquals("true", %ToString(true)); 19 assertEquals("false", %ToString(false)); 22 assertEquals("undefined", %ToString(undefined)); 25 assertEquals("random text", %ToString("random text")); 28 assertThrows(function() { %ToString(Symbol.toPrimitive) }, TypeError); 31 var a = { toString: function() { return "xyz" }}; 32 assertEquals("xyz", %ToString(a)) [all...] |
/external/v8/test/webkit/fast/js/kde/ |
object_prototype_tostring.js | 26 _array.toString = Object.prototype.toString; 27 shouldBe("_array.toString()","\"[object Array]\""); 29 _string.toString = Object.prototype.toString; 30 shouldBe("_string.toString()","\"[object String]\""); 32 _boolean.toString = Object.prototype.toString; 33 shouldBe("_boolean.toString()","\"[object Boolean]\""); 35 _number.toString = Object.prototype.toString [all...] |
/external/opencv3/modules/core/misc/java/src/java/ |
core+CvException.java | 12 public String toString() { 13 return "CvException [" + super.toString() + "]";
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-523308.js | 7 toString = error.toString; 9 assertEquals("Error: reference_error is not defined", toString.call(error));
|
/external/v8/test/mjsunit/ |
number-tostring-small.js | 28 // This file is a concatenation of the number-tostring and 33 // toString 34 (NaN).toString(); 35 (1/0).toString(); 36 (-1/0).toString(); 37 (0).toString(); 38 (9).toString(); 39 (90).toString(); 40 (90.12).toString(); 41 (0.1).toString(); [all...] |
string-concat.js | 5 function Stringified(toString) { 6 var valueOf = "-" + toString + "-"; 8 toString: function() { return toString; },
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
ExpressionTest.java | 38 assertEquals("hello", mBinder.textView0.getText().toString()); 41 assertEquals("hello", mBinder.textView0.getText().toString()); 45 assertEquals("hello", mBinder.textView0.getText().toString()); 48 assertEquals("world", mBinder.textView0.getText().toString()); 57 assertEquals("hello", mBinder.textView1.getText().toString()); 60 assertEquals("world", mBinder.textView1.getText().toString()); 64 assertEquals("world", mBinder.textView1.getText().toString()); 67 assertEquals("world", mBinder.textView1.getText().toString()); 75 assertEquals("0", mBinder.textView2.getText().toString()); // var1 & var2 76 assertEquals("0", mBinder.textView3.getText().toString()); // var1 | var [all...] |
BracketTest.java | 66 assertEquals("Hello World", mBinder.arrayText.getText().toString()); 67 assertEquals("Hello", mBinder.sparseArrayText.getText().toString()); 68 assertEquals("World", mBinder.longSparseArrayText.getText().toString()); 69 assertEquals("100", mBinder.sparseIntArrayText.getText().toString()); 70 assertEquals("true", mBinder.sparseBooleanArrayText.getText().toString()); 71 assertEquals("5", mBinder.sparseLongArrayText.getText().toString()); 78 assertEquals("", mBinder.arrayText.getText().toString()); 79 assertEquals("", mBinder.sparseArrayText.getText().toString()); 80 assertEquals("", mBinder.longSparseArrayText.getText().toString()); 81 assertEquals("0", mBinder.sparseIntArrayText.getText().toString()); [all...] |
/external/hamcrest/src/org/hamcrest/ |
StringDescription.java | 27 public static String toString(SelfDescribing value) {
28 return new StringDescription().appendDescriptionOf(value).toString();
32 * Alias for {@link #toString(SelfDescribing)}.
35 return toString(selfDescribing);
57 public String toString() {
58 return out.toString();
|
BaseMatcher.java | 20 public String toString() { 21 return StringDescription.toString(this);
|
/external/nist-sip/java/javax/sip/address/ |
Hop.java | 11 String toString();
|
URI.java | 10 String toString();
|
/system/update_engine/update_manager/ |
boxed_value_unittest.cc | 111 BoxedValue(new string("Hej Verden!")).ToString()); 115 EXPECT_EQ("42", BoxedValue(new int(42)).ToString()); 121 new int64_t(-123456789012345LL)).ToString()); 127 BoxedValue(new unsigned int(4294967295U)).ToString()); // NOLINT 133 new uint64_t(18446744073709551615ULL)).ToString()); 137 EXPECT_EQ("false", BoxedValue(new bool(false)).ToString()); 138 EXPECT_EQ("true", BoxedValue(new bool(true)).ToString()); 142 EXPECT_EQ("1.501", BoxedValue(new double(1.501)).ToString()); 148 BoxedValue(new Time(Time::FromTimeT(1398810655))).ToString()); 155 .ToString()); [all...] |