/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 | 89 strncpy(path, record->blk_device.c_str(), trimmed_len); in boot_info_open_partition() 90 strncpy(path + trimmed_len, name, name_len); in boot_info_open_partition()
|
/system/chre/apps/test/chqts/src/shared/ |
D | nano_string.h | 31 char *strncpy(char *dest, const char *src, size_t len);
|
D | nano_string_test.cc | 119 ::strncpy(expected, str, len); in testStrncpy() 120 nanoapp_testing::strncpy(actual, str, len); in testStrncpy()
|
D | nano_string.cc | 55 char *strncpy(char *dest, const char *src, size_t len) { in strncpy() function
|
/system/extras/tests/crypto/ |
D | get_dm_versions.c | 21 strncpy(io->name, name, sizeof(io->name)); in ioctl_init()
|
/system/core/fs_mgr/liblp/ |
D | utility.cpp | 179 strncpy(device->partition_name, name.c_str(), sizeof(device->partition_name)); in UpdateBlockDevicePartitionName() 187 strncpy(group->name, name.c_str(), sizeof(group->name)); in UpdatePartitionGroupName() 195 strncpy(partition->name, name.c_str(), sizeof(partition->name)); in UpdatePartitionName()
|
/system/core/logd/ |
D | LogAudit.cpp | 345 strncpy(newstr + 1 + str_len, str, prefix_len); in logPrint() 346 strncpy(newstr + 1 + str_len + prefix_len, ecomm, suffix_len); in logPrint() 347 strncpy(newstr + 1 + str_len + prefix_len + suffix_len, in logPrint()
|
/system/netd/server/ |
D | OffloadUtils.cpp | 57 strncpy(ifr.ifr_name, interface.c_str(), sizeof(ifr.ifr_name)); in hardwareAddressType() 360 strncpy(req.options.name.str, name, sizeof(req.options.name.str)); in tcFilterAddDevBpf()
|
/system/security/identity/ |
D | Util.cpp | 92 strncpy(tempName, tempNameStr.c_str(), sizeof tempName); in fileSetContents()
|
/system/bt/service/hal/ |
D | fake_bluetooth_interface.cc | 110 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/bt/service/ipc/ |
D | ipc_handler_linux.cc | 88 strncpy(address.sun_path, path.value().c_str(), in Run()
|
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 94 strncpy(thread_name, p, (q - p)); in set_sched_policy()
|
/system/core/adb/client/pairing/tests/ |
D | pairing_server.cpp | 358 strncpy(info.name, name->data(), name->size()); in connectionEventsWorker() 359 strncpy(info.guid, guid->data(), guid->size()); in connectionEventsWorker()
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 53 strncpy(test_file_, file_name, FILENAME_MAX); in DataFileVerifier()
|
/system/bt/service/test/ |
D | ipc_linux_unittest.cc | 95 strncpy(address.sun_path, kTestSocketPath, sizeof(address.sun_path) - 1); in ConnectToTestSocket()
|
/system/core/liblog/ |
D | properties.cpp | 182 strncpy(last_tag, tag, len); in __android_log_level() 187 strncpy(key + sizeof(log_namespace) - 1, tag, len); in __android_log_level()
|
/system/bt/osi/src/ |
D | thread.cc | 84 strncpy(ret->name, name, THREAD_NAME_MAX); in thread_new_sized()
|
/system/update_engine/common/ |
D | test_utils.cc | 119 strncpy(reinterpret_cast<char*>(device_info.lo_file_name), in SetLoopDeviceStatus()
|
/system/media/camera/docs/ |
D | camera_metadata_tag_info.mako | 102 strncpy(dst, msg, size - 1);
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 416 strncpy(dst, "0.0.0.0", sizeof(dst)); in parseRtMessage() 418 strncpy(dst, "::", sizeof(dst)); in parseRtMessage()
|
/system/memory/lmkd/ |
D | statslog.cpp | 276 strncpy(procp->taskname, taskname, LINE_MAX - 1); in stats_store_taskname()
|
/system/core/libdiskconfig/ |
D | diskconfig.c | 43 strncpy(tmp, str, sizeof(tmp)); in parse_len()
|