Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 214) sorted by relevance

123456789

/scripts/schemas/
A Dbuild-schema.yml11 type: str
19 type: str
21 type: str
27 type: str
29 type: str
31 type: str
93 type: str
104 type: str
128 type: str
130 type: str
[all …]
/scripts/west_commands/tests/
A Dtest_stm32cubeprogrammer.py81 str(CLI_PATH),
108 str(CLI_PATH),
136 str(CLI_PATH),
163 str(CLI_PATH),
190 str(CLI_PATH),
217 str(CLI_PATH),
244 str(CLI_PATH),
271 str(CLI_PATH),
299 str(CLI_PATH),
326 str(CLI_PATH),
[all …]
A Dtest_rfp.py147 args = ['--port', str(TEST_RFP_PORT), "--device", str(TEST_RFP_DEVICE)]
174 str(TEST_RFP_DEVICE),
176 str(TEST_RFP_PORT),
178 str(TEST_RFP_PORT_SPEED),
202 args = ['--device', str(TEST_RFP_DEVICE), '--port', str(TEST_RFP_PORT), '--erase']
225 args = ['--device', str(TEST_RFP_DEVICE), '--port', str(TEST_RFP_PORT), '--verify']
250 str(TEST_RFP_DEVICE),
252 str(TEST_RFP_PORT),
254 str(TEST_RFP_USR_LOCAL_RFP_CLI),
/scripts/west_commands/zspdx/
A Ddatatypes.py15 name: str = ""
18 namespace: str = ""
22 docRefID: str = ""
67 name: str = ""
70 spdxID: str = ""
76 url: str = ""
79 version: str = ""
82 revision: str = ""
182 rlnType: str = ""
192 refA: str = ""
[all …]
/scripts/pylib/twister/twisterlib/
A Dconfig_parser.py15 target_fields: set, arg_list: str | list
16 ) -> tuple[dict[str, list[str]], list[str]]:
21 extracted_fields: dict[str, list[str]] = {f: list() for f in target_fields}
22 other_fields: list[str] = []
24 if isinstance(arg_list, str):
50 testsuite_valid_keys: dict[str, dict[str, Any]] = {
93 def __init__(self, filename: str, schema: dict[str, Any]) -> None: argument
104 def load(self) -> dict[str, Any]:
150 def get_scenario(self, name: str) -> dict[str, Any]: argument
163 d: dict[str, Any] = {}
[all …]
A Dsize_calc.py100 def __init__(self, elf_filename: str,\ argument
101 extra_sections: list[str],\ argument
102 buildlog_filepath: str = '',\ argument
190 print(str(e))
206 print(str(e))
321 def _get_lines_with_footprint(self, start_offset: int, file_content: list[str]) -> list[str]: argument
343 def _clear_whitespaces_from_lines(self, text_lines: list[str]) -> list[str]: argument
351 def _divide_text_lines_into_columns(self, text_lines: list[str]) -> list[list[str]]: argument
373 def _unify_prefixes_on_all_values(self, data_lines: list[list[str]]) -> list[list[str]]: argument
396 def _binary_prefix_converter(self, value: str) -> str: argument
[all …]
A Dquarantine.py48 scenarios: list[str] = field(default_factory=list)
49 platforms: list[str] = field(default_factory=list)
50 architectures: list[str] = field(default_factory=list)
51 simulations: list[str] = field(default_factory=list)
52 comment: str = 'NA'
97 def load_data_from_yaml(cls, filename: str | Path) -> QuarantineData:
115 scenario: str, argument
116 platform: str, argument
117 architecture: str, argument
118 simulator_name: str) -> QuarantineElement | None: argument
[all …]
/scripts/schemas/twister/
A Dtestsuite-schema.yaml27 - type: str
32 - type: str
37 - type: str
54 - type: str
59 - type: str
64 - type: str
69 - type: str
80 - type: str
82 type: str
107 type: str
[all …]
A Dhwmap-schema.yaml13 type: str
16 type: str
22 type: str
25 type: str
28 type: str
34 - type: str
36 type: str
39 type: str
45 type: str
48 type: str
[all …]
A Dplatform-schema.yaml22 type: str
26 - type: str
28 type: str
30 type: str
38 type: str
54 type: str
56 type: str
76 type: str
82 - type: str
88 - type: str
[all …]
A Dtest-config-schema.yaml15 - type: str
30 - type: str
39 type: str
42 type: str
48 - type: str
53 - type: str
/scripts/west_commands/runners/
A Dnxp_s32dbg.py26 conn_str: str = 's32dbg'
30 reset_type: str | None = 'default'
40 core_name: str, argument
41 soc_name: str, argument
64 def name(cls) -> str:
73 def dev_id_help(cls) -> str:
79 def tool_opt_help(cls) -> str:
148 devices: list[str] = []
155 def select_probe(cls) -> str:
191 def runtime_environment(self) -> dict[str, str] | None:
[all …]
A Dstm32cubeprogrammer.py24 _RESET_MODES: ClassVar[dict[str, str]] = {
34 port: str, argument
36 reset_mode: str | None,
40 start_modifiers: list[str], argument
41 conn_modifiers: str | None,
45 extload: str | None,
46 tool_opt: list[str], argument
155 type=str,
164 type=str,
197 type=str,
[all …]
A Dstlink_gdbserver.py66 search_path: str
88 def name(cls) -> str:
96 def extload_help(cls) -> str:
124 stlink_serial: str | None,
126 external_loader: str | None,
137 def do_run(self, command: str, **kwargs): argument
143 def do_attach_debug_debugserver(self, command: str): argument
156 gdbserver_cmd += ["--stm32cubeprogrammer-path", str(cubeprg_path.absolute())]
157 gdbserver_cmd += ["--port-number", str(self._gdb_port)]
158 gdbserver_cmd += ["--apid", str(self._ap_id)]
[all …]
/scripts/pylib/pytest-twister-harness/src/twister_harness/
A Dtwister_harness_config.py19 type: str
23 platform: str = ''
24 serial: str = ''
26 runner: str = ''
28 id: str = ''
29 product: str = ''
30 serial_pty: str = ''
33 name: str = ''
37 fixtures: list[str] = None
39 extra_test_args: str = ''
[all …]
/scripts/release/
A Dlist_devicetree_bindings_changes.py34 compatible: str
61 space: str
72 property: str
76 property: str
80 property: str
81 start: str
82 end: str
86 property: str
92 property: str
170 def get_vnd(compatible: str) -> str: argument
[all …]
/scripts/pylib/power-twister-harness/stm32l562e_dk/
A DPowerShieldConfig.py73 output_file: str = "rawData.csv"
74 sampling_frequency: str = SamplingFrequency.FREQ_1K
75 data_format: str = DataFormat.BIN_HEXA
76 function_mode: str = FunctionMode.HIGH
77 target_voltage: str = "3300m"
78 temperature_unit: str = TemperatureUnit.CELSIUS
79 acquisition_time: str = field(default=None, init=False)
/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
A Dshell.py29 self.prompt: str = prompt
55 ) -> list[str]:
68 lines: list[str] = []
83 def get_filtered_output(self, command_lines: list[str]) -> list[str]: argument
112 name: str
113 version: str
114 image_size: str
115 magic: str = 'unset'
116 swap_type: str = 'none'
117 copy_done: str = 'unset'
[all …]
A Dutils.py15 def find_in_config(config_file: Path | str, config_key: str) -> str: argument
28 def match_lines(output_lines: list[str], searched_lines: list[str]) -> None: argument
34 def match_no_lines(output_lines: list[str], searched_lines: list[str]) -> None: argument
A Dmcumgr.py26 version: str = ''
27 flags: str = ''
28 hash: str = ''
35 def __init__(self, connection_options: str): argument
39 def create_for_serial(cls, serial_port: str) -> MCUmgr: argument
50 def run_command(self, cmd: str) -> str: argument
70 def _parse_image_list(cmd_output: str) -> list[MCUmgrImage]: argument
93 def get_hash_to_test(self) -> str:
109 def image_test(self, hash: str | None = None):
114 def image_confirm(self, hash: str | None = None):
[all …]
/scripts/dts/python-devicetree/src/devicetree/
A Dedtlib.py97 def _compute_hash(path: str) -> str: argument
187 def __init__(self, path: Optional[str], fname2path: dict[str, str], argument
1406 pp: dict[str, str] = {}
2058 self.compat2vendor: dict[str, str] = defaultdict(str)
2059 self.compat2model: dict[str, str] = defaultdict(str)
2502 def load_vendor_prefixes_txt(vendor_prefixes: str) -> dict[str, str]: argument
2506 vnd2vendor: dict[str, str] = {}
3349 def str_as_token(val: str) -> str: argument
3375 _DEFAULT_PROP_TYPES: dict[str, str] = {
3392 ) -> dict[str, Union[str, bool, list[str]]]:
[all …]
/scripts/native_simulator/native/src/
A Dnsi_cmdline_common.c130 if (strcasecmp(str, "false") == 0) { in nsi_cmd_read_option_value()
132 endptr = (const char *)str + 5; in nsi_cmd_read_option_value()
133 } else if (strcmp(str, "0") == 0) { in nsi_cmd_read_option_value()
135 endptr = (const char *)str + 1; in nsi_cmd_read_option_value()
136 } else if (strcasecmp(str, "true") == 0) { in nsi_cmd_read_option_value()
138 endptr = (const char *)str + 4; in nsi_cmd_read_option_value()
139 } else if (strcmp(str, "1") == 0) { in nsi_cmd_read_option_value()
141 endptr = (const char *)str + 1; in nsi_cmd_read_option_value()
147 *(const char **)dest = (const char *)str; in nsi_cmd_read_option_value()
148 endptr = (const char *)str + strlen(str); in nsi_cmd_read_option_value()
[all …]
/scripts/utils/
A Dpinctrl_nrf_migrate.py108 pattern: str, argument
110 signals: Dict[str, str], argument
242 def board_is_nrf(content: List[str]) -> bool: argument
303 def fmt_states(device: str, indent: str, needs_sleep: bool) -> str: argument
332 def insert_pinctrl_include(content: List[str], board: str) -> None: argument
375 def adjust_content(content: List[str], board: str) -> List[DeviceConfiguration]: argument
457 config: DeviceConfiguration, signals: Dict[str, str], line: str argument
458 ) -> Optional[str]:
491 def process_uart(config: DeviceConfiguration, signals, line: str) -> Optional[str]: argument
507 def process_spi(config: DeviceConfiguration, signals, line: str) -> Optional[str]: argument
[all …]
/scripts/dts/python-devicetree/tests/
A Dtest_edtlib_binding_init.py62 YAML_KNOWN_BASE_BINDINGS: dict[str, str] = {
127 expect_type: str = "int", argument
129 expect_desc: str | None = None,
1016 assert "prop-1" in str(e)
1021 assert "child-prop-1" in str(e)
1038 assert "prop-const" in str(e)
1060 assert "prop-req" in str(e)
1082 assert "prop-default" in str(e)
1104 assert "prop-enum" in str(e)
1117 in str(e)
[all …]
/scripts/pylib/pytest-twister-harness/tests/
A Dconftest.py24 def zephyr_base() -> str:
33 def twister_harness(zephyr_base) -> str:
35 …pytest_twister_harness_path = str(Path(zephyr_base) / 'scripts' / 'pylib' / 'pytest-twister-harnes…
40 def shell_simulator_path(resources: Path) -> str:
41 return str(resources / 'shell_simulator.py')
46 tmp_path: Path, shell_simulator_path: str argument

Completed in 74 milliseconds

123456789