Lines Matching refs:nDestSize
47 int std_getversion(char *pcDst, int nDestSize) in std_getversion() argument
49 return std_strlcpy(pcDst, VERSION_STRING, nDestSize); in std_getversion()
141 int std_strlcpy(char* pcDst, const char* cpszSrc, int nDestSize) in std_strlcpy() argument
145 if (0 < nDestSize) { in std_strlcpy()
148 n = STD_MIN(nLen, nDestSize - 1); in std_strlcpy()
157 int std_strlcat(char* pcDst, const char* cpszSrc, int nDestSize) in std_strlcat() argument
161 while ((nLen < nDestSize) && (0 != pcDst[nLen])) { in std_strlcat()
165 return nLen + std_strlcpy(pcDst+nLen, cpszSrc, nDestSize-nLen); in std_strlcat()
225 int std_wstrlcpy(AECHAR* pwcDst, const AECHAR* cpwszSrc, int nDestSize) in std_wstrlcpy() argument
229 if (0 < nDestSize) { in std_wstrlcpy()
232 n = STD_MIN(nLen, nDestSize - 1); in std_wstrlcpy()
234 (void)std_memsmove(pwcDst, nDestSize*sizeof(AECHAR), in std_wstrlcpy()
243 int std_wstrlcat(AECHAR* pwcDst, const AECHAR* cpwszSrc, int nDestSize) in std_wstrlcat() argument
247 while ((nLen < nDestSize) && (0 != pwcDst[nLen])) { in std_wstrlcat()
251 return nLen + std_wstrlcpy(pwcDst+nLen, cpwszSrc, nDestSize-nLen); in std_wstrlcat()