Home
last modified time | relevance | path

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

/external/toybox/toys/posix/
Dcut.c58 while (j<columns && (i = utf8towc(&wc, s, 4))) { in unicolumns()
118 if (0<=(j = utf8towc(&wc, s, len))) start--; in cut_line()
127 if (0<=(j = utf8towc(&wc, sss, len))) end--; in cut_line()
Dwc.c91 clen = utf8towc(&wchar, toybuf+pos, len-pos); in do_wc()
Dpaste.c86 while (0<(dlen = utf8towc(&wc, dpos, 99))) {
Dexpand.c52 width = utf8towc(&blah, toybuf+i, len-i); in do_expand()
Dfile.c393 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
Dgrep.c132 bin = utf8towc(&wc, buf+i, len-i); in do_grep()
/external/toybox/toys/example/
Ddemo_utf8towc.c38 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
/external/toybox/lib/
Dlinestack.c100 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
Dlib.c348 int utf8towc(wchar_t *wc, char *str, unsigned len) in utf8towc() function
389 int len = utf8towc(&c, s, MB_CUR_MAX); in strlower()
Dlib.h225 int utf8towc(wchar_t *wc, char *str, unsigned len);