Lines Matching refs:ulen
150 size_t ulen;
182 * ubuf, and the number of characters converted in ulen.
184 if (looks_ascii(buf, nbytes, ubuf, &ulen)) {
188 } else if (looks_utf8(buf, nbytes, ubuf, &ulen)) {
192 } else if ((i = looks_unicode(buf, nbytes, ubuf, &ulen)) != 0) {
200 } else if (looks_latin1(buf, nbytes, ubuf, &ulen)) {
204 } else if (looks_extended(buf, nbytes, ubuf, &ulen)) {
211 if (looks_ascii(nbuf, nbytes, ubuf, &ulen)) {
215 } else if (looks_latin1(nbuf, nbytes, ubuf, &ulen)) {
266 while (i < ulen) {
272 while (i < ulen && ISSPC(ubuf[i]))
274 if (i >= ulen)
313 for (i = 0; i < ulen; i++) {
374 ascmatch(const unsigned char *s, const my_unichar *us, size_t ulen)
378 for (i = 0; i < ulen; i++) {
470 size_t *ulen)
474 *ulen = 0;
482 ubuf[(*ulen)++] = buf[i];
489 looks_latin1(const unsigned char *buf, size_t nbytes, my_unichar *ubuf, size_t *ulen)
493 *ulen = 0;
501 ubuf[(*ulen)++] = buf[i];
509 size_t *ulen)
513 *ulen = 0;
521 ubuf[(*ulen)++] = buf[i];
528 looks_utf8(const unsigned char *buf, size_t nbytes, my_unichar *ubuf, size_t *ulen)
534 *ulen = 0;
546 ubuf[(*ulen)++] = buf[i];
581 ubuf[(*ulen)++] = c;
591 size_t *ulen)
606 *ulen = 0;
612 ubuf[(*ulen)++] = buf[i + 1] + 256 * buf[i];
614 ubuf[(*ulen)++] = buf[i] + 256 * buf[i + 1];
616 if (ubuf[*ulen - 1] == 0xfffe)
618 if (ubuf[*ulen - 1] < 128 &&
619 text_chars[(size_t)ubuf[*ulen - 1]] != T)