Lines Matching defs:to

9  * By using this file, you agree to the terms and conditions set forth bellow.
28 * distribution the "Copyright Notice" refers to the following language:
31 * 4. The name of JPNIC may not be used to endorse or promote products
97 * label to convert.
113 static idn_result_t copy_verbatim(const char *from, char *to,
185 char *to, size_t tolen) {
196 assert(ctx != NULL && from != NULL && to != NULL);
212 r = copy_verbatim(from, to, tolen);
232 * Convert `from' to UCS4.
280 *to = '\0';
404 * Concat a list of labels to a name.
426 r = idn_converter_convfromucs4(idn_converter, buffer, to,
429 r = idn_ucs4_ucs4toutf8(buffer, to, tolen);
434 TRACE(("idn_res_encodename(): success (to=\"%s\")\n",
435 idn__debug_xstring(to, 50)));
451 char *to, size_t tolen) {
462 assert(ctx != NULL && from != NULL && to != NULL);
478 r = copy_verbatim(from, to, tolen);
498 * Convert `from' to UCS4.
549 *to = '\0';
663 * Concat a list of labels to a name.
685 r = idn_converter_convfromucs4(local_converter, buffer, to,
688 r = idn_ucs4_ucs4toutf8(buffer, to, tolen);
693 TRACE(("idn_res_decodename(): success (to=\"%s\")\n",
694 idn__debug_xstring(to, 50)));
711 char *to, size_t tolen, const char *auxencoding) {
722 assert(ctx != NULL && from != NULL && to != NULL);
733 r = copy_verbatim(from, to, tolen);
743 return idn_res_decodename(ctx, actions, from, to, tolen);
747 * Convert `from' to UCS4.
789 *to = '\0';
795 * Convert `buffer_ucs4' to UTF-8.
824 *to = '\0';
829 r = idn_res_decodename(ctx, actions, buffer_utf8, to, tolen);
833 TRACE(("idn_res_decodename2(): success (to=\"%s\")\n",
834 idn__debug_xstring(to, 50)));
849 copy_verbatim(const char *from, char *to, size_t tolen) {
854 (void)memcpy(to, from, fromlen + 1);
869 ; /* nothing to be done */
983 ; /* nothing to be done */
1027 ; /* nothing to be done */
1042 char *to = NULL;
1060 new_buffer = (char *)realloc(to, to_length);
1065 to = new_buffer;
1066 r = idn_converter_convfromucs4(local_converter, from, to,
1086 free(to);
1097 unsigned long *to = NULL;
1129 to = NULL;
1136 realloc(to, sizeof(long) * to_length);
1141 to = new_buffer;
1142 r = idn_converter_convtoucs4(idn_converter, ascii_from, to,
1151 r = labellist_setname(label, to);
1162 free(to);
1172 unsigned long *to = NULL;
1211 realloc(to, sizeof(long) * to_length);
1216 to = new_buffer;
1217 r = idn_ucs4_utf8toucs4(ascii_to, to, to_length);
1228 r = labellist_setname(label, to);
1239 free(to);
1248 unsigned long *to = NULL;
1273 realloc(to, sizeof(long) * to_length);
1278 to = new_buffer;
1279 r = idn_mapselector_map2(local_mapper, from, tld, to,
1288 r = labellist_setname(label, to);
1299 free(to);
1306 unsigned long *to = NULL;
1325 realloc(to, sizeof(long) * to_length);
1330 to = new_buffer;
1331 r = idn_mapper_map(mapper, from, to, to_length);
1339 r = labellist_setname(label, to);
1350 free(to);
1357 unsigned long *to = NULL;
1377 realloc(to, sizeof(long) * to_length);
1382 to = new_buffer;
1383 r = idn_normalizer_normalize(normalizer, from, to, to_length);
1391 r = labellist_setname(label, to);
1402 free(to);