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.py33 from typing import Dict, List, Tuple, Text
52 def analysis(cls, product_name: str, product_dict: Dict[str, List[str]], output_file_name: str):
64 rom_ram_baseline: Dict[str, Dict] = RomRamBaselineCollector.collect(
71 query_order: Dict[str, List[str]
74 rom_size_dict: Dict = dict()
103 product_dict: Dict[str, List[str]] = cls._find_files(product_name)
147 def _find_files(cls, product_name: str) -> Dict[str, List[str]]:
148 product_dir: Dict[str, Dict] = configs[product_name]["product_dir"]
153 product_path_dit: Dict[str, str] = dict() # 存储编译产物的类型及目录
156 relative_dir: Dict[str, str] = product_dir.get("relative")
[all …]
Dmisc.py25 from typing import Text, List, Dict, AnyStr, DefaultDict
101 def __call__(self, unit: Dict[str, AnyStr]) -> str:
105 def run(self, unit: Dict[str, AnyStr]) -> str:
122 def run(self, unit: Dict[str, AnyStr]):
131 def run(self, unit: Dict[str, AnyStr]):
140 def run(self, unit: Dict[str, AnyStr]):
151 def run(self, unit: Dict[str, AnyStr]):
164 def run(self, unit: Dict[str, AnyStr]):
182 def run(self, unit: Dict[str, AnyStr]):
197 def run(self, unit: Dict[str, AnyStr]):
[all …]
Dtemplate_processor.py19 from typing import Tuple, Union, Callable, Literal, Dict, Text
43 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
90 def _append(self, key: str, unit: Dict) -> None: argument
Dconfig.py27 from typing import Any, Tuple, Dict, Text
65 result_dict: Dict[str, Any] = dict()
76 _sc_json: Dict[Text, Text] = configs.get("subsystem_component")
83 sub_com_dict: Dict = SC.run(project_path, _sc_output_path, _sc_save)
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Drom_ram_baseline_collector.py18 from typing import Dict, Any
30 def collect(cls, oh_path: str) -> Dict[str, Dict]:
46 rom_ram_baseline_dict: Dict[str, Dict] = dict()
49 content: Dict[str, Any] = json.loads(f.read())
64 …def _put(cls, result_dict: Dict, subsystem_name: str, component_name: str, rom_size: str, ram_size… argument
Dsimple_yaml_tool.py19 from typing import Dict
25 def read_yaml(cls, file_name: str, mode: str = "r", encoding: str = "utf-8") -> Dict:
Dbasic_tool.py24 from typing import Dict, Any, List, Callable, Text, Iterator
47 trans_dict: Dict[str, int] = {
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
Drom_ram_baseline_collector.py18 from typing import Dict, Any
33 def collect(cls, oh_path: str) -> Dict[str, Dict]:
41 rom_ram_baseline_dict: Dict[str, Dict] = dict()
44 content: Dict[str, Any] = json.loads(f.read())
61 …def _put(cls, result_dict: Dict, subsystem_name: str, component_name: str, rom_size: str, ram_size… argument
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
Drom_analyzer.py24 from typing import Dict, Any, Iterator, List, Text
43 self.info_dict: Dict[str, Any] = dict()
91 rom_baseline_dict: Dict[str, Any] = RomRamBaselineCollector.collect(
100 extra_product_info_dict: Dict[str, Dict] = pre_collector.result_dict
104 result_dict: Dict[Text:Dict] = dict()
110 unit: Dict[Text, Any] = product_info_dict.get(
114 unit: Dict[Text, Any] = product_info_dict.get(bf)
131 def result_unit_adaptive(self, result_dict: Dict[str, Dict]) -> None: argument
146 … project_path: Text, extra_info: Dict[str, Dict]) -> Dict[Text, Dict[Text, Text]]: argument
163 product_info_dict: Dict[Text, Dict[Text, Text]] = dict()
[all …]
Dram_analyzer.py29 from typing import Dict
74 def delete_values_from_dict(target_dict: typing.Dict, key_list: typing.Iterable): argument
95 rom_result_dict: typing.Dict = json.loads(f.read())
97 so_info_dict: typing.Dict[
98 …str, typing.Dict[str["component_name|subsystem_name|size"], str]] = cls.get_elf_info_from_rom_resu…
100 … process_elf_dict: typing.Dict[str, typing.List[str]] = cls.get_process_so_relationship(cfg_path,
102 process_size_dict: typing.Dict[str, int] = cls.process_hidumper_info(
104 result_dict: typing.Dict[str, typing.Dict[str, typing.Any]] = dict()
112 refactored_result: Dict[str, Dict] = refacotr_result(result_dict)
123 __ss_dict: typing.Dict[str, int] = {
[all …]