/external/chromium_org/third_party/WebKit/Source/platform/ |
D | JSONValues.h | 47 class PLATFORM_EXPORT JSONValue : public RefCounted<JSONValue> { 51 JSONValue() : m_type(TypeNull) { } in JSONValue() function 52 virtual ~JSONValue() { } in ~JSONValue() 54 static PassRefPtr<JSONValue> null() in null() 56 return adoptRef(new JSONValue()); in null() 79 virtual bool asValue(RefPtr<JSONValue>* output); 91 explicit JSONValue(Type type) : m_type(type) { } in JSONValue() function 101 class PLATFORM_EXPORT JSONBasicValue : public JSONValue { 129 explicit JSONBasicValue(bool value) : JSONValue(TypeBoolean), m_boolValue(value) { } in JSONBasicValue() 130 explicit JSONBasicValue(int value) : JSONValue(TypeNumber), m_doubleValue((double)value) { } in JSONBasicValue() [all …]
|
D | JSONValues.cpp | 91 bool JSONValue::asBoolean(bool*) const in asBoolean() 96 bool JSONValue::asNumber(double*) const in asNumber() 101 bool JSONValue::asNumber(long*) const in asNumber() 106 bool JSONValue::asNumber(int*) const in asNumber() 111 bool JSONValue::asNumber(unsigned long*) const in asNumber() 116 bool JSONValue::asNumber(unsigned*) const in asNumber() 121 bool JSONValue::asString(String*) const in asString() 126 bool JSONValue::asValue(RefPtr<JSONValue>* output) in asValue() 132 bool JSONValue::asObject(RefPtr<JSONObject>*) in asObject() 137 bool JSONValue::asArray(RefPtr<JSONArray>*) in asArray() [all …]
|
D | TracedValue.h | 16 class JSONValue; variable 50 Vector<RefPtr<JSONValue> > m_stack;
|
D | TracedValue.cpp | 131 ASSERT(m_stack.last()->type() == JSONValue::TypeObject); in currentDictionary() 138 ASSERT(m_stack.last()->type() == JSONValue::TypeArray); in currentArray()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InjectedScript.cpp | 102 RefPtr<JSONValue> resultValue; in restartFrame() 105 if (resultValue->type() == JSONValue::TypeString) { in restartFrame() 109 if (resultValue->type() == JSONValue::TypeObject) { in restartFrame() 122 RefPtr<JSONValue> resultValue; in getStepInPositions() 125 if (resultValue->type() == JSONValue::TypeString) { in getStepInPositions() 129 if (resultValue->type() == JSONValue::TypeArray) { in getStepInPositions() 154 RefPtr<JSONValue> resultValue; in setVariableValue() 160 if (resultValue->type() == JSONValue::TypeString) { in setVariableValue() 171 RefPtr<JSONValue> resultValue; in getFunctionDetails() 173 if (!resultValue || resultValue->type() != JSONValue::TypeObject) { in getFunctionDetails() [all …]
|
D | InjectedScriptCanvasModule.cpp | 92 RefPtr<JSONValue> resultValue; in markFrameEnd() 110 RefPtr<JSONValue> resultValue; in callStartCapturingFunction() 112 …if (!resultValue || resultValue->type() != JSONValue::TypeString || !resultValue->asString(traceLo… in callStartCapturingFunction() 145 RefPtr<JSONValue> resultValue; in traceLog() 147 if (!resultValue || resultValue->type() != JSONValue::TypeObject) { in traceLog() 160 RefPtr<JSONValue> resultValue; in replayTraceLog() 162 if (!resultValue || resultValue->type() != JSONValue::TypeObject) { in replayTraceLog() 183 RefPtr<JSONValue> resultValue; in resourceState() 185 if (!resultValue || resultValue->type() != JSONValue::TypeObject) { in resourceState() 200 RefPtr<JSONValue> resultValue; in evaluateTraceLogCallArgument() [all …]
|
D | JSONParser.cpp | 341 PassRefPtr<JSONValue> buildValue(const CharType* start, const CharType* end, const CharType** value… in buildValue() 346 RefPtr<JSONValue> result; in buildValue() 354 result = JSONValue::null(); in buildValue() 383 RefPtr<JSONValue> arrayNode = buildValue(start, end, &tokenEnd, depth + 1); in buildValue() 423 RefPtr<JSONValue> value = buildValue(start, end, &tokenEnd, depth + 1); in buildValue() 457 PassRefPtr<JSONValue> parseJSONInternal(const CharType* start, unsigned length) in parseJSONInternal() 461 RefPtr<JSONValue> value = buildValue(start, end, &tokenEnd, 0); in parseJSONInternal() 469 PassRefPtr<JSONValue> parseJSON(const String& json) in parseJSON()
|
D | InjectedScriptHost.h | 46 class JSONValue; variable 87 void inspectImpl(PassRefPtr<JSONValue> objectToInspect, PassRefPtr<JSONValue> hints);
|
D | JSONParser.h | 39 class JSONValue; variable 41 PassRefPtr<JSONValue> parseJSON(const String& json);
|
D | InjectedScriptBase.cpp | 151 void InjectedScriptBase::makeCall(ScriptFunctionCall& function, RefPtr<JSONValue>* result) in makeCall() 154 *result = JSONValue::null(); in makeCall() 165 …g::format("Object has too long reference chain(must not be longer than %d)", JSONValue::maxDepth)); in makeCall() 173 RefPtr<JSONValue> result; in makeEvalCall() 179 if (result->type() == JSONValue::TypeString) { in makeEvalCall()
|
D | InjectedScriptBase.h | 41 class JSONValue; variable 68 void makeCall(ScriptFunctionCall&, RefPtr<JSONValue>* result);
|
D | InspectorOverlay.h | 50 class JSONValue; variable 127 void evaluateInOverlay(const String& method, PassRefPtr<JSONValue> argument);
|
D | InjectedScriptHost.cpp | 73 void InjectedScriptHost::inspectImpl(PassRefPtr<JSONValue> object, PassRefPtr<JSONValue> hints) in inspectImpl()
|
D | InjectedScriptManager.cpp | 113 RefPtr<JSONValue> parsedObjectId = parseJSON(objectId); in injectedScriptForObjectId() 114 if (parsedObjectId && parsedObjectId->type() == JSONValue::TypeObject) { in injectedScriptForObjectId()
|
D | InspectorState.cpp | 55 void InspectorState::setValue(const String& propertyName, PassRefPtr<JSONValue> value) in setValue() 143 RefPtr<JSONValue> cookie = parseJSON(inspectorCompositeStateCookie); in loadFromCookie()
|
D | InspectorState.h | 80 void setValue(const String& propertyName, PassRefPtr<JSONValue>);
|
D | InspectorOverlay.cpp | 71 PathBuilder() : m_path(TypeBuilder::Array<JSONValue>::create()) { } in PathBuilder() 74 PassRefPtr<TypeBuilder::Array<JSONValue> > path() const { return m_path; } in path() 92 RefPtr<TypeBuilder::Array<JSONValue> > m_path; 102 …static PassRefPtr<TypeBuilder::Array<JSONValue> > buildPath(FrameView& view, RenderObject& rendere… in buildPath() 786 void InspectorOverlay::evaluateInOverlay(const String& method, PassRefPtr<JSONValue> argument) in evaluateInOverlay()
|
D | TimelineRecordFactory.h | 81 static void setLayerTreeData(JSONObject* data, PassRefPtr<JSONValue> layerTree);
|
D | InspectorWorkerAgent.cpp | 92 RefPtr<JSONValue> value = parseJSON(message); in dispatchMessageFromWorker()
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
D | ScriptValue.cpp | 77 PassRefPtr<JSONValue> ScriptValue::toJSONValue(ScriptState* scriptState) const in toJSONValue() 81 return v8ToJSONValue(scriptState->isolate(), v8Value(), JSONValue::maxDepth); in toJSONValue()
|
D | ScriptValue.h | 43 class JSONValue; variable 142 PassRefPtr<JSONValue> toJSONValue(ScriptState*) const;
|
D | V8Binding.cpp | 884 PassRefPtr<JSONValue> v8ToJSONValue(v8::Isolate* isolate, v8::Handle<v8::Value> value, int maxDepth) in v8ToJSONValue() 896 return JSONValue::null(); in v8ToJSONValue() 909 RefPtr<JSONValue> element = v8ToJSONValue(isolate, value, maxDepth); in v8ToJSONValue() 926 RefPtr<JSONValue> propertyValue = v8ToJSONValue(isolate, object->Get(name), maxDepth); in v8ToJSONValue()
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
D | InspectorDatabaseAgent.cpp | 94 RefPtr<TypeBuilder::Array<JSONValue> > values = TypeBuilder::Array<JSONValue>::create(); in handleEvent() 101 case SQLValue::NullValue: values->addItem(JSONValue::null()); break; in handleEvent()
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | TypeTraits.h | 296 class JSONValue; 304 template<typename From> class IsPointerConvertible<From, blink::JSONValue> {
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
D | InspectorIndexedDBAgent.cpp | 348 RefPtr<JSONValue> value = array->get(i); in idbKeyFromInspectorObject() 451 …RefPtr<JSONValue> keyJsonValue = idbCursor->key(m_scriptState.get()).toJSONValue(m_scriptState.get… in handleEvent() 452 …RefPtr<JSONValue> primaryKeyJsonValue = idbCursor->primaryKey(m_scriptState.get()).toJSONValue(m_s… in handleEvent() 453 …RefPtr<JSONValue> valueJsonValue = idbCursor->value(m_scriptState.get()).toJSONValue(m_scriptState… in handleEvent()
|