Lines Matching refs:cbChars
65 static DECLCALLBACK(size_t) strallocoutput(void *pvArg, const char *pachChars, size_t cbChars);
74 * @param cbChars Number of bytes in the character array pointed to by pachChars.
76 static DECLCALLBACK(size_t) strallocoutput(void *pvArg, const char *pachChars, size_t cbChars)
84 if (cbChars <= pArg->cch)
86 if (cbChars)
88 memcpy(pArg->psz, pachChars, cbChars);
89 pArg->cch -= cbChars;
90 pArg->psz += cbChars;
93 return cbChars;
100 if (cbAdded <= cbChars)
101 cbAdded = RT_ALIGN_Z(cbChars, _4K);
120 if (cbChars)
122 memcpy(pArg->psz, pachChars, cbChars);
123 pArg->cch -= cbChars;
124 pArg->psz += cbChars;
127 return cbChars;