Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 573) sorted by relevance

12345678910>>...23

/linux/tools/testing/kunit/
H A Dkunit_tool_test.py46 def test_is_subset_of(self): argument
56 def test_read_from_file(self): argument
70 def test_write_to_file(self): argument
86 def setUp(self): argument
90 def noPrintCallContains(self, substr: str): argument
94 def assertContains(self, needle: str, haystack: kunit_parser.LineStream): argument
102 def test_output_isolated_correctly(self): argument
113 def test_output_with_prefix_isolated_correctly(self): argument
142 def test_parse_successful_test_log(self): argument
149 def test_parse_successful_nested_tests_log(self): argument
[all …]
/linux/tools/testing/selftests/hid/tests/
H A Dtest_multitouch.py58 def __init__(self, id, x, y): argument
74 def __init__(self, x, y): argument
103 self, argument
151 def touches_in_a_report(self): argument
154 def event(self, slots, global_data=None, contact_count=None, incr_scantime=True): argument
178 def get_report(self, req, rnum, rtype): argument
197 def set_report(self, req, rnum, rtype, data): argument
244 self, argument
264 self, argument
293 def __init__(self, max_slots): argument
[all …]
/linux/scripts/gdb/linux/
H A Dmm.py24 def __init__(self): argument
35 def __init__(self): argument
94 def kasan_reset_tag(self, addr): argument
97 def SECTION_NR_TO_ROOT(self, sec): argument
100 def __nr_to_section(self, nr): argument
105 def pfn_to_section_nr(self, pfn): argument
108 def section_nr_to_pfn(self, sec): argument
111 def __pfn_to_section(self, pfn): argument
114 def pfn_to_section(self, pfn): argument
117 def subsection_map_index(self, pfn): argument
[all …]
/linux/tools/net/sunrpc/xdrgen/
H A Dxdr_ast.py102 def symbolic_width(self) -> List: argument
106 def __post_init__(self): argument
116 def symbolic_width(self) -> List: argument
134 def max_width(self) -> int: argument
138 def symbolic_width(self) -> List: argument
142 def __post_init__(self): argument
155 def max_width(self) -> int: argument
159 def symbolic_width(self) -> List: argument
166 def __post_init__(self): argument
179 def max_width(self) -> int: argument
[all …]
/linux/lib/
H A Dtest_bpf.c90 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 …]
/linux/tools/kvm/kvm_stat/
H A Dkvm_stat336 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 …]
/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py194 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 …]
/linux/scripts/
H A Dbpf_doc.py25 def __init__(self, line='<line not provided>', reader=None): argument
41 def __init__(self, proto='', desc='', ret=''): argument
46 def to_dict(self): argument
61 def __init__(self, proto='', desc='', ret='', attrs=[]): argument
66 def proto_break_down(self): argument
92 def to_dict(self): argument
112 def __init__(self, filename): argument
124 def parse_element(self): argument
130 def parse_helper(self): argument
137 def parse_symbol(self): argument
[all …]
H A Drust_is_available_test.py122 def run_script(self, expected, override_env): argument
169 def test_rustc_unset(self): argument
174 def test_bindgen_unset(self): argument
179 def test_cc_unset(self): argument
184 def test_rustc_missing(self): argument
188 def test_bindgen_missing(self): argument
192 def test_rustc_nonexecutable(self): argument
196 def test_rustc_unexpected_binary(self): argument
200 def test_rustc_unexpected_name(self): argument
205 def test_rustc_unexpected_version(self): argument
[all …]
/linux/tools/verification/rvgen/rvgen/
H A Dltl2ba.py72 def __init__(self, incoming: set['GraphNode'], new, old, _next): argument
83 def expand(self, node_set): argument
95 def __lt__(self, other): argument
101 def __init__(self, op): argument
106 def __hash__(self): argument
109 def __eq__(self, other): argument
112 def __iter__(self): argument
116 def negate(self): argument
120 def expand(self, node, node_set): argument
123 def __str__(self): argument
[all …]
H A Dgenerator.py15 def __init__(self, extra_params={}): argument
27 def __fill_rv_kernel_dir(self): argument
53 def _read_file(self, path): argument
64 def _read_template_file(self, file): argument
74 def fill_parent(self): argument
77 def fill_include_parent(self): argument
82 def fill_tracepoint_handlers_skel(self): argument
85 def fill_tracepoint_attach_probe(self): argument
88 def fill_tracepoint_detach_helper(self): argument
91 def fill_main_c(self): argument
[all …]
H A Ddot2c.py25 def __init__(self, file_path, model_name=None): argument
29 def __get_enum_states_content(self) -> list[str]: argument
39 def format_states_enum(self) -> list[str]: argument
47 def __get_enum_events_content(self) -> list[str]: argument
56 def format_events_enum(self) -> list[str]: argument
64 def get_minimun_type(self) -> str: argument
78 def format_automaton_definition(self) -> list[str]: argument
90 def format_aut_init_header(self) -> list[str]: argument
95 def __get_string_vector_per_line_content(self, entries: list[str]) -> str: argument
101 def format_aut_init_events_string(self) -> list[str]: argument
[all …]
/linux/tools/perf/pmu-events/
H A Dmetric.py124 def ToPerfJson(self) -> str: argument
128 def ToPython(self) -> str: argument
132 def Simplify(self): argument
136 def HasExperimentalEvents(self) -> bool: argument
140 def Equals(self, other) -> bool: argument
144 def Substitute(self, name: str, expression: 'Expression') -> 'Expression': argument
147 def __str__(self) -> str: argument
150 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
153 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
156 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py39 def __init__(self, family, yaml): argument
50 def __getitem__(self, key): argument
53 def __contains__(self, key): argument
56 def get(self, key, default=None): argument
59 def resolve_up(self, up): argument
64 def resolve(self): argument
80 def __init__(self, enum_set, yaml, prev, value_start): argument
95 def has_doc(self): argument
98 def raw_value(self): argument
101 def user_value(self, as_flags=None): argument
[all …]
/linux/tools/crypto/ccp/
H A Dtest_dbc.py34 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 …]
/linux/tools/net/ynl/ynltool/
H A Djson_writer.c28 static void jsonw_indent(json_writer_t *self) in jsonw_indent()
35 static void jsonw_eol(json_writer_t *self) in jsonw_eol()
44 static void jsonw_eor(json_writer_t *self) in jsonw_eor()
51 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts()
85 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local
97 json_writer_t *self = *self_p; in jsonw_destroy() local
106 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty()
111 void jsonw_reset(json_writer_t *self) in jsonw_reset()
117 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin()
125 static void jsonw_end(json_writer_t *self, int c) in jsonw_end()
[all …]
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py56 def get_family_id(self): argument
61 def __init__(self, family, attr_set, attr, value): argument
106 def _get_real_attr(self): argument
110 def set_request(self): argument
115 def set_reply(self): argument
120 def get_limit(self, limit, default=None): argument
130 def get_limit_str(self, limit, default=None, suffix=''): argument
143 def resolve(self): argument
156 def is_multi_val(self): argument
159 def is_scalar(self): argument
[all …]
/linux/drivers/gpu/drm/msm/registers/
H A Dgen_header.py16 def __init__(self, message): argument
20 def __init__(self, name): argument
24 def has_name(self, name): argument
30 def names(self): argument
33 def dump(self, is_deprecated): argument
47 def dump_pack_struct(self, is_deprecated): argument
51 def __init__(self, name, low, high, shr, type, parser): argument
75 def ctype(self, var_name): argument
161 def __init__(self, name, template): argument
171 def get_address_field(self): argument
[all …]
/linux/tools/bpf/bpftool/
H A Djson_writer.c29 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 …]
/linux/tools/testing/selftests/bpf/
H A Djson_writer.c29 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 …]
/linux/tools/power/pm-graph/
H A Dsleepgraph.py324 def __init__(self): argument
342 def resetlog(self): argument
345 def vprint(self, msg): argument
349 def signalHandler(self, signum, frame): argument
362 def signalHandlerInit(self): argument
374 def rootCheck(self, fatal=True): argument
383 def rootUser(self, fatal=False): argument
392 def usable(self, file, ishtml=False): argument
405 def getExec(self, cmd): argument
420 def setPrecision(self, num): argument
[all …]
/linux/tools/testing/selftests/tpm2/
H A Dtpm2_tests.py14 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 …]
/linux/tools/perf/python/
H A Dilist.py30 def name(self) -> str: argument
34 def description(self) -> str: argument
38 def matches(self, query: str) -> bool: argument
42 def parse(self) -> perf.evlist: argument
46 def value(self, evlist: perf.evlist, evsel: perf.evsel, cpu: int, thread: int) -> float: argument
56 def name(self) -> str: argument
59 def description(self) -> str: argument
73 def matches(self, query: str) -> bool: argument
76 def parse(self) -> perf.evlist: argument
79 def value(self, evlist: perf.evlist, evsel: perf.evsel, cpu: int, thread: int) -> float: argument
[all …]
/linux/rust/syn/gen/
H A Dhash.rs12 fn hash<H>(&self, state: &mut H) in hash()
22 fn hash<H>(&self, state: &mut H) in hash()
33 fn hash<H>(&self, state: &mut H) in hash()
47 fn hash<H>(&self, state: &mut H) in hash()
59 fn hash<H>(&self, state: &mut H) in hash()
71 fn hash<H>(&self, state: &mut H) in hash()
88 fn hash<H>(&self, state: &mut H) in hash()
99 fn hash<H>(&self, state: &mut H) in hash()
111 fn hash<H>(&self, state: &mut H) in hash()
123 fn hash<H>(&self, state: &mut H) in hash()
[all …]
/linux/tools/docs/
H A Dsphinx-pre-install78 def __init__(self, pdf): argument
127 def add_package(self, package, dtype): argument
139 def del_package(self, package): argument
147 def clear_deps(self): argument
160 def check_missing(self, progs): argument
193 def warn_install(self): argument
264 def __init__(self, args, texlive): argument
289 def check_missing_file(self, files, package, dtype): argument
298 def check_program(self, prog, dtype): argument
311 def check_perl_module(self, prog, dtype): argument
[all …]

12345678910>>...23