/external/chromium_org/tools/checkperms/ |
checkperms.py | 28 import json namespace 100 'json', 437 parser.add_option('--json', help='Path to JSON output file') 463 if options.json: 464 with open(options.json, 'w') as f: 465 json.dump(errors, f)
|
/external/chromium_org/tools/json_schema_compiler/test/ |
test_util.h | 15 scoped_ptr<base::Value> ReadJson(const base::StringPiece& json);
|
/external/chromium_org/tools/telemetry/examples/ |
measure_trace.py | 7 import json namespace 58 json.load(trace_file))
|
/external/chromium_org/v8/test/mjsunit/ |
mirror-null.js | 31 // Create mirror and JSON representation. 34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 48 // Parse JSON representation and check. 49 var fromJSON = eval('(' + json + ')');
|
mirror-undefined.js | 31 // Create mirror and JSON representation. 34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 48 // Parse JSON representation and check. 49 var fromJSON = eval('(' + json + ')');
|
/libcore/json/src/main/java/org/json/ |
JSON.java | 17 package org.json; 19 class JSON { 21 * Returns the input if it is a JSON-permissible value; throws otherwise.
|
JSONTokener.java | 17 package org.json; 19 // Note: this class was written without inspecting the non-free org.json sourcecode. 22 * Parses a JSON (<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>) 26 * String json = "{" 31 * JSONObject object = (JSONObject) new JSONTokener(json).nextValue(); 35 * <p>For best interoperability and performance use JSON that complies with 38 * input string was valid JSON. All of the following syntax errors will be 55 * <p>Each tokener may be used to parse a single JSON string. Instances of this 64 /** The input JSON. */ 74 * @param in JSON encoded string. Null is not permitted and will yield [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
AttachmentComposeView.java | 31 import org.json.JSONException;
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
SendersFormattingTests.java | 30 import org.json.JSONException; 31 import org.json.JSONObject; 279 final JSONObject json = new JSONObject(map); local 281 return Account.builder().buildFrom(json);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_float.py | 2 from json.tests import PyTest, CTest
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_float.py | 2 from json.tests import PyTest, CTest
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 34 import org.json.JSONArray; 35 import org.json.JSONException; 36 import org.json.JSONObject; 169 // Create a special JSONArray of our JSON contacts
|
/external/chromium_org/base/metrics/ |
statistics_recorder.cc | 9 #include "base/json/string_escape.h" 189 std::string json; local 190 (*it)->WriteJSON(&json); 191 output += json;
|
/external/chromium_org/build/android/pylib/utils/ |
json_results_generator_unittest.py | 11 import json namespace 76 None, # don't fetch past json results archive 81 # Test incremental json results 178 # Generate JSON with the same test sets. (Both incremental results and 213 self.assertEqual(json.dumps(trie), json.dumps(expected_trie))
|
/external/chromium_org/chrome/browser/ui/webui/ |
policy_ui_browsertest.cc | 8 #include "base/json/json_reader.h" 143 "domAutomationController.send(JSON.stringify(policies));"; 146 std::string json; local 148 &json)); 149 scoped_ptr<base::Value> value_ptr(base::JSONReader::Read(json));
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
fake_fetchers.py | 10 import json namespace 43 return _ReadTestData('branch_utility', 'first.json') 48 return _ReadTestData('branch_utility', 'second.json') 98 return json.dumps({'commit': '1' * 40}) 115 return json.dumps(jsn) 168 'rietveld_patcher', self._base_pattern.match(url).group(1), 'json')
|
samples_model.py | 5 import json namespace 79 manifest = self._text_cache.GetFromFile(path + '/manifest.json').Get() 81 manifest_json = json.loads(json_comment_eater.Nom(manifest)) 83 logging.error('Error parsing manifest.json for %s: %s' % (path, e)) 98 return (path, json.loads(self._text_cache.GetFromFile(path).Get())) 101 locales_json = [load_locale_json(locales_path + f + 'messages.json') 113 if filename.rsplit('/')[-1] != 'manifest.json':
|
/external/chromium_org/chrome/test/chromedriver/client/ |
command_executor.py | 6 import json namespace 166 body = json.dumps(params) 176 return json.loads(response.read())
|
/external/chromium_org/components/invalidation/ |
p2p_invalidator.cc | 10 #include "base/json/json_reader.h" 11 #include "base/json/json_writer.h" 110 std::string json; local 111 base::JSONWriter::Write(dict.get(), &json); 112 return json;
|
/external/chromium_org/content/browser/webui/ |
web_ui_impl.cc | 7 #include "base/json/json_writer.h" 34 std::string json; local 39 base::JSONWriter::Write(arg_list[i], &json); 40 parameters += base::UTF8ToUTF16(json);
|
/external/chromium_org/content/public/browser/ |
devtools_protocol_constants_generator.py | 8 import json namespace 27 // third_party/WebKit/Source/devtools/protocol.json and 28 // content/browser/devtools/browser_protocol.json 56 // third_party/WebKit/Source/devtools/protocol.json and 57 // content/browser/devtools/browser_protocol.json 155 blink_protocol = json.loads(blink_protocol_data) 162 browser_protocol = json.loads(browser_protocol_data)
|
/external/chromium_org/net/base/ |
capturing_net_log.cc | 7 #include "base/json/json_writer.h" 73 std::string json; 74 base::JSONWriter::Write(params.get(), &json); 75 return json;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/devices/ |
DevicesView.js | 73 var json = JSON.stringify(data); 74 if (element.__cachedJSON === json) 76 element.__cachedJSON = json;
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
CodeGeneratorFrontend.py | 37 import json namespace 39 import simplejson as json namespace 56 sys.stderr.write("Usage: <script> protocol.json --output_js_dir <output_js_dir>\n") 146 json_api = json.loads(json_string)
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
FormatInterpreter.java | 21 import org.json.JSONException; 22 import org.json.JSONObject; 23 import org.json.JSONTokener; 268 Util.checkNotNull(jsonString, "no json data for region code " + regionCode); 280 throw new RuntimeException("Invalid json for region code " + regionCode
|