Home
last modified time | relevance | path

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

/third_party/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.c90 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.c425 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
Dgrep.c134 bin = utf8towc(&wc, buf+i, len-i); in do_grep()
/third_party/toybox/toys/example/
Ddemo_utf8towc.c36 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
/third_party/toybox/lib/
Dlinestack.c99 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
Dlib.c348 int utf8towc(unsigned *wc, char *str, unsigned len) in utf8towc() function
389 int len = utf8towc(&c, s, MB_CUR_MAX); in strlower()
Dlib.h237 int utf8towc(unsigned *wc, char *str, unsigned len);
/third_party/toybox/porting/liteos_a/lib/
Dlib.h230 int utf8towc(wchar_t *wc, char *str, unsigned len);
/third_party/toybox/toys/pending/
Dvi.c92 length = utf8towc(&wc, s, bytes); in utf8_lnw()
1320 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_nstr()