Home
last modified time | relevance | path

Searched refs:Tuple (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/kunit/
H A Dkunit_config.py11 from typing import Any, Dict, Iterable, List, Tuple namespace
63 def conflicting_options(self, other: 'Kconfig') -> List[Tuple[KconfigEntry, KconfigEntry]]:
64 diff = [] # type: List[Tuple[KconfigEntry, KconfigEntry]]
H A Dkunit_parser.py18 from typing import Iterable, Iterator, List, Optional, Tuple namespace
152 _lines: Iterator[Tuple[int, str]]
153 _next: Tuple[int, str]
157 def __init__(self, lines: Iterator[Tuple[int, str]]):
220 -> Iterator[Tuple[int, str]]:
H A Dkunit_kernel.py18 from typing import Iterator, List, Optional, Tuple namespace
201 cross_compile: Optional[str]) -> Tuple[str, LinuxSourceTreeOperations]:
H A Dkunit.py21 from typing import Iterable, List, Optional, Sequence, Tuple namespace
219 def parse_tests(request: KunitParseRequest, metadata: kunit_json.Metadata, input_data: Iterable[str]) -> Tuple[KunitResult, kunit_parser.Test]:
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py16 from typing import Dict, Tuple namespace
91 def valid_transitions(self) -> Tuple["PenState", ...]:
236 def legal_transitions() -> Dict[str, Tuple[PenState, ...]]:
262 def legal_transitions_with_invert() -> Dict[str, Tuple[PenState, ...]]:
300 def tolerated_transitions() -> Dict[str, Tuple[PenState, ...]]:
313 def tolerated_transitions_with_invert() -> Dict[str, Tuple[PenState, ...]]:
328 def broken_transitions() -> Dict[str, Tuple[PenState, ...]]:
/kernel/linux/linux-6.6/tools/perf/pmu-events/
H A Dmetric.py7 from typing import Dict, List, Optional, Set, Tuple, Union namespace
574 def RewriteMetricsInTermsOfOthers(metrics: List[Tuple[str, str, Expression]]
575 )-> Dict[Tuple[str, str], Expression]:
583 updates: Dict[Tuple[str, str], Expression] = dict()
H A Djevents.py11 from typing import (Callable, Dict, Optional, Sequence, Set, Tuple) namespace
174 def string_cmp_key(s: str) -> Tuple[bool, int, str]:
411 metrics: list[Tuple[str, str, metric.Expression]] = []
450 def event_cmp_key(j: JsonEvent) -> Tuple[str, str, bool, str, str]:
506 def metric_cmp_key(j: JsonEvent) -> Tuple[bool, str, str]:
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dgecko.py30 from typing import List, Dict, Optional, NamedTuple, Set, Tuple, Any namespace
114 stackMap: Dict[Tuple[Optional[int], int], int] = field(default_factory=dict)
125 stackMap: Dict[Tuple[Optional[int], int], int] = field(default_factory=dict)
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs160 use core::marker::Tuple;
2007 impl<Args: Tuple, F: FnOnce<Args> + ?Sized, A: Allocator> FnOnce<Args> for Box<F, A> {
2016 impl<Args: Tuple, F: FnMut<Args> + ?Sized, A: Allocator> FnMut<Args> for Box<F, A> {
2023 impl<Args: Tuple, F: Fn<Args> + ?Sized, A: Allocator> Fn<Args> for Box<F, A> {
/kernel/linux/linux-5.10/tools/testing/kunit/
H A Dkunit_parser.py15 from typing import List, Optional, Tuple namespace
314 def print_and_count_results(test_result: TestResult) -> Tuple[int, int, int]:

Completed in 18 milliseconds