Searched refs:from (Results 1 - 25 of 100) sorted by relevance

1234

/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/mdn/
H A Dapi.h11 * 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 Dpunycode.h10 * 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 Drace.h10 * 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 Dapi.h11 * 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 Dunormalize.h11 * 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 Dfilemapper.h10 * 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 Dconverter.h10 * 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 Dmapper.h10 * 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 Dmapselector.h10 * 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 Dnormalizer.h10 * 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 Ducs4.h10 * 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 Dres.h11 * 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 Ddelimitermap.h10 * 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 Ducsset.h10 * 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 Dapi.c14 * 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 Drace.c14 * 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 Ducsset.c13 * 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 Dpunycode.c14 * 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 Ddelimitermap.c14 * 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 Dconverter.c14 * 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 Dres.c14 * 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 Dmapselector.c14 * 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 Dnormalizer.c14 * 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 Dconvert.c14 * 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 Dutil.c14 * 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, &region_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...]

Completed in 901 milliseconds

1234