Lines Matching refs:nLen
143 int nLen = std_strlen(cpszSrc); in std_strlcpy() local
148 n = STD_MIN(nLen, nDestSize - 1); in std_strlcpy()
154 return nLen; in std_strlcpy()
159 int nLen = 0; in std_strlcat() local
161 while ((nLen < nDestSize) && (0 != pcDst[nLen])) { in std_strlcat()
162 ++nLen; in std_strlcat()
165 return nLen + std_strlcpy(pcDst+nLen, cpszSrc, nDestSize-nLen); in std_strlcat()
227 int nLen = std_wstrlen(cpwszSrc); in std_wstrlcpy() local
232 n = STD_MIN(nLen, nDestSize - 1); in std_wstrlcpy()
240 return nLen; in std_wstrlcpy()
245 int nLen = 0; in std_wstrlcat() local
247 while ((nLen < nDestSize) && (0 != pwcDst[nLen])) { in std_wstrlcat()
248 ++nLen; in std_wstrlcat()
251 return nLen + std_wstrlcpy(pwcDst+nLen, cpwszSrc, nDestSize-nLen); in std_wstrlcat()
272 int nLen = 0; in std_memstr() local
280 while (nLen < nHaystackLen) { in std_memstr()
281 if (cpHaystack[nLen] == *cpszNeedle) { in std_memstr()
284 int nRetIndex = nLen; in std_memstr()
290 nLen++; in std_memstr()
291 } while(cpHaystack[nLen] == *cpNeedle); in std_memstr()
294 nLen++; in std_memstr()
301 void* std_memchrend(const void* p, int c, int nLen) in std_memchrend() argument
303 const char* cpc = (const char*)p + nLen; in std_memchrend()
304 int i = -nLen; in std_memchrend()
306 if (nLen > 0) { in std_memchrend()
327 void* std_memrchr(const void* p, int c, int nLen) in std_memrchr() argument
331 if (nLen > 0) { in std_memrchr()
333 if (cpc[nLen] == c) { in std_memrchr()
334 return (void*) (cpc + nLen); in std_memrchr()
336 } while (--nLen); in std_memrchr()
367 int nLen, unsigned char cStop, boolean bTestEqual) in x_scanbytes() argument
397 pcBuf += nLen; in x_scanbytes()
398 n = -nLen; in x_scanbytes()
411 void* std_memchrsend(const void* pBuf, const char* cpszChars, int nLen) in std_memchrsend() argument
413 if (nLen <= 0) { in std_memchrsend()
417 return (char*)pBuf + nLen; in std_memchrsend()
420 return x_scanbytes((const char*)pBuf, cpszChars+1, nLen, in std_memchrsend()
514 int std_wstrncmp(const AECHAR* s1, const AECHAR* s2, int nLen) in std_wstrncmp() argument
516 if (nLen > 0) { in std_wstrncmp()
519 s1 += nLen; in std_wstrncmp()
520 s2 += nLen; in std_wstrncmp()
521 i = -nLen; in std_wstrncmp()