| /tools/perf/scripts/python/ |
| A D | compaction-times.py | 114 def add_filter(cls, filter): argument 115 cls.fobj = filter 121 head = cls.heads[pid] 124 if cls.fobj != None: 133 head = cls.heads[pid] 142 head = cls.heads[pid] 150 def gen(cls): argument 152 for i in cls.heads: 153 yield cls.heads[i] 156 def str(cls): argument [all …]
|
| /tools/testing/selftests/hid/tests/ |
| A D | base_device.py | 144 def _init_pyudev(cls: Type["UdevHIDIsReady"]) -> None: 145 if cls._pyudev_context is None: 146 cls._pyudev_context = pyudev.Context() 147 cls._pyudev_monitor = pyudev.Monitor.from_netlink(cls._pyudev_context) 148 cls._pyudev_monitor.filter_by("hid") 149 cls._pyudev_monitor.start() 152 cls._pyudev_monitor.fileno(), cls._cls_udev_event_callback 156 def _cls_udev_event_callback(cls: Type["UdevHIDIsReady"]) -> None: 157 if cls._pyudev_monitor is None: 160 for event in iter(functools.partial(cls._pyudev_monitor.poll, 0.02), None): [all …]
|
| A D | base.py | 198 def debug_reports(cls, reports, uhdev=None, events=None): argument 429 def instance(cls): argument 430 if not cls._instance: 431 cls._instance = HIDTestUdevRule() 432 return cls._instance
|
| A D | test_tablet.py | 67 def from_evdev(cls, evdev, test_button) -> "PenState": argument 96 return cls((touch, tool, button)) # type: ignore
|
| A D | test_wacom_generic.py | 766 request.cls.device_params = request.param
|
| A D | test_multitouch.py | 85 def msCertificationBlob(cls, reportID): argument
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_spin_lock.c | 56 struct cls_elem *cls; in bpf_spin_lock_test() local 96 cls = bpf_get_local_storage(&cls_map, 0); in bpf_spin_lock_test() 97 bpf_spin_lock(&cls->lock); in bpf_spin_lock_test() 98 cls->cnt++; in bpf_spin_lock_test() 99 bpf_spin_unlock(&cls->lock); in bpf_spin_lock_test()
|
| A D | test_tc_bpf.c | 11 int cls(struct __sk_buff *skb) in cls() function
|
| /tools/testing/selftests/net/ |
| A D | bpf_offload.py | 487 chain=None, cls="", params="", 499 cls=cls, params=params), 506 cls = "bpf " + bpf 518 return self.cls_filter_op(op=op, prio=prio, handle=handle, cls=cls, 628 res = sim.cls_filter_op(op="delete", prio=1, handle=1, cls="bpf", 825 sim.cls_filter_op(op="delete", prio=1, handle=1, cls="bpf") 829 sim.cls_filter_op(op="delete", prio=1, handle=1, cls="bpf") 833 sim.cls_filter_op(op="delete", prio=1, handle=1, cls="bpf") 844 sim.cls_filter_op(op="delete", prio=1, handle=1, cls="bpf")
|
| /tools/testing/selftests/bpf/ |
| A D | test_bpftool.py | 68 def setUpClass(cls): argument
|
| /tools/net/ynl/pyynl/ |
| A D | cli.py | 95 print(json.dumps(msg, cls=YnlEncoder))
|
| A D | ynl_gen_c.py | 1654 def _is_cond(cls, line): argument
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | tc_bpf.c | 343 cls_fd = bpf_program__fd(skel->progs.cls); in tc_bpf_root()
|
| /tools/power/pm-graph/ |
| A D | bootgraph.py | 572 cls, color = colorForName(devname) 585 width, devname, ' '+cls, '')
|
| A D | sleepgraph.py | 2752 def isa(self, cls): argument 2753 if 'htmlclass' in self.dev and cls in self.dev['htmlclass']:
|
| /tools/perf/pmu-events/ |
| A D | metric.py | 511 return json.dumps(sorted(self.Flatten()), indent=2, cls=_MetricJsonEncoder)
|
| /tools/net/ynl/pyynl/lib/ |
| A D | ynl.py | 138 def get_format(cls, attr_type, byte_order=None): argument 139 format = cls.type_formats[attr_type]
|