Home
last modified time | relevance | path

Searched refs:nDestSize (Results 1 – 4 of 4) sorted by relevance

/external/fastrpc/src/
Dstd.c47 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()
[all …]
Dstd_strlprintf.c499 static int std_strlprintf_inner(char *pszDest, int nDestSize, in std_strlprintf_inner() argument
506 BufBound_Init(&bb, pszDest, nDestSize); in std_strlprintf_inner()
711 int std_vstrlprintf(char *pszDest, int nDestSize, in std_vstrlprintf() argument
715 return std_strlprintf_inner(pszDest, nDestSize, cpszFmt, args, NULL); in std_vstrlprintf()
718 int std_vsnprintf(char *pszDest, int nDestSize, in std_vsnprintf() argument
726 return std_strlprintf_inner(pszDest, nDestSize, cpszFmt, args, FormatFloat); in std_vsnprintf()
729 int std_strlprintf(char *pszDest, int nDestSize, const char *pszFmt, ...) in std_strlprintf() argument
736 nRet = std_vstrlprintf(pszDest, nDestSize, pszFmt, args); in std_strlprintf()
743 int std_snprintf(char *pszDest, int nDestSize, const char *pszFmt, ...) in std_snprintf() argument
754 nRet = std_vsnprintf(pszDest, nDestSize, pszFmt, args); in std_snprintf()
Dstd_SwapBytes.c63 int STD_COPY_SWAP(void * pvDest, int nDestSize, in STD_COPY_SWAP() argument
69 int cbCopied = xMinSize(nDestSize, nSrcSize); in STD_COPY_SWAP()
184 int STD_COPY(void *pvDest, int nDestSize, in STD_COPY() argument
188 int cb = xMinSize(nDestSize, nSrcSize); in STD_COPY()
/external/fastrpc/inc/
DAEEstd.h81 extern int std_getversion(char *pcDst, int nDestSize);
88 extern int std_strlcpy(char *pcDst, const char *pszSrc, int nDestSize);
89 extern int std_strlcat(char *pcDst, const char *pszSrc, int nDestSize);
124 extern int std_wstrlcpy(AECHAR *pcDst, const AECHAR *pszSrc, int nDestSize);
125 extern int std_wstrlcat(AECHAR *pcDst, const AECHAR *pszSrc, int nDestSize);
134 char *pszDest, int nDestSize);
152 extern int std_vstrlprintf(char *pszDest, int nDestSize,
155 extern int std_strlprintf(char *pszDest, int nDestSize,
158 extern int std_vsnprintf(char *pszDest, int nDestSize,
161 extern int std_snprintf(char *pszDest, int nDestSize,
[all …]