Searched refs:parseJSON (Results 1 - 11 of 11) sorted by relevance

/external/webkit/Source/WebCore/inspector/front-end/
H A DResourceJSONView.js38 WebInspector.ResourceJSONView.parseJSON = function(text)
H A DNetworkItemView.js51 var parsedJSON = WebInspector.ResourceJSONView.parseJSON(resource.content);
/external/webkit/Source/WebCore/inspector/
H A DInjectedScriptManager.cpp86 RefPtr<InspectorValue> parsedObjectId = InspectorValue::parseJSON(objectId);
H A DInspectorState.cpp48 RefPtr<InspectorValue> cookie = InspectorValue::parseJSON(inspectorStateCookie);
H A DCodeGeneratorInspector.pm531 ASSERT(InspectorObject::parseJSON(s_commonErrors[code]));
532 RefPtr<InspectorObject> error = InspectorObject::parseJSON(s_commonErrors[code])->asObject();
603 RefPtr<InspectorValue> parsedMessage = InspectorValue::parseJSON(message);
655 RefPtr<InspectorValue> value = InspectorValue::parseJSON(message);
H A DInspectorValues.h85 static PassRefPtr<InspectorValue> parseJSON(const String& json);
H A DInspectorValues.cpp540 PassRefPtr<InspectorValue> InspectorValue::parseJSON(const String& json) function in class:WebCore::InspectorValue
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A Dstring-tagcloud.js177 s.parseJSON = function (filter) {
204 throw new SyntaxError('parseJSON');
229 var tagInfo = tagInfoJSON.parseJSON(function(a, b) { if (a == "popularity") { return Math.log(b) / log2; } else {return b; } });
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A Dstring-tagcloud.js177 s.parseJSON = function (filter) {
204 throw new SyntaxError('parseJSON');
229 var tagInfo = tagInfoJSON.parseJSON(function(a, b) { if (a == "popularity") { return Math.log(b) / log2; } else {return b; } });
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/
H A Djquery-1.4.2.min.js28 "isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+
132 "json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional;
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/js/
H A Djquery-1.4.1.min.js28 return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return z.JSON&&z.JSON.parse?z.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Ra.test(a)){var b=r.getElementsByTagName("head")[0]||
129 f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(j,n){if(c.isArray(n))c.each(n,

Completed in 273 milliseconds