HomeSort by relevance Sort by last modified time
    Searched full:tostring (Results 26 - 50 of 4246) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/v8/test/mjsunit/regress/
regress-124.js 28 assertEquals("[object global]", this.toString());
29 assertEquals("[object global]", toString());
31 assertEquals("[object global]", eval("this.toString()"));
32 assertEquals("[object global]", eval("toString()"));
34 assertEquals("[object global]", eval("var f; this.toString()"));
35 assertEquals("[object global]", eval("var f; toString()"));
39 assertEquals("[object global]", this.toString());
40 assertEquals("[object global]", toString());
42 assertEquals("[object global]", eval("this.toString()"));
43 assertEquals("[object global]", eval("toString()"));
    [all...]
  /packages/apps/Email/src/org/apache/james/mime4j/
Log.java 54 android.util.Log.v(Email.LOG_TAG, toString(message, null));
59 android.util.Log.v(Email.LOG_TAG, toString(message, t));
64 android.util.Log.d(Email.LOG_TAG, toString(message, null));
69 android.util.Log.d(Email.LOG_TAG, toString(message, t));
74 android.util.Log.i(Email.LOG_TAG, toString(message, null));
79 android.util.Log.i(Email.LOG_TAG, toString(message, t));
83 android.util.Log.w(Email.LOG_TAG, toString(message, null));
87 android.util.Log.w(Email.LOG_TAG, toString(message, t));
91 android.util.Log.e(Email.LOG_TAG, toString(message, null));
95 android.util.Log.e(Email.LOG_TAG, toString(message, t))
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.2.js 24 ECMA Section: 15.5.4.2 String.prototype.toString
34 var TITLE = "String.prototype.tostring";
45 array[item++] = new TestCase( SECTION, "String.prototype.toString.__proto__", Function.prototype, String.prototype.toString.__proto__ );
47 "String.prototype.toString() == String.prototype.valueOf()",
49 String.prototype.toString() == String.prototype.valueOf() );
51 array[item++] = new TestCase( SECTION, "String.prototype.toString()", "", String.prototype.toString() );
52 array[item++] = new TestCase( SECTION, "String.prototype.toString.length", 0, String.prototype.toString.length )
    [all...]
15.5.4.2-2-n.js 24 ECMA Section: 15.5.4.2 String.prototype.toString()
27 object, the toString() method happens to return the same
30 The toString function is not generic; it generates a
42 var TITLE = "String.prototype.toString";
69 "var tostr=String.prototype.toString; astring=new Number(); astring.toString = tostr; astring.toString()",
71 "var tostr=String.prototype.toString; astring=new Number(); astring.toString = tostr; astring.toString()" );
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/
15.4.4.2.js 24 ECMA Section: 15.4.4.2 Array.prototype.toString()
37 var TITLE = "Array.prototype.toString";
48 array[item++] = new TestCase( SECTION, "Array.prototype.toString.length", 0, Array.prototype.toString.length );
50 array[item++] = new TestCase( SECTION, "(new Array()).toString()", "", (new Array()).toString() );
51 array[item++] = new TestCase( SECTION, "(new Array(2)).toString()", ",", (new Array(2)).toString() );
52 array[item++] = new TestCase( SECTION, "(new Array(0,1)).toString()", "0,1", (new Array(0,1)).toString() );
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.1.1-1.js 45 var MyObject = Function( "value", "this.value = value; this.valueOf = Function( 'return this.value' ); this.toString = Function( 'return String(this.value);' )" );
55 myfunc.toString = Object.prototype.toString;
57 // not going to test toString here since it is implementation dependent.
58 // array[item++] = new TestCase( SECTION, "myfunc.toString()", "function anonymous() { }", myfunc.toString() );
60 myfunc.toString = Object.prototype.toString;
62 "myfunc = Function(); myfunc.toString = Object.prototype.toString; myfunc.toString()"
    [all...]
15.3.1.1-2.js 58 myfunc1.toString = Object.prototype.toString;
59 myfunc2.toString = Object.prototype.toString;
60 myfunc3.toString = Object.prototype.toString;
62 array[item++] = new TestCase( SECTION, "myfunc1 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
64 myfunc1.toString() );
    [all...]
