Searched defs:json (Results 51 - 75 of 467) sorted by relevance

1234567891011>>

/external/libvpx/libvpx/test/android/
H A Dscrape_gtest_log.py9 """Standalone script which parses a gtest log for json.
12 waterfall to gather json results mixed in with gtest logs. This is
17 import json namespace
25 print "Expects a file to write json to!"
31 'o:', ['output-json='])
38 if opt in ('-o', '--output-json'):
46 output = json.dumps(json.loads(json_string), indent=4, sort_keys=True)
/external/chromium_org/build/android/
H A Dgenerate_emma_html.py10 import json namespace
64 sources.extend(json.load(sf))
/external/chromium_org/build/android/pylib/device/
H A Ddevice_blacklist.py5 import json namespace
13 'bad_devices.json')
30 return json.load(f)
41 json.dump(list(set(blacklist)), f)
/external/chromium_org/build/
H A Dfind_isolated_tests.py19 import json namespace
40 usage='%prog --build-dir <path> --output-json <path>',
46 '--output-json',
53 parser.error('--output-json option is required')
72 json.dump(result, f)
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Durl_util_unittest.cc8 #include "base/json/json_reader.h"
9 #include "base/json/json_writer.h"
22 const std::string json = net::UnescapeURLComponent( local
24 scoped_ptr<base::Value> value(base::JSONReader::Read(json));
/external/chromium_org/chrome/browser/web_resource/
H A Dnotification_promo_mobile_ntp.cc25 const base::DictionaryValue& json) {
27 json, NotificationPromo::MOBILE_NTP_SYNC_PROMO);
24 InitFromJson( const base::DictionaryValue& json) argument
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/
H A Dcanned_data.py5 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
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dwhats_new_data_source_test.py6 import json namespace
/external/chromium_org/chrome/test/ispy/server/
H A Dimage_handler.py7 import json namespace
/external/chromium_org/native_client_sdk/src/tools/
H A Dfix_manifest.py9 """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/third_party/WebKit/Source/devtools/scripts/
H A Dconcatenate_module_descriptors.py7 """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)
H A Ddevtools_file_hashes.py34 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/
H A Dinternal_alerts.py7 import json namespace
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dprint-json-test-results2 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/
H A Djson_results_generator_unittest.py29 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/
H A Dprint_layout_test_times.py29 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/
H A Dfallback_data_store_unittest.cc12 #include "third_party/libaddressinput/src/cpp/src/util/json.h"
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();
/external/chromium_org/tools/json_to_struct/
H A Delement_generator.py5 import json namespace
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/
H A Dnative_heap_dump_parser.py7 import json namespace
32 data = json.loads(content)
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/
H A Dmock_adb.py5 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/
H A Domahaproxy.py12 import json namespace
19 URL = 'https://omahaproxy.appspot.com/json'
24 data = json.load(urllib.urlopen(URL))
/external/chromium_org/tools/profile_chrome/
H A Dperf_controller_unittest.py6 import json namespace
40 json.loads(f.read())
/external/chromium_org/tools/telemetry/telemetry/results/
H A Dchart_json_output_formatter.py7 import json namespace
20 object) and processes them into a dict which can be serialized using the json
68 json.dump(_ResultsAsChartDict(
H A Djson_output_formatter.py5 import json namespace
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/
H A Dsizeviewer.py5 import json namespace
49 json_path = dll_path + '.json'
61 all_data = json.load(jsonf)
88 {'data': json.dumps(data, indent=2),

Completed in 677 milliseconds

1234567891011>>