Home
last modified time | relevance | path

Searched refs:strDest (Results 1 – 25 of 193) sorted by relevance

12345678

/dports/games/fs2open/fs2open.github.com-release_21_4_1/test/src/globalincs/
H A Dtest_safe_strings.cpp16 memset(strDest, 0, sizeof(strDest)); in TEST()
26 memset(strDest, 0, sizeof(strDest)); in TEST()
39 memset(strDest, 0, sizeof(strDest)); in TEST()
49 memset(strDest, 0, sizeof(strDest)); in TEST()
60 memset(strDest, 0, sizeof(strDest)); in TEST()
67 memset(strDest, 0, sizeof(strDest)); in TEST()
83 memset(strDest, 0, sizeof(strDest)); in TEST()
95 memset(strDest, 0, sizeof(strDest)); in TEST()
106 memset(strDest, 0, sizeof(strDest)); in TEST()
118 memset(strDest, 0, sizeof(strDest)); in TEST()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/globalincs/
H A Dsafe_strings_test.cpp67 dumb_memset( strDest, 0, 15 ); in test_strcpy_s()
70 char strDest[ 15 ]; in test_strcpy_s() local
104 _EXPECTED_STRING( strDest, "Hello World" ); in test_strcpy_s()
109 _EXPECTED_STRING( strDest, "Hello World" ); in test_strcpy_s()
116 _EXPECTED_VALUE( strDest[ 0 ], NULL ); in test_strcpy_s()
121 _EXPECTED_VALUE( strDest[ 0 ], NULL ); in test_strcpy_s()
158 dumb_memset( strDest, 0, 15 ); in test_strcat_s()
161 char strDest[ 15 ]; in test_strcat_s() local
188 _EXPECTED_RETURN( 0, strcat_s( strDest, "World" ) ); in test_strcat_s()
203 _EXPECTED_VALUE( strDest[ 0 ], NULL ); in test_strcat_s()
[all …]
H A Dsafe_strings.cpp36 if ( strDest ) in scp_strcpy_s()
37 *strDest = '\0'; in scp_strcpy_s()
44 *strDest = '\0'; in scp_strcpy_s()
49 pDest = strDest; in scp_strcpy_s()
56 *strDest = '\0'; in scp_strcpy_s()
72 if ( strDest ) in scp_strcat_s()
73 *strDest = '\0'; in scp_strcat_s()
80 *strDest = '\0'; in scp_strcat_s()
86 pDest = strDest; in scp_strcat_s()
96 *strDest = '\0'; in scp_strcat_s()
[all …]
H A Dsafe_strings.h55 errno_t scp_strcpy_s( const char* file, int line, char (&strDest)[ size ], const char* strSource ) in scp_strcpy_s()
57 return scp_strcpy_s( file, line, strDest, size, strSource ); in scp_strcpy_s()
64 return scp_strcat_s( file, line, strDest, size, strSource ); in scp_strcat_s()
74 inline errno_t strcpy_s( char* strDest, size_t sizeInBytes, const char* strSource ) in strcpy_s() argument
76 strcpy( strDest, strSource ); in strcpy_s()
80 inline errno_t strcat_s( char* strDest, size_t sizeInBytes, const char* strSource ) in strcat_s() argument
82 strcat( strDest, strSource ); in strcat_s()
86 inline errno_t strcpy_s( char* strDest, const char* strSource ) in strcpy_s() argument
88 strcpy( strDest, strSource ); in strcpy_s()
92 inline errno_t strcat_s( char* strDest, const char* strSource ) in strcat_s() argument
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/globalincs/
H A Dsafe_strings.cpp36 if ( strDest ) in scp_strcpy_s()
37 *strDest = '\0'; in scp_strcpy_s()
44 *strDest = '\0'; in scp_strcpy_s()
49 pDest = strDest; in scp_strcpy_s()
56 *strDest = '\0'; in scp_strcpy_s()
72 if ( strDest ) in scp_strcat_s()
73 *strDest = '\0'; in scp_strcat_s()
80 *strDest = '\0'; in scp_strcat_s()
86 pDest = strDest; in scp_strcat_s()
96 *strDest = '\0'; in scp_strcat_s()
[all …]
H A Dsafe_strings.h55 errno_t scp_strcpy_s( const char* file, int line, char (&strDest)[ size ], const char* strSource ) in scp_strcpy_s()
57 return scp_strcpy_s( file, line, strDest, size, strSource ); in scp_strcpy_s()
64 return scp_strcat_s( file, line, strDest, size, strSource ); in scp_strcat_s()
74 inline errno_t strcpy_s( char* strDest, size_t sizeInBytes, const char* strSource ) in strcpy_s() argument
76 strcpy( strDest, strSource ); in strcpy_s()
80 inline errno_t strcat_s( char* strDest, size_t sizeInBytes, const char* strSource ) in strcat_s() argument
82 strcat( strDest, strSource ); in strcat_s()
86 inline errno_t strcpy_s( char* strDest, const char* strSource ) in strcpy_s() argument
88 strcpy( strDest, strSource ); in strcpy_s()
92 inline errno_t strcat_s( char* strDest, const char* strSource ) in strcat_s() argument
[all …]
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/openvr/samples/shared/
H A Dstrtools.h66 inline errno_t wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_… in wcsncpy_s() argument
68 return wcslcpy(strDest, strSource, numberOfElements); in wcsncpy_s()
71 inline errno_t strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t coun… in strncpy_s() argument
73 return strlcpy(strDest, strSource, numberOfElements); in strncpy_s()
83 inline void wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t c… in wcsncpy_s() argument
85 wcsncpy(strDest, strSource, numberOfElements); in wcsncpy_s()
86 strDest[numberOfElements - 1] = '\0'; in wcsncpy_s()
89 inline void strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t count) in strncpy_s() argument
91 strncpy(strDest, strSource, numberOfElements); in strncpy_s()
92 strDest[numberOfElements - 1] = '\0'; in strncpy_s()
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/openvr/samples/shared/
H A Dstrtools.h66 inline errno_t wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_… in wcsncpy_s() argument
68 return wcslcpy(strDest, strSource, numberOfElements); in wcsncpy_s()
71 inline errno_t strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t coun… in strncpy_s() argument
73 return strlcpy(strDest, strSource, numberOfElements); in strncpy_s()
83 inline void wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t c… in wcsncpy_s() argument
85 wcsncpy(strDest, strSource, numberOfElements); in wcsncpy_s()
86 strDest[numberOfElements - 1] = '\0'; in wcsncpy_s()
89 inline void strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t count) in strncpy_s() argument
91 strncpy(strDest, strSource, numberOfElements); in strncpy_s()
92 strDest[numberOfElements - 1] = '\0'; in strncpy_s()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openvr/src/src/vrcommon/
H A Dstrtools_public.h62 inline errno_t wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_… in wcsncpy_s() argument
64 return wcslcpy(strDest, strSource, numberOfElements); in wcsncpy_s()
67 inline errno_t strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t coun… in strncpy_s() argument
69 return strlcpy(strDest, strSource, numberOfElements); in strncpy_s()
79 inline void wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t c… in wcsncpy_s() argument
81 wcsncpy(strDest, strSource, numberOfElements); in wcsncpy_s()
82 strDest[numberOfElements-1] = '\0'; in wcsncpy_s()
85 inline void strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t count) in strncpy_s() argument
87 strncpy(strDest, strSource, numberOfElements); in strncpy_s()
88 strDest[numberOfElements-1] = '\0'; in strncpy_s()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/utils/
H A DScraperParser.cpp140 void CScraperParser::ReplaceBuffers(std::string& strDest) in ReplaceBuffers() argument
148 while ((iIndex = strDest.find(temp,iIndex)) != std::string::npos) in ReplaceBuffers()
150 strDest.replace(strDest.begin()+iIndex,strDest.begin()+iIndex+temp.size(),m_param[i]); in ReplaceBuffers()
156 while ((iIndex = strDest.find("$INFO[", iIndex)) != std::string::npos) in ReplaceBuffers()
158 size_t iEnd = strDest.find(']', iIndex); in ReplaceBuffers()
159 std::string strInfo = strDest.substr(iIndex+6, iEnd - iIndex - 6); in ReplaceBuffers()
163 strDest.replace(strDest.begin()+iIndex,strDest.begin()+iEnd+1,strReplace); in ReplaceBuffers()
170 size_t iEnd = strDest.find(']', iIndex); in ReplaceBuffers()
175 strDest.replace(strDest.begin()+iIndex,strDest.begin()+iEnd+1,strReplace); in ReplaceBuffers()
179 while ((iIndex = strDest.find("\\n",iIndex)) != std::string::npos) in ReplaceBuffers()
[all …]
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/RedfishPkg/PrivateInclude/Library/
H A DRedfishCrtLib.h224 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,(strlen(strSource)+1),strSource) argument
225 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,(UINTN)count,strSource,(UINTN)count) argument
226 #define strncpys(strDest, DestLen, strSource,count) AsciiStrnCpyS(strDest,DestLen,strSource,(UINTN… argument
227 #define strcat(strDest,strSource) AsciiStrCatS(strDest,(strlen(strSource)+strlen(strDest)+1… argument
/dports/sysutils/edk2/edk2-edk2-stable202102/RedfishPkg/PrivateInclude/Library/
H A DRedfishCrtLib.h224 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,(strlen(strSource)+1),strSource)
225 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,(UINTN)count,strSource,(UINTN)count)
226 #define strncpys(strDest, DestLen, strSource,count) AsciiStrnCpyS(strDest,DestLen,strSource,(UINTN…
227 #define strcat(strDest,strSource) AsciiStrCatS(strDest,(strlen(strSource)+strlen(strDest)+1…
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/vr/openvr/src/
H A Dstrtools_public.h74 inline void wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t c… in wcsncpy_s() argument
76 wcsncpy(strDest, strSource, numberOfElements); in wcsncpy_s()
77 strDest[numberOfElements-1] = '\0'; in wcsncpy_s()
80 inline void strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t count) in strncpy_s() argument
82 strncpy(strDest, strSource, numberOfElements); in strncpy_s()
83 strDest[numberOfElements-1] = '\0'; in strncpy_s()
/dports/www/firefox-esr/firefox-91.8.0/gfx/vr/service/openvr/src/
H A Dstrtools_public.h92 inline void wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t c… in wcsncpy_s() argument
94 wcsncpy(strDest, strSource, numberOfElements); in wcsncpy_s()
95 strDest[numberOfElements-1] = '\0'; in wcsncpy_s()
98 inline void strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t count) in strncpy_s() argument
100 strncpy(strDest, strSource, numberOfElements); in strncpy_s()
101 strDest[numberOfElements-1] = '\0'; in strncpy_s()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/vr/service/openvr/src/
H A Dstrtools_public.h92 inline void wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t c… in wcsncpy_s() argument
94 wcsncpy(strDest, strSource, numberOfElements); in wcsncpy_s()
95 strDest[numberOfElements-1] = '\0'; in wcsncpy_s()
98 inline void strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t count) in strncpy_s() argument
100 strncpy(strDest, strSource, numberOfElements); in strncpy_s()
101 strDest[numberOfElements-1] = '\0'; in strncpy_s()
/dports/www/firefox/firefox-99.0/gfx/vr/service/openvr/src/
H A Dstrtools_public.h92 inline void wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t c… in wcsncpy_s() argument
94 wcsncpy(strDest, strSource, numberOfElements); in wcsncpy_s()
95 strDest[numberOfElements-1] = '\0'; in wcsncpy_s()
98 inline void strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t count) in strncpy_s() argument
100 strncpy(strDest, strSource, numberOfElements); in strncpy_s()
101 strDest[numberOfElements-1] = '\0'; in strncpy_s()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/vr/service/openvr/src/
H A Dstrtools_public.h92 inline void wcsncpy_s(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t c… in wcsncpy_s() argument
94 wcsncpy(strDest, strSource, numberOfElements); in wcsncpy_s()
95 strDest[numberOfElements-1] = '\0'; in wcsncpy_s()
98 inline void strncpy_s(char *strDest, size_t numberOfElements, const char *strSource, size_t count) in strncpy_s() argument
100 strncpy(strDest, strSource, numberOfElements); in strncpy_s()
101 strDest[numberOfElements-1] = '\0'; in strncpy_s()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/Include/
H A DCrtLibSupport.h188 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,MAX_STRING_SIZE,strSource) argument
189 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… argument
190 #define strcat(strDest,strSource) AsciiStrCatS(strDest,MAX_STRING_SIZE,strSource) argument
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/Include/
H A DCrtLibSupport.h207 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,MAX_STRING_SIZE,strSource) argument
208 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… argument
209 #define strcat(strDest,strSource) AsciiStrCatS(strDest,MAX_STRING_SIZE,strSource) argument
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/CryptoPkg/Library/Include/
H A DCrtLibSupport.h188 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,MAX_STRING_SIZE,strSource) argument
189 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… argument
190 #define strcat(strDest,strSource) AsciiStrCatS(strDest,MAX_STRING_SIZE,strSource) argument
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/Include/
H A DCrtLibSupport.h207 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,MAX_STRING_SIZE,strSource) argument
208 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… argument
209 #define strcat(strDest,strSource) AsciiStrCatS(strDest,MAX_STRING_SIZE,strSource) argument
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/Include/
H A DCrtLibSupport.h206 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,MAX_STRING_SIZE,strSource) argument
207 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… argument
208 #define strcat(strDest,strSource) AsciiStrCatS(strDest,MAX_STRING_SIZE,strSource) argument
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/Include/
H A DCrtLibSupport.h207 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,MAX_STRING_SIZE,strSource) argument
208 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… argument
209 #define strcat(strDest,strSource) AsciiStrCatS(strDest,MAX_STRING_SIZE,strSource) argument
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/CryptoPkg/Library/Include/
H A DCrtLibSupport.h188 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,MAX_STRING_SIZE,strSource) argument
189 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… argument
190 #define strcat(strDest,strSource) AsciiStrCatS(strDest,MAX_STRING_SIZE,strSource) argument
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/Include/
H A DCrtLibSupport.h207 #define strcpy(strDest,strSource) AsciiStrCpyS(strDest,MAX_STRING_SIZE,strSource) argument
208 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… argument
209 #define strcat(strDest,strSource) AsciiStrCatS(strDest,MAX_STRING_SIZE,strSource) argument

12345678