Home
last modified time | relevance | path

Searched refs:json_data (Results 1 – 25 of 37) sorted by relevance

12

/external/icu/icu4c/source/python/icutools/databuilder/
Dfiltration.py23 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__.py208 json_data = config.filters_json_data["fileReplacements"]
209 dirname = json_data["directory"]
210 for directive in json_data["replacements"]:
/external/python/oauth2client/oauth2client/
Dservice_account.py424 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/
Dgen_texture_format_table.py215 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/
Dexternal_revision_generator.py96 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/
Dquick-testlist.py30 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/
Dgen_load_texture_border_functions_table.py82 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)
Dgen_load_functions_table.py135 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)
Dgen_angle_format_table.py369 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)
Dgen_dxgi_support_tables.py320 json_data = json.loads(file_data)
324 for format_data in json_data:
/external/tensorflow/tensorflow/tools/tensorflow_builder/config_detector/
Dconfig_detector.py542 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/
Djson_differential_fuzzer.py65 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/
Dcommon_util_unittest.py24 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/
Doutput_generator.py167 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/
Dtu_icd.py38 json_data = { variable
47 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
/external/mesa3d/src/amd/vulkan/
Dradv_icd.py38 json_data = { variable
47 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_icd.py39 json_data = { variable
48 json.dump(json_data, f, indent=4, sort_keys=True, separators=(',', ': '))
/external/mesa3d/src/intel/vulkan/
Danv_icd.py39 json_data = { variable
48 json.dump(json_data, f, indent=4, sort_keys=True, separators=(',', ': '))
/external/mesa3d/src/gallium/targets/lavapipe/
Dlvp_icd.py39 json_data = { variable
48 json.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
/external/python/apitools/apitools/base/py/
Dextra_types.py229 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/
Dgen_copy_conversion_table.py88 json_data = angle_format.load_json(data_source_name)
92 for description, data in sorted(json_data.items()):
/external/pdfium/testing/tools/
Dgold.py74 json_data = ''
85 json_data = response.read()
95 data = json.loads(json_data)
/external/angle/src/tests/restricted_traces/
Dgen_restricted_traces.py320 json_data = read_json(json_file)
321 if 'traces' not in json_data:
324 trace_pairs = [trace.split(' ') for trace in json_data['traces']]
Drestricted_trace_gold_tests.py219 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/
Dcoverage.py140 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'],

12