Lines Matching refs:dstLen
212 char *dst, int32 *dstLen, int32 *state, char substitute)
220 if (*dstLen < copyAmount)
221 copyAmount = *dstLen;
224 *dstLen = copyAmount;
230 if (*dstLen < copyAmount)
231 copyAmount = *dstLen;
244 *dstLen = copyAmount;
248 dst, dstLen, state, substitute);
260 for (i = 0; i < *dstLen; i++)
270 char *dst, int32 *dstLen, int32 *state, char substitute)
274 int32 originalDstLen = *dstLen;
280 if (*dstLen < copyAmount)
281 copyAmount = *dstLen;
284 *dstLen = copyAmount;
290 int32 dstRemaining = *dstLen;
299 *dstLen = 0;
342 *dstLen = *dstLen - dstRemaining;
346 errorCode = convert_from_utf8(dstEncoding, src, srcLen, dst, dstLen, state,
363 tempDstLen = originalDstLen - *dstLen;
368 dst + *dstLen, &tempDstLen, state, substitute);
371 *dstLen += tempDstLen - 1 /* don't include the ASCII letter */;
475 int32 dstLen = end-string + *bufLen-strLen;
476 char *dst = (char*)malloc(dstLen);
483 ret = mail_convert_to_utf8(convertID, src, &cvLen, dst, &dstLen,
528 if (dstLen > end-string) {
530 memmove(string+dstLen, end, strLen - (end-head) + 1);
531 strLen += string+dstLen - end;
532 end = string + dstLen;
535 memcpy(string, dst, dstLen);
536 string += dstLen;