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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/
15.2.4.2.js 24 ECMA Section: 15.2.4.2 Object.prototype.toString()
26 Description: When the toString method is called, the following
29 2. Call ToString( Result(1) )
41 var TITLE = "Object.prototype.toString()";
52 array[item++] = new TestCase( SECTION, "(new Object()).toString()", "[object Object]", (new Object()).toString() );
54 array[item++] = new TestCase( SECTION, "myvar = this; myvar.toString = Object.prototype.toString; myvar.toString()",
56 eval("myvar = this; myvar.toString = Object.prototype.toString; myvar.toString()") )
    [all...]
15.2.1.1.js 77 array[item++] = new TestCase( SECTION, "var MYOB = Object(true); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Boolean]", eval("var MYOB = Object(true); MYOB.toString = Object.prototype.toString; MYOB.toString()") );
81 array[item++] = new TestCase( SECTION, "var MYOB = Object(false); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Boolean]", eval("var MYOB = Object(false); MYOB.toString = Object.prototype.toString; MYOB.toString()") )
    [all...]
15.2.2.1.js 59 array[item++] = new TestCase( SECTION, "MYOB = new Object(null); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Object]", eval("MYOB = new Object(null); MYOB.toString = Object.prototype.toString; MYOB.toString()") );
62 array[item++] = new TestCase( SECTION, "MYOB = new Object(new Object(void 0)); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Object]", eval("MYOB = new Object(new Object(void 0)); MYOB.toString = Object.prototype.toString; MYOB.toString()") )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/
number-001.js 4 ECMA Section: 15.7.4.2.2 Number.prototype.toString()
7 given as an argument to the ToString operator; the resulting string value
13 The toString function is not generic; it generates a runtime error if its
22 var TITLE = "Exceptions for Number.toString()";
25 writeHeaderToLog( SECTION + " Number.prototype.toString()");
38 object.toString = Number.prototype.toString;
39 result = object.toString();
42 exception = e.toString();
47 "object = new Object(); object.toString = Number.prototype.toString; object.toString()"
    [all...]
string-001.js 4 ECMA Section: 15.5.4.2 String.prototype.toString()
7 object, the toString() method happens to return the same
10 The toString function is not generic; it generates a
20 var TITLE = "String.prototype.toString";
34 OBJECT.toString = String.prototype.toString();
35 result = OBJECT.toString();
38 exception = e.toString();
44 " OBJECT.toString = String.prototype.toString; OBJECT.toString()"
    [all...]
exception-003.js 31 string.toString = Boolean.prototype.toString;
32 string.toString();
35 exception = e.toString();
40 "string.toString = Boolean.prototype.toString" +
41 "string.toString() [ exception is " + exception +" ]",
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/
15.6.2.js 57 "TESTBOOL=new Boolean(1);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()",
59 eval("TESTBOOL=new Boolean(1);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()") );
64 "TESTBOOL=new Boolean(0);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()",
66 eval("TESTBOOL=new Boolean(0);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()") )
    [all...]
15.6.4.2-3.js 24 ECMA Section: 15.6.4.2 Boolean.prototype.toString()
27 The toString function is not generic; it generates
40 var TITLE = "Boolean.prototype.toString()"
50 array[item++] = new TestCase( SECTION, "tostr=Boolean.prototype.toString; x=true; x.toString=tostr;x.toString()", "true", eval("tostr=Boolean.prototype.toString; x=true; x.toString=tostr;x.toString()") );
51 array[item++] = new TestCase( SECTION, "tostr=Boolean.prototype.toString; x=false; x.toString=tostr;x.toString()", "false", eval("tostr=Boolean.prototype.toString; x=false (…)
    [all...]
15.6.4.2-2.js 24 ECMA Section: 15.6.4.2 Boolean.prototype.toString()
27 The toString function is not generic; it generates
39 var TITLE = "Boolean.prototype.toString()"
51 "tostr=Boolean.prototype.toString; x=new Boolean(); x.toString=tostr;x.toString()",
53 "tostr=Boolean.prototype.toString; x=new Boolean(); x.toString=tostr;x.toString()" );
55 "tostr=Boolean.prototype.toString; x=new Boolean(true); x.toString=tostr; x.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...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.2-3.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
43 var TITLE = "String.prototype.toString";
70 "var tostr=String.prototype.toString; astring=new String(); astring.toString = tostr; astring.toString()",
72 "var tostr=String.prototype.toString; astring=new String(); astring.toString = tostr; astring.toString()" );
    [all...]
15.5.2.js 36 - The value of the object is ToString(value).
58 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String('string primitive'); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String('string primitive'); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()") );
63 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String(void 0); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String(void 0); TESTSTRING.toString=Object.pro (…)
    [all...]
