Home
last modified time | relevance | path

Searched refs:Dict (Results 1 – 10 of 10) sorted by relevance

/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/src/
Drom_analysis.py104 def _find_files(cls, product_name: str) -> Dict[str, List[str]]:
105 product_dir: Dict[str, Dict] = configs[product_name]["product_dir"]
110 product_path_dit: Dict[str, str] = dict() # 存储编译产物的类型及目录
113 relative_dir: Dict[str, str] = product_dir.get("relative")
123 product_dict: Dict[str, List[str]] = dict() # 存储编译产物的名称
147 product_dict: Dict[str, List[str]] = cls._find_files(product_name)
153 …def _put(cls, sub: str, com: str, unit: Dict, rom_size_dict: Dict, com_size_baseline: str = str()): argument
158 rom_size_dict[sub]: Dict[str, Dict] = dict()
221 gn_dict: Dict[str, int] = collections.defaultdict(int)
237 def _save_as_xls(cls, result_dict: Dict, product_name: str, baseline: bool) -> None: argument
[all …]
Dmisc.py120 def run(self, unit: Dict[str, AnyStr]) -> str:
123 def __call__(self, unit: Dict[str, AnyStr]) -> str:
140 def run(self, unit: Dict[str, AnyStr]):
149 def run(self, unit: Dict[str, AnyStr]):
158 def run(self, unit: Dict[str, AnyStr]):
168 def run(self, unit: Dict[str, AnyStr]):
180 def run(self, unit: Dict[str, AnyStr]):
197 def run(self, unit: Dict[str, AnyStr]):
211 def run(self, unit: Dict[str, AnyStr]):
233 def run(self, unit: Dict[str, AnyStr]):
[all …]
Dtemplate_processor.py43 result_dict: Dict[str, Dict[str, Dict]], argument
46 sub_com_dict: Dict[str, Dict[str, str]],
48 other_info_handlers: Dict[str, Callable[[
52 ud_post_handler: Callable[[Dict, Dict], None] = None argument
82 def _append(self, key: str, unit: Dict) -> None: argument
Dconfig.py64 result_dict: Dict[str, Any] = dict()
75 _sc_json: Dict[Text, Text] = configs.get("subsystem_component")
82 sub_com_dict: Dict = SC.run(project_path, _sc_output_path, _sc_save)
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
Drom_ram_baseline_collector.py23 from typing import Dict, Any
33 …def _put(cls, result_dict: Dict, subsystem_name: str, component_name: str, rom_size: str, ram_size… argument
43 def collect(cls, oh_path: str) -> Dict[str, Dict]:
51 rom_ram_baseline_dict: Dict[str, Dict] = dict()
54 content: Dict[str, Any] = json.loads(f.read())
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Drom_ram_baseline_collector.py22 from typing import Dict, Any
30 …def _put(cls, result_dict: Dict, subsystem_name: str, component_name: str, rom_size: str, ram_size… argument
39 def collect(cls, oh_path: str) -> Dict[str, Dict]:
55 rom_ram_baseline_dict: Dict[str, Dict] = dict()
58 content: Dict[str, Any] = json.loads(f.read())
Dsimple_yaml_tool.py25 def read_yaml(cls, file_name: str, mode: str = "r", encoding: str = "utf-8") -> Dict:
Dbasic_tool.py47 trans_dict: Dict[str, int] = {
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
Drom_analyzer.py43 self.info_dict: Dict[str, Any] = dict()
82 … project_path: Text, extra_info: Dict[str, Dict]) -> Dict[Text, Dict[Text, Text]]: argument
99 product_info_dict: Dict[Text, Dict[Text, Text]] = dict()
177 component_dict: Dict[str, int] = subsystem_dict.get(
204 …def __put(cls, unit: typing.Dict[Text, Any], result_dict: typing.Dict[Text, Dict], baseline_dict: argument
239 def result_unit_adaptive(self, result_dict: Dict[str, Dict]) -> None: argument
264 rom_baseline_dict: Dict[str, Any] = RomRamBaselineCollector.collect(
273 extra_product_info_dict: Dict[str, Dict] = pre_collector.result_dict
277 result_dict: Dict[Text:Dict] = dict()
283 unit: Dict[Text, Any] = product_info_dict.get(
[all …]
Dram_analyzer.py29 from typing import Dict
74 def delete_values_from_dict(target_dict: typing.Dict, key_list: typing.Iterable): argument
93 __ss_dict: typing.Dict[str, int] = {
101 …f __parse_hidumper_mem(cls, content: typing.Text, device_num: str, ss: str = "Pss") -> typing.Dict[
154 def process_hidumper_info(cls, device_num: str, ss: str) -> typing.Dict[str, int]:
159 def exec_once() -> typing.Dict[str, int]:
175 def __parse_process_json(cls, file_path: str, result_dict: typing.Dict[str, typing.List[str]]):
184 j_content: typing.Dict[str, typing.Any] = json.load(f)
199 …def get_elf_info_from_rom_result(cls, rom_result_json: str) -> typing.Dict[str, typing.Dict[str, s…
207 elf_info_dict: typing.Dict[str, typing.Dict[str, str]] = dict()
[all …]