Home
last modified time | relevance | path

Searched refs:strncpy_s (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/util/windows/win32/
Dtest_utils_win32.cpp49 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, "(function-name not available)", in OnCallstackEntry()
52 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, entry.undName, _TRUNCATE); in OnCallstackEntry()
54 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, entry.undFullName, _TRUNCATE); in OnCallstackEntry()
57 strncpy_s(entry.lineFileName, STACKWALK_MAX_NAMELEN, "(filename not available)", in OnCallstackEntry()
60 strncpy_s(entry.moduleName, STACKWALK_MAX_NAMELEN, in OnCallstackEntry()
/third_party/bounds_checking_function/src/
Dstrncpy_s.c108 errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_s() function
143 EXPORT_SYMBOL(strncpy_s);
/third_party/bounds_checking_function/
DREADME.md17 - strncpy_s
DREADME.en.md20 - strncpy_s
Dlibsec_src.gni37 "//third_party/bounds_checking_function/src/strncpy_s.c",
/third_party/bounds_checking_function/include/
Dsecurec.h191 SECUREC_API errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count);
599 strncpy_s((dest), (destMax), (src), (count)))
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dtzdst.c584 …if (strncpy_s(g_strDstStart, DST_SET_LENGTH_MAX, strDstStartTime, strlen(strDstStartTime)) != EOK)… in dst_enable()
588 if (strncpy_s(g_strDstEnd, DST_SET_LENGTH_MAX, strDstEndTime, strlen(strDstEndTime)) != EOK) { in dst_enable()
/third_party/NuttX/fs/mount/
Dfs_mount.c278 (void)strncpy_s(partition->mountpoint_name, strlen(target) + 1, target, strlen(target)); in mount()
/third_party/jerryscript/jerry-core/api/
Dgenerate-bytecode.c28 extern int strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count);
103 if (strncpy_s(output_file_path, len, input_file_path, len - strlen(".js")) != 0) { in get_output_file_path()
/third_party/openh264/codec/common/src/
Dcrt_util_safe_x.cpp79 strncpy_s (pDest, iSizeInBytes, kpSrc, _TRUNCATE); in WelsStrncpy()
/third_party/NuttX/fs/inode/
Dfs_files.c833 strncpy_s(files->workdir, PATH_MAX - 1, old_files->workdir, PATH_MAX - 1); in dup_fd()
923 strncpy_s(files->workdir, PATH_MAX - 1, old_files->workdir, PATH_MAX - 1); in create_files_snapshot()
/third_party/NuttX/fs/nfs/
Drpc_clnt.c761 error = strncpy_s(request.mountd.mount.rpath, sizeof(request.mountd.mount.rpath), in rpcclnt_connect()
923 (void)strncpy_s(request.mountd.umount.rpath, sizeof(request.mountd.umount.rpath), in rpcclnt_umount()
Dnfs_adapter.c586 (void)strncpy_s(nmp->nm_path, sizeof(nmp->nm_path), argp->path, pathlen); in nfs_bind()
746 ret = strncpy_s(server_ip_addr, pos + 1, server_ip_and_path, pos); in nfs_mount()
1150 …error = strncpy_s((char *)entry->contents, entry->name_len + 1, (const char *)ptr, entry->name_len… in vfs_nfs_readdir()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dnotify.c320 if (strncpy_s(Params, PAR_MAX, "GSM-AUTH", PAR_MAX - 1) != 0) { in send_network_eapsim_gsmauth_response_internal()
378 if (strncpy_s(Params, PAR_MAX, "UMTS-AUTH", PAR_MAX - 1) != 0) { in send_network_eapaka_umtsauth_response_internal()
/third_party/vulkan-loader/tests/framework/layer/
Dwrap_objects.cpp431strncpy_s(pProperties[ext_count].extensionName, VK_MAX_EXTENSION_NAME_SIZE, VK_KHR_MAINTENANCE1_EX… in wrap_vkEnumerateDeviceExtensionProperties()
443 strncpy_s(pProperties[ext_count].extensionName, VK_MAX_EXTENSION_NAME_SIZE, in wrap_vkEnumerateDeviceExtensionProperties()
Dtest_layer.cpp347strncpy_s(pProperties->deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, "physdev_added_xx", 17); in test_vkGetPhysicalDeviceProperties()
/third_party/vulkan-loader/tests/
Dloader_layer_tests.cpp2947strncpy_s(properties.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, dev_name.c_str(), dev_name.leng… in TEST()
3026strncpy_s(properties.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, dev_name.c_str(), dev_name.leng… in TEST()
3078strncpy_s(properties.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, dev_name.c_str(), dev_name.leng… in TEST()
3130strncpy_s(properties.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, dev_name.c_str(), dev_name.leng… in TEST()
3208strncpy_s(properties.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, dev_name.c_str(), dev_name.leng… in TEST()
3298 strncpy_s(properties.deviceName, dev_name.c_str(), VK_MAX_PHYSICAL_DEVICE_NAME_SIZE); in TEST()
3353strncpy_s(properties.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, dev_name.c_str(), dev_name.leng… in TEST()
3408strncpy_s(properties.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, dev_name.c_str(), dev_name.leng… in TEST()
/third_party/node/deps/v8/third_party/ittapi/src/ittnotify/
Dittnotify_config.h243 #define __itt_fstrcpyn(s1, b, s2, l) strncpy_s(s1, b, s2, l)
/third_party/skia/third_party/externals/angle2/util/windows/third_party/StackWalker/src/
DStackWalker.cpp230 #define strncpy_s(dst, len, src, maxLen) strncpy(dst, len, src) macro
240 strncpy_s(szDest, nMaxDestSize, szSrc, _TRUNCATE); in MyStrCpy()
/third_party/node/deps/v8/src/base/platform/
Dplatform-win32.cc105 int strncpy_s(char* dest, size_t dest_size, const char* source, size_t count) { in strncpy_s() function
728 int result = strncpy_s(dest, length, src, n); in StrNCpy()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c658 ret_s = strncpy_s(ifr.ifr_name, IFNAMSIZ, "wlan0", strlen("wlan0")); in wpa_send_cmd_to_driver()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c625 ret_s = strncpy_s(ifr.ifr_name, IFNAMSIZ, "wlan0", strlen("wlan0")); in wpa_send_cmd_to_driver()
/third_party/NuttX/drivers/usbdev/gadget/
Df_dfu.c1022 ret = strncpy_s(entity->dfu_name, DFU_NAME_MAX_LEN, st, strlen(st) + 1); in dfu_ram_init_env()
/third_party/astc-encoder/Source/
Dtinyexr.h10652 strncpy_s(attrib.name, attr_name.c_str(), 255); in ParseEXRHeader()
10653 strncpy_s(attrib.type, attr_type.c_str(), 255); in ParseEXRHeader()
10753 strncpy_s(exr_header->channels[c].name, info.channels[c].name.c_str(), 255); in ConvertHeader()
13509 strncpy_s(header.channels[0].name, "A", 255);
13510 strncpy_s(header.channels[1].name, "B", 255);
13511 strncpy_s(header.channels[2].name, "G", 255);
13512 strncpy_s(header.channels[3].name, "R", 255);
13525 strncpy_s(header.channels[0].name, "B", 255);
13526 strncpy_s(header.channels[1].name, "G", 255);
13527 strncpy_s(header.channels[2].name, "R", 255);
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_socket.c3238 strncpy_s(dump_buf + pos, strlen(HEADER) + 1, HEADER, strlen(HEADER));
3255 strncpy_s(dump_buf + pos, strlen(TRAILER) + 1, TRAILER, strlen(TRAILER));

12