/external/chromium_org/v8/test/webkit/resources/ |
JSON-stringify.js | 44 result.push(function(jsonObject){ 45 return jsonObject.stringify(1); 47 result.push(function(jsonObject){ 48 return jsonObject.stringify(1.5); 50 result.push(function(jsonObject){ 51 return jsonObject.stringify(-1); 53 result.push(function(jsonObject){ 54 return jsonObject.stringify(-1.5); 56 result.push(function(jsonObject){ 57 return jsonObject.stringify(null) [all...] |
/external/chromium_org/v8/test/webkit/ |
run-json-stringify-expected.txt | 1 function (jsonObject){ 2 return jsonObject.stringify(1); 5 function (jsonObject){ 6 return jsonObject.stringify(1.5); 9 function (jsonObject){ 10 return jsonObject.stringify(-1); 13 function (jsonObject){ 14 return jsonObject.stringify(-1.5); 17 function (jsonObject){ 18 return jsonObject.stringify(null) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
TimelineRecordFactory.cpp | 47 PassRefPtr<TimelineEvent> TimelineRecordFactory::createGenericRecord(double startTime, int maxCallStackDepth, const String& type, PassRefPtr<JSONObject> data) 62 PassRefPtr<TimelineEvent> TimelineRecordFactory::createBackgroundRecord(double startTime, const String& threadName, const String& type, PassRefPtr<JSONObject> data) 73 PassRefPtr<JSONObject> TimelineRecordFactory::createGCEventData(size_t usedHeapSizeDelta) 75 RefPtr<JSONObject> data = JSONObject::create(); 80 PassRefPtr<JSONObject> TimelineRecordFactory::createFunctionCallData(int scriptId, const String& scriptName, int scriptLine) 82 RefPtr<JSONObject> data = JSONObject::create(); 89 PassRefPtr<JSONObject> TimelineRecordFactory::createEventDispatchData(const Event& event) 91 RefPtr<JSONObject> data = JSONObject::create() [all...] |
TimelineRecordFactory.h | 51 static PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createGenericRecord(double startTime, int maxCallStackDepth, const String& type, PassRefPtr<JSONObject> data); 52 static PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createBackgroundRecord(double startTime, const String& thread, const String& type, PassRefPtr<JSONObject> data); 54 static PassRefPtr<JSONObject> createGCEventData(size_t usedHeapSizeDelta); 55 static PassRefPtr<JSONObject> createFunctionCallData(int scriptId, const String& scriptName, int scriptLine); 56 static PassRefPtr<JSONObject> createEventDispatchData(const Event&); 57 static PassRefPtr<JSONObject> createGenericTimerData(int timerId); 58 static PassRefPtr<JSONObject> createTimerInstallData(int timerId, int timeout, bool singleShot); 59 static PassRefPtr<JSONObject> createXHRReadyStateChangeData(const String& url, int readyState); 60 static PassRefPtr<JSONObject> createXHRLoadData(const String& url); 61 static PassRefPtr<JSONObject> createEvaluateScriptData(const String&, double lineNumber) [all...] |
InspectorDOMDebuggerAgent.cpp | 184 static PassRefPtr<JSONObject> ensurePropertyObject(JSONObject* object, const String& propertyName) 186 JSONObject::iterator it = object->find(propertyName); 190 RefPtr<JSONObject> result = JSONObject::create(); 210 RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListenerBreakpoints); 211 RefPtr<JSONObject> breakpointsByTarget = ensurePropertyObject(eventListenerBreakpoints.get(), eventName); 236 RefPtr<JSONObject> eventListenerBreakpoints = m_state->getObject(DOMDebuggerAgentState::eventListenerBreakpoints); 237 RefPtr<JSONObject> breakpointsByTarget = ensurePropertyObject(eventListenerBreakpoints.get(), eventName); 248 RefPtr<JSONObject> eventData = JSONObject::create() [all...] |
InspectorState.cpp | 38 InspectorState::InspectorState(InspectorStateUpdateListener* listener, PassRefPtr<JSONObject> properties) 50 void InspectorState::setFromCookie(PassRefPtr<JSONObject> properties) 69 JSONObject::iterator it = m_properties->find(propertyName); 78 JSONObject::iterator it = m_properties->find(propertyName); 93 JSONObject::iterator it = m_properties->find(propertyName); 107 JSONObject::iterator it = m_properties->find(propertyName); 114 PassRefPtr<JSONObject> InspectorState::getObject(const String& propertyName) 116 JSONObject::iterator it = m_properties->find(propertyName); 118 m_properties->setObject(propertyName, JSONObject::create()); 133 RefPtr<JSONObject> stateProperties = JSONObject::create() [all...] |
CodeGeneratorInspectorStrings.py | 47 """void InspectorBackendDispatcherImpl::${domainName}_$methodName(long callId, JSONObject*$requestMessageObject, JSONArray* protocolErrors) 65 RefPtr<JSONObject> jsonMessage = JSONObject::create(); 77 RefPtr<JSONObject> jsonMessage = JSONObject::create(); 136 class JSONObject; 159 void sendIfActive(PassRefPtr<JSONObject> partialMessage, const ErrorString& invocationError, PassRefPtr<JSONValue> errorData); 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); 262 static int getInt(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors) [all...] |
/libcore/json/src/test/java/org/json/ |
JSONObjectTest.java | 40 JSONObject object = new JSONObject(); 109 JSONObject a = new JSONObject(); 110 JSONObject b = new JSONObject(); 118 JSONObject object = new JSONObject(); 142 JSONObject object = new JSONObject(); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsLayerDebugInfo.cpp | 39 RefPtr<JSONObject> jsonObject = JSONObject::create(); 40 appendLayoutRects(jsonObject.get()); 41 appendCompositingReasons(jsonObject.get()); 42 appendDebugName(jsonObject.get()); 43 appendOwnerNodeId(jsonObject.get()); 44 *out = jsonObject->toJSONString(); 63 void GraphicsLayerDebugInfo::appendLayoutRects(JSONObject* jsonObject) cons [all...] |
LoggingCanvas.cpp | 45 PassRefPtr<JSONObject> logItem(const String& name); 46 PassRefPtr<JSONObject> logItemWithParams(const String& name); 51 RefPtr<JSONObject> m_logItem; 59 PassRefPtr<JSONObject> AutoLogger::logItem(const String& name) 61 RefPtr<JSONObject> item = JSONObject::create(); 67 PassRefPtr<JSONObject> AutoLogger::logItemWithParams(const String& name) 69 RefPtr<JSONObject> item = logItem(name); 70 RefPtr<JSONObject> params = JSONObject::create() [all...] |
LoggingCanvas.h | 96 PassRefPtr<JSONObject> addItem(const String& name); 97 PassRefPtr<JSONObject> addItemWithParams(const String& name); 98 PassRefPtr<JSONObject> objectForSkRect(const SkRect&); 99 PassRefPtr<JSONObject> objectForSkIRect(const SkIRect&); 101 PassRefPtr<JSONObject> objectForSkPoint(const SkPoint&); 103 PassRefPtr<JSONObject> objectForSkPicture(const SkPicture&); 104 PassRefPtr<JSONObject> objectForRadius(const SkRRect& rrect, SkRRect::Corner); 107 PassRefPtr<JSONObject> objectForSkRRect(const SkRRect&); 112 PassRefPtr<JSONObject> objectForSkPath(const SkPath&); 114 PassRefPtr<JSONObject> objectForBitmapData(const SkBitmap&) [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
JsonMessageBuilder.java | 25 import com.google.polo.json.JSONObject; 107 * @param outerMessage a {@link JSONObject} corresponding to the 110 * @throws PoloException on error parsing the {@link JSONObject} 112 public static PoloMessage outerJsonToPoloMessage(JSONObject outerMessage) 114 JSONObject payload; 159 * @throws PoloException on error parsing the {@link JSONObject} 161 static PairingRequestMessage getPairingRequest(JSONObject body) 181 static PairingRequestAckMessage getPairingRequestAck(JSONObject body) 199 * @throws PoloException on error parsing the {@link JSONObject} 201 static OptionsMessage getOptionsMessage(JSONObject body [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
JsonObjectRequest.java | 26 import org.json.JSONObject; 31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an 32 * optional {@link JSONObject} to be passed in as part of the request body. 34 public class JsonObjectRequest extends JsonRequest<JSONObject> { 40 * @param jsonRequest A {@link JSONObject} to post with the request. Null is allowed and 45 public JsonObjectRequest(int method, String url, JSONObject jsonRequest, 46 Listener<JSONObject> listener, ErrorListener errorListener) { 55 * @see #JsonObjectRequest(int, String, JSONObject, Listener, ErrorListener) 57 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
XmlMessageBuilder.java | 23 import com.google.polo.json.JSONObject; 129 JSONObject outerMessage; 136 JSONObject payload; 185 * NOTE(mikey): These methods are implemented in terms of JSONObject 204 * @throws PoloException on error parsing the {@link JSONObject} 206 PairingRequestMessage getPairingRequest(JSONObject body) 209 JSONObject jsonObj = body.getJSONObject( 228 * @throws PoloException on error parsing the {@link JSONObject} 230 PairingRequestAckMessage getPairingRequestAck(JSONObject body) 233 JSONObject jsonObj = body.getJSONObject [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
JsonBackedSuggestionExtras.java | 19 import org.json.JSONObject; 28 * SuggestionExtras taking values from a {@link JSONObject}. 33 private final JSONObject mExtras; 37 mExtras = new JSONObject(json); 46 mExtras = new JSONObject(); 50 mExtras.put(column, value == null ? JSONObject.NULL : value);
|
/developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
AssetUtils.java | 25 import org.json.JSONObject; 47 public static JSONObject loadJSONAsset(Context context, String asset) { 49 JSONObject jsonObject = null; 51 jsonObject = new JSONObject(jsonString); 55 return jsonObject;
|
/developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
AssetUtils.java | 25 import org.json.JSONObject; 47 public static JSONObject loadJSONAsset(Context context, String asset) { 49 JSONObject jsonObject = null; 51 jsonObject = new JSONObject(jsonString); 55 return jsonObject;
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
AssetUtils.java | 25 import org.json.JSONObject; 47 public static JSONObject loadJSONAsset(Context context, String asset) { 49 JSONObject jsonObject = null; 51 jsonObject = new JSONObject(jsonString); 55 return jsonObject;
|
/external/chromium_org/remoting/webapp/ |
gnubby_auth_handler.js | 68 * @param {Object} jsonObject The JSON object to send to the gnubbyd extension. 73 function(jsonObject, callback) { 78 jsonObject, 79 onGnubbydDevReply_.bind(this, jsonObject, callback)); 86 * @param {Object} jsonObject The JSON object to send to the gnubbyd extension. 92 function onGnubbydDevReply_(jsonObject, callback, reply) { 98 chrome.runtime.sendMessage(kGnubbydStableExtensionId, jsonObject, callback);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
TracedValue.cpp | 32 m_stack.append(JSONObject::create()); 62 RefPtr<JSONObject> dictionary = JSONObject::create(); 110 RefPtr<JSONObject> dictionary = JSONObject::create(); 128 JSONObject* TracedValue::currentDictionary() const 132 return static_cast<JSONObject*>(m_stack.last().get());
|
TracedValue.h | 15 class JSONObject; 47 JSONObject* currentDictionary() const;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
CookieList.java | 30 * Convert a web browser cookie list string to a JSONObject and back. 37 * Convert a cookie list into a JSONObject. A cookie list is a sequence 46 * @return A JSONObject 49 public static JSONObject toJSONObject(String string) throws JSONException { 50 JSONObject o = new JSONObject(); 63 * Convert a JSONObject into a cookie list. A cookie list is a sequence 67 * @param o A JSONObject 71 public static String toString(JSONObject o) throws JSONException {
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
BluetoothPbapCard.java | 26 import org.json.JSONObject; 64 JSONObject json = new JSONObject(); 82 JSONObject json = new JSONObject(); 103 JSONObject jsonPhone = new JSONObject(); 125 JSONObject jsonEmail = new JSONObject();
|
/external/chromium_org/third_party/libaddressinput/src/java/testlibs/ |
json-20090211.jar | |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
IncludedDependenciesTest.java | 3 import org.json.JSONObject; 17 assertEquals("value", new JSONObject("{'name':'value'}").getString("name"));
|