Home
last modified time | relevance | path

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

12

/third_party/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"]:
/third_party/skia/third_party/externals/icu/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"]:
/third_party/skia/third_party/externals/dawn/generator/
Ddawn_json_generator.py83 def __init__(self, name, json_data, native=False): argument
84 self.json_data = json_data
87 self.category = json_data['category']
95 def __init__(self, is_enabled, name, json_data): argument
96 Type.__init__(self, name, json_data)
101 for m in self.json_data['values']:
125 def __init__(self, is_enabled, name, json_data): argument
126 Type.__init__(self, name, json_data)
129 for m in self.json_data['values'] if is_enabled(m)
138 def __init__(self, is_enabled, name, json_data): argument
[all …]
/third_party/flutter/skia/third_party/externals/dawn/generator/
Ddawn_json_generator.py58 def __init__(self, name, json_data, native=False): argument
59 self.json_data = json_data
62 self.category = json_data['category']
66 def __init__(self, name, json_data): argument
67 Type.__init__(self, name, json_data)
68 self.values = [EnumValue(Name(m['name']), m['value']) for m in self.json_data['values']]
79 def __init__(self, name, json_data): argument
80 Type.__init__(self, name, json_data)
81 self.values = [BitmaskValue(Name(m['name']), m['value']) for m in self.json_data['values']]
87 def __init__(self, name, json_data): argument
[all …]
/third_party/flutter/skia/third_party/externals/angle2/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)
Dgen_dxgi_support_tables.py320 json_data = json.loads(file_data)
324 for format_data in json_data:
/third_party/skia/third_party/externals/angle2/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)
305 json_data = angle_format.load_json(data_source_name)
307 angle_format_cases = parse_json_into_switch_angle_format_string(json_map, json_data)
/third_party/skia/third_party/externals/angle2/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:
/third_party/mesa3d/src/vulkan/util/
Dvk_icd_gen.py60 json_data = { variable
76 json.dump(json_data, f, **json_params)
78 print(json.dumps(json_data, **json_params))
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dgen_load_functions_table.py136 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)
Dgen_angle_format_table.py331 def parse_angle_format_table(all_angle, json_data, angle_to_gl): argument
335 format_info = json_data[format_id] if format_id in json_data else {}
384 json_data = angle_format.load_json(data_source_name)
387 angle_format_cases = parse_angle_format_table(all_angle, json_data, angle_to_gl)
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
Dgen_restricted_traces.py199 json_data = json.loads(f.read())
200 files = json_data["TraceFiles"]
388 json_data = read_json(json_file)
389 if 'traces' not in json_data:
392 trace_pairs = [trace.split(' ') for trace in json_data['traces']]
Drestricted_trace_gold_tests.py215 json_data = json.loads(str)
217 if len(json_data.get('gpus', [])) == 0 or not 'activeGPUIndex' in json_data:
220 active_gpu = json_data['gpus'][json_data['activeGPUIndex']]
/third_party/skia/third_party/externals/angle2/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()):
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dgen_copy_conversion_table.py89 json_data = angle_format.load_json(data_source_name)
93 for description, data in json_data.iteritems():
/third_party/skia/third_party/externals/dawn/generator/templates/
Dlibrary_webgpu_enum_tables.js20 {% for type in by_category["enum"] if not type.json_data.get("emscripten_no_enum_table") %}
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Dgenerate_gl_dispatch_table.py280 json_data = angle_format.load_json(data_source_name)
334 for comment, entry_points in sorted(json_data.items()):
401 for comment, entry_points in sorted(json_data.items()):
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Dgenerate_gl_dispatch_table.py279 json_data = angle_format.load_json(data_source_name)
333 for comment, entry_points in json_data.iteritems():
400 for comment, entry_points in sorted(json_data.iteritems()):
/third_party/skia/third_party/externals/angle2/scripts/
Dprocess_angle_perf_results.py136 with open(os.path.join(directory, 'test_results.json')) as json_data:
137 json_results = json.load(json_data)
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dtensor.cc741 Status Tensor::from_json_convert(nlohmann::json json_data, TensorShape shape, std::shared_ptr<Tenso… in from_json_convert() argument
742 std::vector<T> data = json_data; in from_json_convert()

12