HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 1 - 25 of 1526) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/site_utils/
validate_json_files.sh 9 for json in *.json; do
10 echo "Validating $json"
11 python -c "import json; json.load(open('$json'))" || \
12 printf "\n\n$json is broken!!!!\n\n"
  /external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
JsonRpcResult.java 19 import org.json.JSONException;
20 import org.json.JSONObject;
23 * Represents a JSON RPC result.
25 * @see http://json-rpc.org/wiki/specification
36 JSONObject json = new JSONObject(); local
37 json.put("id", id);
38 json.put("result", JSONObject.NULL);
39 json.put("error", JSONObject.NULL);
40 return json;
44 JSONObject json = new JSONObject() local
52 JSONObject json = new JSONObject(); local
    [all...]
JsonDeserializable.java 19 import org.json.JSONException;
20 import org.json.JSONObject;
JsonSerializable.java 19 import org.json.JSONException;
20 import org.json.JSONObject;
  /external/libweave/src/
json_error_codes.cc 10 namespace json { namespace in namespace:weave::errors
13 } // namespace json
json_error_codes.h 12 namespace json { namespace in namespace:weave::errors
15 } // namespace json
  /external/skia/src/gpu/
GrAuditTrail.cpp 10 void GrAuditTrail::JsonifyTArray(SkString* json, const char* name, const FrameArray& array,
14 json->appendf(",");
16 json->appendf("\"%s\": [", name);
18 json->append(array[i]->toJson());
20 json->append(",");
23 json->append("]");
27 // This will pretty print a very small subset of json
32 SkString prettify(const SkString& json) {
37 for (size_t i = 0; i < json.size(); i++) {
38 if ('[' == json[i] || '{' == json[i])
95 SkString json; local
108 SkString json; local
117 SkString json; local
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_json.py 1 """Tests for json.
3 The tests for json are defined in the json.tests package;
8 import json.tests
13 test.test_support.run_unittest(json.tests.test_suite())
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_json.py 1 """Tests for json.
3 The tests for json are defined in the json.tests package;
8 import json.tests
13 test.test_support.run_unittest(json.tests.test_suite())
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_json.py 1 """Tests for json.
3 The tests for json are defined in the json.tests package;
8 import json.tests
13 test.test_support.run_unittest(json.tests.test_suite())
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_json.py 1 """Tests for json.
3 The tests for json are defined in the json.tests package;
8 import json.tests
13 test.test_support.run_unittest(json.tests.test_suite())
  /prebuilts/misc/common/json/
json-prebuilt.jar 
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
JSONString.java 1 package com.google.polo.json;
12 * The <code>toJSONString</code> method allows a class to produce its own JSON
15 * @return A strictly syntactically correct JSON text.
  /external/skia/tools/json/
SkJSONRenderer.h 15 * Takes a JSON document produced by SkJSONCanvas and issues its draw commands to the target
18 void render(const char* json, SkCanvas* target);
  /libcore/json/src/main/java/org/json/
JSONException.java 17 package org.json;
19 // Note: this class was written without inspecting the non-free org.json sourcecode.
22 * Thrown to indicate a problem with the JSON API. Such problems include:
26 * <li>Use of numeric types not available to JSON, such as {@link
  /external/chromium-trace/catapult/third_party/webapp2/tests/
extras_json_test.py 2 from webapp2_extras import json
9 self.assertEqual(json.encode(
14 self.assertEqual(json.decode(
19 self.assertEqual(json.b64encode(
24 self.assertEqual(json.b64decode(
29 self.assertEqual(json.quote('<script>alert("hello")</script>'),
33 self.assertEqual(json.unquote('%22%3Cscript%3Ealert%28%5C%22hello%5C%22%29%3C%5C/script%3E%22'),
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_speedups.py 1 from json.tests import CTest
6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json")
7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)
10 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
12 self.assertIs(self.json.encoder.encode_basestring_ascii,
13 self.json.encoder.c_encode_basestring_ascii)
17 self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1)
20 self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_speedups.py 1 from json.tests import CTest
6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json")
7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)
10 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
12 self.assertIs(self.json.encoder.encode_basestring_ascii,
13 self.json.encoder.c_encode_basestring_ascii)
17 self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1)
20 self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
jsoncheckertest.cpp 44 char* json = (char*)malloc(length + 1); local
45 size_t readLength = fread(json, 1, length, fp);
46 json[readLength] = '\0';
48 return json;
54 // jsonchecker/failXX.json
56 if (i == 1) // fail1.json is valid in rapidjson, which has no limitation on type of root element (RFC 7159).
58 if (i == 18) // fail18.json is valid in rapidjson, which has no limitation on depth of nesting.
61 sprintf(filename, "fail%d.json", i);
63 char* json = ReadFile(filename, length); local
64 if (!json) {
84 char* json = ReadFile(filename, length); local
    [all...]
  /external/robolectric/v1/lib/main/
json-20080701.jar 
  /external/robolectric/v3/runtime/
json-20080701.jar 
  /prebuilts/tools/common/m2/repository/org/json/json/20080701/
json-20080701.jar 
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/
NumericValue.java 3 import com.badlogic.gdx.utils.Json;
25 public void write (Json json) {
26 super.write(json);
27 json.writeValue("value", value);
31 public void read (Json json, JsonValue jsonData) {
32 super.read(json, jsonData);
33 value = json.readValue("value", float.class, jsonData);
  /external/skia/infra/bots/flavor/
ssh_devices.py 10 import json
31 print json.dumps(SLAVE_INFO) # pragma: no cover
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
BackupSharedPreference.java 19 import org.json.JSONException;
20 import org.json.JSONObject;

Completed in 560 milliseconds

1 2 3 4 5 6 7 8 91011>>