Home
last modified time | relevance | path

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

1234567891011

/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dleshan.py22 def __init__(self, url: str):
57 def get(self, path: str):
65 …def put_raw(self, path: str, data: str | dict | None = None, headers: dict | None = None, params: …
70 def put(self, path: str, data: str | dict, uri_options: str = ''):
76 def post(self, path: str, data: str | dict | None = None):
89 def delete_raw(self, path: str):
94 def delete(self, endpoint: str, path: str):
98 def execute(self, endpoint: str, path: str):
102 def write(self, endpoint: str, path: str, value: bool | int | str):
111 def write_attributes(self, endpoint: str, path: str, attributes: dict):
[all …]
Dtest_lwm2m.py33 def test_LightweightM2M_1_1_int_102(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str
47 def test_LightweightM2M_1_1_int_103(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str
58 def test_LightweightM2M_1_1_int_104(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str
66 def test_LightweightM2M_1_1_int_107(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str
82 def test_LightweightM2M_1_1_int_109(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str
90 def test_LightweightM2M_1_1_int_201(shell: Shell, leshan: Leshan, endpoint: str):
118 def test_LightweightM2M_1_1_int_203(shell: Shell, leshan: Leshan, endpoint: str):
126 def test_LightweightM2M_1_1_int_204(shell: Shell, leshan: Leshan, endpoint: str):
134 def test_LightweightM2M_1_1_int_205(shell: Shell, leshan: Leshan, endpoint: str):
152 def test_LightweightM2M_1_1_int_211(shell: Shell, leshan: Leshan, endpoint: str):
[all …]
Dtest_portfolio.py27 …t_LightweightM2M_1_1_int_1630(shell: Shell, leshan: Leshan, endpoint: str, configuration_C13: str):
55 …t_LightweightM2M_1_1_int_1635(shell: Shell, leshan: Leshan, endpoint: str, configuration_C13: str):
Dtest_blockwise.py25 def test_blockwise_1(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str):
46 def test_blockwise_2(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str):
77 def test_blockwise_3(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str):
109 def test_blockwise_4(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str):
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dutils.py15 def find_in_config(config_file: Path | str, config_key: str) -> str:
28 def match_lines(output_lines: list[str], searched_lines: list[str]) -> None:
34 def match_no_lines(output_lines: list[str], searched_lines: list[str]) -> None:
Dmcumgr.py33 def __init__(self, connection_options: str):
37 def create_for_serial(cls, serial_port: str) -> MCUmgr:
48 def run_command(self, cmd: str) -> str:
56 def image_upload(self, image: Path | str, slot: int | None = None, timeout: int = 30):
68 def _parse_image_list(cmd_output: str) -> list[MCUmgrImage]:
/Zephyr-latest/scripts/utils/
Dpinctrl_nrf_migrate.py108 pattern: str,
110 signals: Dict[str, str], argument
123 def __init__(self, signal: str, pin: int) -> None:
147 def __init__(self, name: str, pins: List[PinConfiguration]) -> None:
151 def add_signal_config(self, signal: str, config: PIN_CONFIG) -> None:
160 def set_signal_pin(self, signal: str, pin: int) -> None:
176 configs: List[DeviceConfiguration], input_file: Path, header: str
242 def board_is_nrf(content: List[str]) -> bool:
303 def fmt_states(device: str, indent: str, needs_sleep: bool) -> str:
332 def insert_pinctrl_include(content: List[str], board: str) -> None:
[all …]
/Zephyr-latest/modules/mbedtls/
Dcreate_psa_files.py74 def parse_psa_symbols(input_file: str):
84 def generate_kconfig_content(symbols: List[str]) -> str:
97 def generate_header_content(symbols: List[str]) -> str:
108 def generate_output_file(content: str, file_name: str):
112 def check_file(content: str, file_name: str):
/Zephyr-latest/doc/_extensions/zephyr/
Ddoxyrunner.py79 def get_doxygen_option(doxyfile: str, option: str) -> list[str]:
131 doxyfile: str,
136 fmt_vars: dict[str, str] | None = None,
196 def doxygen_input_has_changed(env: BuildEnvironment, doxyfile: str) -> bool:
237 def process_doxygen_output(line: str, silent: bool) -> None:
263 def run_doxygen(doxygen: str, doxyfile: str, silent: bool = False) -> None:
290 def sync_doxygen(doxyfile: str, new: Path, prev: Path) -> None:
Dlink-roles.py62 name: str,
63 rawtext: str,
64 text: str,
67 options: dict[str, Any] | None = None,
68 content: Sequence[str] = (),
Dgh_utils.py61 def get_page_prefix(app: Sphinx, pagename: str) -> str:
92 def gh_link_get_url(app: Sphinx, pagename: str, mode: str = "blob") -> str | None:
119 def gh_link_get_open_issue_url(app: Sphinx, pagename: str, sha1: str) -> str | None:
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/
Dplugin_test.py28 import_path: str,
29 class_name: str,
30 device_type: str,
32 twister_harness: str,
/Zephyr-latest/scripts/dts/
Dgen_defines.py658 def string_macros(macro: str, val: str):
672 def enum_macros(prop: edtlib.Property, macro: str):
690 def array_macros(prop: edtlib.Property, macro: str):
795 def phandle_macros(prop: edtlib.Property, macro: str) -> dict:
835 def controller_and_data_macros(entry: edtlib.ControllerAndData, i: int, macro: str):
970 def str2ident(s: str) -> str:
976 def list2init(l: Iterable[str]) -> str:
983 macro: str,
984 val: str,
986 deprecation_msg: Optional[str] = None,
[all …]
Dgen_edt.py90 def write_pickled_edt(edt: edtlib.EDT, out_file: str) -> None:
105 def err(s: str) -> NoReturn:
/Zephyr-latest/scripts/build/
Dgen_iter_sections.py14 def get_tagged_items(filepath: str, tag: str) -> list:
19 def gen_ld(filepath: str, items: list, alignment: int):
25 def gen_cmake(filepath: str, items: list, alignment: int):
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dsize_calc.py100 def __init__(self, elf_filename: str,\
101 extra_sections: list[str],\
102 buildlog_filepath: str = '',\
311 def _find_offset_of_last_pattern_occurrence(self, file_content: list[str]) -> int:
337 def _get_lines_with_footprint(self, start_offset: int, file_content: list[str]) -> list[str]:
359 def _clear_whitespaces_from_lines(self, text_lines: list[str]) -> list[str]:
367 def _divide_text_lines_into_columns(self, text_lines: list[str]) -> list[list[str]]:
389 def _unify_prefixes_on_all_values(self, data_lines: list[list[str]]) -> list[list[str]]:
412 def _binary_prefix_converter(self, value: str) -> str:
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py164 def __init__(self, path: Optional[str], fname2path: Dict[str, str],
272 def _merge_includes(self, raw: dict, binding_path: Optional[str]) -> dict:
339 def _load_raw(self, fname: str) -> dict:
530 def __init__(self, name: str, binding: Binding):
1482 name: str,
1752 specifier_space: Optional[str]
1831 basename: str
1925 dts: Optional[str],
1926 bindings_dirs: List[str],
1930 infer_binding_for_paths: Optional[Iterable[str]] = None,
[all …]
D_private.py12 prop_name: str, size: int, size_hint: str,
/Zephyr-latest/samples/boards/nordic/coresight_stm/pytest/
Dtest_stm.py34 def _analyse_autoconf(filepath: str) -> None:
53 def _check_benchmark_results(output: str, core: str) -> None:
109 decoded_file_name: str = "output.txt",
/Zephyr-latest/subsys/bluetooth/common/
Dbt_str.c22 static char str[129]; in bt_hex() local
40 static char str[BT_ADDR_STR_LEN]; in bt_addr_str() local
49 static char str[BT_ADDR_LE_STR_LEN]; in bt_addr_le_str() local
58 static char str[BT_UUID_STR_LEN]; in bt_uuid_str() local
/Zephyr-latest/tests/boards/nrf/coresight_stm/pytest/
Dtest_stm.py49 def _analyse_autoconf(filepath: str) -> None:
68 def _check_benchmark_results(output: str, core: str, constraints: STMLimits) -> None:
131 decoded_file_name: str = "output.txt",
/Zephyr-latest/scripts/release/
Dlist_devicetree_bindings_changes.py170 def get_vnd(compatible: str) -> str:
283 common_props: Set[str]
294 common_props: Set[str]
305 common_props: Set[str]
316 common_props: Set[str]
327 common_props: Set[str]
338 common_props: Set[str]
347 common_props: Set[str],
348 start_fn: Callable[[str], Any],
349 end_fn: Callable[[str], Any],
[all …]
/Zephyr-latest/drivers/gnss/
Dgnss_parse.c20 int gnss_parse_dec_to_nano(const char *str, int64_t *nano) in gnss_parse_dec_to_nano()
102 int gnss_parse_dec_to_micro(const char *str, uint64_t *micro) in gnss_parse_dec_to_micro()
119 int gnss_parse_dec_to_milli(const char *str, int64_t *milli) in gnss_parse_dec_to_milli()
135 int gnss_parse_atoi(const char *str, uint8_t base, int32_t *integer) in gnss_parse_atoi()
/Zephyr-latest/include/zephyr/sys/
Dhash_function.h58 static inline uint32_t sys_hash32_identity(const void *str, size_t n) in sys_hash32_identity()
119 static inline uint32_t sys_hash32(const void *str, size_t n) in sys_hash32()
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dutils.py14 def check_with_shell_command(shell: Shell, version: str, swap_type: str | None = None) -> None:
21 def check_with_mcumgr_command(mcumgr: MCUmgr, version: str) -> None:

1234567891011