Home
last modified time | relevance | path

Searched refs:JSONObject (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/inspector/
DTimelineRecordFactory.cpp45 PassRefPtr<JSONObject> TimelineRecordFactory::createGenericRecord(double startTime, int maxCallStac… in createGenericRecord()
47 RefPtr<JSONObject> record = JSONObject::create(); in createGenericRecord()
59 …fPtr<JSONObject> TimelineRecordFactory::createBackgroundRecord(double startTime, const String& thr… in createBackgroundRecord()
61 RefPtr<JSONObject> record = JSONObject::create(); in createBackgroundRecord()
65 record->setObject("data", data ? data : JSONObject::create()); in createBackgroundRecord()
69 PassRefPtr<JSONObject> TimelineRecordFactory::createGCEventData(size_t usedHeapSizeDelta) in createGCEventData()
71 RefPtr<JSONObject> data = JSONObject::create(); in createGCEventData()
76 PassRefPtr<JSONObject> TimelineRecordFactory::createFunctionCallData(const String& scriptName, int … in createFunctionCallData()
78 RefPtr<JSONObject> data = JSONObject::create(); in createFunctionCallData()
84 PassRefPtr<JSONObject> TimelineRecordFactory::createEventDispatchData(const Event& event) in createEventDispatchData()
[all …]
DTimelineRecordFactory.h50 …static PassRefPtr<JSONObject> createGenericRecord(double startTime, int maxCallStackDepth, const S…
51 …static PassRefPtr<JSONObject> createBackgroundRecord(double startTime, const String& thread, const…
53 static PassRefPtr<JSONObject> createGCEventData(size_t usedHeapSizeDelta);
55 … static PassRefPtr<JSONObject> createFunctionCallData(const String& scriptName, int scriptLine);
57 static PassRefPtr<JSONObject> createEventDispatchData(const Event&);
59 static PassRefPtr<JSONObject> createGenericTimerData(int timerId);
61 … static PassRefPtr<JSONObject> createTimerInstallData(int timerId, int timeout, bool singleShot);
63 … static PassRefPtr<JSONObject> createXHRReadyStateChangeData(const String& url, int readyState);
65 static PassRefPtr<JSONObject> createXHRLoadData(const String& url);
67 static PassRefPtr<JSONObject> createEvaluateScriptData(const String&, double lineNumber);
[all …]
DInspectorState.cpp38 InspectorState::InspectorState(InspectorStateUpdateListener* listener, PassRefPtr<JSONObject> prope… in InspectorState()
50 void InspectorState::setFromCookie(PassRefPtr<JSONObject> properties) in setFromCookie()
69 JSONObject::iterator it = m_properties->find(propertyName); in getBoolean()
78 JSONObject::iterator it = m_properties->find(propertyName); in getString()
93 JSONObject::iterator it = m_properties->find(propertyName); in getLong()
107 JSONObject::iterator it = m_properties->find(propertyName); in getDouble()
114 PassRefPtr<JSONObject> InspectorState::getObject(const String& propertyName) in getObject()
116 JSONObject::iterator it = m_properties->find(propertyName); in getObject()
118 m_properties->setObject(propertyName, JSONObject::create()); in getObject()
128 RefPtr<JSONObject> stateProperties = JSONObject::create(); in createAgentState()
[all …]
DInspectorDOMDebuggerAgent.cpp165 …RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListe… in setBreakpoint()
187 …RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListe… in removeBreakpoint()
195 RefPtr<JSONObject> eventData = JSONObject::create(); in didInvalidateStyleAttr()
295 RefPtr<JSONObject> eventData = JSONObject::create(); in willInsertDOMNode()
305 RefPtr<JSONObject> eventData = JSONObject::create(); in willRemoveDOMNode()
309 RefPtr<JSONObject> eventData = JSONObject::create(); in willRemoveDOMNode()
319 RefPtr<JSONObject> eventData = JSONObject::create(); in willModifyDOMAttr()
325 …::descriptionForDOMEvent(Node* target, int breakpointType, bool insertion, JSONObject* description) in descriptionForDOMEvent()
382 void InspectorDOMDebuggerAgent::pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool s… in pauseOnNativeEventIfNeeded()
392 PassRefPtr<JSONObject> InspectorDOMDebuggerAgent::preparePauseOnNativeEventData(bool isDOMEvent, co… in preparePauseOnNativeEventData()
[all …]
DInspectorState.h52 InspectorState(InspectorStateUpdateListener*, PassRefPtr<JSONObject>);
65 PassRefPtr<JSONObject> getObject(const String& propertyName);
71 …void setObject(const String& propertyName, PassRefPtr<JSONObject> value) { setValue(propertyName, … in setObject()
79 void setFromCookie(PassRefPtr<JSONObject>);
84 RefPtr<JSONObject> m_properties;
91 , m_stateObject(JSONObject::create()) in InspectorCompositeState()
110 RefPtr<JSONObject> m_stateObject;
DInspectorTimelineAgent.h273 void sendEvent(PassRefPtr<JSONObject>);
274 … void appendRecord(PassRefPtr<JSONObject> data, const String& type, bool captureCallStack, Frame*);
275 …void pushCurrentRecord(PassRefPtr<JSONObject>, const String& type, bool captureCallStack, Frame*, …
279 void setFrameIdentifier(JSONObject* record, Frame*);
280 void populateImageDetails(JSONObject* data, const RenderImage&);
289 void addRecordToTimeline(PassRefPtr<JSONObject>);
290 void innerAddRecordToTimeline(PassRefPtr<JSONObject>);
292 …PassRefPtr<JSONObject> createRecordForEvent(const TraceEventDispatcher::TraceEvent&, const String&…
327 RefPtr<JSONObject> m_pendingFrameRecord;
328 RefPtr<JSONObject> m_pendingGPURecord;
[all …]
DInspectorDOMStorageAgent.h43 class JSONObject; variable
63 …virtual void getDOMStorageItems(ErrorString*, const RefPtr<JSONObject>& storageId, RefPtr<TypeBuil…
64 …virtual void setDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& storageId, const String& ke…
65 …virtual void removeDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& storageId, const String&…
79 PassOwnPtr<StorageArea> findStorageArea(ErrorString*, const RefPtr<JSONObject>&, Frame*&);
DInspectorDOMAgent.h134 …ErrorString*, bool enabled, const bool* inspectShadowDOM, const RefPtr<JSONObject>* highlightConfi…
140 …ng*, int x, int y, int width, int height, const RefPtr<JSONObject>* color, const RefPtr<JSONObject
141 …orString*, const RefPtr<JSONArray>& quad, const RefPtr<JSONObject>* color, const RefPtr<JSONObject
142 …virtual void highlightNode(ErrorString*, const RefPtr<JSONObject>& highlightConfig, const int* nod…
143 …rame(ErrorString*, const String& frameId, const RefPtr<JSONObject>* color, const RefPtr<JSONObject
212 void setSearchingForNode(ErrorString*, SearchMode, JSONObject* highlightConfig);
213 …PassOwnPtr<HighlightConfig> highlightConfigFromInspectorObject(ErrorString*, JSONObject* highlight…
232 …nForDOMEvent(Node* target, int breakpointType, bool insertion, PassRefPtr<JSONObject> description);
245 …innerHighlightQuad(PassOwnPtr<FloatQuad>, const RefPtr<JSONObject>* color, const RefPtr<JSONObject
DInspectorTimelineAgent.cpp141 …TimelineRecordEntry(PassRefPtr<JSONObject> record, PassRefPtr<JSONObject> data, PassRefPtr<JSONArr… in TimelineRecordEntry()
145 RefPtr<JSONObject> record;
146 RefPtr<JSONObject> data;
155 Entry(PassRefPtr<JSONObject> record) in Entry()
161 RefPtr<JSONObject> record;
169 void addScopedRecord(PassRefPtr<JSONObject> record);
171 void addInstantRecord(PassRefPtr<JSONObject> record);
178 void send(PassRefPtr<JSONObject>);
254 …RefPtr<JSONObject> record = TimelineRecordFactory::createGenericRecord(m_timeConverter.fromMonoton… in pushGCEventRecords()
475 appendRecord(JSONObject::create(), TimelineRecordType::InvalidateLayout, true, frame); in didInvalidateLayout()
[all …]
DInspectorDebuggerAgent.h54 class JSONObject; variable
98 …virtual void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const String* optiona…
100 …virtual void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, const bool* inte…
105 …lder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr…
106 …lder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr…
128 …ring*, int in_scopeNumber, const String& in_variableName, const RefPtr<JSONObject>& in_newValue, c…
132 …nNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
143 …void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> da…
221 RefPtr<JSONObject> m_breakAuxData;
DInspectorDebuggerAgent.cpp135 m_state->setObject(DebuggerAgentState::javaScriptBreakpoints, JSONObject::create()); in disable()
282 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url, int lineNumber, int… in buildObjectForBreakpointCookie()
284 RefPtr<JSONObject> breakpointObject = JSONObject::create(); in buildObjectForBreakpointCookie()
328 …RefPtr<JSONObject> breakpointsCookie = m_state->getObject(DebuggerAgentState::javaScriptBreakpoint… in setBreakpointByUrl()
350 static bool parseLocation(ErrorString* errorString, PassRefPtr<JSONObject> location, String* script… in parseLocation()
362 void InspectorDebuggerAgent::setBreakpoint(ErrorString* errorString, const RefPtr<JSONObject>& loca… in setBreakpoint()
388 …RefPtr<JSONObject> breakpointsCookie = m_state->getObject(DebuggerAgentState::javaScriptBreakpoint… in removeBreakpoint()
389 JSONObject::iterator it = breakpointsCookie->find(breakpointId); in removeBreakpoint()
392 RefPtr<JSONObject> breakpointObject = it->value->asObject(); in removeBreakpoint()
415 void InspectorDebuggerAgent::continueToLocation(ErrorString* errorString, const RefPtr<JSONObject>&… in continueToLocation()
[all …]
DInspectorDOMDebuggerAgent.h50 class JSONObject; variable
99 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synchronous);
100 PassRefPtr<JSONObject> preparePauseOnNativeEventData(bool isDOMEvent, const String& eventName);
109 …void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion, JSONObject* descript…
DInspectorAgent.h46 class JSONObject; variable
81 …pect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect, PassRefPtr<JSONObject> hints);
91 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pendingInspectData;
DInjectedScriptCanvasModule.cpp165 RefPtr<JSONObject> resultObject = resultValue->asObject(); in replayTraceLog()
166 RefPtr<JSONObject> resourceStateObject = resultObject->getObject("resourceState"); in replayTraceLog()
205 RefPtr<JSONObject> resultObject = resultValue->asObject(); in evaluateTraceLogCallArgument()
206 RefPtr<JSONObject> remoteObject = resultObject->getObject("result"); in evaluateTraceLogCallArgument()
209 RefPtr<JSONObject> resourceStateObject = resultObject->getObject("resourceState"); in evaluateTraceLogCallArgument()
DInspectorOverlay.cpp458 static PassRefPtr<JSONObject> buildObjectForPoint(const FloatPoint& point) in buildObjectForPoint()
460 RefPtr<JSONObject> object = JSONObject::create(); in buildObjectForPoint()
476 static PassRefPtr<JSONObject> buildObjectForHighlight(const Highlight& highlight) in buildObjectForHighlight()
478 RefPtr<JSONObject> object = JSONObject::create(); in buildObjectForHighlight()
493 static PassRefPtr<JSONObject> buildObjectForSize(const IntSize& size) in buildObjectForSize()
495 RefPtr<JSONObject> result = JSONObject::create(); in buildObjectForSize()
513 RefPtr<JSONObject> highlightObject = buildObjectForHighlight(highlight); in drawNodeHighlight()
517 RefPtr<JSONObject> elementInfo = JSONObject::create(); in drawNodeHighlight()
644 RefPtr<JSONObject> resetData = JSONObject::create(); in reset()
/external/chromium_org/third_party/WebKit/Source/platform/
DJSONValues.h45 class JSONObject; variable
80 virtual bool asObject(RefPtr<JSONObject>* output);
82 virtual PassRefPtr<JSONObject> asObject();
164 virtual PassRefPtr<JSONObject> asObject();
165 JSONObject* openAccessors();
170 virtual bool asObject(RefPtr<JSONObject>* output);
176 void setObject(const String& name, PassRefPtr<JSONObject>);
190 PassRefPtr<JSONObject> getObject(const String& name) const;
213 class PLATFORM_EXPORT JSONObject : public JSONObjectBase {
215 static PassRefPtr<JSONObject> create() in create()
[all …]
DJSONValues.cpp126 bool JSONValue::asObject(RefPtr<JSONObject>*) in asObject() argument
136 PassRefPtr<JSONObject> JSONValue::asObject() in asObject()
255 bool JSONObjectBase::asObject(RefPtr<JSONObject>* output) in asObject()
257 COMPILE_ASSERT(sizeof(JSONObject) == sizeof(JSONObjectBase), cannot_cast); in asObject()
258 *output = static_cast<JSONObject*>(this); in asObject()
262 PassRefPtr<JSONObject> JSONObjectBase::asObject() in asObject()
267 JSONObject* JSONObjectBase::openAccessors() in openAccessors()
269 COMPILE_ASSERT(sizeof(JSONObject) == sizeof(JSONObjectBase), cannot_cast); in openAccessors()
270 return static_cast<JSONObject*>(this); in openAccessors()
289 PassRefPtr<JSONObject> JSONObjectBase::getObject(const String& name) const in getObject()
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
DAppRTCClient.java36 import org.json.JSONObject;
285 JSONObject json = new JSONObject(mediaConstraintsString); in getVideoConstraints()
310 JSONObject json = new JSONObject(jsonString); in constraintsFromJSON()
311 JSONObject mandatoryJSON = json.optJSONObject("mandatory"); in constraintsFromJSON()
326 JSONObject keyValueDict = optionalJSON.getJSONObject(i); in constraintsFromJSON()
368 JSONObject responseJSON = new JSONObject(response); in requestTurnServer()
386 JSONObject json = new JSONObject(pcConfig); in iceServersFromPCConfigJSON()
391 JSONObject server = servers.getJSONObject(i); in iceServersFromPCConfigJSON()
DAppRTCDemoActivity.java44 import org.json.JSONObject;
293 private void sendMessage(JSONObject json) { in sendMessage()
298 private static void jsonPut(JSONObject json, String key, Object value) { in jsonPut()
360 JSONObject json = new JSONObject(); in onIceCandidate()
432 JSONObject json = new JSONObject(); in onCreateSuccess()
502 JSONObject json = new JSONObject(data); in onMessage()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DXSSAuditorDelegate.cpp87 RefPtr<JSONObject> reportDetails = JSONObject::create(); in generateViolationReport()
91 RefPtr<JSONObject> reportObject = JSONObject::create(); in generateViolationReport()
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/
DHelloLicenseServlet.java24 import com.google.appengine.repackaged.org.json.JSONObject;
94 JSONObject json = new JSONObject(file); in doGet()
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-java/
DHelloLicenseServlet.java23 import com.google.appengine.repackaged.org.json.JSONObject;
93 JSONObject json = new JSONObject(file); in doGet()
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/workspace/HelloLicense/src/com/example/
DHelloLicenseServlet.java24 import com.google.appengine.repackaged.org.json.JSONObject;
94 JSONObject json = new JSONObject(file); in doGet()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DIncludedDependenciesTest.java3 import org.json.JSONObject;
17 assertEquals("value", new JSONObject("{'name':'value'}").getString("name")); in jsonShouldWork()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DGraphicsLayerDebugInfo.cpp34 RefPtr<JSONObject> rectContainer = JSONObject::create(); in appendAsTraceFormat()

123