/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/mdn/ |
H A D | api.h | 11 * license is obtained from Japan Network Information Center ("JPNIC"), 29 * derived from this Software without specific prior written approval of 62 mdn_encodename(int actions, const char *from, char *to, size_t tolen); 65 mdn_decodename(int actions, const char *from, char *to, size_t tolen); 67 #define mdn_localtoutf8(from, to, tolen) \ 68 mdn_encodename(IDN_LOCALCONV, from, to, len) 69 #define mdn_delimitermap(from, to, tolen) \ 70 mdn_encodename(IDN_DELIMMAP, from, to, len) 71 #define mdn_localmap(from, to, tolen) \ 72 mdn_encodename(IDN_LOCALMAP, from, t [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/idn/ |
H A D | punycode.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 60 const char *from, unsigned long *to, size_t tolen); 64 const unsigned long *from, char *to, size_t tolen);
|
H A D | race.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 62 const unsigned long *from, char *to, size_t tolen); 66 const char *from, unsigned long *to, size_t tolen);
|
H A D | api.h | 11 * license is obtained from Japan Network Information Center ("JPNIC"), 29 * derived from this Software without specific prior written approval of 87 * Initialize this module, and load configuration from the default 138 * Converts the domain name from UTF-8 to ACE (e.g. Punycode). 197 idn_encodename(idn_action_t actions, const char *from, char *to, size_t tolen); 214 * Converts the domain name from ACE (e.g. Punycode) to UCS4. 274 idn_decodename(idn_action_t actions, const char *from, char *to, size_t tolen); 281 * two is whether the encoding conversion from auxiliary encoding to 285 * If auxencoding is NULL, from is treated as UTF-8 encoded string. 291 idn_decodename2(idn_action_t actions, const char *from, cha [all...] |
H A D | unormalize.h | 11 * license is obtained from Japan Network Information Center ("JPNIC"), 29 * derived from this Software without specific prior written approval of 67 * They take NUL-terminated UCS4 encoded string 'from', perform 79 const unsigned long *from, unsigned long *to,
|
H A D | filemapper.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 106 * Each character in the string 'from' is examined and if it 116 idn__filemapper_map(idn__filemapper_t ctx, const unsigned long *from, 130 idn__filemapper_mapproc(void *ctx, const unsigned long *from,
|
H A D | converter.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 54 * This module provides conversions from some local codeset to UCS4 135 const unsigned long *from, char *to, size_t tolen); 139 const char *from, unsigned long *to, size_t tolen); 142 * Get the name of local codeset. The returned name may be different from 208 * resolve real encoding name from alias information. 228 const unsigned long *from, 233 const char *from,
|
H A D | mapper.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 127 idn_mapper_map(idn_mapper_t ctx, const unsigned long *from, 137 const unsigned long *from,
|
H A D | mapselector.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 153 idn_mapselector_map(idn_mapselector_t ctx, const unsigned long *from, 157 idn_mapselector_map2(idn_mapselector_t ctx, const unsigned long *from,
|
H A D | normalizer.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 69 typedef idn_result_t (*idn_normalizer_proc_t)(const unsigned long *from, 136 idn_normalizer_normalize(idn_normalizer_t ctx, const unsigned long *from,
|
H A D | ucs4.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 85 idn_ucs4_strcpy(unsigned long *to, const unsigned long *from); 88 idn_ucs4_strcat(unsigned long *to, const unsigned long *from);
|
H A D | res.h | 11 * license is obtained from Japan Network Information Center ("JPNIC"), 29 * derived from this Software without specific prior written approval of 138 * Converts the domain name from UTF-8 to ACE (e.g. Punycode). 197 idn_res_encodename(idn_resconf_t ctx, idn_action_t actions, const char *from, 215 * Converts the domain name from ACE (e.g. Punycode) to UCS4. 275 idn_res_decodename(idn_resconf_t ctx, idn_action_t actions, const char *from, 283 * two is whether the encoding conversion from auxiliary encoding to 287 * If auxencoding is NULL, from is treated as UTF-8 encoded string. 293 idn_res_decodename2(idn_resconf_t ctx, idn_action_t actions, const char *from,
|
H A D | delimitermap.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 106 * Map local delimiters in `from' to `.'. 116 idn_delimitermap_map(idn_delimitermap_t ctx, const unsigned long *from,
|
H A D | ucsset.h | 10 * license is obtained from Japan Network Information Center ("JPNIC"), 28 * derived from this Software without specific prior written approval of 102 * Add a range of code points (from 'from' to 'to', inclusive) to the set. 103 * 'from' must not be greater than 'to'. 115 idn_ucsset_addrange(idn_ucsset_t ctx, unsigned long from, unsigned long to);
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/ |
H A D | api.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 139 idn_encodename(idn_action_t actions, const char *from, char *to, size_t tolen) { argument 142 assert(from != NULL && to != NULL); 144 TRACE(("idn_encodename(actions=%s, from=\"%s\")\n", 146 idn__debug_xstring(from, 50))); 151 r = idn_res_encodename(default_conf, actions, from, to, tolen); 164 idn_decodename(idn_action_t actions, const char *from, char *to, size_t tolen) { argument 167 assert(from != NULL && to != NULL); 169 TRACE(("idn_decodename(actions=%s, from 189 idn_decodename2(idn_action_t actions, const char *from, char *to, size_t tolen, const char *auxencoding) argument 226 mdn_encodename(int actions, const char *from, char *to, size_t tolen) argument 242 mdn_decodename(int actions, const char *from, char *to, size_t tolen) argument [all...] |
H A D | race.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 94 static idn_result_t race_decode_decompress(const char *from, 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)); 116 if (!idn__util_asciihaveaceprefix(from, IDN_RACE_PREFIX)) { 117 if (*from == '\0') { 118 r = idn_ucs4_utf8toucs4(from, to, tolen); 124 from 103 idn__race_decode(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument 168 race_decode_decompress(const char *from, unsigned short *buf, size_t buflen) argument 242 idn__race_encode(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument [all...] |
H A D | ucsset.c | 13 * license is obtained from Japan Network Information Center ("JPNIC"), 31 * derived from this Software without specific prior written approval of 73 unsigned long from; member in struct:__anon82 124 static idn_result_t addrange(idn_ucsset_t ctx, unsigned long from, 180 idn_ucsset_addrange(idn_ucsset_t ctx, unsigned long from, argument 185 TRACE(("idn_ucsset_addrange(from=U+%lX, to=U+%lX)\n", 186 from, to)); 188 return (addrange(ctx, from, to, "idn_ucsset_addrange")); 226 if (ranges[i].to + 1 >= ranges[j].from) { 242 int fidx = SEG_INDEX(ranges[i].from); 308 addrange(idn_ucsset_t ctx, unsigned long from, unsigned long to, char *func_name) argument [all...] |
H A D | punycode.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 66 * name from beginning with a hyphen, we should choose a prefix rather 108 const char *from, unsigned long *to, size_t tolen) { 119 TRACE(("idn__punycode_decode(from=\"%s\", tolen=%d)\n", 120 idn__debug_xstring(from, 50), (int)tolen)); 122 if (!idn__util_asciihaveaceprefix(from, IDN_PUNYCODE_PREFIX)) { 123 if (*from == '\0') { 124 r = idn_ucs4_utf8toucs4(from, to, tolen); 130 from 107 idn__punycode_decode(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument 206 idn__punycode_encode(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument [all...] |
H A D | delimitermap.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 199 idn_delimitermap_map(idn_delimitermap_t ctx, const unsigned long *from, argument 202 /* default delimiters (label separators) from IDNA specification */ 215 assert(ctx != NULL && from != NULL && to != NULL); 217 TRACE(("idn_delimitermap_map(from=\"%s\", tolen=%d)\n", 218 idn__debug_ucs4xstring(from, 50), (int)tolen)); 223 while (*from != '\0') { 230 if (default_delimiters[j] == *from) { 237 if (ctx->delimiters[i] == *from) { [all...] |
H A D | converter.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 125 const unsigned long *from, 135 const unsigned long *from, 139 void *privdata, const char *from, 152 const unsigned long *from, 157 const char *from, 174 const unsigned long *from, 179 const char *from, 420 idn_converter_convfromucs4(idn_converter_t ctx, const unsigned long *from, argument 459 idn_converter_convtoucs4(idn_converter_t ctx, const char *from, unsigned long *to, size_t tolen) argument 697 roundtrip_check(idn_converter_t ctx, const unsigned long *from, const char *to) argument 777 converter_none_convfromucs4(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument 785 converter_none_convtoucs4(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument 897 converter_iconv_convfromucs4(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument 1015 converter_iconv_convtoucs4(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument 1108 converter_uescape_convfromucs4(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument 1160 converter_uescape_convtoucs4(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument [all...] |
H A D | res.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 113 static idn_result_t copy_verbatim(const char *from, char *to, 184 idn_res_encodename(idn_resconf_t ctx, idn_action_t actions, const char *from, argument 196 assert(ctx != NULL && from != NULL && to != NULL); 198 TRACE(("idn_res_encodename(actions=%s, from=\"%s\", tolen=%d)\n", 200 idn__debug_xstring(from, 50), (int)tolen)); 212 r = copy_verbatim(from, to, tolen); 232 * Convert `from' to UCS4. 262 r = idn_converter_convtoucs4(local_converter, from, 450 idn_res_decodename(idn_resconf_t ctx, idn_action_t actions, const char *from, char *to, size_t tolen) argument 710 idn_res_decodename2(idn_resconf_t ctx, idn_action_t actions, const char *from, char *to, size_t tolen, const char *auxencoding) argument 849 copy_verbatim(const char *from, char *to, size_t tolen) argument 1041 const unsigned long *from; local 1095 const unsigned long *from; local 1170 const unsigned long *from; local 1246 const unsigned long *from; local 1305 const unsigned long *from; local 1356 const unsigned long *from; local 1546 const unsigned long *from; local [all...] |
H A D | mapselector.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 267 idn_mapselector_map(idn_mapselector_t ctx, const unsigned long *from, argument 274 assert(ctx != NULL && from != NULL && to != NULL); 276 TRACE(("idn_mapselector_map(from=\"%s\", tld=\"%s\", tolen=%d)\n", 277 idn__debug_ucs4xstring(from, 50), idn__debug_xstring(tld, 50), 295 fromlen = idn_ucs4_strlen(from); 316 memcpy(to, from, (fromlen + 1) * sizeof(*from)); 319 r = idn_mapper_map(mapper, from, t 336 idn_mapselector_map2(idn_mapselector_t ctx, const unsigned long *from, const unsigned long *tld, unsigned long *to, size_t tolen) argument [all...] |
H A D | normalizer.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 96 static idn_result_t normalizer_formkc(const unsigned long *from, 98 static idn_result_t normalizer_formkc_v320(const unsigned long *from, 249 idn_normalizer_normalize(idn_normalizer_t ctx, const unsigned long *from, argument 260 assert(ctx != NULL && from != NULL && to != NULL); 262 TRACE(("idn_normalizer_normalize(from=\"%s\", tolen=%d)\n", 263 idn__debug_ucs4xstring(from, 50), (int)tolen)); 266 if (tolen < idn_ucs4_strlen(from) + 1) { 270 idn_ucs4_strcpy(to, from); 425 normalizer_formkc(const unsigned long *from, unsigned long *to, size_t tolen) argument 435 normalizer_formkc_v320(const unsigned long *from, unsigned long *to, size_t tolen) argument [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | convert.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 133 idnConvReq(idn_resconf_t ctx, const char FAR *from, char FAR *to, size_t tolen) argument 139 idnLogPrintf(idn_log_level_trace, "idnConvReq(from=%-.100s)\n", from); 142 if (strlen(from) >= tolen) 144 strcpy(to, from); 148 r = idn_res_encodename(ctx, IDN_ENCODE_APP, from, to, tolen); 164 idnConvRsp(idn_resconf_t ctx, const char FAR *from, char FAR *to, size_t tolen) argument 168 idnLogPrintf(idn_log_level_trace, "idnConvRsp(from [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | util.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 70 char *from, char *to, int tolen) 81 r = idn_selectiveencode_findregion(from, ®ion_start, 87 if (tolen <= strlen(from)) 89 (void)strcpy(to, from); 102 len = region_start - from; 108 (void)memcpy(to, from, len); 135 from = region_end; 141 char *from, cha 69 selective_encode(idn_resconf_t conf, idn_action_t actions, char *from, char *to, int tolen) argument 140 selective_decode(idn_resconf_t conf, idn_action_t actions, char *from, char *to, int tolen) argument [all...] |