/external/chromium_org/build/ |
find_isolated_tests.py | 7 hashes, stores final list in JSON document and then removes *.isolated files 19 import json namespace 40 usage='%prog --build-dir <path> --output-json <path>', 46 '--output-json', 47 help='File to dump JSON results into.') 53 parser.error('--output-json option is required') 72 json.dump(result, f)
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
url_util_unittest.cc | 8 #include "base/json/json_reader.h" 9 #include "base/json/json_writer.h" 20 // Pretty print the JSON escaped in the query string. 22 const std::string json = net::UnescapeURLComponent( local 24 scoped_ptr<base::Value> value(base::JSONReader::Read(json)); 53 // The escaped query is hard to read. Pretty print the escaped JSON. 101 // The escaped query is hard to read. Pretty print the escaped JSON.
|
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/ |
canned_data.py | 5 import json namespace 54 '_api_features.json': json.dumps({ 58 '_manifest_features.json': '{}', 59 '_permission_features.json': '{}' 71 'json': { 72 'api_availabilities.json': json.dumps({ 87 'intro_tables.json': json.dumps( [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
whats_new_data_source_test.py | 6 import json namespace
|
/external/chromium_org/chrome/test/chromedriver/server/ |
http_handler_unittest.cc | 8 #include "base/json/json_writer.h" 76 std::string json; local 77 base::JSONWriter::Write(&body, &json); 78 ASSERT_EQ(json, response.body()); 121 std::string json; local 122 base::JSONWriter::Write(&body, &json); 123 ASSERT_EQ(json, response.body());
|
/external/chromium_org/chrome/test/ispy/server/ |
image_handler.py | 7 import json namespace
|
/external/chromium_org/native_client_sdk/src/tools/ |
fix_manifest.py | 9 """Fix Chrome App manifest.json files for use with multi-platform zip files. 14 The manifest.json file needs to point to the correct platform-specific paths, 16 we can't have one manifest.json for all combinations. 18 Instead, we update the top-level manifest.json file during the build: 38 import json namespace 62 usage='Usage: %prog [options] manifest.json', description=__doc__) 84 data = json.load(f, object_pairs_hook=collections.OrderedDict) 86 data = json.load(f) 118 json.dump(data, f, indent=2)
|
/external/chromium_org/remoting/base/ |
vlog_net_log.cc | 7 #include "base/json/json_writer.h" 37 std::string json; local 38 base::JSONWriter::Write(value.get(), &json); 39 VLOG(4) << json;
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
concatenate_module_descriptors.py | 7 """Inlines all module.json files into "var allDescriptors" in Runtime.js.""" 16 import simplejson as json namespace 18 import json namespace 34 module_json = json.loads(read_file(json_filename)) 42 return json.dumps(result)
|
devtools_file_hashes.py | 34 import json namespace 36 import simplejson as json namespace 42 json.dump(hashes, hashes_file, indent=4, separators=(",", ": ")) 51 hashes = json.load(hashes_file)
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/ |
internal_alerts.py | 7 import json namespace
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
print-json-test-results | 2 import json namespace 12 parser = optparse.OptionParser(usage='%prog [path-to-results.json]') 38 txt = host.filesystem.read_text_file(host.filesystem.join(host.port_factory.get(options=options).results_directory(), 'full_results.json')) 42 results = json.loads(txt) 60 results = json.loads(txt)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
json_results_generator_unittest.py | 29 import json namespace 55 json = "['contents']" 56 self.assertEqual(json_results_generator.strip_json_wrapper(json_results_generator._JSON_PREFIX + json + json_results_generator._JSON_SUFFIX), json) 57 self.assertEqual(json_results_generator.strip_json_wrapper(json), json) 82 self.assertEqual(json.dumps(trie), json.dumps(expected_trie))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/ |
print_layout_test_times.py | 29 import json namespace 36 parser = optparse.OptionParser(usage='%prog [times_ms.json]') 61 times_ms_path = host.filesystem.join(port.results_directory(), 'times_ms.json') 63 times_trie = json.loads(host.filesystem.read_text_file(times_ms_path))
|
/external/chromium_org/third_party/libaddressinput/chromium/ |
fallback_data_store_unittest.cc | 12 #include "third_party/libaddressinput/src/cpp/src/util/json.h" 17 using i18n::addressinput::Json; 30 // Should be valid JSON. 31 Json json; local 32 ASSERT_TRUE(json.ParseObject(data)); 36 EXPECT_FALSE(json.GetStringValueForKey("data/US", &value)); 39 const std::vector<const Json*>& sub_dicts = json.GetSubDictionaries(); 41 for (std::vector<const Json*>::const_iterator it = sub_dicts.begin() [all...] |
/external/chromium_org/tools/json_to_struct/ |
element_generator.py | 5 import json namespace 9 """Converts a JSON string literal to a C++ UTF-16 string literal. This is 32 # json.dumps quotes the string and escape characters as required. 33 lines.append(' %s,' % json.dumps(content)) 42 # json.dumps quotes the string and escape characters as required. 43 lines.append(' L%s,' % _JSONToCString16(json.dumps(content)))
|
/external/chromium_org/tools/memory_inspector/memory_inspector/backends/ |
native_heap_dump_parser.py | 7 import json namespace 23 heap_dump provides a conveniente JSON output. 32 data = json.loads(content)
|
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/ |
mock_adb.py | 5 import json namespace 16 commands. The dictionary is stored into a json file and read by the mock 'adb' 17 script. The path of the json dict is held in the MOCK_ADB_CFG env var. 27 json.dump(self._responses, f)
|
/external/chromium_org/tools/ |
omahaproxy.py | 12 import json namespace 19 URL = 'https://omahaproxy.appspot.com/json' 24 data = json.load(urllib.urlopen(URL))
|
/external/chromium_org/tools/profile_chrome/ |
perf_controller_unittest.py | 6 import json namespace 40 json.loads(f.read())
|
/external/chromium_org/tools/telemetry/telemetry/results/ |
chart_json_output_formatter.py | 7 import json namespace 14 """Produces a dict for serialization to Chart JSON format from raw values. 16 Chart JSON is a transformation of the basic Telemetry JSON format that 20 object) and processes them into a dict which can be serialized using the json 31 A Chart JSON dict corresponding to the given data. 61 # TODO(eakuefner): Transition this to translate Telemetry JSON. 68 json.dump(_ResultsAsChartDict(
|
json_output_formatter.py | 5 import json namespace 10 """Takes PageTestResults to a dict serializable to JSON. 12 To serialize results as JSON we first convert them to a dict that can be 13 serialized by the json module. It also requires a benchmark_metadat object 48 json.dump(ResultsAsDict(page_test_results, self.benchmark_metadata),
|
/external/chromium_org/tools/win/sizeviewer/ |
sizeviewer.py | 5 import json namespace 49 json_path = dll_path + '.json' 61 all_data = json.load(jsonf) 88 {'data': json.dumps(data, indent=2),
|
/external/clang/tools/clang-format/ |
clang-format.py | 21 import json namespace 74 output = json.loads(lines[0])
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
HTTPTokener.java | 1 package com.google.polo.json; 4 Copyright (c) 2002 JSON.org 30 * @author JSON.org
|