/Zephyr-latest/subsys/llext/ |
D | llext_export.c | 11 EXPORT_SYMBOL(strncpy);
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_misc.c | 16 strncpy(buf, p, len); in z_impl_zsock_gethostname()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_ws.c | 49 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/ |
D | libc.c | 34 strncpy(new_string, const_string, len); in run_libc()
|
/Zephyr-latest/tests/subsys/logging/log_links/src/ |
D | mock_log_link.c | 35 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/ |
D | modem_at_shell.c | 241 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/ |
D | strerror.c | 56 strncpy(strerrbuf, msg, msg_len); in strerror_r()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | mutex.c | 52 strncpy(mutex->name, init_mutex_attrs.name, in osMutexNew() 55 strncpy(mutex->name, attr->name, sizeof(mutex->name) - 1); in osMutexNew()
|
D | semaphore.c | 47 strncpy(semaphore->name, init_sema_attrs.name, in osSemaphoreNew() 50 strncpy(semaphore->name, attr->name, in osSemaphoreNew()
|
D | timer.c | 68 strncpy(timer->name, init_timer_attrs.name, in osTimerNew() 71 strncpy(timer->name, attr->name, sizeof(timer->name) - 1); in osTimerNew()
|
D | event_flags.c | 51 strncpy(events->name, init_event_flags_attrs.name, in osEventFlagsNew() 54 strncpy(events->name, attr->name, sizeof(events->name) - 1); in osEventFlagsNew()
|
D | mempool.c | 82 strncpy(mslab->name, init_mslab_attrs.name, in osMemoryPoolNew() 85 strncpy(mslab->name, attr->name, sizeof(mslab->name) - 1); in osMemoryPoolNew()
|
D | msgq.c | 77 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/ |
D | main.c | 25 strncpy(received_string, (const char *)data, sizeof(received_string)); in ipm_receive_callback()
|
/Zephyr-latest/subsys/net/lib/utils/ |
D | addr_utils.c | 56 strncpy(host, addr_str, host_len + 1); in net_getaddrinfo_addr_str()
|
/Zephyr-latest/lib/posix/options/ |
D | file_system_r.c | 47 strncpy(entry->d_name, de.name, MIN(sizeof(entry->d_name), sizeof(de.name))); in readdir_r()
|
D | uname.c | 49 strncpy(name->nodename, net_hostname_get(), sizeof(name->nodename)); in uname()
|
/Zephyr-latest/lib/utils/ |
D | utf8.c | 72 strncpy(dst, src, n - 1); in utf8_lcpy()
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_utils.c | 256 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/ |
D | string.h | 22 extern char *strncpy(char *ZRESTRICT d, const char *ZRESTRICT s,
|
/Zephyr-latest/subsys/fs/ |
D | shell.c | 92 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/ |
D | lwm2m_obj_gateway.c | 120 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/ |
D | eth_native_posix_adapt.c | 56 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in eth_iface_create()
|
/Zephyr-latest/drivers/can/ |
D | can_native_linux_adapt.c | 58 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in linux_socketcan_iface_open()
|
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/ |
D | ccp_call_ctrl.c | 110 strncpy(remote_uri, value, i); in read_uri_schemes_string_cb()
|