Lines Matching refs:Dict
28 from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Union
47 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter:
85 self.processes: Dict[int, ProcessScope] = {} # map from pid to ProcessScope
95 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
124 self.threads: Dict[int, ThreadScope] = {} # map from tid to ThreadScope
135 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
148 new_threads: Dict[str, ThreadScope] = {} # map from thread name to ThreadScope
167 self.libs: Dict[int, LibScope] = {} # map from lib_id to LibScope
224 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
253 self.functions: Dict[int, FunctionScope] = {} # map from func_id to FunctionScope.
261 def gen_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
312 def gen_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
342 def __merge_hit_map(map1: Optional[Dict[int, List[int]]],
343 map2: Optional[Dict[int, List[int]]]) -> Optional[Dict[int, List[int]]]:
365 self.children: Dict[int, CallNode] = collections.OrderedDict()
391 def gen_sample_info(self) -> Dict[str, Any]:
420 self.lib_name_to_id: Dict[str, int] = {}
454 self.name_to_func: Dict[Tuple[int, str], Function] = {}
455 self.id_to_func: Dict[int, Function] = {}
485 self.line_to_code: Dict[int, str] = {} # map from line to code in that line.
506 self.path_to_source_files: Dict[str, SourceFile] = {} # map from file path to SourceFile.
611 self.meta_info: Optional[Dict[str, str]] = None
614 self.events: Dict[str, EventScope] = {}
790 lib_functions: Dict[int, List[Function]] = collections.defaultdict(list)
813 def gen_record_info(self) -> Dict[str, Any]:
840 def _gen_process_names(self) -> Dict[int, str]:
841 process_names: Dict[int, str] = {}
847 def _gen_thread_names(self) -> Dict[int, str]:
848 thread_names: Dict[int, str] = {}
858 def _gen_function_map(self) -> Dict[int, Any]:
859 func_map: Dict[int, Any] = {}
877 def _gen_sample_info(self) -> List[Dict[str, Any]]:
881 def _gen_source_files(self) -> List[Dict[str, Any]]:
939 def write_record_data(self, record_data: Dict[str, Any]):