/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...] |
regexp-extended-characters-crash-expected.txt | 29 PASS new RegExp("[À-?]").toString() is /[À-?]/.toString() 30 PASS new RegExp("[?-?]").toString() is /[?-?]/.toString() 31 PASS new RegExp("[?-?]").toString() is /[?-?]/.toString() 32 PASS new RegExp("[?-?]").toString() is /[?-?]/.toString() 33 PASS new RegExp("[-?]").toString() is /[-?]/.toString() [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/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/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...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
ExpressionTest.java | 41 assertEquals("hello", mBinder.textView0.getText().toString()); 44 assertEquals("hello", mBinder.textView0.getText().toString()); 48 assertEquals("hello", mBinder.textView0.getText().toString()); 51 assertEquals("world", mBinder.textView0.getText().toString()); 60 assertEquals("hello", mBinder.textView1.getText().toString()); 63 assertEquals("world", mBinder.textView1.getText().toString()); 67 assertEquals("world", mBinder.textView1.getText().toString()); 70 assertEquals("world", mBinder.textView1.getText().toString()); 78 assertEquals("0", mBinder.textView2.getText().toString()); // var1 & var2 79 assertEquals("0", mBinder.textView3.getText().toString()); // var1 | var [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();
|
/external/v8/test/mjsunit/regress/ |
regress-124.js | 28 assertEquals("[object global]", this.toString()); 29 assertEquals("[object Undefined]", toString()); 31 assertEquals("[object global]", eval("this.toString()")); 32 assertEquals("[object Undefined]", eval("toString()")); 34 assertEquals("[object global]", eval("var f; this.toString()")); 35 assertEquals("[object Undefined]", eval("var f; toString()")); 39 assertEquals("[object global]", this.toString()); 40 assertEquals("[object Undefined]", toString()); 42 assertEquals("[object global]", eval("this.toString()")); 43 assertEquals("[object Undefined]", eval("toString()")); [all...] |
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigIntegerToStringTest.java | 33 String sBI = bi.toString(); 34 assertEquals("toString method returns incorrect value instead of " + s, sBI, "0"); 40 String sBI = bi.toString(); 41 assertEquals("toString method returns incorrect value instead of " + s, sBI, s); 47 String sBI = bi.toString(); 48 assertEquals("toString method returns incorrect value instead of " + s, sBI, s); 55 String sBI = bi.toString(); 56 assertEquals("toString method returns incorrect value instead of " + s, sBI, s); 63 String sBI = bi.toString(); 64 assertEquals("toString method returns incorrect value instead of " + s, sBI, s) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
Log.java | 56 android.util.Log.v(LOG_TAG, toString(message, null)); 61 android.util.Log.v(LOG_TAG, toString(message, t)); 66 android.util.Log.d(LOG_TAG, toString(message, null)); 71 android.util.Log.d(LOG_TAG, toString(message, t)); 76 android.util.Log.i(LOG_TAG, toString(message, null)); 81 android.util.Log.i(LOG_TAG, toString(message, t)); 85 android.util.Log.w(LOG_TAG, toString(message, null)); 89 android.util.Log.w(LOG_TAG, toString(message, t)); 93 android.util.Log.e(LOG_TAG, toString(message, null)); 97 android.util.Log.e(LOG_TAG, toString(message, t)) [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/ |
Log.java | 54 android.util.Log.v(LOG_TAG, toString(message, null)); 59 android.util.Log.v(LOG_TAG, toString(message, t)); 64 android.util.Log.d(LOG_TAG, toString(message, null)); 69 android.util.Log.d(LOG_TAG, toString(message, t)); 74 android.util.Log.i(LOG_TAG, toString(message, null)); 79 android.util.Log.i(LOG_TAG, toString(message, t)); 83 android.util.Log.w(LOG_TAG, toString(message, null)); 87 android.util.Log.w(LOG_TAG, toString(message, t)); 91 android.util.Log.e(LOG_TAG, toString(message, null)); 95 android.util.Log.e(LOG_TAG, toString(message, t)) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/blockparser/ |
Statement.java | 40 private String toString(int indent){ 47 sb.append(statement.toString(indent+4)); 53 return sb.toString(); 57 public String toString(){ 58 return toString(0);
|