15.3.2.1-2.js 51 myfunc1.toString = Object.prototype.toString;
52 myfunc2.toString = Object.prototype.toString;
53 myfunc3.toString = Object.prototype.toString;
55 array[item++] = new TestCase( SECTION, "myfunc1 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
57 myfunc1.toString() );
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/
boolean-001.js 5 The toString function is not generic; it generates
15 var TITLE = "Boolean.prototype.toString()";
25 var TO_STRING = Boolean.prototype.toString;
29 s.toString = TO_STRING;
30 s.toString();
33 exception = e.toString();
38 "Assigning Boolean.prototype.toString to a String object "+
date-001.js 4 ECMA Section: 15.9.5.2 Date.prototype.toString
10 The toString function is not generic; it generates a runtime error if its
15 This verifies that calling toString on an object that is not a string
23 var TITLE = "Date.prototype.toString";
37 result = OBJ.toString();
40 exception = e.toString();
45 "OBJECT = new MyObject( new Date(0)) ; result = OBJ.toString()" +
55 this.toString = Date.prototype.toString;
  /external/webkit/JavaScriptCore/tests/mozilla/js1_2/function/
tostring-2.js 23 File Name: tostring-1.js
24 Section: Function.toString
27 Since the behavior of Function.toString() is implementation-dependent,
28 toString tests for function are not in the ECMA suite.
30 Currently, an attempt to parse the toString output for some functions
40 var SECTION = "tostring-2";
43 var TITLE = "Function.toString()";
109 "Equals.toString()",
111 Equals.toString() );
114 "ReallyEquals.toString()",
    [all...]
  /external/v8/test/mjsunit/
number-tostring.js 29 // toString
30 assertEquals("NaN", (NaN).toString());
31 assertEquals("Infinity", (1/0).toString());
32 assertEquals("-Infinity", (-1/0).toString());
33 assertEquals("0", (0).toString());
34 assertEquals("9", (9).toString());
35 assertEquals("90", (90).toString());
36 assertEquals("90.12", (90.12).toString());
37 assertEquals("0.1", (0.1).toString());
38 assertEquals("0.01", (0.01).toString());
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/filter/
UntrustedInput.java 36 return input.toString();
39 public String toString()
41 return input.toString();
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/
15.6.4.2-1.js 24 ECMA Section: 15.6.4.2-1 Boolean.prototype.toString()
29 The toString function is not generic; it generates
41 var TITLE = "Boolean.prototype.toString()"
51 array[item++] = new TestCase( SECTION, "new Boolean(1)", "true", (new Boolean(1)).toString() );
52 array[item++] = new TestCase( SECTION, "new Boolean(0)", "false", (new Boolean(0)).toString() );
53 array[item++] = new TestCase( SECTION, "new Boolean(-1)", "true", (new Boolean(-1)).toString() );
54 array[item++] = new TestCase( SECTION, "new Boolean('1')", "true", (new Boolean("1")).toString() );
55 array[item++] = new TestCase( SECTION, "new Boolean('0')", "true", (new Boolean("0")).toString() );
56 array[item++] = new TestCase( SECTION, "new Boolean(true)", "true", (new Boolean(true)).toString() );
57 array[item++] = new TestCase( SECTION, "new Boolean(false)", "false", (new Boolean(false)).toString() );
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_PhonesTest.java 38 Phones.TYPE_CUSTOM, label).toString();
44 Phones.TYPE_HOME, label).toString();
48 Phones.TYPE_MOBILE, label).toString();
52 Phones.TYPE_WORK, label).toString();
56 Phones.TYPE_FAX_WORK, label).toString();
60 Phones.TYPE_FAX_HOME, label).toString();
64 Phones.TYPE_PAGER, label).toString();
68 Phones.TYPE_OTHER, label).toString();
91 Phones.TYPE_CUSTOM, label, labelArray).toString();
95 Phones.TYPE_HOME, label, labelArray).toString();
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/misc/
NetscapeRevocationURL.java 14 public String toString()
VerisignCzagExtension.java 14 public String toString()
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.2.2-1.js 28 expression (new Date()).toString().
54 array[item++] = new TestCase( SECTION, "Date(1970,0,1,0,0,0)", (new Date()).toString(), Date(1970,0,1,0,0,0) );
55 array[item++] = new TestCase( SECTION, "Date(1969,11,31,15,59,59)", (new Date()).toString(), Date(1969,11,31,15,59,59))
56 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,0)", (new Date()).toString(), Date(1969,11,31,16,0,0))
57 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,1)", (new Date()).toString(), Date(1969,11,31,16,0,1))
60 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59)", (new Date()).toString(), Date(1999,11,15,59,59));
61 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0));
62 array[item++] = new TestCase( SECTION, "Date(1999,11,31,23,59,59)", (new Date()).toString(), Date(1999,11,31,23,59,59) );
63 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,0)", (new Date()).toString(), Date(2000,0,0,0,0,0) );
64 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,1)", (new Date()).toString(), Date(2000,0,0,0,0,1) )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/NumberFormatting/
tostring-001.js 36 reportCompare ("1e+23", n0.toString(), "1e23 toString()");
37 reportCompare ("5e+22", n1.toString(), "5e22 toString()");
38 reportCompare ("1.6e+24", n2.toString(), "1.6e24 toString()");
  /external/webkit/JavaScriptCore/tests/mozilla/js1_2/Array/
