Home
last modified time | relevance | path

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

/third_party/toybox/toys/posix/
H A 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()
H A Dexpand.c52 width = utf8towc(&blah, toybuf+i, len-i); in do_expand()
H A Dpaste.c86 while (0<(dlen = utf8towc(&wc, dpos, 99))) { in paste_files()
H A Dwc.c90 clen = utf8towc(&wchar, toybuf+pos, len-pos); in do_wc()
H A Dfile.c425 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
H A Dgrep.c134 bin = utf8towc(&wc, buf+i, len-i); in do_grep()
/third_party/toybox/toys/example/
H A Ddemo_utf8towc.c36 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
/third_party/toybox/lib/
H A Dlinestack.c99 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
H A Dlib.c368 int utf8towc(unsigned *wc, char *str, unsigned len) in utf8towc() function
409 int len = utf8towc(&c, s, MB_CUR_MAX); in strlower()
H A Dlib.h238 int utf8towc(unsigned *wc, char *str, unsigned len);
/third_party/toybox/porting/liteos_a/lib/
H A Dlib.h230 int utf8towc(wchar_t *wc, char *str, unsigned len);
/third_party/toybox/toys/pending/
H A 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()
H A Dawk.c382 int r = utf8towc(&wch, str, lim - str); in bytesinutf8()
396 int r = utf8towc(&wch, str, lim - str); in utf8cnt()
3160 n = utf8towc(&wch, z->vst->str, z->vst->size) < 1 ? 0xfffd : wch; in varprint()
4222 int len = utf8towc(&wch, p, e-p); in interpx()

Completed in 19 milliseconds