Home
last modified time | relevance | path

Searched refs:utf8towc (Results 1 – 13 of 13) sorted by relevance

/external/toybox/toys/example/
Ddemo_utf8towc.c36 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
/external/toybox/toys/posix/
Dcut.c94 if (0<=(j = utf8towc(&wc, s, len))) start--; in cut_line()
103 if (0<=(j = utf8towc(&wc, sss, len))) end--; in cut_line()
Dwc.c91 clen = utf8towc(&wchar, toybuf+pos, len-pos); in do_wc()
Dexpand.c47 int width = utf8towc(&blah, toybuf+i, len-i); in do_expand()
Dpaste.c86 while (0<(dlen = utf8towc(&wc, dpos, 99))) {
Dfile.c424 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
Dgrep.c133 bin = utf8towc(&wc, buf+i, len-i); in do_grep()
/external/toybox/toys/pending/
Dunicode.c58 while ((n = utf8towc(&wc, s, l)) > 0) { in unicode_main()
Dvi.c92 length = utf8towc(&wc, s, bytes); in utf8_lnw()
1319 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_nstr()
Dsh.c1001 if (0<(ll = utf8towc(&wc1, wc, 99))) { in utf8chr()
1004 if(1>(ll = utf8towc(&wc2, chrs, 99))) chrs++; in utf8chr()
1054 else if (1>(len = utf8towc(&wc, s, len))) wc = *s, len = 1; in getutf8()
1614 else if (0<(dd = utf8towc(&wc, TT.ff->ifs, 4))) in expand_arg_nobrace()
3560 for (ii = 0; new[ii] && 0<(cc = utf8towc(&wc, new+ii, 4)); ii += cc); in do_source()
/external/toybox/lib/
Dlinestack.c100 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
Dlib.c373 int utf8towc(wchar_t *wc, char *str, unsigned len) in utf8towc() function
412 if (1>(len = utf8towc(&c, s, MB_CUR_MAX))) { in strlower()
Dlib.h234 int utf8towc(wchar_t *wc, char *str, unsigned len);