Lines Matching refs:Dict
29 from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Union
48 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter:
86 self.processes: Dict[int, ProcessScope] = {} # map from pid to ProcessScope
96 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
125 self.threads: Dict[int, ThreadScope] = {} # map from tid to ThreadScope
136 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
150 new_threads: Dict[str, ThreadScope] = {} # map from thread name to ThreadScope
169 self.libs: Dict[int, LibScope] = {} # map from lib_id to LibScope
226 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
255 self.functions: Dict[int, FunctionScope] = {} # map from func_id to FunctionScope.
263 def gen_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
314 def gen_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
344 def __merge_hit_map(map1: Optional[Dict[int, List[int]]],
345 map2: Optional[Dict[int, List[int]]]) -> Optional[Dict[int, List[int]]]:
367 self.children: Dict[int, CallNode] = collections.OrderedDict()
393 def gen_sample_info(self) -> Dict[str, Any]:
422 self.lib_name_to_id: Dict[str, int] = {}
456 self.name_to_func: Dict[Tuple[int, str], Function] = {}
457 self.id_to_func: Dict[int, Function] = {}
487 self.line_to_code: Dict[int, str] = {} # map from line to code in that line.
508 self.path_to_source_files: Dict[str, SourceFile] = {} # map from file path to SourceFile.
612 self.meta_info: Optional[Dict[str, str]] = None
615 self.events: Dict[str, EventScope] = {}
787 lib_functions: Dict[int, List[Function]] = collections.defaultdict(list)
813 def gen_record_info(self) -> Dict[str, Any]:
842 def _gen_process_names(self) -> Dict[int, str]:
843 process_names: Dict[int, str] = {}
849 def _gen_thread_names(self) -> Dict[int, str]:
850 thread_names: Dict[int, str] = {}
860 def _gen_function_map(self) -> Dict[int, Any]:
861 func_map: Dict[int, Any] = {}
879 def _gen_sample_info(self) -> List[Dict[str, Any]]:
883 def _gen_source_files(self) -> List[Dict[str, Any]]:
941 def write_record_data(self, record_data: Dict[str, Any]):