15.5.4.2-1.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";
52 array[item++] = new TestCase( SECTION, "String.prototype.toString()", "", String.prototype.toString() );
53 array[item++] = new TestCase( SECTION, "(new String()).toString()", "", (new String()).toString() );
54 array[item++] = new TestCase( SECTION, "(new String(\"\")).toString()", "", (new String("")).toString() );
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/FunctionObjects/
call-1.js 22 "ToString.call( this, this )",
24 ToString.call( this, this ) );
27 "ToString.call( Boolean, Boolean.prototype )",
29 ToString.call( Boolean, Boolean.prototype ) );
32 "ToString.call( Boolean, Boolean.prototype.valueOf() )",
34 ToString.call( Boolean, Boolean.prototype.valueOf() ) );
38 function ToString( obj ) {
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.2.1-1.js 46 var MyObject = new Function( "value", "this.value = value; this.valueOf = new Function( 'return this.value' ); this.toString = new Function( 'return String(this.value);' )" );
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 array[item++] = new TestCase( SECTION, "myfunc = new Function(); myfunc.toString = Object.prototype.toString; myfunc.toString()",
64 myfunc.toString() );
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/js1_2/function/
tostring-1.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
37 var SECTION = "tostring-1";
40 var TITLE = "Function.toString()";
50 t2 = new TestFunction( "ToString", "object", tab+"return object + \"\";" );
62 "stub.toString()",
64 stub.toString() );
    [all...]
  /dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/
BigIntegerToStringTest.java 35 * Method: toString(int radix)
43 notes = "This is a complete subset of tests for toString method",
44 method = "toString",
51 String result = aNumber.toString(45);
60 notes = "This is a complete subset of tests for toString method",
61 method = "toString",
68 String result = aNumber.toString(radix);
77 notes = "This is a complete subset of tests for toString method",
78 method = "toString",
85 String result = aNumber.toString(radix)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.2.js 71 "NUMB = new Number();NUMB.toString=Object.prototype.toString;NUMB.toString()",
73 eval("NUMB = new Number();NUMB.toString=Object.prototype.toString;NUMB.toString()") );
79 "NUMB = new Number(0);NUMB.toString=Object.prototype.toString;NUMB.toString()",
81 eval("NUMB = new Number(0);NUMB.toString=Object.prototype.toString;NUMB.toString()") )
    [all...]
15.7.4.2-2-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 Object(); o.toString = Number.prototype.toString; o.toString()", "error", "o = new Object(); o.toString = Number.prototype.toString; o.toString()" );
    [all...]
15.7.4.2-1.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()");
53 array[item++] = new TestCase(SECTION, "Number.prototype.toString()", "0", "Number.prototype.toString()" );
54 array[item++] = new TestCase(SECTION, "typeof(Number.prototype.toString())", "string", "typeof(Number.prototype.toString())" );
56 array[item++] = new TestCase(SECTION, "s = Number.prototype.toString; o = new Number(); o.toString = s; o.toString()", "0", "s = Number.prototype.toString; o = new Number(); o.toString = (…)
    [all...]
  /external/webkit/LayoutTests/fast/dom/Geolocation/
position-string-expected.txt 1 Tests formatting of position.toString().
10 PASS position.toString() is "[object Geoposition]"
11 PASS position.coords.toString() is "[object Coordinates]"
  /external/webkit/JavaScriptCore/tests/mozilla/js1_2/regexp/
toString.js 23 Filename: toString.js
24 Description: 'Tests RegExp method toString'
33 var TITLE = 'RegExp: toString';
35 writeHeaderToLog('Executing script: toString.js');
41 // var re = new RegExp(); re.toString()
43 testcases[count++] = new TestCase ( SECTION, "var re = new RegExp(); re.toString()",
44 '/(?:)/', re.toString());
46 // re = /.+/; re.toString();
48 testcases[count++] = new TestCase ( SECTION, "re = /.+/; re.toString()",
49 '/.+/', re.toString());
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/js1_4/Regress/
toString-001-n.js 23 * File Name: toString-001-n.js
26 * Function.prototype.toString is not generic.
31 var SECTION = "toString-001.js";
44 o.toString = Function.prototype.toString;
49 "var o = {}; o.toString = Function.prototype.toString; o.toString();",
51 o.toString() );
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.5.2-1.js 24 ECMA Section: 15.9.5.2 Date.prototype.toString
30 The toString function is not generic; it generates a runtime error if its
41 var TITLE = "Date.prototype.toString";
48 "Date.prototype.toString.length",
50 Date.prototype.toString.length );
58 "Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000",
60 Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000 );
63 "typeof now.toString()",
65 typeof now.toString() );
71 "Date.parse( (new Date(0)).toString() )",
    [all...]
15.9.5.2.js 24 ECMA Section: 15.9.5.2 Date.prototype.toString
30 The toString function is not generic; it generates a runtime error if its
41 var TITLE = "Date.prototype.toString";
48 "Date.prototype.toString.length",
50 Date.prototype.toString.length );
58 "Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000",
60 Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000 );
63 "typeof now.toString()",
65 typeof now.toString() );
71 "Date.parse( (new Date(0)).toString() )",
    [all...]

Completed in 447 milliseconds

1 2 3 4 5 6 7 8 91011>>