/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
JSONParser.h | 39 class JSONValue; 41 PassRefPtr<JSONValue> parseJSON(const String& json);
|
CodeGeneratorInspectorStrings.py | 78 $code sendIfActive(jsonMessage, ErrorString(), PassRefPtr<JSONValue>()); 86 RefPtr<JSONValue> errorDataValue; 159 void sendIfActive(PassRefPtr<JSONObject> partialMessage, const ErrorString& invocationError, PassRefPtr<JSONValue> errorData); 187 virtual void reportProtocolError(const long* const callId, CommonErrorCode, const String& errorMessage, PassRefPtr<JSONValue> data) const = 0; 246 virtual void reportProtocolError(const long* const callId, CommonErrorCode, const String& errorMessage, PassRefPtr<JSONValue> data) const; 249 void sendResponse(long callId, const ErrorString& invocationError, PassRefPtr<JSONValue> errorData, PassRefPtr<JSONObject> result); 260 static R getPropertyValueImpl(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors, V0 initial_value, bool (*as_method)(JSONValue*, V*), const char* type_name); 271 sendResponse(callId, invocationError, RefPtr<JSONValue>(), result); 275 sendResponse(callId, invocationError, RefPtr<JSONValue>(), JSONObject::create()); 306 RefPtr<JSONValue> parsedMessage = parseJSON(message) [all...] |
InjectedScriptBase.h | 41 class JSONValue; 68 void makeCall(ScriptFunctionCall&, RefPtr<JSONValue>* result);
|
InjectedScriptHost.h | 46 class JSONValue; 87 void inspectImpl(PassRefPtr<JSONValue> objectToInspect, PassRefPtr<JSONValue> hints);
|
InjectedScript.cpp | 102 RefPtr<JSONValue> resultValue; 105 if (resultValue->type() == JSONValue::TypeString) { 109 if (resultValue->type() == JSONValue::TypeObject) { 122 RefPtr<JSONValue> resultValue; 125 if (resultValue->type() == JSONValue::TypeString) { 129 if (resultValue->type() == JSONValue::TypeArray) { 154 RefPtr<JSONValue> resultValue; 160 if (resultValue->type() == JSONValue::TypeString) { 171 RefPtr<JSONValue> resultValue; 173 if (!resultValue || resultValue->type() != JSONValue::TypeObject) [all...] |
InjectedScriptCanvasModule.cpp | 92 RefPtr<JSONValue> resultValue; 110 RefPtr<JSONValue> resultValue; 112 if (!resultValue || resultValue->type() != JSONValue::TypeString || !resultValue->asString(traceLogId)) 145 RefPtr<JSONValue> resultValue; 147 if (!resultValue || resultValue->type() != JSONValue::TypeObject) { 160 RefPtr<JSONValue> resultValue; 162 if (!resultValue || resultValue->type() != JSONValue::TypeObject) { 183 RefPtr<JSONValue> resultValue; 185 if (!resultValue || resultValue->type() != JSONValue::TypeObject) { 200 RefPtr<JSONValue> resultValue [all...] |
InspectorOverlay.h | 50 class JSONValue; 127 void evaluateInOverlay(const String& method, PassRefPtr<JSONValue> argument);
|
JSONParser.cpp | 341 PassRefPtr<JSONValue> buildValue(const CharType* start, const CharType* end, const CharType** valueTokenEnd, int depth) 346 RefPtr<JSONValue> result; 354 result = JSONValue::null(); 383 RefPtr<JSONValue> arrayNode = buildValue(start, end, &tokenEnd, depth + 1); 423 RefPtr<JSONValue> value = buildValue(start, end, &tokenEnd, depth + 1); 457 PassRefPtr<JSONValue> parseJSONInternal(const CharType* start, unsigned length) 461 RefPtr<JSONValue> value = buildValue(start, end, &tokenEnd, 0); 469 PassRefPtr<JSONValue> parseJSON(const String& json)
|
InjectedScriptBase.cpp | 151 void InjectedScriptBase::makeCall(ScriptFunctionCall& function, RefPtr<JSONValue>* result) 154 *result = JSONValue::null(); 165 *result = JSONString::create(String::format("Object has too long reference chain(must not be longer than %d)", JSONValue::maxDepth)); 173 RefPtr<JSONValue> result; 179 if (result->type() == JSONValue::TypeString) {
|
InjectedScriptHost.cpp | 73 void InjectedScriptHost::inspectImpl(PassRefPtr<JSONValue> object, PassRefPtr<JSONValue> hints)
|
InjectedScriptManager.cpp | 113 RefPtr<JSONValue> parsedObjectId = parseJSON(objectId); 114 if (parsedObjectId && parsedObjectId->type() == JSONValue::TypeObject) {
|
InspectorState.cpp | 55 void InspectorState::setValue(const String& propertyName, PassRefPtr<JSONValue> value) 143 RefPtr<JSONValue> cookie = parseJSON(inspectorCompositeStateCookie);
|
InspectorState.h | 80 void setValue(const String& propertyName, PassRefPtr<JSONValue>);
|
TimelineRecordFactory.h | 81 static void setLayerTreeData(JSONObject* data, PassRefPtr<JSONValue> layerTree);
|
InspectorOverlay.cpp | 71 PathBuilder() : m_path(TypeBuilder::Array<JSONValue>::create()) { } 74 PassRefPtr<TypeBuilder::Array<JSONValue> > path() const { return m_path; } 92 RefPtr<TypeBuilder::Array<JSONValue> > m_path; 102 static PassRefPtr<TypeBuilder::Array<JSONValue> > buildPath(FrameView& view, RenderObject& renderer, const ShapeOutsideInfo& shapeOutsideInfo, const Path& path) 786 void InspectorOverlay::evaluateInOverlay(const String& method, PassRefPtr<JSONValue> argument)
|
InspectorWorkerAgent.cpp | 92 RefPtr<JSONValue> value = parseJSON(message);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
JSONValues.h | 47 class PLATFORM_EXPORT JSONValue : public RefCounted<JSONValue> { 51 JSONValue() : m_type(TypeNull) { } 52 virtual ~JSONValue() { } 54 static PassRefPtr<JSONValue> null() 56 return adoptRef(new JSONValue()); 79 virtual bool asValue(RefPtr<JSONValue>* output); 91 explicit JSONValue(Type type) : m_type(type) { } 101 class PLATFORM_EXPORT JSONBasicValue : public JSONValue { 129 explicit JSONBasicValue(bool value) : JSONValue(TypeBoolean), m_boolValue(value) { [all...] |
JSONValues.cpp | 91 bool JSONValue::asBoolean(bool*) const 96 bool JSONValue::asNumber(double*) const 101 bool JSONValue::asNumber(long*) const 106 bool JSONValue::asNumber(int*) const 111 bool JSONValue::asNumber(unsigned long*) const 116 bool JSONValue::asNumber(unsigned*) const 121 bool JSONValue::asString(String*) const 126 bool JSONValue::asValue(RefPtr<JSONValue>* output) 132 bool JSONValue::asObject(RefPtr<JSONObject>* [all...] |
TracedValue.h | 16 class JSONValue; 50 Vector<RefPtr<JSONValue> > m_stack;
|
TracedValue.cpp | 131 ASSERT(m_stack.last()->type() == JSONValue::TypeObject); 138 ASSERT(m_stack.last()->type() == JSONValue::TypeArray);
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
ScriptValue.cpp | 77 PassRefPtr<JSONValue> ScriptValue::toJSONValue(ScriptState* scriptState) const 81 return v8ToJSONValue(scriptState->isolate(), v8Value(), JSONValue::maxDepth);
|
ScriptValue.h | 43 class JSONValue; 142 PassRefPtr<JSONValue> toJSONValue(ScriptState*) const;
|
V8Binding.cpp | 884 PassRefPtr<JSONValue> v8ToJSONValue(v8::Isolate* isolate, v8::Handle<v8::Value> value, int maxDepth) 896 return JSONValue::null(); 909 RefPtr<JSONValue> element = v8ToJSONValue(isolate, value, maxDepth); 926 RefPtr<JSONValue> propertyValue = v8ToJSONValue(isolate, object->Get(name), maxDepth); [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
InspectorDatabaseAgent.cpp | 94 RefPtr<TypeBuilder::Array<JSONValue> > values = TypeBuilder::Array<JSONValue>::create(); 101 case SQLValue::NullValue: values->addItem(JSONValue::null()); break;
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
TypeTraits.h | 296 class JSONValue; 302 // FIXME: Disable pointer conversion checking against JSONValue. 303 // The current CodeGeneratorInspector.py generates code which upcasts to JSONValue from undefined types. 304 template<typename From> class IsPointerConvertible<From, blink::JSONValue> {
|