Searched refs:utf8towc (Results 1 – 10 of 10) sorted by relevance
/external/toybox/toys/posix/ |
D | cut.c | 58 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()
|
D | wc.c | 91 clen = utf8towc(&wchar, toybuf+pos, len-pos); in do_wc()
|
D | paste.c | 86 while (0<(dlen = utf8towc(&wc, dpos, 99))) {
|
D | expand.c | 52 width = utf8towc(&blah, toybuf+i, len-i); in do_expand()
|
D | file.c | 393 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
|
D | grep.c | 132 bin = utf8towc(&wc, buf+i, len-i); in do_grep()
|
/external/toybox/toys/example/ |
D | demo_utf8towc.c | 38 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
|
/external/toybox/lib/ |
D | linestack.c | 100 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
|
D | lib.c | 348 int utf8towc(wchar_t *wc, char *str, unsigned len) in utf8towc() function 389 int len = utf8towc(&c, s, MB_CUR_MAX); in strlower()
|
D | lib.h | 225 int utf8towc(wchar_t *wc, char *str, unsigned len);
|