Home
last modified time | relevance | path

Searched refs:strncpy (Results 1 – 25 of 105) sorted by relevance

12345

/Zephyr-latest/subsys/llext/
Dllext_export.c11 EXPORT_SYMBOL(strncpy);
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_misc.c16 strncpy(buf, p, len); in z_impl_zsock_gethostname()
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_ws.c49 strncpy(key_accept, client->ws_sec_key, key_len); in handle_http1_to_websocket_upgrade()
53 strncpy(key_accept + key_len, WS_MAGIC, olen); in handle_http1_to_websocket_upgrade()
/Zephyr-latest/tests/benchmarks/footprints/src/
Dlibc.c34 strncpy(new_string, const_string, len); in run_libc()
/Zephyr-latest/tests/subsys/logging/log_links/src/
Dmock_log_link.c35 strncpy(buf, mock->domains[domain_id]->name, *length); in get_domain_name()
46 strncpy(buf, mock->domains[domain_id]->sources[source_id].source, in get_source_name()
/Zephyr-latest/drivers/modem/
Dmodem_at_shell.c241 strncpy(at_shell_request_buf, argv[1], sizeof(at_shell_request_buf) - 1); in at_shell_cmd_handler()
248 strncpy(at_shell_match_buf, argv[2], sizeof(at_shell_match_buf) - 1); in at_shell_cmd_handler()
250 strncpy(at_shell_match_buf, "OK", sizeof(at_shell_match_buf) - 1); in at_shell_cmd_handler()
/Zephyr-latest/lib/libc/minimal/source/string/
Dstrerror.c56 strncpy(strerrbuf, msg, msg_len); in strerror_r()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dmutex.c52 strncpy(mutex->name, init_mutex_attrs.name, in osMutexNew()
55 strncpy(mutex->name, attr->name, sizeof(mutex->name) - 1); in osMutexNew()
Dsemaphore.c47 strncpy(semaphore->name, init_sema_attrs.name, in osSemaphoreNew()
50 strncpy(semaphore->name, attr->name, in osSemaphoreNew()
Dtimer.c68 strncpy(timer->name, init_timer_attrs.name, in osTimerNew()
71 strncpy(timer->name, attr->name, sizeof(timer->name) - 1); in osTimerNew()
Devent_flags.c51 strncpy(events->name, init_event_flags_attrs.name, in osEventFlagsNew()
54 strncpy(events->name, attr->name, sizeof(events->name) - 1); in osEventFlagsNew()
Dmempool.c82 strncpy(mslab->name, init_mslab_attrs.name, in osMemoryPoolNew()
85 strncpy(mslab->name, attr->name, sizeof(mslab->name) - 1); in osMemoryPoolNew()
Dmsgq.c77 strncpy(msgq->name, init_msgq_attrs.name, in osMessageQueueNew()
80 strncpy(msgq->name, attr->name, sizeof(msgq->name) - 1); in osMessageQueueNew()
/Zephyr-latest/samples/drivers/ipm/ipm_esp32/src/
Dmain.c25 strncpy(received_string, (const char *)data, sizeof(received_string)); in ipm_receive_callback()
/Zephyr-latest/subsys/net/lib/utils/
Daddr_utils.c56 strncpy(host, addr_str, host_len + 1); in net_getaddrinfo_addr_str()
/Zephyr-latest/lib/posix/options/
Dfile_system_r.c47 strncpy(entry->d_name, de.name, MIN(sizeof(entry->d_name), sizeof(de.name))); in readdir_r()
Duname.c49 strncpy(name->nodename, net_hostname_get(), sizeof(name->nodename)); in uname()
/Zephyr-latest/lib/utils/
Dutf8.c72 strncpy(dst, src, n - 1); in utf8_lcpy()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_utils.c256 strncpy(parse_str, scan_bands_str, sizeof(parse_str) - 1); in wifi_utils_parse_scan_bands()
338 strncpy(band_str, in wifi_utils_parse_scan_chan()
369 strncpy(chan_str, in wifi_utils_parse_scan_chan()
/Zephyr-latest/lib/libc/minimal/include/
Dstring.h22 extern char *strncpy(char *ZRESTRICT d, const char *ZRESTRICT s,
/Zephyr-latest/subsys/fs/
Dshell.c92 strncpy(path, name, len); in create_abs_path()
100 strncpy(path, name, len); in create_abs_path()
103 strncpy(path, cwd, len); in create_abs_path()
112 strncpy(path, name, len); in create_abs_path()
156 strncpy(cwd, path, sizeof(cwd)); in cmd_cd()
169 strncpy(path, cwd, sizeof(path)); in cmd_ls()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_gateway.c120 strncpy(device_table[index].device_id, CONFIG_LWM2M_GATEWAY_DEFAULT_DEVICE_ID, in lwm2m_gw_create()
124 strncpy(device_table[index].iot_device_objects, in lwm2m_gw_create()
/Zephyr-latest/drivers/ethernet/
Deth_native_posix_adapt.c56 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in eth_iface_create()
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c58 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in linux_socketcan_iface_open()
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dccp_call_ctrl.c110 strncpy(remote_uri, value, i); in read_uri_schemes_string_cb()

12345