Lines Matching defs:tolen
99 char *to, size_t tolen);
104 const char *from, unsigned long *to, size_t tolen) {
113 TRACE(("idn__race_decode(from=\"%s\", tolen=%d)\n",
114 idn__debug_xstring(from, 50), (int)tolen));
118 r = idn_ucs4_utf8toucs4(from, to, tolen);
152 r = idn_ucs4_utf16toucs4(buf, to, tolen);
243 const unsigned long *from, char *to, size_t tolen) {
254 TRACE(("idn__race_encode(from=\"%s\", tolen=%d)\n",
255 idn__debug_ucs4xstring(from, 50), (int)tolen));
258 r = idn_ucs4_ucs4toutf8(from, to, tolen);
265 if (tolen < prefixlen) {
271 tolen -= prefixlen;
319 r = race_compress_encode(buf, compress_mode, to, tolen);
334 char *to, size_t tolen)
387 if (tolen < 1)
391 tolen--;
395 if (tolen <= 0)