/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 …]
|
D | client.py | 288 def new_from_json(cls, json_data): argument 300 json_data_as_unicode = _helpers._from_bytes(json_data) 614 def from_json(cls, json_data): argument 625 data = json.loads(_helpers._from_bytes(json_data)) 973 def from_json(cls, json_data): argument 974 data = json.loads(_helpers._from_bytes(json_data)) 1138 def from_json(cls, json_data): argument 1142 data = json.loads(_helpers._from_bytes(json_data))
|
/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)
|
D | gen_dxgi_support_tables.py | 320 json_data = json.loads(file_data) 324 for format_data in 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/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/angle/src/libANGLE/renderer/ |
D | gen_load_functions_table.py | 136 def parse_json(json_data): argument 139 for internal_format, angle_to_type_map in sorted(json_data.iteritems()): 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 | 346 def parse_angle_format_table(all_angle, json_data, angle_to_gl): argument 350 format_info = json_data[format_id] if format_id in json_data else {} 399 json_data = angle_format.load_json(data_source_name) 402 angle_format_cases = parse_angle_format_table(all_angle, json_data, angle_to_gl)
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | output_generator.py | 155 json_data = json.loads(result.raw_data) 159 json_data)) 171 json_data = candidate.raw_data 172 for key, value in json_data.items():
|
/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)) 34 self.assertEquals(common_util.parse_serialized_json(), json_data)
|
/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/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/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 | 225 def _JsonToJsonProto(json_data, unused_decoder=None): argument 226 return _PythonValueToJsonProto(json.loads(json_data)) 229 def _JsonToJsonValue(json_data, unused_decoder=None): argument 230 result = _PythonValueToJsonProto(json.loads(json_data)) 239 'Malformed JsonValue: %s' % json_data)
|
/external/avb/test/ |
D | avb_aftl_validate_unittest.cc | 110 icp_entry_->fw_info_leaf.json_data = in SetUp() 112 if (icp_entry_->fw_info_leaf.json_data == NULL) { in SetUp() 116 memcpy(icp_entry_->fw_info_leaf.json_data, in SetUp() 137 if (icp_entry_->fw_info_leaf.json_data != NULL) in TearDown() 138 avb_free(icp_entry_->fw_info_leaf.json_data); in TearDown()
|
/external/angle/src/libANGLE/ |
D | gen_copy_conversion_table.py | 89 json_data = angle_format.load_json(data_source_name) 93 for description, data in json_data.iteritems():
|
/external/autotest/client/common_lib/cros/tendo/ |
D | privet_helper.py | 150 json_data = json.loads(data) 151 data = json.dumps(json_data) # Drop newlines, pretty format. 155 return json_data
|
/external/pdfium/testing/tools/ |
D | gold.py | 74 json_data = '' 85 json_data = response.read() 95 data = json.loads(json_data)
|
/external/avb/libavb_aftl/ |
D | avb_aftl_util.c | 539 uint8_t* json_data, in find_and_decode_vbmeta_hash() argument 549 avb_assert(json_data != NULL); in find_and_decode_vbmeta_hash() 552 vbmeta_ptr = (uint8_t*)avb_strstr((const char*)json_data, vbmeta_id); in find_and_decode_vbmeta_hash() 591 icp_entry->fw_info_leaf.json_data = in parse_firmware_info() 593 if (icp_entry->fw_info_leaf.json_data == NULL) { in parse_firmware_info() 598 avb_memcpy(icp_entry->fw_info_leaf.json_data, in parse_firmware_info() 613 icp_entry->fw_info_leaf.json_data, in parse_firmware_info() 885 if (icp_entry->fw_info_leaf.json_data) in free_aftl_icp_entry() 886 avb_free(icp_entry->fw_info_leaf.json_data); in free_aftl_icp_entry()
|
/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'],
|