Searched refs:utf8towc (Results 1 – 13 of 13) sorted by relevance
/external/toybox/toys/example/ |
D | demo_utf8towc.c | 36 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
|
/external/toybox/toys/posix/ |
D | cut.c | 94 if (0<=(j = utf8towc(&wc, s, len))) start--; in cut_line() 103 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 | expand.c | 47 int width = utf8towc(&blah, toybuf+i, len-i); in do_expand()
|
D | paste.c | 86 while (0<(dlen = utf8towc(&wc, dpos, 99))) {
|
D | file.c | 424 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
|
D | grep.c | 133 bin = utf8towc(&wc, buf+i, len-i); in do_grep()
|
/external/toybox/toys/pending/ |
D | unicode.c | 58 while ((n = utf8towc(&wc, s, l)) > 0) { in unicode_main()
|
D | vi.c | 92 length = utf8towc(&wc, s, bytes); in utf8_lnw() 1319 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_nstr()
|
D | sh.c | 1001 if (0<(ll = utf8towc(&wc1, wc, 99))) { in utf8chr() 1004 if(1>(ll = utf8towc(&wc2, chrs, 99))) chrs++; in utf8chr() 1054 else if (1>(len = utf8towc(&wc, s, len))) wc = *s, len = 1; in getutf8() 1614 else if (0<(dd = utf8towc(&wc, TT.ff->ifs, 4))) in expand_arg_nobrace() 3560 for (ii = 0; new[ii] && 0<(cc = utf8towc(&wc, new+ii, 4)); ii += cc); in do_source()
|
/external/toybox/lib/ |
D | linestack.c | 100 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
|
D | lib.c | 373 int utf8towc(wchar_t *wc, char *str, unsigned len) in utf8towc() function 412 if (1>(len = utf8towc(&c, s, MB_CUR_MAX))) { in strlower()
|
D | lib.h | 234 int utf8towc(wchar_t *wc, char *str, unsigned len);
|