Searched defs:json (Results 151 - 175 of 467) sorted by last modified time

1234567891011>>

/external/chromium_org/tools/deep_memory_profiler/lib/
H A Dpolicy.py5 import json namespace
14 POLICIES_JSON_PATH = os.path.join(BASE_PATH, 'policies.json')
261 filetype: A string to specify a type of the file. Only 'json' is
276 filetype: A string to specify a type of the file. Only 'json' is
282 if filetype == 'json':
291 """Parses policy file in json format.
305 policy = json.loads(policy_json)
360 For example, a policy "policy.l0.json" is labeled "l0" in the default
361 policy directory "policies.json".
396 default_policy_directory = json
[all...]
H A Dsorter.py6 import json namespace
19 os.path.join(BASE_PATH, 'sorters', 'malloc.browser-module.json'),
20 os.path.join(BASE_PATH, 'sorters', 'malloc.renderer-module.json'),
21 os.path.join(BASE_PATH, 'sorters', 'malloc.type.json'),
22 os.path.join(BASE_PATH, 'sorters', 'malloc.WebCore.json'),
23 os.path.join(BASE_PATH, 'sorters', 'vm.Android-specific.json'),
24 os.path.join(BASE_PATH, 'sorters', 'vm.base.json'),
25 os.path.join(BASE_PATH, 'sorters', 'vm.GPU.json'),
26 os.path.join(BASE_PATH, 'sorters', 'vm.sharing.json'),
27 os.path.join(BASE_PATH, 'sorters', 'vm.Skia.json'),
[all...]
/external/chromium_org/tools/deep_memory_profiler/subcommands/
H A Dcat.py5 import json namespace
79 json.dump(json_root, sys.stdout, indent=2)
81 json.dump(json_root, sys.stdout)
H A Dpolicies.py6 import json namespace
325 super(JSONCommand, self).__init__('json')
358 json.dump(json_base, out, indent=2, sort_keys=True)
/external/chromium_org/tools/deep_memory_profiler/visualizer/
H A Dapp.py10 import json namespace
45 template_values['json'] = services.GetProfiler(run_id)
54 that user can upload large json file."""
82 content = json.loads(self.request.POST['content'])
H A Dapp_unittest.py9 import json namespace
46 self.correct_blob = ServicesTest.CreateBlob('testdata/sample.json')
47 self.error_blob = ServicesTest.CreateBlob('testdata/error_sample.json')
70 json_obj = json.loads(correct_blob['json_str'])
72 template_entity = ndb.Key('Template', json.dumps(content)).get()
H A Dservices.py9 import json namespace
16 """Profiler entity to store json data. Use run_id as its key.
30 json_obj = json.loads(json_str)
54 json_obj = json.loads(json_str)
65 content_str = json.dumps(content)
79 content_str = json.dumps(content)
93 return json.dumps(template.content)
/external/chromium_org/tools/dromaeo_benchmark_runner/
H A Ddromaeo_benchmark_runner.py38 import json namespace
211 tests = json.loads(data[0])
/external/chromium_org/tools/find_runtime_symbols/
H A Dfind_runtime_symbols.py11 import json namespace
40 _FILES_FILENAME = 'files.json'
88 files = json.load(f)
H A Dprepare_symbol_info.py7 import json namespace
74 1-c) If |output_dir_path| is a directory which has 'files.json', assumes that
119 if os.path.exists(os.path.join(output_dir_path, 'files.json')):
201 with open(os.path.join(output_dir_path, 'files.json'), 'w') as f:
202 json.dump(files, f, indent=2, sort_keys=True)
/external/chromium_org/tools/findit/
H A Dchromium_deps.py6 import json namespace
16 CONFIG = json.loads(open(os.path.join(_THIS_DIR,
17 'deps_config.json'), 'r').read())
126 cr_rev_data = json.loads(content)
H A Dcrash_utils.py8 import json namespace
280 """Loads json object from string, or None.
289 data = json.loads(json_string)
/external/chromium_org/tools/gen_keyboard_overlay_data/
H A Dgen_keyboard_overlay_data.py35 import json namespace
454 json_data = json.dumps(data, sort_keys=True, indent=2)
/external/chromium_org/tools/
H A Dgyp-explain.py9 import json namespace
75 # Check that dump.json exists and that it's not too old.
78 st = os.stat('dump.json')
81 print 'dump.json is more than 2 hours old.'
84 print 'dump.json not found.'
93 g = json.load(open('dump.json'))
H A Dgypv8sh.py10 import json namespace
41 cmd.extend(['-e', "arguments=" + json.dumps(arguments), mock_js,
H A Disolate_driver.py23 import json namespace
117 '.a', '.cc', '.css', '.def', '.frag', '.h', '.html', '.js', '.json',
266 json.dump({
295 # isolated.py invocation later, store it in *.isolated.gen.json file.
297 prepare_isolate_call(args[1:], args[isolated] + '.gen.json')
/external/chromium_org/tools/json_schema_compiler/
H A Dcpp_bundle_generator.py11 import json namespace
280 json_content = json.dumps([_RemoveDescriptions(api)],
H A Didl_schema.py7 import json namespace
473 Dump a json serialization of parse result for the IDL files whose names
479 print json.dumps(schema, indent=2)
484 print json.dumps(schema, indent=2)
H A Djson_parse.py5 import json namespace
22 # Successfully imported, so we're running Python >= 2.7, and json.loads
25 return json.loads(json_comment_eater.Nom(json_str),
29 # Failed to import, so we're running Python < 2.7, and json.loads doesn't
33 # let json-schema-compiler do its thing.
/external/chromium_org/tools/json_schema_compiler/test/
H A Dtest_util.cc9 #include "base/json/json_reader.h"
15 scoped_ptr<base::Value> ReadJson(const base::StringPiece& json) { argument
19 json,
23 // CHECK not ASSERT since passing invalid |json| is a test error.
/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)))
H A Djson_to_struct.py49 import json namespace
173 result = json.loads(json_comment_eater.Nom(handle.read()))
/external/chromium_org/tools/memory_inspector/memory_inspector/backends/
H A Dandroid_backend.py13 import json namespace
357 stats = json.loads(dump_out)
H A Dnative_heap_dump_parser.py7 import json namespace
32 data = json.loads(content)
/external/chromium_org/tools/memory_inspector/memory_inspector/data/
H A Dfile_storage.py17 import json namespace
28 _SETTINGS_FILE = 'settings-%s.json'
37 """Loads a key-value dict from the /settings-name.json file.
44 return json.load(f)
47 """Stores a key-value dict into /settings-name.json file."""
55 return json.dump(settings, f)
81 _MMAP_EXT = '-mmap.json'
82 _NHEAP_EXT = '-nheap.json'
84 _SYM_FILE = 'syms.json'
98 json
[all...]

Completed in 197 milliseconds

1234567891011>>