Home
last modified time | relevance | path

Searched refs:utfpos (Results 1 – 2 of 2) sorted by relevance

/external/svox/pico/lib/
Dpicotok.c218 picoos_int32 utfpos; member
436 if (tok->utfpos < PICOBASE_UTF8_MAXLEN) { in tok_putToUtf()
437 tok->utf[tok->utfpos] = ch; in tok_putToUtf()
438 if (tok->utfpos == 0) { in tok_putToUtf()
443 (tok->utfpos)++; in tok_putToUtf()
444 if ((tok->utfpos == tok->utflen)) { in tok_putToUtf()
445 if ((tok->utfpos < PICOBASE_UTF8_MAXLEN)) { in tok_putToUtf()
446 tok->utf[tok->utfpos] = 0; in tok_putToUtf()
449 } else if (tok->utfpos < tok->utflen) { in tok_putToUtf()
1252 tok->utfpos = 0; in tok_treatMarkupAsSimpleToken()
[all …]
Dpicosa.c842 picoos_uint32 utfpos; in saDoG2P() local
877 utfpos = graphlen; in saDoG2P()
878 if (picobase_get_prev_utf8charpos(graph, 0, &utfpos)) { in saDoG2P()
879 nCount = utfpos + 1; in saDoG2P()
980 utfpos = nCount - 1; in saDoG2P()
981 if (!picobase_get_prev_utf8charpos(graph, 0, &utfpos)) { in saDoG2P()
983 PICODBG_ERROR(("invalid utf8 string, utfpos: %d", utfpos)); in saDoG2P()
986 nCount = utfpos + 1; in saDoG2P()