Home
last modified time | relevance | path

Searched refs:strnlen (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/lib/libc/arcmwdt/
Darcmwdt-string.c13 size_t strnlen(const char *s, size_t maxlen) in strnlen() function
/Zephyr-latest/lib/libc/armstdc/include/
Dstring.h19 extern size_t strnlen(const char *s, size_t maxlen);
/Zephyr-latest/lib/libc/common/source/string/
Dstrnlen.c21 size_t strnlen(const char *s, size_t maxlen) in strnlen() function
/Zephyr-latest/lib/libc/newlib/include/
Dstring.h30 size_t strnlen(const char *, size_t);
/Zephyr-latest/tests/benchmarks/footprints/src/
Dlibc.c23 len = strnlen(const_string, len); in run_libc()
/Zephyr-latest/subsys/llext/
DCMakeLists.txt6 # For strnlen()
Dshell.c132 size_t hex_len = strnlen(argv[2], CONFIG_LLEXT_SHELL_MAX_SIZE*2+1); in cmd_llext_load_hex()
/Zephyr-latest/lib/libc/common/
DCMakeLists.txt14 zephyr_library_sources_ifdef(CONFIG_COMMON_LIBC_STRNLEN source/string/strnlen.c)
DKconfig105 common implementation of strnlen().
/Zephyr-latest/lib/libc/minimal/include/
Dstring.h27 extern size_t strnlen(const char *s, size_t maxlen);
/Zephyr-latest/tests/bluetooth/uuid/src/
Dtest_bt_uuid_to_str.c19 return strnlen(str, size) < size; in is_null_terminated()
/Zephyr-latest/lib/posix/options/
DKconfig.c_lib_ext11 strnlen().
Dshm.c309 size_t name_len = (name == NULL) ? 0 : strnlen(name, PATH_MAX); in shm_open()
379 size_t name_len = (name == NULL) ? 0 : strnlen(name, PATH_MAX); in shm_unlink()
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http1.c111 strnlen(http_response, \
142 strnlen(http_response, sizeof(http_response) - 1)); in http1_send_headers()
164 strnlen(http_response, sizeof(http_response) - 1)); in http1_send_headers()
195 strnlen(http_response, sizeof(http_response) - 1)); in http1_send_headers()
601 size_t offset = strnlen(ctx->header_buffer, sizeof(ctx->header_buffer)); in on_header_field()
671 size_t offset = strnlen(ctx->header_buffer, sizeof(ctx->header_buffer)); in on_header_value()
/Zephyr-latest/subsys/net/lib/wifi_credentials/
Dwifi_credentials_shell.c141 if (strnlen(argv[1], WIFI_SSID_MAX_LEN + 1) > WIFI_SSID_MAX_LEN) { in cmd_add_network()
277 if (strnlen(argv[1], WIFI_SSID_MAX_LEN + 1) > WIFI_SSID_MAX_LEN) { in cmd_delete_network()
/Zephyr-latest/arch/xtensa/core/
Dsyscall_helper.c186 return strnlen(s, maxsize); in arch_user_string_nlen()
/Zephyr-latest/subsys/modem/
Dmodem_chat.c951 size = strnlen(match, UINT8_MAX + 1); in modem_chat_match_set_match()
966 size = strnlen(separators, UINT8_MAX + 1); in modem_chat_match_set_separators()
1003 size = strnlen(request, UINT16_MAX + 1); in modem_chat_script_chat_set_request()
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c239 int ssid_len = strnlen(ap_list_buffer[k].ssid, WIFI_SSID_MAX_LEN); in scan_done_handler()
764 status->ssid_len = strnlen(data->status.ssid, WIFI_SSID_MAX_LEN); in esp32_wifi_status()
/Zephyr-latest/lib/os/
Dcbprintf_complete.c25 size_t strnlen(const char *s, size_t maxlen);
1627 len = strnlen(bps, precision); in z_cbvprintf_impl()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_firmware.c310 bool empty_uri = data_len == 0 || strnlen(data, data_len) == 0; in package_uri_write_cb()
/Zephyr-latest/tests/lib/c_lib/common/src/
Dmain.c215 zassert_equal(strnlen(buffer, 3), 3, "strnlen failed"); in ZTEST()
216 zassert_equal(strnlen(buffer, BUFSIZE), 5, "strnlen failed"); in ZTEST()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c576 len = strnlen(bssid, sizeof(bssid) - 1); in wifi_mgmt_raise_neighbor_rep_recv_event()
582 len = strnlen(bssid_info, sizeof(bssid_info) - 1); in wifi_mgmt_raise_neighbor_rep_recv_event()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_core.c503 status->ssid_len = strnlen(sta->ssid, WIFI_SSID_MAX_LEN); in eswifi_mgmt_iface_status()
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_icbmsg.c621 name_size = strnlen(name, buffer_end - name - 1) + 1; in find_ept_by_name()
/Zephyr-latest/doc/services/portability/posix/option_groups/
Dindex.rst100 strnlen(), yes

12