tostring_1.js 24 ECMA Section: Array.toString()
27 This checks the ToString value of Array objects under JavaScript 1.2.
36 var TITLE = "Array.toString()";
68 "var a = new Array(); a.toString()",
70 a.toString() );
75 "a[0] = void 0; a.toString()",
77 a.toString() );
88 "a[1] = void 0; a.toString()",
90 a.toString() );
95 "a[1] = \"hi\"; a.toString()",
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/js1_2/Objects/
toString-001.js 24 ECMA Section: Object.toString()
27 This checks the ToString value of Object objects under JavaScript 1.2.
29 In JavaScript 1.2, Object.toString()
38 var TITLE = "Object.toString()";
47 "var o = new Object(); o.toString()",
49 o.toString() );
54 "o = {}; o.toString()",
56 o.toString() );
61 "o = { name:\"object\", length:0, value:\"hello\" }; o.toString()",
63 checkObjectToString(o.toString(), ['name:"object"', 'length:0'
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
StreamTokenizerTest.java 42 assertEquals("Token[Testing], line 1", a.toString());
44 assertEquals("Token[n=12345.0], line 1", a.toString());
46 assertEquals("Token[alpha], line 2", a.toString());
48 assertEquals("Token[omega], line 3", a.toString());
50 assertEquals("Token[EOF], line 3", a.toString());
60 assertEquals("Token[n=-3.8], line 1", b.toString());
62 assertEquals("Token[BLIND mice], line 1", b.toString());
64 assertEquals("Token[EOL], line 2", b.toString());
66 assertEquals("Token[see], line 2", b.toString());
68 assertEquals("Token[the], line 2", b.toString());
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.4.2-3-n.js 24 ECMA Section: 15.7.4.2.1 Number.prototype.toString()
27 given as an argument to the ToString operator; the resulting string value
33 The toString function is not generic; it generates a runtime error if its
45 writeHeaderToLog( SECTION + " Number.prototype.toString()");
52 array[item++] = new TestCase(SECTION, "o = new String(); o.toString = Number.prototype.toString; o.toString()", "error", "o = new String(); o.toString = Number.prototype.toString; o.toString()" );
    [all...]
15.7.4.2-4.js 24 ECMA Section: 15.7.4.2.1 Number.prototype.toString()
27 given as an argument to the ToString operator; the resulting string value
33 The toString function is not generic; it generates a runtime error if its
45 writeHeaderToLog( SECTION + " Number.prototype.toString()");
52 array[item++] = new TestCase(SECTION, "o = 3; o.toString = Number.prototype.toString; o.toString()", "3", "o = 3; o.toString = Number.prototype.toString; o.toString()" );
    [all...]
  /frameworks/base/core/tests/coretests/src/android/provider/
SmsProviderTest.java 42 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()),
43 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()),
44 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()),
45 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()),
46 Long.toString(now - (5 * 24 * 60 * 60 * 1000)),
47 Long.toString(now - (2 * 24 * 60 * 60 * 1000)),
48 Long.toString(now - (5 * 60 * 60 * 1000)),
49 Long.toString(now - (30 * 60 * 1000)),
50 Long.toString(now - (5 * 60 * 1000)),
51 Long.toString(now
    [all...]

Completed in 84 milliseconds

12 3 4 5 6 7 8 91011>>