Home
last modified time | relevance | path

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

/linux/tools/testing/kunit/
H A Drun_checks.py17 from typing import Dict, List, Sequence
22 commands: Dict[str, Sequence[str]] = {
31 necessary_deps : Dict[str, str] = {
40 future_to_name: Dict[futures.Future[None], str] = {}
H A Dkunit_json.py11 from typing import Any, Dict
22 JsonObj = Dict[str, Any]
24 _status_map: Dict[TestStatus, str] = {
H A Dkunit_config.py11 from typing import Any, Dict, Iterable, List, Tuple
/linux/tools/net/ynl/pyynl/lib/
H A Ddoc_generator.py20 from typing import Any, Dict, List
150 def parse_mcast_group(self, mcast_group: List[Dict[str, Any]]) -> str:
158 def parse_do(self, do_dict: Dict[str, Any], level: int = 0) -> str:
175 def parse_op_attributes(self, attrs: Dict[str, Any], level: int = 0) -> str:
185 def parse_operations(self, operations: List[Dict[str, Any]], namespace: str) -> str:
229 def parse_entries(self, entries: List[Dict[str, Any]], level: int) -> str:
256 def parse_definitions(self, defs: Dict[str, Any], namespace: str) -> str:
285 def parse_attr_sets(self, entries: List[Dict[str, Any]], namespace: str) -> str:
325 def parse_sub_messages(self, entries: List[Dict[str, Any]], namespace: str) -> str:
347 def parse_yaml(self, obj: Dict[str, Any]) -> str:
/linux/tools/perf/scripts/python/
H A Dgecko.py30 from typing import List, Dict, Optional, NamedTuple, Set, Tuple, Any
123 stringMap: Dict[str, int] = field(default_factory=dict)
125 stackMap: Dict[Tuple[Optional[int], int], int] = field(default_factory=dict)
126 frameMap: Dict[str, int] = field(default_factory=dict)
196 def _to_json_dict(self) -> Dict:
262 def process_event(param_dict: Dict) -> None: argument
H A Dflamegraph.py28 from typing import Dict, Optional, Union
61 def to_json(self) -> Dict[str, Union[str, int, list[Dict]]]:
/linux/tools/testing/selftests/hid/tests/
H A Dbase_device.py40 from typing import Any, ClassVar, Dict, List, Optional, Tuple, Type, Union
137 _uhid_devices: ClassVar[Dict[int, HidReadiness]] = {}
248 self: "EvdevDevice", application: str, matches: Dict[str, EvdevMatch]
285 _application_matches: Dict[str, EvdevMatch] = {}
412 def application_matches(self: "BaseDevice") -> Dict[str, EvdevMatch]:
416 def application_matches(self: "BaseDevice", data: Dict[str, EvdevMatch]) -> None:
H A Dtest_tablet.py17 from typing import Dict, List, Optional, Tuple
272 def legal_transitions() -> Dict[str, Tuple["PenState", ...]]:
298 def legal_transitions_with_invert() -> Dict[str, Tuple["PenState", ...]]:
336 def legal_transitions_with_button() -> Dict[str, Tuple["PenState", ...]]:
385 def tolerated_transitions() -> Dict[str, Tuple["PenState", ...]]:
398 def tolerated_transitions_with_invert() -> Dict[str, Tuple["PenState", ...]]:
413 def broken_transitions() -> Dict[str, Tuple["PenState", ...]]:
/linux/tools/perf/pmu-events/
H A Dmetric.py8 from typing import Dict, List, Optional, Set, Tuple, Union
468 def ToPerfJson(self) -> Dict[str, str]:
484 def ToMetricGroupDescriptions(self, root: bool = True) -> Dict[str, str]:
519 def ToPerfJson(self) -> List[Dict[str, str]]:
525 def ToMetricGroupDescriptions(self, root: bool = True) -> Dict[str, str]:
613 )-> Dict[Tuple[str, str], Expression]:
621 updates: Dict[Tuple[str, str], Expression] = dict()
H A Djevents.py11 from typing import (Callable, Dict, Optional, Sequence, Set, Tuple)
120 offsets: Dict[str, int]
122 insert_point: Dict[str, int]
/linux/tools/perf/python/
H A Dilist.py9 from typing import Any, Dict, Optional, Tuple
22 def get_info(info: Dict[str, str], key: str):