Lines Matching refs:inend
182 const unsigned char* inend; in asciiToUTF8() local
185 inend = in + (*inlen); in asciiToUTF8()
186 while ((in < inend) && (out - outstart + 5 < *outlen)) { in asciiToUTF8()
229 const unsigned char* inend; in UTF8Toascii() local
242 inend = in + (*inlen); in UTF8Toascii()
244 while (in < inend) { in UTF8Toascii()
262 if (inend - in < trailing) { in UTF8Toascii()
267 if ((in >= inend) || (((d= *in++) & 0xC0) != 0x80)) in UTF8Toascii()
312 const unsigned char* inend; in isolat1ToUTF8() local
319 inend = in + (*inlen); in isolat1ToUTF8()
320 instop = inend; in isolat1ToUTF8()
322 while ((in < inend) && (out < outend - 1)) { in isolat1ToUTF8()
333 if ((in < inend) && (out < outend) && (*in < 0x80)) { in isolat1ToUTF8()
408 const unsigned char* inend; in UTF8Toisolat1() local
421 inend = in + (*inlen); in UTF8Toisolat1()
423 while (in < inend) { in UTF8Toisolat1()
441 if (inend - in < trailing) { in UTF8Toisolat1()
446 if (in >= inend) in UTF8Toisolat1()
501 unsigned short* inend; in UTF16LEToUTF8() local
509 inend = in + inlen; in UTF16LEToUTF8()
510 while ((in < inend) && (out - outstart + 5 < *outlen)) { in UTF16LEToUTF8()
520 if (in >= inend) { /* (in > inend) shouldn't happens */ in UTF16LEToUTF8()
587 const unsigned char* inend; in UTF8ToUTF16LE() local
600 inend= in + *inlen; in UTF8ToUTF16LE()
602 while (in < inend) { in UTF8ToUTF16LE()
620 if (inend - in < trailing) { in UTF8ToUTF16LE()
625 if ((in >= inend) || (((d= *in++) & 0xC0) != 0x80)) in UTF8ToUTF16LE()
739 unsigned short* inend; in UTF16BEToUTF8() local
747 inend= in + inlen; in UTF16BEToUTF8()
748 while (in < inend) { in UTF16BEToUTF8()
759 if (in >= inend) { /* (in > inend) shouldn't happens */ in UTF16BEToUTF8()
829 const unsigned char* inend; in UTF8ToUTF16BE() local
842 inend= in + *inlen; in UTF8ToUTF16BE()
844 while (in < inend) { in UTF8ToUTF16BE()
862 if (inend - in < trailing) { in UTF8ToUTF16BE()
867 if ((in >= inend) || (((d= *in++) & 0xC0) != 0x80)) break; in UTF8ToUTF16BE()
2870 const unsigned char* inend; in UTF8ToISO8859x() local
2885 inend = in + (*inlen); in UTF8ToISO8859x()
2886 while (in < inend) { in UTF8ToISO8859x()
2897 if (!(in < inend)) { in UTF8ToISO8859x()
2923 if (!(in < inend - 1)) { in UTF8ToISO8859x()
2988 const unsigned char* inend; in ISO8859xToUTF8() local
2996 inend = in + *inlen; in ISO8859xToUTF8()
2997 instop = inend; in ISO8859xToUTF8()
2999 while ((in < inend) && (out < outend - 2)) { in ISO8859xToUTF8()
3023 if ((in < inend) && (out < outend) && (*in < 0x80)) { in ISO8859xToUTF8()
3026 if ((in < inend) && (out < outend) && (*in < 0x80)) { in ISO8859xToUTF8()