Lines Matching defs:lenChunk
225 size_t lenChunk = MB2WC(NULL, src, 0);
226 if ( lenChunk == wxCONV_FAILED )
229 lenChunk++; // for the L'\0' at the end of this chunk
231 dstWritten += lenChunk;
233 if ( lenChunk == 1 )
244 if ( MB2WC(dst, src, lenChunk) == wxCONV_FAILED )
247 dst += lenChunk;
310 size_t lenChunk = WC2MB(NULL, src, 0);
312 if ( lenChunk == wxCONV_FAILED )
315 lenChunk += lenNul;
316 dstWritten += lenChunk;
323 if ( WC2MB(dst, src, lenChunk) == wxCONV_FAILED )
326 dst += lenChunk;