Lines Matching refs:tolen
136 char *to, size_t tolen);
140 unsigned long *to, size_t tolen);
153 char *to, size_t tolen);
158 unsigned long *to, size_t tolen);
175 char *to, size_t tolen);
181 size_t tolen);
421 char *to, size_t tolen) {
426 TRACE(("idn_converter_convfromucs4(ctx=%s, from=\"%s\", tolen=%d)\n",
428 (int)tolen));
437 r = (*ctx->ops->convfromucs4)(ctx, ctx->private_data, from, to, tolen);
460 unsigned long *to, size_t tolen) {
465 TRACE(("idn_converter_convtoucs4(ctx=%s, from=\"%s\", tolen=%d)\n",
467 (int)tolen));
476 r = (*ctx->ops->convtoucs4)(ctx, ctx->private_data, from, to, tolen);
778 const unsigned long *from, char *to, size_t tolen) {
781 return idn_ucs4_ucs4toutf8(from, to, tolen);
786 const char *from, unsigned long *to, size_t tolen) {
789 return idn_ucs4_utf8toucs4(from, to, tolen);
899 size_t tolen) {
911 if (tolen <= 0) {
961 outleft = tolen - 1; /* reserve space for terminating NUL */
1016 const char *from, unsigned long *to, size_t tolen) {
1029 if (tolen <= 0) {
1089 r = idn_ucs4_utf8toucs4(utf8, to, tolen);
1110 size_t tolen) {
1118 if (tolen < 1) {
1123 tolen--;
1130 if (tolen < len) {
1136 tolen -= len;
1143 if (tolen <= 0) {
1161 const char *from, unsigned long *to, size_t tolen)
1167 if (tolen <= 0) {
1216 r = idn_ucs4_utf8toucs4(buf, to, tolen);
1225 tolen--;
1228 if (tolen <= 0) {