Home
last modified time | relevance | path

Searched defs:toJSON (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/v8/test/mjsunit/
Djson.js50 var d1 = {toJSON: Date.prototype.toJSON, property
54 var d2 = {toJSON: Date.prototype.toJSON, property
59 var d3 = {toJSON: Date.prototype.toJSON, property
66 var d4 = {toJSON: Date.prototype.toJSON, property
72 var d5 = {toJSON: Date.prototype.toJSON, property
78 var d6 = {toJSON: Date.prototype.toJSON, property
82 var d7 = {toJSON: Date.prototype.toJSON, property
236 TestStringify("false", {toJSON: function () { return false; }}); method
272 { toJSON : function() { return 'toJSON 123'; } }); method
274 { a : { toJSON : function() { return 321; } } }); method
[all …]
Djson2.js82 var tojson_obj = { toJSON: function() { method
92 tojson_proto_obj.__proto__ = { toJSON: function() { method
99 var tojson_via_getter = { get toJSON() { getter
109 JSON.stringify({ get toJSON() { throw "error"; } }); getter
113 tojson_obj = { toJSON: function(key) { return key + key; } }; method
120 var tojson_ex = { toJSON: function(key) { throw "123" } }; method
125 var obj = { toJSON: function(key) { return this.a + key; }, a: "x" }; method
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/hosted/
Djson2.js175 Date.prototype.toJSON = function (key) { method in Date
186 String.prototype.toJSON = method in String
187 Number.prototype.toJSON = method in Number
188 Boolean.prototype.toJSON = function (key) { method in Boolean
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dchromevox_json.js49 Date.prototype.toJSON = function(key) { method in Date
60 String.prototype.toJSON = method in String
61 Number.prototype.toJSON = method in Number
62 Boolean.prototype.toJSON = function(key) { method in Boolean
/external/chromium_org/v8/test/webkit/resources/
DJSON-stringify.js111 return jsonObject.stringify({toJSON: Date.prototype.toJSON}); property
115 …return jsonObject.stringify({toJSON: Date.prototype.toJSON, toISOString: function(){ return "custo… property
118 …return jsonObject.stringify({toJSON: Date.prototype.toJSON, toISOString: function(){ return {}; }}… property
122 …return jsonObject.stringify({toJSON: Date.prototype.toJSON, toISOString: function(){ throw "An exc… property
403 … preSelf2: {toJSON:function(){cycleTracker+="preSelf2,"; return "preSelf2"}}, method
406 … postSelf2: {toJSON:function(){cycleTracker+="postSelf2,"; return "postSelf2"}}, method
407toJSON : function(key) { cycleTracker += key + "("+(typeof key)+"):" + this; return this; } method
421 …var cyclicArray = [{toJSON : function(key,value) { cycleTracker += key + "("+(typeof key)+"):" + t… method
423 …{toJSON : function(key,value) { cycleTracker += key + "("+(typeof key)+"):" + this; cycleTracker +… method
453 return jsonObject.stringify({toJSON:function(){ return undefined; }}); method
[all …]
Djson2-es5-compat.js177 Date.prototype.toJSON = function (key) { method in Date
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
Dcounter_series.js31 toJSON: function() { method in CounterSample
61 toJSON: function() { method in CounterSeries
Dasync_slice.js27 toJSON: function() { method in AsyncSlice
Dprocess_base.js63 toJSON: function() { method in ProcessBase
Dcounter.js42 toJSON: function() { method in Counter
Dthread.js89 toJSON: function() { method in Thread
Dobject_collection.js179 toJSON: function() { method in ObjectCollection
/external/chromium_org/content/browser/resources/media/
Ddata_series.js36 toJSON: function() { method in TimelineDataSeries
Dwebrtc_internals.js33 toJSON: function() { method in PeerConnectionRecord
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/keymaps/
Dkey_map.js132 cvox.KeyMap.prototype.toJSON = function() { method in cvox.KeyMap
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
Dprototype-1.6.0.3.js124 toJSON: function(object) { method
261 Date.prototype.toJSON = function() { method in Date
914 toJSON: function() { method
985 toJSON: function() { method
Dconcat-jquery-mootools-prototype.js7329 toJSON: function(){ method
8503 toJSON: function(object) { method
8640 Date.prototype.toJSON = function() { method in Date
9293 toJSON: function() { method
9364 toJSON: function() { method
Dmootools-1.2.2-core-nc.js2953 toJSON: function(){ method
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
Dprototype-1.7.js211 function toJSON(value) { function
349 toJSON: NATIVE_JSON_STRINGIFY_SUPPORT ? stringify : toJSON, property
469 function toJSON() { function
/external/chromium-trace/
Dscript.js29 b.prototype={__proto__:Object.prototype,toJSON:function(){for(var a={},c=Object.keys(this),e=0;e<c.… method in b
144 …ge}d.prototype={__proto__:Object.prototype,get guid(){return this.guid_},toJSON:function(){for(var… method in d
177 …is,arguments)}d.prototype={__proto__:tracing.trace_model.Slice.prototype,toJSON:function(){for(var… method in d
189 …uid(){return this.guid_},compareTo:function(a){return b.compare(this,a)},toJSON:function(){for(var… method in b
/external/chromium_org/v8/test/cctest/
Dtest-api.cc21734 v8::Handle<v8::FunctionTemplate> toJSON = in TEST() local