Searched defs:toString (Results 1 - 25 of 1571) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DMismatchedRangeException.as39 public function toString():String { function
H A DMismatchedSetException.as38 public function toString():String { function
H A DMismatchedTokenException.as39 public function toString():String { function
H A DMismatchedTreeNodeException.as12 public function toString():String { function
H A DCommonToken.as165 public function toString():String { function
H A DNoViableAltException.as46 public function toString():String { function
/external/chromium_org/v8/test/mjsunit/
H A Dfunction.js74 var x = {}; x.toString = function() { return 'x'; };
75 var y = {}; y.toString = function() { return 'y'; };
76 var z = {}; z.toString = function() { return 'return x*y'; }
H A Dproperty-object-key.js28 var key = { toString: function() { return 'baz'; } }
H A Darray-join.js28 // Test that array join calls toString on subarrays.
46 // Replace array.prototype.toString.
47 var oldToString = Array.prototype.toString;
48 Array.prototype.toString = function() { return "array"; };
56 Array.prototype.toString = function() { throw 42; };
64 Array.prototype.toString = function() { return "array"; };
72 // Restore original toString.
73 delete Array.prototype.toString;
74 if (Array.prototype.toString != oldToString) {
75 Array.prototype.toString
[all...]
H A Dstring-split.js152 var separator = { toString: function() { counter++; return "b"; }};
158 var subject = { toString: function() { assertEquals(0, counter);
161 separator = { toString: function() { assertEquals(1, counter);
H A Darray-slice.js87 obj = { toString: function() { throw 'Exception'; } };
94 {toString: function() { return 2; }}).length);
H A Dd8-os.js47 e.toString = function() { throw new Error("foo bar"); }
174 // Test broken toString().
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DCommonTree.as152 public function toString():String { function
/external/chromium_org/v8/test/mjsunit/harmony/
H A Dstring-repeat.js68 toString: function() {
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1711.js28 // string.split needs to evaluate the separator's toString even if limit
29 // is 0 because toString may have side effects.
33 separator.toString = function() {
H A Dregress-1980.js34 Error.prototype.toString.call(invalid_this[i]);
37 assertEquals("Error.prototype.toString called on non-object", e.message);
H A Dregress-2263.js29 var sep = { toString: function(){ throw { type: "toString" }}};
H A Dcomparison-in-effect-context-deopt.js35 var x = { toString : lazyDeopt };
H A Dregress-354433.js35 this.toString = function() {
/external/chromium_org/v8/test/webkit/
H A Darray-tostring-and-join.js26 "This test checks that toString and join share the same HashSet for visited elements."
32 obj.__proto__.toString = function() { return "*" + arr + "*"; }
H A Ddfg-to-string-bad-toString.js28 String.prototype.toString = function() { return 42; }
H A Ddfg-to-string-toString-in-string.js39 argument.toString = function() { return 42; }
H A Dsort-randomly.js37 this.toString = function() { return (Math.random() * 100).toString(); }
H A Dstatic-scope-object.js26 this.toString = function() { return "the global object" }; function
H A Dtostring-exception-in-property-access.js26 var toStringThrower = { toString: function() { throw "Exception thrown by toString"; }};

Completed in 416 milliseconds

1234567891011>>