/Zephyr-Core-2.7.6/subsys/net/lib/sockets/ |
D | sockets_misc.c | 15 strncpy(buf, p, len); in z_impl_zsock_gethostname()
|
/Zephyr-Core-2.7.6/subsys/fs/ |
D | shell.c | 57 strncpy(path, name, len); in create_abs_path() 65 strncpy(path, name, len); in create_abs_path() 68 strncpy(path, cwd, len); in create_abs_path() 77 strncpy(path, name, len); in create_abs_path() 121 strncpy(cwd, path, sizeof(cwd)); in cmd_cd() 134 strncpy(path, cwd, sizeof(path)); in cmd_ls()
|
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/ |
D | semaphore.c | 47 strncpy(semaphore->name, init_sema_attrs.name, in osSemaphoreNew() 50 strncpy(semaphore->name, attr->name, in osSemaphoreNew()
|
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 | 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 | mempool.c | 74 strncpy(mslab->name, init_mslab_attrs.name, in osMemoryPoolNew() 77 strncpy(mslab->name, attr->name, sizeof(mslab->name) - 1); in osMemoryPoolNew()
|
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 | msgq.c | 72 strncpy(msgq->name, init_msgq_attrs.name, in osMessageQueueNew() 75 strncpy(msgq->name, attr->name, sizeof(msgq->name) - 1); in osMessageQueueNew()
|
D | thread.c | 206 strncpy(tid->name, init_thread_attrs.name, in osThreadNew() 209 strncpy(tid->name, attr->name, sizeof(tid->name) - 1); in osThreadNew()
|
/Zephyr-Core-2.7.6/tests/benchmarks/footprints/src/ |
D | libc.c | 32 strncpy(new_string, const_string, len); in run_libc()
|
/Zephyr-Core-2.7.6/subsys/net/lib/utils/ |
D | addr_utils.c | 56 strncpy(host, addr_str, host_len + 1); in net_getaddrinfo_addr_str()
|
/Zephyr-Core-2.7.6/tests/bluetooth/at/src/ |
D | main.c | 63 strncpy((char *)buf->data, example_data, len); in test_at()
|
/Zephyr-Core-2.7.6/subsys/net/lib/tftp/ |
D | tftp_client.c | 39 strncpy(ptr, remote_file, TFTP_MAX_FILENAME_SIZE); in make_request() 49 strncpy(ptr, mode, TFTP_MAX_MODE_SIZE); in make_request()
|
/Zephyr-Core-2.7.6/lib/libc/minimal/include/ |
D | string.h | 20 extern char *strncpy(char *_MLIBC_RESTRICT d, const char *_MLIBC_RESTRICT s,
|
/Zephyr-Core-2.7.6/subsys/bluetooth/host/ |
D | settings.c | 54 strncpy(&path[len], subsys, path_size - len); in bt_settings_encode_key() 77 strncpy(&path[len], key, path_size - len); in bt_settings_encode_key()
|
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_audio/src/ |
D | vcs_client_test.c | 109 strncpy(g_vocs_desc, description, sizeof(g_vocs_desc) - 1); in vocs_description_cb() 193 strncpy(g_aics_desc, description, sizeof(g_aics_desc) - 1); in aics_description_cb() 433 strncpy(expected_aics_desc, "New Input Description", in test_aics() 525 strncpy(expected_description, "New Output Description", in test_vocs()
|
D | vcs_test.c | 101 strncpy(g_vocs_desc, description, sizeof(g_vocs_desc) - 1); in vocs_description_cb() 165 strncpy(g_aics_desc, description, sizeof(g_aics_desc) - 1); in aics_description_cb() 341 strncpy(expected_aics_desc, "New Input Description", in test_aics_standalone() 417 strncpy(expected_description, "New Output Description", in test_vocs_standalone()
|
D | mics_client_test.c | 110 strncpy(g_aics_desc, description, sizeof(g_aics_desc) - 1); in aics_description_cb() 360 strncpy(expected_aics_desc, "New Input Description", in test_aics()
|
D | mics_test.c | 107 strncpy(g_aics_desc, description, sizeof(g_aics_desc) - 1); in aics_description_cb() 284 strncpy(expected_aics_desc, "New Input Description", in test_aics_server_only()
|
/Zephyr-Core-2.7.6/tests/subsys/settings/nvs/src/ |
D | settings_test_nvs.c | 190 strncpy(argv, name, len); in c2_handle_get() 221 strncpy(argv, name, len); in c2_handle_set()
|
/Zephyr-Core-2.7.6/subsys/net/l2/virtual/ |
D | virtual.c | 274 strncpy(buf, ctx->name, MIN(len, sizeof(ctx->name))); in net_virtual_get_name() 294 strncpy(ctx->name, name, CONFIG_NET_L2_VIRTUAL_MAX_NAME_LEN); in net_virtual_set_name()
|
/Zephyr-Core-2.7.6/drivers/ethernet/ |
D | eth_native_posix_adapt.c | 70 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in eth_iface_create()
|
/Zephyr-Core-2.7.6/samples/boards/reel_board/mesh_badge/src/ |
D | reel_board.c | 197 strncpy(stat->name, name, sizeof(stat->name) - 1); in add_hello() 205 strncpy(stat->name, name, sizeof(stat->name) - 1); in add_hello() 408 strncpy(buf, bt_get_name(), sizeof(buf) - 1); in show_main()
|
/Zephyr-Core-2.7.6/tests/subsys/settings/fcb/src/ |
D | settings_test_fcb.c | 240 strncpy(argv, name, len); in c2_handle_get() 271 strncpy(argv, name, len); in c2_handle_set()
|
/Zephyr-Core-2.7.6/scripts/coccinelle/ |
D | symbols.txt | 198 strncpy
|