/external/icu/icu4c/source/python/icutools/databuilder/ |
D | filtration.py | 23 def create_from_json(json_data, io): argument 25 if "filterType" in json_data: 26 filter_type = json_data["filterType"] 31 return FileStemFilter(json_data) 33 return LanguageFilter(json_data) 35 return RegexFilter(json_data) 39 return UnionFilter(json_data, io) 41 return LocaleFilter(json_data, io) 82 def __init__(self, json_data): argument 83 if "whitelist" in json_data: [all …]
|
D | __main__.py | 208 json_data = config.filters_json_data["fileReplacements"] 209 dirname = json_data["directory"] 210 for directive in json_data["replacements"]:
|
/external/python/oauth2client/oauth2client/ |
D | service_account.py | 424 def from_json(cls, json_data): argument 436 if not isinstance(json_data, dict): 437 json_data = json.loads(_helpers._from_bytes(json_data)) 440 pkcs12_val = json_data.get(_PKCS12_KEY) 443 private_key_pkcs8_pem = json_data['_private_key_pkcs8_pem'] 450 password = json_data['_private_key_password'] 454 json_data['_service_account_email'], 456 scopes=json_data['_scopes'], 457 private_key_id=json_data['_private_key_id'], 458 client_id=json_data['client_id'], [all …]
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | gen_texture_format_table.py | 215 def parse_json_angle_format_case(format_name, angle_format, json_data): argument 241 unsupported_case, _, _ = parse_json_angle_format_case(fallback, json_data[fallback], 242 json_data) 251 def parse_json_into_switch_angle_format_string(json_map, json_data): argument 256 if format_name not in json_data: 265 angle_format = json_data[format_name] 268 format_name, angle_format, json_data) 303 json_data = angle_format.load_json(data_source_name) 305 angle_format_cases = parse_json_into_switch_angle_format_string(json_map, json_data)
|
/external/vulkan-validation-layers/scripts/ |
D | external_revision_generator.py | 96 json_data = json.load(json_stream) 98 if type(json_data) == list: 99 json_data = json_data[int(key)] 101 json_data = json_data[key] 102 return json_data
|
/external/igt-gpu-tools/scripts/ |
D | quick-testlist.py | 30 json_data = json.load(data) 32 for test_name in json_data["tests"]: 33 if json_data["tests"][test_name]["result"] == "incomplete": 35 if json_data["tests"][test_name]["time"] < 60:
|
/external/angle/src/libANGLE/renderer/ |
D | gen_load_texture_border_functions_table.py | 82 def parse_json(json_data): argument 86 for internal_format, angle_format_func in sorted(json_data["map"].items()): 139 json_data = angle_format.load_json('load_texture_border_functions_data.json') 141 switch_data, load_functions_data = parse_json(json_data)
|
D | gen_load_functions_table.py | 135 def parse_json(json_data): argument 138 for internal_format, angle_to_type_map in sorted(json_data.items()): 213 json_data = angle_format.load_json('load_functions_data.json') 215 switch_data, load_functions_data = parse_json(json_data)
|
D | gen_angle_format_table.py | 369 def parse_angle_format_table(all_angle, json_data, angle_to_gl): argument 373 format_info = json_data[format_id] if format_id in json_data else {} 421 json_data = angle_format.load_json(data_source_name) 424 angle_format_cases = parse_angle_format_table(all_angle, json_data, angle_to_gl)
|
D | gen_dxgi_support_tables.py | 320 json_data = json.loads(file_data) 324 for format_data in json_data:
|
/external/tensorflow/tensorflow/tools/tensorflow_builder/config_detector/ |
D | config_detector.py | 542 json_data = {} 550 json_data[config] = "" 554 json_data[config] = "unknown" 561 json_data[config] = ret_val[0] 572 json_data[config] = ret_val[0] 576 json_data[config] = ret_val 578 return (configs_found, missing, warning, json_data) 624 def save_to_file(json_data, filename): argument 636 json.dump(json_data, f, sort_keys=True, indent=4)
|
/external/oss-fuzz/projects/ujson/ |
D | json_differential_fuzzer.py | 65 json_data = json.loads(original) 77 json_dumped = json.dumps(json_data) 83 % (original, json_data, ujson_data, json_dumped, ujson_dumped))
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
D | common_util_unittest.py | 24 json_data = json.dumps(dict(a='b', b='c')) 27 json_file.write(json.dumps(json_data).encode('utf-8')) 34 self.assertEquals(common_util.parse_serialized_json(), json_data)
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | output_generator.py | 167 json_data = json.loads(result.raw_data) 171 json_data)) 183 json_data = candidate.raw_data 184 for key, value in json_data.items():
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_icd.py | 38 json_data = { variable 47 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_icd.py | 38 json_data = { variable 47 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_icd.py | 39 json_data = { variable 48 json.dump(json_data, f, indent=4, sort_keys=True, separators=(',', ': '))
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_icd.py | 39 json_data = { variable 48 json.dump(json_data, f, indent=4, sort_keys=True, separators=(',', ': '))
|
/external/mesa3d/src/gallium/targets/lavapipe/ |
D | lvp_icd.py | 39 json_data = { variable 48 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
|
/external/python/apitools/apitools/base/py/ |
D | extra_types.py | 229 def _JsonToJsonProto(json_data, unused_decoder=None): argument 230 return _PythonValueToJsonProto(json.loads(json_data)) 233 def _JsonToJsonValue(json_data, unused_decoder=None): argument 234 result = _PythonValueToJsonProto(json.loads(json_data)) 243 'Malformed JsonValue: %s' % json_data)
|
/external/angle/src/libANGLE/ |
D | gen_copy_conversion_table.py | 88 json_data = angle_format.load_json(data_source_name) 92 for description, data in sorted(json_data.items()):
|
/external/pdfium/testing/tools/ |
D | gold.py | 74 json_data = '' 85 json_data = response.read() 95 data = json.loads(json_data)
|
/external/angle/src/tests/restricted_traces/ |
D | gen_restricted_traces.py | 320 json_data = read_json(json_file) 321 if 'traces' not in json_data: 324 trace_pairs = [trace.split(' ') for trace in json_data['traces']]
|
D | restricted_trace_gold_tests.py | 219 json_data = json.loads(str) 221 if len(json_data.get('gpus', [])) == 0 or not 'activeGPUIndex' in json_data: 224 active_gpu = json_data['gpus'][json_data['activeGPUIndex']]
|
/external/python/asn1crypto/dev/ |
D | coverage.py | 140 json_data = json.loads(f.read().decode('utf-8')) 145 if json_data.get('disabled'): 214 'token': json_data['token'], 241 'slug': json_data['slug'], 242 'token': json_data['token'],
|