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/flutter/skia/third_party/externals/angle2/util/windows/
DWindows_system_utils.cpp51 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, "(function-name not available)", in OnCallstackEntry()
54 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, entry.undName, _TRUNCATE); in OnCallstackEntry()
56 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, entry.undFullName, _TRUNCATE); in OnCallstackEntry()
59 strncpy_s(entry.lineFileName, STACKWALK_MAX_NAMELEN, "(filename not available)", in OnCallstackEntry()
62 strncpy_s(entry.moduleName, STACKWALK_MAX_NAMELEN, in OnCallstackEntry()
/third_party/mindspore/third_party/securec/src/
Dstrncpy_s.c106 errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_s() function
141 EXPORT_SYMBOL(strncpy_s);
/third_party/bounds_checking_function/src/
Dstrncpy_s.c104 errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_s() function
139 EXPORT_SYMBOL(strncpy_s);
/third_party/mindspore/third_party/securec/include/
Dsecurec.h176 SECUREC_API errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count);
587 strncpy_s((dest), (destMax), (src), (count)))
623 #define strncpy_sp strncpy_s
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_utils.cc64 if (strncpy_s(buf, PATH_MAX, common::SafeCStr(path), path.length()) != EOK) { in GetFileName()
99 if (strncpy_s(buf, PATH_MAX, common::SafeCStr(path), path.length()) != EOK) { in GetParentDir()
/third_party/bounds_checking_function/include/
Dsecurec.h176 SECUREC_API errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count);
585 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.c239 (void)strncpy_s(partition->mountpoint_name, strlen(target) + 1, target, strlen(target)); in mount()
/third_party/bounds_checking_function/
Dlibsec_src.gni37 "//third_party/bounds_checking_function/src/strncpy_s.c",
/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.c815 strncpy_s(files->workdir, PATH_MAX - 1, old_files->workdir, PATH_MAX - 1); in dup_fd()
891 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/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dpath.cc252 …if (strncpy_s(canonical_path + cur_inx, PATH_MAX - cur_inx, common::SafeCStr(file_part), file_part… in OpenFile()
/third_party/flutter/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/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/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/include/
Dlite_utils.h152 strncpy_s(buffer_, size_ + 1, other.buffer_ + pos, size_);
/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/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));
/third_party/libcoap/src/
Dcoap_io.c281 (void)strncpy_s(ifr.ifr_ifrn.ifrn_name, sizeof(ifr.ifr_ifrn.ifrn_name),
/third_party/NuttX/fs/tmpfs/
Dfs_tmpfs.c1607 (void)strncpy_s(dir->fd_dir[0].d_name, NAME_MAX + 1, tde->tde_name, NAME_MAX); in tmpfs_readdir()

12