Searched refs:utf8towc (Results 1 - 13 of 13) sorted by relevance
/third_party/toybox/toys/posix/ |
H A 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()
|
H A D | expand.c | 52 width = utf8towc(&blah, toybuf+i, len-i); in do_expand()
|
H A D | paste.c | 86 while (0<(dlen = utf8towc(&wc, dpos, 99))) { in paste_files()
|
H A D | wc.c | 90 clen = utf8towc(&wchar, toybuf+pos, len-pos); in do_wc()
|
H A D | file.c | 425 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
|
H A D | grep.c | 134 bin = utf8towc(&wc, buf+i, len-i); in do_grep()
|
/third_party/toybox/toys/example/ |
H A D | demo_utf8towc.c | 36 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
|
/third_party/toybox/lib/ |
H A D | linestack.c | 99 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
|
H A D | lib.c | 368 int utf8towc(unsigned *wc, char *str, unsigned len) in utf8towc() function 409 int len = utf8towc(&c, s, MB_CUR_MAX); in strlower()
|
H A D | lib.h | 238 int utf8towc(unsigned *wc, char *str, unsigned len);
|
/third_party/toybox/porting/liteos_a/lib/ |
H A D | lib.h | 230 int utf8towc(wchar_t *wc, char *str, unsigned len);
|
/third_party/toybox/toys/pending/ |
H A D | vi.c | 92 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 D | awk.c | 382 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