Lines Matching defs:to_length
1043 size_t to_length;
1047 to_length = idn_ucs4_strlen(from) + 1 + 15; /* 15 for margin */
1060 new_buffer = (char *)realloc(to, to_length);
1067 to_length);
1078 to_length *= 2;
1098 size_t from_length, to_length;
1130 to_length = from_length;
1136 realloc(to, sizeof(long) * to_length);
1143 to_length);
1148 to_length *= 2;
1173 size_t to_length;
1187 to_length = idn_ucs4_strlen(from) * 4 + 16; /* add mergin */
1192 new_buffer = (char *) realloc(ascii_to, to_length);
1199 to_length);
1204 to_length *= 2;
1211 realloc(to, sizeof(long) * to_length);
1217 r = idn_ucs4_utf8toucs4(ascii_to, to, to_length);
1222 to_length *= 2;
1249 size_t to_length;
1267 to_length = idn_ucs4_strlen(from) + 1 + 15; /* 15 for margin */
1273 realloc(to, sizeof(long) * to_length);
1280 to_length);
1285 to_length *= 2;
1307 size_t to_length;
1319 to_length = idn_ucs4_strlen(from) + 1 + 15; /* 15 for margin */
1325 realloc(to, sizeof(long) * to_length);
1331 r = idn_mapper_map(mapper, from, to, to_length);
1336 to_length *= 2;
1358 size_t to_length;
1371 to_length = idn_ucs4_strlen(from) + 1 + 15; /* 15 for margin */
1377 realloc(to, sizeof(long) * to_length);
1383 r = idn_normalizer_normalize(normalizer, from, to, to_length);
1388 to_length *= 2;
1547 size_t to_length;
1583 to_length = strlen(buffer);
1584 if (to_length == 0 || to_length > MAX_LABEL_LENGTH) {