Home
last modified time | relevance | path

Searched full:str (Results 1 – 25 of 850) sorted by relevance

12345678910>>...34

/Zephyr-latest/scripts/schemas/
Dbuild-schema.yml11 type: str
19 type: str
21 type: str
27 type: str
29 type: str
31 type: str
35 - type: str
42 - type: str
46 - type: str
50 - type: str
[all …]
Dboard-schema.yml18 type: str
21 type: str
34 type: str
37 type: str
44 type: str
48 type: str
52 type: str
55 type: str
63 type: str
68 type: str
[all …]
/Zephyr-latest/subsys/bluetooth/
DKconfig.logging18 module-str = "Bluetooth"
33 module-str = "Bluetooth HCI driver"
37 module-str = "Bluetooth Resolvable Private Address (RPA)"
45 module-str = "Bluetooth Encrypted Advertising Data"
51 module-str = "Bluetooth Cryptographic Toolbox"
60 module-str = "Bluetooth Attribute Protocol (ATT)"
64 module-str = "Bluetooth Generic Attribute Profile (GATT)"
68 module-str = "Bluetooth L2CAP"
73 module-str = "Bluetooth Direction Finding"
79 module-str = "Bluetooth storage"
[all …]
/Zephyr-latest/tests/drivers/gnss/gnss_parse/src/
Dmain.c12 const char *str; member
18 {.str = "10", .base = 10, .value = 10},
19 {.str = "1", .base = 10, .value = 1},
20 {.str = "002", .base = 10, .value = 2},
21 {.str = "-10", .base = 10, .value = -10},
22 {.str = "-1", .base = 10, .value = -1},
23 {.str = "-002", .base = 10, .value = -2},
24 {.str = "30000000", .base = 10, .value = 30000000},
25 {.str = "-30000000", .base = 10, .value = -30000000},
26 {.str = "00", .base = 16, .value = 0},
[all …]
/Zephyr-latest/include/zephyr/sys/
Dhash_function.h36 * @param str a string of input data
37 * @param n the number of bytes in @p str
39 * @return the numeric hash associated with @p str
41 typedef uint32_t (*sys_hash_func32_t)(const void *str, size_t n);
48 * `float`, `double`, or `void *`, and that the alignment of @p str agrees
53 * @param str a string of input data
54 * @param n the number of bytes in @p str
56 * @return the numeric hash associated with @p str
58 static inline uint32_t sys_hash32_identity(const void *str, size_t n) in sys_hash32_identity() argument
62 return *(uint8_t *)str; in sys_hash32_identity()
[all …]
/Zephyr-latest/drivers/gnss/
Dgnss_parse.h17 * @param str The decimal string to be parsed
20 * @retval -EINVAL if str could not be parsed
21 * @retval 0 if str successfully parsed
23 int gnss_parse_dec_to_nano(const char *str, int64_t *nano);
30 * @param str The decimal string to be parsed
33 * @retval -EINVAL if str could not be parsed
34 * @retval 0 if str successfully parsed
36 int gnss_parse_dec_to_micro(const char *str, uint64_t *micro);
43 * @param str The decimal string to be parsed
46 * @retval -EINVAL if str could not be parsed
[all …]
Dgnss_parse.c20 int gnss_parse_dec_to_nano(const char *str, int64_t *nano) in gnss_parse_dec_to_nano() argument
28 __ASSERT(str != NULL, "str argument must be provided"); in gnss_parse_dec_to_nano()
32 while (str[pos] != '\0') { in gnss_parse_dec_to_nano()
34 if (str[pos] == '.') { in gnss_parse_dec_to_nano()
47 start = str[0] == '-' ? 1 : 0; in gnss_parse_dec_to_nano()
53 if (str[pos] < '0' || str[pos] > '9') { in gnss_parse_dec_to_nano()
58 sum += (str[pos] - '0') * increment; in gnss_parse_dec_to_nano()
79 while (str[pos] != '\0') { in gnss_parse_dec_to_nano()
81 if (str[pos] < '0' || str[pos] > '9') { in gnss_parse_dec_to_nano()
86 sum += (str[pos] - '0') * increment; in gnss_parse_dec_to_nano()
[all …]
Dgnss_dump.h15 * @param str Destination for dumped GNSS info
16 * @param strsize Size of str
22 int gnss_dump_info(char *str, uint16_t strsize, const struct gnss_info *info);
27 * @param str Destination for dumped navigation data
28 * @param strsize Size of str
34 int gnss_dump_nav_data(char *str, uint16_t strsize, const struct navigation_data *nav_data);
39 * @param str Destination for dumped GNSS time
40 * @param strsize Size of str
46 int gnss_dump_time(char *str, uint16_t strsize, const struct gnss_time *utc);
51 * @param str Destination for dumped GNSS satellite
[all …]
/Zephyr-latest/scripts/schemas/twister/
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 …]
Dtestsuite-schema.yaml27 - type: str
32 - type: str
37 - type: str
54 - type: str
59 - type: str
64 - type: str
69 - type: str
77 - type: str
79 type: str
85 - type: str
[all …]
Dplatform-schema.yaml22 type: str
26 - type: str
28 type: str
30 type: str
38 type: str
54 type: str
56 type: str
75 type: str
81 - type: str
87 - type: str
[all …]
/Zephyr-latest/samples/subsys/logging/syst/
DREADME.rst99 [ 0.020000] <dbg> syst: s str static str c str
100 [ 0.020000] <dbg> syst: d str dynamic str
101 …[ 0.020000] <dbg> syst: mixed str dynamic str --- dynamic str --- another dynamic str --- anoth…
102 [ 0.020000] <dbg> syst: mixed c/s ! static str dynamic str static str !
160 s str static str c str
161 d str dynamic str
162 mixed str dynamic str --- dynamic str --- another dynamic str --- another dynamic str
163 mixed c/s ! static str dynamic str static str !
183 s str static str c str
184 d str dynamic str
[all …]
/Zephyr-latest/tests/bluetooth/uuid/src/
Dtest_bt_uuid_to_str.c17 static bool is_null_terminated(char *str, size_t size) in is_null_terminated() argument
19 return strnlen(str, size) < size; in is_null_terminated()
24 char str[BT_UUID_STR_LEN]; in result_is_null_terminated() local
26 memset(str, 1, sizeof(str)); in result_is_null_terminated()
27 bt_uuid_to_str(uuid, str, sizeof(str)); in result_is_null_terminated()
28 zassert_true(is_null_terminated(str, sizeof(str)), "Result is not null-terminated."); in result_is_null_terminated()
33 char str[BT_UUID_STR_LEN] = {}; in result_str_is() local
35 bt_uuid_to_str(uuid, str, sizeof(str)); in result_str_is()
36 zassume_true(is_null_terminated(str, sizeof(str)), "Result is not a string."); in result_str_is()
37 zassert_true((strcmp(str, expected_str) == 0), in result_str_is()
[all …]
/Zephyr-latest/subsys/usb/device_next/
Dusbd_desc.c49 new_nd->str.idx = tmp_nd->str.idx + 1; in desc_add_and_update_idx()
51 LOG_DBG("Add %u behind %u", new_nd->str.idx, tmp_nd->str.idx); in desc_add_and_update_idx()
58 new_nd->str.idx = tmp_nd->str.idx + 1; in desc_add_and_update_idx()
60 LOG_DBG("Add %u before %u", new_nd->str.idx, next_nd->str.idx); in desc_add_and_update_idx()
65 if (tmp_nd->str.idx != (next_nd->str.idx - 1)) { in desc_add_and_update_idx()
67 new_nd->str.idx = tmp_nd->str.idx + 1; in desc_add_and_update_idx()
70 tmp_nd->str.idx, next_nd->str.idx, new_nd->str.idx); in desc_add_and_update_idx()
76 new_nd->str.idx = 0; in desc_add_and_update_idx()
78 LOG_DBG("Added first descriptor node (usage type %u)", new_nd->str.utype); in desc_add_and_update_idx()
91 if (desc_nd->str.idx == idx) { in usbd_get_descriptor()
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dtwister_harness_config.py19 type: str
23 platform: str = ''
24 serial: str = ''
26 runner: str = ''
27 runner_params: list[str] = field(default_factory=list, repr=False)
28 id: str = ''
29 product: str = ''
30 serial_pty: str = ''
32 west_flash_extra_args: list[str] = field(default_factory=list, repr=False)
33 name: str = ''
[all …]
/Zephyr-latest/tests/kernel/threads/thread_apis/src/
Dtest_kthread_for_each.c36 char *str = (char *)user_data; in thread_callback() local
39 TC_PRINT("%s: Newly added thread found\n", str); in thread_callback()
41 str, thread, thread->base.prio); in thread_callback()
50 char *str = (char *)user_data; in thread_callback_unlocked() local
62 TC_PRINT("%s: Newly added thread found\n", str); in thread_callback_unlocked()
64 str, thread, thread->base.prio); in thread_callback_unlocked()
69 TC_PRINT("%s: Newly added thread in callback found\n", str); in thread_callback_unlocked()
71 str, thread, thread->base.prio); in thread_callback_unlocked()
226 const char *str; in ZTEST() local
230 str = k_thread_state_str(tid, state_str, sizeof(state_str)); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/common/
Dbt_str.c22 static char str[129]; in bt_hex() local
26 len = MIN(len, (sizeof(str) - 1) / 2); in bt_hex()
29 str[i * 2] = hex[b[i] >> 4]; in bt_hex()
30 str[i * 2 + 1] = hex[b[i] & 0xf]; in bt_hex()
33 str[i * 2] = '\0'; in bt_hex()
35 return str; in bt_hex()
40 static char str[BT_ADDR_STR_LEN]; in bt_addr_str() local
42 bt_addr_to_str(addr, str, sizeof(str)); in bt_addr_str()
44 return str; in bt_addr_str()
49 static char str[BT_ADDR_LE_STR_LEN]; in bt_addr_le_str() local
[all …]
/Zephyr-latest/scripts/release/
Dlist_devicetree_bindings_changes.py24 sys.path.insert(0, str(SCRIPTS / 'dts' / 'python-devicetree' / 'src'))
34 compatible: str
35 on_bus: Optional[str]
54 vnds: List[str]
55 vnd2added: Dict[str, Compat2Binding]
56 vnd2removed: Dict[str, Compat2Binding]
57 vnd2changes: Dict[str, Binding2Changes]
61 space: str
62 start: List[str]
63 end: List[str]
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dleshan.py22 def __init__(self, url: str): argument
57 def get(self, path: str): argument
65 …def put_raw(self, path: str, data: str | dict | None = None, headers: dict | None = None, params: … argument
70 def put(self, path: str, data: str | dict, uri_options: str = ''): argument
76 def post(self, path: str, data: str | dict | None = None): argument
89 def delete_raw(self, path: str): argument
94 def delete(self, endpoint: str, path: str): argument
98 def execute(self, endpoint: str, path: str): argument
102 def write(self, endpoint: str, path: str, value: bool | int | str): argument
111 def write_attributes(self, endpoint: str, path: str, attributes: dict): argument
[all …]
/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: 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
/Zephyr-latest/tests/subsys/logging/log_api/src/
Dmock_frontend.c46 const char *str, in mock_log_frontend_generic_record() argument
55 (log_timestamp_t)UINT32_MAX, str, data, data_len); in mock_log_frontend_generic_record()
73 char *str; member
81 s->str[s->cnt++] = (char)c; in out()
129 char str[128]; in log_frontend_msg() local
130 struct test_str s = { .str = str }; in log_frontend_msg()
134 str[len] = '\0'; in log_frontend_msg()
137 zassert_equal(strcmp(str, exp_msg->str), 0, "Got \"%s\", Expected:\"%s\"", in log_frontend_msg()
138 str, exp_msg->str); in log_frontend_msg()
/Zephyr-latest/modules/mbedtls/
Ddebug.c13 void zephyr_mbedtls_debug(void *ctx, int level, const char *file, int line, const char *str) in zephyr_mbedtls_debug() argument
20 if (!file || !str) { in zephyr_mbedtls_debug()
33 str_len = strlen(str); in zephyr_mbedtls_debug()
37 if (str_len > 0 && str[str_len - 1] == '\n') { in zephyr_mbedtls_debug()
45 LOG_ERR("%s:%04d: %.*s", basename, line, str_len, str); in zephyr_mbedtls_debug()
48 LOG_WRN("%s:%04d: %.*s", basename, line, str_len, str); in zephyr_mbedtls_debug()
51 LOG_INF("%s:%04d: %.*s", basename, line, str_len, str); in zephyr_mbedtls_debug()
54 LOG_DBG("%s:%04d: %.*s", basename, line, str_len, str); in zephyr_mbedtls_debug()
/Zephyr-latest/scripts/west_commands/tests/
Dtest_stm32cubeprogrammer.py25 "PROGRAMFILES(X86)": str(PROGRAMFILESX86_PATH),
75 "cli_path": str(CLI_PATH),
78 str(CLI_PATH),
99 "cli_path": str(CLI_PATH),
102 str(CLI_PATH),
124 "cli_path": str(CLI_PATH),
127 str(CLI_PATH),
148 "cli_path": str(CLI_PATH),
151 str(CLI_PATH),
172 "cli_path": str(CLI_PATH),
[all …]
/Zephyr-latest/tests/subsys/logging/dictionary/pytest/
Dtest_logging_dictionary.py96 # [ 10] <dbg> hello_world: main: s str static str c str
97 re.compile(r'[\s]+[\[][0-9,:\. ]+[\]] <dbg> hello_world: main: s str static str c str'),
98 # [ 10] <dbg> hello_world: main: d str dynamic str
99 re.compile(r'[\s]+[\[][0-9,:\. ]+[\]] <dbg> hello_world: main: d str dynamic str'),
100 # [ 10] <dbg> hello_world: main: mixed str dynamic str --- dynamic str \
101 # --- another dynamic str --- another dynamic str
102 re.compile(r'[\s]+[\[][0-9,:\. ]+[\]] <dbg> hello_world: main: mixed str dynamic str '
103 '--- dynamic str --- another dynamic str --- another dynamic str'),
104 # [ 10] <dbg> hello_world: main: mixed c/s ! static str dynamic str static str !
105 re.compile(r'[\s]+[\[][0-9,:\. ]+[\]] <dbg> hello_world: main: mixed c/s ! static str '
[all …]
/Zephyr-latest/samples/subsys/logging/dictionary/
DREADME.rst75 [ 179452] <dbg> hello_world: main: s str static str
76 [ 193395] <dbg> hello_world: main: d str dynamic str
77 …7283] <dbg> hello_world: main: mixed str dynamic str --- dynamic str --- another dynamic str --- a…
78 [ 266022] <dbg> hello_world: main: mixed c/s ! static str dynamic str static str !

12345678910>>...34