Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 1058) sorted by relevance

12345678910>>...43

/linux/tools/testing/kunit/
H A Dkunit_kernel.py45 __init__(self, linux_arch: str, cross_compile: Optional[str]) global() argument
60 make_olddefconfig(self, build_dir: str, make_options: Optional[List[str]]) global() argument
74 make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) global() argument
96 start(self, params: List[str], build_dir: str) global() argument
102 __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]) global() argument
119 start(self, params: List[str], build_dir: str) global() argument
143 __init__(self, cross_compile: Optional[str]=None) global() argument
151 start(self, params: List[str], build_dir: str) global() argument
162 get_kconfig_path(build_dir: str) global() argument
165 get_kunitconfig_path(build_dir: str) global() argument
168 get_old_kunitconfig_path(build_dir: str) global() argument
171 get_parsed_kunitconfig(build_dir: str, kunitconfig_paths: Optional[List[str]]=None) global() argument
172 get_parsed_kunitconfig(build_dir: str, kunitconfig_paths: Optional[List[str]]=None) global() argument
195 get_outfile_path(build_dir: str) global() argument
198 _default_qemu_config_path(arch: str) global() argument
206 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument
207 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument
208 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument
238 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
239 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
240 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
241 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
242 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
243 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
244 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
272 validate_config(self, build_dir: str) global() argument
287 build_config(self, build_dir: str, make_options: Optional[List[str]]) global() argument
307 _kunitconfig_changed(self, build_dir: str) global() argument
315 build_reconfig(self, build_dir: str, make_options: Optional[List[str]]) global() argument
331 build_kernel(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) global() argument
340 run_kernel(self, args: Optional[List[str]]=None, build_dir: str='', filter_glob: str='', filter: str='', filter_action: Optional[str]=None, timeout: Optional[int]=None) global() argument
[all...]
H A Dkunit_printer.py18 def __init__(self, print: bool=True, output: typing.IO[str]=sys.stdout):
26 def print(self, message: str) -> None:
30 def print_with_timestamp(self, message: str) -> None:
34 def _color(self, code: str, text: str) -> str:
39 def red(self, text: str) -> str:
42 def yellow(self, text: str) -> str:
45 def green(self, text: str) -> str:
H A Dkunit_config.py49 def add_entry(self, name: str, value: str) -> None:
76 def write_to_file(self, path: str) -> None:
81 def parse_file(path: str) -> Kconfig:
85 def parse_from_string(blob: str) -> Kconfig:
/linux/tools/perf/pmu-events/
H A Djevents.py68 def removesuffix(s: str, suffix: str) -> str:
77 def file_name_to_table_name(prefix: str, parents: Sequence[str],
78 dirname: str) -> str:
87 def c_len(s: str) -> int:
131 def add(self, s: str, metric: bool) -> None:
179 def string_cmp_key(s: str) -> Tuple[bool, int, str]:
213 def fixdesc(s: str) -> str:
221 def convert_aggr_mode(aggr_mode: str) -> Optional[str]:
231 def convert_metric_constraint(metric_constraint: str) -> Optional[str]:
244 def lookup_msr(num: str) -> Optional[str]:
[all …]
H A Dmodels.py11 def dir_path(path: str) -> str:
17 def find_archs(start_dir: str, arch: str) -> List[str]:
30 def find_mapfiles(start_dir: str, archs: List[str]) -> List[str]:
40 def find_cpuids(mapfiles: List[str], cpuids: str) -> List[str]:
H A Dmetric.py16 def LoadEvents(directory: str) -> None:
63 def CheckPmu(name: str) -> bool:
67 def CheckEvent(name: str) -> bool:
83 def CheckEveryEvent(*names: str) -> None:
103 def IsExperimentalEvent(name: str) -> bool:
144 def Substitute(self, name: str, expression: 'Expression') -> 'Expression':
230 def __init__(self, operator: str, lhs: Union[int, float, Expression],
238 other_str: str,
316 def Substitute(self, name: str, expression: Expression) -> Expression:
368 def Substitute(self, name: str, expression: Expression) -> Expression:
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Ddoc_generator.py45 def bold(text: str) -> str:
55 def sanitize(text: str) -> str:
60 def rst_fields(self, key: str, value: str, level: int = 0) -> str:
64 def rst_definition(self, key: str, value: Any, level: int = 0) -> str:
68 def rst_paragraph(self, paragraph: str, level: int = 0) -> str:
72 def rst_bullet(self, item: str, level: int = 0) -> str:
77 def rst_subsection(title: str) -> str:
82 def rst_subsubsection(title: str) -> str:
87 def rst_section(namespace: str, prefix: str, title: str) -> str:
92 def rst_subtitle(title: str) -> str:
[all …]
/linux/tools/testing/selftests/drivers/net/
H A Dnetpoll_basic.py67 def ethtool_get_ringsize(interface_name: str) -> tuple[int, int]:
83 def ethtool_set_ringsize(interface_name: str, ring_size: tuple[int, int]) -> bool:
99 def ethtool_get_queues_cnt(interface_name: str) -> tuple[int, int, int]:
116 def ethtool_set_queues_cnt(interface_name: str, queues: tuple[int, int, int]) -> None:
146 config_data: dict[str, str], argument
147 target_name: str,
193 cfg: NetDrvEpEnv, interface_name: str, target_name: str
213 def netcons_delete_target(name: str) -> None:
282 def do_netpoll_flush_monitored(cfg: NetDrvEpEnv, ifname: str, target_name: str) -> None:
298 def do_netpoll_flush(cfg: NetDrvEpEnv, ifname: str, target_name: str) -> None:
[all …]
/linux/tools/net/sunrpc/xdrgen/generators/
H A D__init__.py13 def create_jinja2_environment(language: str, xdr_type: str) -> Environment: argument
34 get_jinja2_template( environment: Environment, template_type: str, template_name: str ) global() argument
52 header_guard_infix(filename: str) global() argument
76 __init__(self, language: str, peer: str) global() argument
80 emit_declaration(self, filename: str, root: Specification) global() argument
84 emit_definition(self, filename: str, root: Specification) global() argument
88 emit_source(self, filename: str, root: Specification) global() argument
96 __init__(self, language: str, peer: str) global() argument
[all...]
H A Dprogram.py13 emit_version_definitions( environment: Environment, program: str, version: _RpcVersion ) global() argument
34 emit_version_declarations( environment: Environment, program: str, version: _RpcVersion ) global() argument
59 emit_version_argument_decoders( environment: Environment, program: str, version: _RpcVersion ) global() argument
73 emit_version_result_decoders( environment: Environment, program: str, version: _RpcVersion ) global() argument
87 emit_version_argument_encoders( environment: Environment, program: str, version: _RpcVersion ) global() argument
101 emit_version_result_encoders( environment: Environment, program: str, version: _RpcVersion ) global() argument
117 __init__(self, language: str, peer: str) global() argument
H A Dheader_top.py17 def __init__(self, language: str, peer: str):
22 def emit_declaration(self, filename: str, root: Specification) -> None:
33 def emit_definition(self, filename: str, root: Specification) -> None:
44 def emit_source(self, filename: str, root: Specification) -> None:
H A Dheader_bottom.py17 def __init__(self, language: str, peer: str):
22 def emit_declaration(self, filename: str, root: Specification) -> None:
27 def emit_definition(self, filename: str, root: Specification) -> None:
32 def emit_source(self, filename: str, root: Specification) -> None:
/linux/drivers/usb/common/
H A Ddebug.c15 __u16 wLength, char *str, size_t size) in usb_decode_get_status()
74 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature()
100 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) in usb_decode_set_address()
107 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor()
170 static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size) in usb_decode_get_configuration()
175 static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size) in usb_decode_set_configuration()
180 static void usb_decode_get_intf(__u16 wIndex, __u16 wLength, char *str, in usb_decode_get_intf()
187 static void usb_decode_set_intf(__u8 wValue, __u16 wIndex, char *str, in usb_decode_set_intf()
195 char *str, size_t size) in usb_decode_synch_frame()
201 static void usb_decode_set_sel(__u16 wLength, char *str, size_t size) in usb_decode_set_sel()
[all …]
/linux/tools/lib/python/kdoc/
H A Dparse_data_structs.py160 read_exceptions(self, fname: str) global() argument
242 store_type(self, ln, symbol_type: str, symbol: str, ref_name: str = None, replace_underscores: bool = True) global() argument
243 store_type(self, ln, symbol_type: str, symbol: str, ref_name: str = None, replace_underscores: bool = True) global() argument
283 parse_file(self, file_in: str, exceptions: str = None) global() argument
466 write_output(self, file_in: str, file_out: str, toc: bool) global() argument
/linux/rust/macros/
H A Dmodule.rs94 fn emit_only_builtin(&mut self, field: &str, content: &str, param: bool) { in emit() argument
98 fn emit_only_loadable(&mut self, field: &str, content: &str, param: bool) { in emit_internal() argument
42 emit_base(&mut self, field: &str, content: &str, builtin: bool, param: bool) emit_base() argument
86 emit_only_builtin(&mut self, field: &str, content: &str, param: bool) emit_only_builtin() argument
90 emit_only_loadable(&mut self, field: &str, content: &str, param: bool) emit_only_loadable() argument
103 emit_param(&mut self, field: &str, param: &str, content: &str) emit_param() argument
172 param_ops_path(param_type: &str) -> &'static str param_ops_path() argument
[all...]
/linux/tools/testing/selftests/drivers/net/hw/lib/py/
H A Dlinkconfig.py
/linux/tools/perf/python/
H A Dilist.py22 def get_info(info: Dict[str, str], key: str): argument
38 def matches(self, query: str) -> bool:
73 def matches(self, query: str) -> bool:
117 def matches(self, query: str) -> bool:
136 def __init__(self, error: str):
295 def find_search_results(event: str, node: TreeNode[str],
297 match_after_cursor: Optional[TreeNode[str]] = None
466 def add_metrics_to_tree(node: TreeNode[TreeValue], parent: str, pmu: str = None):
/linux/drivers/acpi/
H A Dacpi_configfs.c99 static ssize_t acpi_table_signature_show(struct config_item *cfg, char *str) in acpi_table_signature_show()
109 static ssize_t acpi_table_length_show(struct config_item *cfg, char *str) in acpi_table_length_show()
119 static ssize_t acpi_table_revision_show(struct config_item *cfg, char *str) in acpi_table_revision_show()
129 static ssize_t acpi_table_oem_id_show(struct config_item *cfg, char *str) in acpi_table_oem_id_show()
139 static ssize_t acpi_table_oem_table_id_show(struct config_item *cfg, char *str) in acpi_table_oem_table_id_show()
149 static ssize_t acpi_table_oem_revision_show(struct config_item *cfg, char *str) in acpi_table_oem_revision_show()
160 char *str) in acpi_table_asl_compiler_id_show()
171 char *str) in acpi_table_asl_compiler_revision_show()
/linux/drivers/usb/cdns3/
H A Dcdns3-debug.h15 static inline char *cdns3_decode_usb_irq(char *str, in cdns3_decode_usb_irq()
51 static inline char *cdns3_decode_ep_irq(char *str, in cdns3_decode_ep_irq()
89 static inline char *cdns3_decode_epx_irq(char *str, in cdns3_decode_epx_irq()
96 static inline char *cdns3_decode_ep0_irq(char *str, in cdns3_decode_ep0_irq()
110 static inline char *cdns3_dbg_ring(struct cdns3_endpoint *priv_ep, char *str) in cdns3_dbg_ring()
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-debug.h14 static inline const char *cdns2_decode_usb_irq(char *str, size_t size, in cdns2_decode_usb_irq()
51 static inline const char *cdns2_decode_dma_irq(char *str, size_t size, in cdns2_decode_dma_irq()
83 static inline const char *cdns2_decode_epx_irq(char *str, size_t size, in cdns2_decode_epx_irq()
90 static inline const char *cdns2_decode_ep0_irq(char *str, size_t size, in cdns2_decode_ep0_irq()
100 char *str, size_t size) in cdns2_raw_ring()
161 static inline const char *cdns2_decode_trb(char *str, size_t size, u32 flags, in cdns2_decode_trb()
/linux/tools/perf/scripts/python/
H A Dflamegraph.py53 def __init__(self, name: str, libtype: str):
76 def get_libtype_from_dso(dso: Optional[str]) -> str:
87 def find_or_create_node(node: Node, name: str, libtype: str) -> Node:
/linux/tools/perf/
H A Dbuiltin-probe.c53 static int parse_probe_event(const char *str) in parse_probe_event()
81 static int params_add_filter(const char *str) in params_add_filter()
167 static int opt_set_target(const struct option *opt, const char *str, in opt_set_target()
203 const char *str, int unset __maybe_unused) in opt_set_target_ns()
233 const char *str, int unset __maybe_unused) in opt_show_lines()
253 const char *str, int unset __maybe_unused) in opt_show_vars()
275 const char *str, int unset __maybe_unused) in opt_add_probe_event()
286 const char *str, int unset) in opt_set_filter_with_command()
298 const char *str, int unset __maybe_unused) in opt_set_filter()
443 char *str = strfilter__string(filter); in perf_del_probe_events() local
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_event.c13 char *str; member
21 static int komeda_sprintf(struct komeda_str *str, const char *fmt, ...) in komeda_sprintf()
48 static void evt_sprintf(struct komeda_str *str, u64 evt, const char *msg) in evt_sprintf()
54 static void evt_str(struct komeda_str *str, u64 events) in evt_str()
137 struct komeda_str str; in komeda_print_events() local
/linux/rust/syn/
H A Dlit.rs135 pub fn new(value: &str, span: Span) -> Self { in new()
266 pub fn suffix(&self) -> &str { in suffix()
301 pub fn suffix(&self) -> &str { in suffix()
336 pub fn suffix(&self) -> &str { in suffix()
371 pub fn suffix(&self) -> &str { in suffix()
406 pub fn suffix(&self) -> &str { in suffix()
416 pub fn new(repr: &str, span: Span) -> Self { in new()
433 pub fn base10_digits(&self) -> &str { in base10_digits()
469 pub fn suffix(&self) -> &str { in suffix()
510 pub fn new(repr: &str, span: Span) -> Self { in new()
[all …]
/linux/tools/testing/vsock/
H A Dcontrol.c111 void control_writeln(const char *str) in control_writeln()
143 char str[32]; in control_writeulong() local
156 char *str; in control_readulong() local
228 void control_expectln(const char *str) in control_expectln()
239 bool control_cmpln(char *line, const char *str, bool fail) in control_cmpln()

12345678910>>...43