/Zephyr-latest/modules/mbedtls/ |
D | debug.c | 16 int str_len; in zephyr_mbedtls_debug() local 33 str_len = strlen(str); in zephyr_mbedtls_debug() 37 if (str_len > 0 && str[str_len - 1] == '\n') { in zephyr_mbedtls_debug() 38 str_len--; 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/tests/bsim/bluetooth/host/iso/cis/src/ |
D | cis_peripheral.c | 44 size_t str_len; in iso_print_data() local 46 str_len = bin2hex(data, MIN(max_octets, data_len), data_str, sizeof(data_str)); in iso_print_data() 51 strcat(&data_str[str_len], dots); in iso_print_data() 52 str_len += strlen(dots); in iso_print_data() 55 str_len += bin2hex(data + (data_len - MIN(max_octets, data_len - max_octets)), in iso_print_data() 56 MIN(max_octets, data_len - max_octets), data_str + str_len, in iso_print_data() 57 sizeof(data_str) - str_len); in iso_print_data()
|
/Zephyr-latest/samples/bluetooth/iso_peripheral/src/ |
D | main.c | 76 size_t str_len; in iso_print_data() local 78 str_len = bin2hex(data, MIN(max_octets, data_len), data_str, sizeof(data_str)); in iso_print_data() 83 strcat(&data_str[str_len], dots); in iso_print_data() 84 str_len += strlen(dots); in iso_print_data() 87 str_len += bin2hex(data + (data_len - MIN(max_octets, data_len - max_octets)), in iso_print_data() 89 data_str + str_len, in iso_print_data() 90 sizeof(data_str) - str_len); in iso_print_data()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_hpack.c | 242 uint32_t str_len; in hpack_string_decode() local 256 &str_len); in hpack_string_decode() 265 if (str_len > datalen) { in hpack_string_decode() 270 ret = hpack_huffman_decode(buf, str_len, type, header); in hpack_string_decode() 277 header->name_len = str_len; in hpack_string_decode() 280 header->value_len = str_len; in hpack_string_decode() 284 len += str_len; in hpack_string_decode() 494 size_t str_len; in hpack_string_encode() local 499 str_len = header->name_len; in hpack_string_encode() 502 str_len = header->value_len; in hpack_string_encode() [all …]
|
D | http_huffman.c | 418 int http_hpack_huffman_encode(const uint8_t *str, size_t str_len, in http_hpack_huffman_encode() argument 426 if (str == NULL || buf == NULL || str_len == 0) { in http_hpack_huffman_encode() 430 while (str_len > 0) { in http_hpack_huffman_encode() 469 str_len--; in http_hpack_huffman_encode()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | capture.c | 22 char *str, int str_len) in get_address_str() argument 25 snprintk(str, str_len, "[%s]:%u", in get_address_str() 30 snprintk(str, str_len, "%s:%d", in get_address_str() 36 snprintk(str, str_len, "AF_PACKET"); in get_address_str() 39 snprintk(str, str_len, "AF_CAN"); in get_address_str() 41 snprintk(str, str_len, "AF_UNSPEC"); in get_address_str() 43 snprintk(str, str_len, "AF_UNK(%d)", addr->sa_family); in get_address_str()
|
/Zephyr-latest/tests/bsim/bluetooth/host/iso/bis/src/ |
D | bis_receiver.c | 55 size_t str_len; in iso_log_data() local 57 str_len = bin2hex(data, MIN(max_octets, data_len), data_str, sizeof(data_str)); in iso_log_data() 62 strcat(&data_str[str_len], dots); in iso_log_data() 63 str_len += strlen(dots); in iso_log_data() 66 str_len += bin2hex(data + (data_len - MIN(max_octets, data_len - max_octets)), in iso_log_data() 67 MIN(max_octets, data_len - max_octets), data_str + str_len, in iso_log_data() 68 sizeof(data_str) - str_len); in iso_log_data()
|
/Zephyr-latest/subsys/net/ip/ |
D | utils.c | 729 static bool parse_ipv6(const char *str, size_t str_len, in parse_ipv6() argument 738 len = MIN(INET6_ADDRSTRLEN, str_len); in parse_ipv6() 776 if ((ptr + 1) < (str + str_len) && *(ptr + 1) == ':') { in parse_ipv6() 780 len = str_len - end - 1 - 2; in parse_ipv6() 813 static inline bool parse_ipv6(const char *str, size_t str_len, in parse_ipv6() argument 821 static bool parse_ipv4(const char *str, size_t str_len, in parse_ipv4() argument 830 len = MIN(NET_IPV4_ADDR_LEN, str_len); in parse_ipv4() 867 memcpy(ipaddr, ptr + 1, str_len - end - 1); in parse_ipv4() 868 ipaddr[str_len - end - 1] = '\0'; in parse_ipv4() 883 static inline bool parse_ipv4(const char *str, size_t str_len, in parse_ipv4() argument [all …]
|
/Zephyr-latest/tests/subsys/settings/file/include/ |
D | settings_test_file.h | 42 size_t str_len);
|
/Zephyr-latest/subsys/shell/ |
D | shell_wildcard.c | 108 uint16_t str_len = z_shell_strlen(str); in z_shell_has_wildcard() local 110 for (size_t i = 0; i < str_len; i++) { in z_shell_has_wildcard()
|
D | shell.c | 430 size_t str_len = z_shell_strlen(str); in tab_options_print() local 444 !is_completion_candidate(match->syntax, str, str_len)) { in tab_options_print()
|
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/ |
D | main.c | 250 size_t str_len; in iso_print_data() local 252 str_len = bin2hex(data, MIN(max_octets, data_len), data_str, sizeof(data_str)); in iso_print_data() 257 strcat(&data_str[str_len], dots); in iso_print_data() 258 str_len += strlen(dots); in iso_print_data() 261 str_len += bin2hex(data + (data_len - MIN(max_octets, data_len - max_octets)), in iso_print_data() 263 data_str + str_len, in iso_print_data() 264 sizeof(data_str) - str_len); in iso_print_data()
|
/Zephyr-latest/include/zephyr/net/http/ |
D | hpack.h | 134 int http_hpack_huffman_encode(const uint8_t *str, size_t str_len,
|
/Zephyr-latest/tests/subsys/settings/file/src/ |
D | settings_test_file.c | 207 size_t str_len) in settings_test_file_strstr() argument 229 if (memmem(buf, len, string, str_len)) { in settings_test_file_strstr()
|
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/src/ |
D | test_bis.c | 526 size_t str_len; in iso_print_data() local 528 str_len = bin2hex(data, MIN(max_octets, data_len), data_str, sizeof(data_str)); in iso_print_data() 533 strcat(&data_str[str_len], dots); in iso_print_data() 534 str_len += strlen(dots); in iso_print_data() 537 str_len += bin2hex(data + (data_len - MIN(max_octets, data_len - max_octets)), in iso_print_data() 539 data_str + str_len, in iso_print_data() 540 sizeof(data_str) - str_len); in iso_print_data()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/ |
D | main.c | 235 const size_t str_len = strlen(str); in is_substring() local 238 if (sub_str_len > str_len) { in is_substring() 242 for (size_t pos = 0; pos < str_len; pos++) { in is_substring() 243 if (pos + sub_str_len > str_len) { in is_substring()
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor_broadcast.c | 640 const size_t str_len = strlen(str); in is_substring() local 643 if (sub_str_len > str_len) { in is_substring() 647 for (size_t pos = 0; pos < str_len; pos++) { in is_substring() 648 if (pos + sub_str_len > str_len) { in is_substring()
|
/Zephyr-latest/samples/bluetooth/iso_receive/src/ |
D | main.c | 214 size_t str_len; in iso_recv() local 225 str_len = bin2hex(buf->data, buf->len, data_str, sizeof(data_str)); in iso_recv()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/ |
D | main.c | 1151 const size_t str_len = strlen(str); in is_substring() local 1154 if (sub_str_len > str_len) { in is_substring() 1158 for (size_t pos = 0; pos < str_len; pos++) { in is_substring() 1159 if (pos + sub_str_len > str_len) { in is_substring()
|
/Zephyr-latest/lib/os/ |
D | cbprintf_packaged.c | 1151 uint16_t str_len = (strl && (i < strl_len)) ? strl[i] : 0; in cbprintf_package_convert() local 1159 rv = append_string(cb, ctx, str, str_len); in cbprintf_package_convert()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | tbs.c | 1568 size_t str_len; in valid_register_param() local 1582 str_len = strlen(param->provider_name); in valid_register_param() 1583 if (str_len > CONFIG_BT_TBS_MAX_PROVIDER_NAME_LENGTH) { in valid_register_param() 1586 str_len, CONFIG_BT_TBS_MAX_PROVIDER_NAME_LENGTH); in valid_register_param()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_ip.h | 1679 bool net_ipaddr_parse(const char *str, size_t str_len,
|
/Zephyr-latest/drivers/modem/ |
D | hl7800.c | 3573 size_t str_len = sizeof(TIME_STRING_FORMAT) - 1; in on_cmd_rtc_query() local 3587 if (len != str_len) { in on_cmd_rtc_query() 3589 len, str_len); in on_cmd_rtc_query() 3591 net_buf_linearize(rtc_string, str_len, *buf, 0, str_len); in on_cmd_rtc_query()
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | bt.c | 286 const size_t str_len = strlen(str); in is_substring() local 289 if (sub_str_len > str_len) { in is_substring() 293 for (size_t pos = 0; pos < str_len; pos++) { in is_substring() 294 if (pos + sub_str_len > str_len) { in is_substring()
|