/system/core/libprocessgroup/cgrouprc_format/ |
D | cgroup_controller.cpp | 36 strncpy(name_, name.c_str(), sizeof(name_) - 1); in CgroupController() 38 strncpy(path_, path.c_str(), sizeof(path_) - 1); in CgroupController()
|
/system/libufdt/utils/src/ |
D | mkdtimg_core.c | 277 strncpy(options->id, value, OPTION_VALUE_SIZE_MAX - 1); in set_dt_options() 279 strncpy(options->rev, value, OPTION_VALUE_SIZE_MAX - 1); in set_dt_options() 281 strncpy(options->custom[0], value, OPTION_VALUE_SIZE_MAX - 1); in set_dt_options() 283 strncpy(options->custom[1], value, OPTION_VALUE_SIZE_MAX - 1); in set_dt_options() 285 strncpy(options->custom[2], value, OPTION_VALUE_SIZE_MAX - 1); in set_dt_options() 287 strncpy(options->custom[3], value, OPTION_VALUE_SIZE_MAX - 1); in set_dt_options() 337 strncpy(fdt_info->filename, filename, sizeof(fdt_info->filename) - 1); in add_fdt_info() 413 strncpy( in dt_image_writer_add_entry()
|
/system/extras/boot_control_copy/ |
D | bootinfo.cpp | 90 strncpy(path, record->blk_device.c_str(), trimmed_len); in boot_info_open_partition() 91 strncpy(path + trimmed_len, name, name_len); in boot_info_open_partition()
|
/system/chre/apps/chqts/src/shared/ |
D | nano_string.h | 31 char *strncpy(char *dest, const char *src, size_t len);
|
D | nano_string_test.cc | 121 ::strncpy(expected, str, len); in testStrncpy() 122 nanoapp_testing::strncpy(actual, str, len); in testStrncpy()
|
D | nano_string.cc | 56 char *strncpy(char *dest, const char *src, size_t len) { in strncpy() function
|
/system/core/fs_mgr/liblp/ |
D | utility.cpp | 155 strncpy(device->partition_name, name.c_str(), sizeof(device->partition_name)); in UpdateBlockDevicePartitionName() 163 strncpy(group->name, name.c_str(), sizeof(group->name)); in UpdatePartitionGroupName()
|
/system/extras/tests/crypto/ |
D | get_dm_versions.c | 21 strncpy(io->name, name, sizeof(io->name)); in ioctl_init()
|
/system/core/adb/daemon/ |
D | reboot_service.cpp | 60 strncpy(addr.sun_path, "/dev/socket/recovery", sizeof(addr.sun_path) - 1); in reboot_service()
|
/system/netd/server/ |
D | ClatUtils.cpp | 58 strncpy(ifr.ifr_name, interface.c_str(), sizeof(ifr.ifr_name)); in hardwareAddressType() 339 strncpy(req.options.name.str, NAME, sizeof(req.options.name.str)); in tcFilterAddDevBpf()
|
/system/core/logd/ |
D | LogAudit.cpp | 402 strncpy(newstr + 1 + str_len, str, prefix_len); in logPrint() 403 strncpy(newstr + 1 + str_len + prefix_len, ecomm, suffix_len); in logPrint() 404 strncpy(newstr + 1 + str_len + prefix_len + suffix_len, in logPrint()
|
/system/bt/service/hal/ |
D | fake_bluetooth_interface.cc | 109 strncpy(reinterpret_cast<char*>(hal_name.name), name.c_str(), in NotifyAdapterNamePropertyChanged()
|
/system/extras/tests/tcp_nuke_addr/ |
D | tcp_nuke_addr_test.cpp | 74 strncpy(ifr.ifr_name, "lo", strlen("lo")); in killSockets()
|
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 111 strncpy(thread_name, p, (q - p)); in set_sched_policy()
|
/system/netd/resolv/ |
D | res_init.cpp | 247 strncpy(ext->nsuffix, cp, (size_t) i); in res_setoptions() 253 strncpy(ext->nsuffix2, cp, (size_t) i); in res_setoptions()
|
D | res_query.cpp | 365 strncpy(nbuf, name, (size_t) n); in res_nquerydomain()
|
/system/bt/service/ipc/ |
D | ipc_handler_linux.cc | 88 strncpy(address.sun_path, path.value().c_str(), in Run()
|
/system/bt/service/test/ |
D | ipc_linux_unittest.cc | 95 strncpy(address.sun_path, kTestSocketPath, sizeof(address.sun_path) - 1); in ConnectToTestSocket()
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 53 strncpy(test_file_, file_name, FILENAME_MAX); in DataFileVerifier()
|
/system/core/liblog/ |
D | properties.cpp | 173 strncpy(last_tag, tag, len); in __android_log_level() 178 strncpy(key + sizeof(log_namespace) - 1, tag, len); in __android_log_level()
|
/system/media/camera/docs/ |
D | camera_metadata_tag_info.mako | 102 strncpy(dst, msg, size - 1);
|
/system/update_engine/common/ |
D | test_utils.cc | 161 strncpy(reinterpret_cast<char*>(device_info.lo_file_name), in BindToUnusedLoopDevice()
|
/system/bt/osi/src/ |
D | thread.cc | 84 strncpy(ret->name, name, THREAD_NAME_MAX); in thread_new_sized()
|
/system/nfc/src/nfa/p2p/ |
D | nfa_p2p_api.cc | 92 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pRegisterServer() 388 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pConnectByName() 927 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pGetRemoteSap()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 389 strncpy(dst, "0.0.0.0", sizeof(dst)); in parseRtMessage() 391 strncpy(dst, "::", sizeof(dst)); in parseRtMessage()
|