Lines Matching refs:prefixbytes
54 int prefixbytes; member
206 if (((int)*outbytesleft - d->desc[i].prefixbytes - d->desc[i].bytes) < 0) in euc_convert_from_ucs()
224 outbuf1 = *outbuf + d->desc[i].prefixbytes; in euc_convert_from_ucs()
225 outbytesleft1 = *outbytesleft - d->desc[i].prefixbytes; in euc_convert_from_ucs()
234 for (j = 0; j < d->desc[i].prefixbytes; j++) in euc_convert_from_ucs()
240 if ((*outbuf)[j + d->desc[i].prefixbytes] & 0x80) in euc_convert_from_ucs()
242 (*outbuf)[j + d->desc[i].prefixbytes] |= 0x80; in euc_convert_from_ucs()
360 d->desc[i].prefixbytes) == 0) in euc_convert_to_ucs()
362 if (((int)*inbytesleft - d->desc[i].prefixbytes - d->desc[i].bytes) < 0) in euc_convert_to_ucs()
368 if (!((*inbuf)[j + d->desc[i].prefixbytes] & 0x80)) in euc_convert_to_ucs()
370 inbuf1[j] = (*inbuf)[j + d->desc[i].prefixbytes] & 0x7F; in euc_convert_to_ucs()
374 inbuf1[j] = (*inbuf)[j + d->desc[i].prefixbytes]; in euc_convert_to_ucs()
384 *inbuf += d->desc[i].bytes + d->desc[i].prefixbytes; in euc_convert_to_ucs()
385 *inbytesleft -= d->desc[i].bytes + d->desc[i].prefixbytes; in euc_convert_to_ucs()
393 if (((int)(*inbytesleft - d->desc[0].prefixbytes - d->desc[0].bytes)) < 0) in euc_convert_to_ucs()
399 if (!((*inbuf)[j + d->desc[0].prefixbytes] & 0x80)) in euc_convert_to_ucs()