| /kernel/linux/linux-6.6/tools/testing/kunit/ |
| D | kunit_tool_test.py | 43 def test_is_subset_of(self): argument 53 def test_read_from_file(self): argument 67 def test_write_to_file(self): argument 83 def setUp(self): argument 87 def noPrintCallContains(self, substr: str): argument 91 def assertContains(self, needle: str, haystack: kunit_parser.LineStream): argument 99 def test_output_isolated_correctly(self): argument 110 def test_output_with_prefix_isolated_correctly(self): argument 139 def test_parse_successful_test_log(self): argument 146 def test_parse_successful_nested_tests_log(self): argument [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
| D | test_multitouch.py | 57 def __init__(self, id, x, y): argument 73 def __init__(self, x, y): argument 102 self, argument 150 def touches_in_a_report(self): argument 153 def event(self, slots, global_data=None, contact_count=None, incr_scantime=True): argument 177 def get_report(self, req, rnum, rtype): argument 196 def set_report(self, req, rnum, rtype, data): argument 237 self, argument 260 self, argument 289 def __init__(self, max_slots): argument [all …]
|
| D | test_mouse.py | 35 def __init__(self, rdesc, name=None, input_info=None): argument 42 def create_report(self, x, y, buttons=None, wheels=None, reportID=None): argument 88 def event(self, x, y, buttons=None, wheels=None): argument 139 def __init__(self, rdesc=report_descriptor, name=None, input_info=None): argument 142 def fake_report(self, x, y, buttons): argument 202 def __init__(self, rdesc=report_descriptor, name=None, input_info=None): argument 246 def __init__(self, rdesc=report_descriptor, name=None, input_info=None): argument 327 self, rdesc=report_descriptor, name=device_name, input_info=device_input_info argument 331 def event(self, x, y, buttons=None, wheels=None): argument 408 def __init__(self, rdesc=report_descriptor, name=None, input_info=None): argument [all …]
|
| /kernel/linux/linux-5.10/tools/testing/kunit/ |
| D | kunit_tool_test.py | 37 def test_is_subset_of(self): argument 47 def test_read_from_file(self): argument 68 def test_write_to_file(self): argument 93 def assertContains(self, needle, haystack): argument 100 def test_output_isolated_correctly(self): argument 113 def test_output_with_prefix_isolated_correctly(self): argument 143 def test_parse_successful_test_log(self): argument 153 def test_parse_failed_test_log(self): argument 163 def test_no_tests(self): argument 175 def test_no_kunit_output(self): argument [all …]
|
| /kernel/linux/linux-6.6/tools/verification/dot2/ |
| D | dot2c.py | 25 def __init__(self, file_path): argument 29 def __buff_to_string(self, buff): argument 38 def __get_enum_states_content(self): argument 48 def get_enum_states_string(self): argument 52 def format_states_enum(self): argument 60 def __get_enum_events_content(self): argument 74 def get_enum_events_string(self): argument 78 def format_events_enum(self): argument 86 def get_minimun_type(self): argument 100 def format_automaton_definition(self): argument [all …]
|
| /kernel/linux/linux-6.6/scripts/gdb/linux/ |
| D | mm.py | 24 def __init__(self): argument 33 def __init__(self): argument 125 def SECTION_NR_TO_ROOT(self, sec): argument 128 def __nr_to_section(self, nr): argument 133 def pfn_to_section_nr(self, pfn): argument 136 def section_nr_to_pfn(self, sec): argument 139 def __pfn_to_section(self, pfn): argument 142 def pfn_to_section(self, pfn): argument 145 def subsection_map_index(self, pfn): argument 148 def pfn_section_valid(self, ms, pfn): argument [all …]
|
| /kernel/linux/linux-5.10/tools/kvm/kvm_stat/ |
| D | kvm_stat | 268 def tracepoint_is_child(self, field): argument 275 def __init__(self, exit_reasons): argument 281 def debugfs_is_child(self, field): argument 287 def __init__(self): argument 301 def debugfs_is_child(self, field): argument 307 def __init__(self): argument 313 def debugfs_is_child(self, field): argument 319 def __init__(self): argument 325 def debugfs_is_child(self, field): argument 356 def __init__(self): argument [all …]
|
| /kernel/linux/linux-6.6/tools/kvm/kvm_stat/ |
| D | kvm_stat | 336 def tracepoint_is_child(self, field): argument 343 def __init__(self, exit_reasons): argument 349 def debugfs_is_child(self, field): argument 355 def __init__(self): argument 369 def debugfs_is_child(self, field): argument 375 def __init__(self): argument 381 def debugfs_is_child(self, field): argument 387 def __init__(self): argument 393 def debugfs_is_child(self, field): argument 424 def __init__(self): argument [all …]
|
| /kernel/linux/linux-6.6/scripts/ |
| D | rust_is_available_test.py | 98 def run_script(self, expected, override_env): argument 145 def test_rustc_unset(self): argument 150 def test_bindgen_unset(self): argument 155 def test_cc_unset(self): argument 160 def test_rustc_missing(self): argument 164 def test_bindgen_missing(self): argument 168 def test_rustc_nonexecutable(self): argument 172 def test_rustc_unexpected_binary(self): argument 176 def test_rustc_unexpected_name(self): argument 181 def test_rustc_unexpected_version(self): argument [all …]
|
| D | bpf_doc.py | 24 def __init__(self, line='<line not provided>', reader=None): argument 40 def __init__(self, proto='', desc='', ret=''): argument 53 def __init__(self, *args, **kwargs): argument 57 def proto_break_down(self): argument 92 def __init__(self, filename): argument 104 def parse_element(self): argument 110 def parse_helper(self): argument 116 def parse_symbol(self): argument 128 def parse_proto(self): argument 143 def parse_desc(self, proto): argument [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | test_bpf.c | 90 static int bpf_fill_maxinsns1(struct bpf_test *self) in bpf_fill_maxinsns1() 110 static int bpf_fill_maxinsns2(struct bpf_test *self) in bpf_fill_maxinsns2() 129 static int bpf_fill_maxinsns3(struct bpf_test *self) in bpf_fill_maxinsns3() 156 static int bpf_fill_maxinsns4(struct bpf_test *self) in bpf_fill_maxinsns4() 175 static int bpf_fill_maxinsns5(struct bpf_test *self) in bpf_fill_maxinsns5() 198 static int bpf_fill_maxinsns6(struct bpf_test *self) in bpf_fill_maxinsns6() 220 static int bpf_fill_maxinsns7(struct bpf_test *self) in bpf_fill_maxinsns7() 246 static int bpf_fill_maxinsns8(struct bpf_test *self) in bpf_fill_maxinsns8() 269 static int bpf_fill_maxinsns9(struct bpf_test *self) in bpf_fill_maxinsns9() 295 static int bpf_fill_maxinsns10(struct bpf_test *self) in bpf_fill_maxinsns10() [all …]
|
| /kernel/linux/linux-6.6/tools/crypto/ccp/ |
| D | test_dbc.py | 34 def __init__(self, data) -> None: argument 40 def setUp(self) -> None: argument 44 def tearDown(self) -> None: argument 51 def setUp(self) -> None: argument 58 def test_unauthenticated_nonce(self) -> None: argument 65 def __init__(self, data) -> None: argument 70 def setUp(self) -> None: argument 78 def test_invalid_nonce_ioctl(self) -> None: argument 87 def test_invalid_setuid_ioctl(self) -> None: argument 96 def test_invalid_setuid_rw_ioctl(self) -> None: argument [all …]
|
| /kernel/linux/linux-5.10/tools/perf/scripts/python/ |
| D | exported-sql-viewer.py | 193 def __init__(self, task, param=None, parent=None): argument 198 def run(self): argument 212 def __init__(self, glb, params, parent=None): argument 219 def Item(self, parent): argument 225 def rowCount(self, parent): argument 232 def hasChildren(self, parent): argument 235 def headerData(self, section, orientation, role): argument 244 def parent(self, child): argument 251 def index(self, row, column, parent): argument 255 def DisplayData(self, item, index): argument [all …]
|
| /kernel/linux/linux-6.6/tools/perf/scripts/python/ |
| D | exported-sql-viewer.py | 194 def __init__(self, task, param=None, parent=None): argument 199 def run(self): argument 213 def __init__(self, glb, params, parent=None): argument 220 def Item(self, parent): argument 226 def rowCount(self, parent): argument 233 def hasChildren(self, parent): argument 236 def headerData(self, section, orientation, role): argument 245 def parent(self, child): argument 252 def index(self, row, column, parent): argument 256 def DisplayData(self, item, index): argument [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/tpm2/ |
| D | tpm2_tests.py | 14 def setUp(self): argument 18 def tearDown(self): argument 22 def test_seal_with_auth(self): argument 30 def determine_bank_alg(self, mask): argument 37 def test_seal_with_policy(self): argument 70 def test_unseal_with_wrong_auth(self): argument 84 def test_unseal_with_wrong_policy(self): argument 145 def test_seal_with_too_long_auth(self): argument 158 def test_too_short_cmd(self): argument 175 def test_read_partial_resp(self): argument [all …]
|
| /kernel/linux/linux-6.6/tools/net/ynl/lib/ |
| D | nlspec.py | 31 def __init__(self, family, yaml): argument 42 def __getitem__(self, key): argument 45 def __contains__(self, key): argument 48 def get(self, key, default=None): argument 51 def resolve_up(self, up): argument 56 def resolve(self): argument 72 def __init__(self, enum_set, yaml, prev, value_start): argument 87 def has_doc(self): argument 90 def raw_value(self): argument 93 def user_value(self, as_flags=None): argument [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/ |
| D | metric.py | 13 def ToPerfJson(self) -> str: argument 17 def ToPython(self) -> str: argument 21 def Simplify(self): argument 25 def Equals(self, other) -> bool: argument 29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression': argument 32 def __str__(self) -> str: argument 35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument 38 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument 41 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument 44 def __and__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tpm2/ |
| D | tpm2_tests.py | 14 def setUp(self): argument 18 def tearDown(self): argument 22 def test_seal_with_auth(self): argument 30 def test_seal_with_policy(self): argument 60 def test_unseal_with_wrong_auth(self): argument 74 def test_unseal_with_wrong_policy(self): argument 132 def test_seal_with_too_long_auth(self): argument 145 def test_too_short_cmd(self): argument 162 def test_read_partial_resp(self): argument 179 def test_read_partial_overwrite(self): argument [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | json_writer.c | 29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() 37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() 47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() 57 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts() 92 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local 105 json_writer_t *self = *self_p; in jsonw_destroy() local 114 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty() 119 void jsonw_reset(json_writer_t *self) in jsonw_reset() 126 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin() 134 static void jsonw_end(json_writer_t *self, int c) in jsonw_end() [all …]
|
| D | test_bpftool_synctypes.py | 28 def __init__(self, reader): argument 31 def search_block(self, start_marker): argument 42 def parse(self, pattern, end_marker): argument 67 def __init__(self, reader, array_name): argument 72 def search_block(self): argument 78 def parse(self): argument 98 def parse(self, pattern, end_marker): argument 123 def __init__(self): argument 126 def close(self): argument 132 def reset_read(self): argument [all …]
|
| /kernel/linux/linux-5.10/tools/bpf/bpftool/ |
| D | json_writer.c | 29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() 37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() 47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() 57 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts() 92 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local 105 json_writer_t *self = *self_p; in jsonw_destroy() local 114 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty() 119 void jsonw_reset(json_writer_t *self) in jsonw_reset() 126 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin() 134 static void jsonw_end(json_writer_t *self, int c) in jsonw_end() [all …]
|
| /kernel/linux/linux-6.6/tools/bpf/bpftool/ |
| D | json_writer.c | 29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() 37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() 47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() 57 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts() 92 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local 105 json_writer_t *self = *self_p; in jsonw_destroy() local 114 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty() 119 void jsonw_reset(json_writer_t *self) in jsonw_reset() 126 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin() 134 static void jsonw_end(json_writer_t *self, int c) in jsonw_end() [all …]
|
| /kernel/linux/linux-6.6/tools/power/pm-graph/ |
| D | sleepgraph.py | 319 def __init__(self): argument 337 def resetlog(self): argument 340 def vprint(self, msg): argument 344 def signalHandler(self, signum, frame): argument 351 def signalHandlerInit(self): argument 363 def rootCheck(self, fatal=True): argument 372 def rootUser(self, fatal=False): argument 381 def usable(self, file, ishtml=False): argument 394 def getExec(self, cmd): argument 409 def setPrecision(self, num): argument [all …]
|
| /kernel/linux/linux-5.10/tools/power/pm-graph/ |
| D | sleepgraph.py | 297 def __init__(self): argument 315 def resetlog(self): argument 318 def vprint(self, msg): argument 322 def signalHandler(self, signum, frame): argument 329 def signalHandlerInit(self): argument 341 def rootCheck(self, fatal=True): argument 350 def rootUser(self, fatal=False): argument 359 def usable(self, file): argument 361 def getExec(self, cmd): argument 376 def setPrecision(self, num): argument [all …]
|
| /kernel/linux/linux-6.6/tools/net/ynl/ |
| D | ynl-gen-c.py | 24 def get_family_id(self): argument 27 def parse_cb_run(self, cb, data, is_dump=False, indent=1): argument 37 def __init__(self, family, attr_set, attr, value): argument 67 def resolve(self): argument 74 def is_multi_val(self): argument 77 def is_scalar(self): argument 80 def presence_type(self): argument 83 def presence_member(self, space, type_filter): argument 95 def _complex_member_type(self, ri): argument 98 def free_needs_iter(self): argument [all …]
|