/external/chromium_org/tools/deep_memory_profiler/lib/ |
H A D | policy.py | 5 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 D | sorter.py | 6 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 D | cat.py | 5 import json namespace 79 json.dump(json_root, sys.stdout, indent=2) 81 json.dump(json_root, sys.stdout)
|
H A D | policies.py | 6 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 D | app.py | 10 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 D | app_unittest.py | 9 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 D | services.py | 9 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 D | dromaeo_benchmark_runner.py | 38 import json namespace 211 tests = json.loads(data[0])
|
/external/chromium_org/tools/find_runtime_symbols/ |
H A D | find_runtime_symbols.py | 11 import json namespace 40 _FILES_FILENAME = 'files.json' 88 files = json.load(f)
|
H A D | prepare_symbol_info.py | 7 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 D | chromium_deps.py | 6 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 D | crash_utils.py | 8 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 D | gen_keyboard_overlay_data.py | 35 import json namespace 454 json_data = json.dumps(data, sort_keys=True, indent=2)
|
/external/chromium_org/tools/ |
H A D | gyp-explain.py | 9 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 D | gypv8sh.py | 10 import json namespace 41 cmd.extend(['-e', "arguments=" + json.dumps(arguments), mock_js,
|
H A D | isolate_driver.py | 23 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 D | cpp_bundle_generator.py | 11 import json namespace 280 json_content = json.dumps([_RemoveDescriptions(api)],
|
H A D | idl_schema.py | 7 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 D | json_parse.py | 5 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 D | test_util.cc | 9 #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 D | element_generator.py | 5 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 D | json_to_struct.py | 49 import json namespace 173 result = json.loads(json_comment_eater.Nom(handle.read()))
|
/external/chromium_org/tools/memory_inspector/memory_inspector/backends/ |
H A D | android_backend.py | 13 import json namespace 357 stats = json.loads(dump_out)
|
H A D | native_heap_dump_parser.py | 7 import json namespace 32 data = json.loads(content)
|
/external/chromium_org/tools/memory_inspector/memory_inspector/data/ |
H A D | file_storage.py | 17 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...] |