/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/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 | 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 | 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 | filemapper.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 137 idn__filemapper_map(idn__filemapper_t ctx, const unsigned long *from, argument 143 assert(ctx != NULL && from != NULL && to != NULL); 145 TRACE(("idn__filemapper_map(from=\"%s\")\n", 146 idn__debug_ucs4xstring(from, 50))); 151 while (*from != '\0') { 153 r = idn_ucsmap_map(ctx->map, *from, ub.ucs, ub.size, &ub.len); 176 from++; 344 idn__filemapper_mapproc(void *ctx, const unsigned long *from, argument [all...] |
H A D | mapper.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 340 idn_mapper_map(idn_mapper_t ctx, const unsigned long *from, argument 351 assert(ctx != NULL && from != NULL && to != NULL); 353 TRACE(("idn_mapper_map(from=\"%s\", tolen=%d)\n", 354 idn__debug_ucs4xstring(from, 50), (int)tolen)); 357 if (tolen < idn_ucs4_strlen(from) + 1) { 361 idn_ucs4_strcpy(to, from); 369 src = (void *)from; 370 dstlen = idn_ucs4_strlen(from) [all...] |
H A D | nameprep.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 138 idn_nameprep_map(idn_nameprep_t handle, const unsigned long *from, argument 140 assert(handle != NULL && from != NULL && to != NULL); 142 TRACE(("idn_nameprep_map(ctx=%s, from=\"%s\")\n", 143 handle->version, idn__debug_ucs4xstring(from, 50))); 145 while (*from != '\0') { 146 unsigned long v = *from; 193 from++; 336 idn_nameprep_mapproc(void *handle, const unsigned long *from, 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...] |
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 | 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 | ucs4.c | 13 * license is obtained from Japan Network Information Center ("JPNIC"), 31 * derived from this Software without specific prior written approval of 381 idn_ucs4_strcpy(unsigned long *to, const unsigned long *from) { argument 384 while (*from != '\0') 385 *to++ = *from++; 392 idn_ucs4_strcat(unsigned long *to, const unsigned long *from) { argument 398 while (*from != '\0') 399 *to++ = *from++;
|
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 | unormalize.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 82 const unsigned long *from, 99 const unsigned long *from, unsigned long *to, 101 assert(version != NULL && from != NULL && to != NULL && tolen >= 0); 102 TRACE(("idn__unormalize_formkc(from=\"%s\", tolen=%d)\n", 103 idn__debug_ucs4xstring(from, 50), tolen)); 104 return (normalize(version, 1, 1, from, to, tolen)); 109 const unsigned long *from, unsigned long *to, size_t tolen) { 119 while (*from ! 98 idn__unormalize_formkc(idn__unicode_version_t version, const unsigned long *from, unsigned long *to, size_t tolen) argument 108 normalize(idn__unicode_version_t version, int do_composition, int compat, const unsigned long *from, unsigned long *to, size_t tolen) argument [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...] |
/bind-9.11.3/bin/named/ |
H A D | notify.c | 144 isc_sockaddr_t *from = ns_client_getsockaddr(client); local 149 result = dns_zone_notifyreceive2(zone, from, to,
|
/bind-9.11.3/contrib/dlz/drivers/ |
H A D | dlz_postgres_driver.c | 90 * from. The buffer at to must be at least 2*length + 1 characters 94 * This function was borrowed directly from PostgreSQL's libpq. 105 * The copyright statements from the original file containing this 113 postgres_makesafe(char *to, const char *from, size_t length) argument 115 const char *source = from; 303 /* find an available DBI from the list */ 333 * if the query was not passed in from the config file 779 /* run the query and get the result set from the database. */ 826 * Run our query, and get a result set from the database. 878 /* run the query and get the result set from th [all...] |
H A D | dlz_odbc_driver.c | 122 odbc_makesafe(char *to, const char *from, size_t length); 164 /* disconnect from database & free connection handle */ 192 /* disconnect from database, free connection handle */ 399 * from. The buffer at to must be at least 2*length + 1 characters 403 * This function was borrowed directly from PostgreSQL's libpq. 405 * The copyright statements from the original file containing this 413 odbc_makesafe(char *to, const char *from, size_t length) argument 415 const char *source = from; 463 * to the caller so they can get the data from the result set from i [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...] |
H A D | idnconv.c | 14 * license is obtained from Japan Network Information Center ("JPNIC"), 32 * derived from this Software without specific prior written approval of 109 static idn_result_t convert_line(idnconv_strbuf_t *from, 679 convert_line(idnconv_strbuf_t *from, idnconv_strbuf_t *to, argument 683 char *from_str = strbuf_get(from);
|
/bind-9.11.3/lib/isccc/ |
H A D | cc.c | 701 createmessage(isc_uint32_t version, const char *from, const char *to, argument 741 if (from != NULL && 742 isccc_cc_definestring(_ctrl, "_frm", from) == NULL) 759 isccc_cc_createmessage(isc_uint32_t version, const char *from, const char *to, argument 763 return (createmessage(version, from, to, serial, now, expires,
|
/bind-9.11.3/bin/dig/ |
H A D | host.c | 170 received(int bytes, isc_sockaddr_t *from, dig_query_t *query) { argument 176 isc_sockaddr_format(from, fromtext, sizeof(fromtext)); 179 printf("Received %u bytes from %s in %d ms\n",
|
H A D | dig.c | 222 " +[no]trace (Trace delegation down from root [+dnssec])\n" 240 * Callback from dighost.c to print the received message. 243 received(int bytes, isc_sockaddr_t *from, dig_query_t *query) { argument 254 isc_sockaddr_format(from, fromtext, sizeof(fromtext)); 304 "from %s(%s) in %ld us\n\n", 311 "from %s(%s) in %ld ms\n\n", 320 * Callback from dighost.c to print that it is trying a server. 362 ADD_STRING(buf, " from server "); 505 * Callback from dighost.c to print the reply from [all...] |
H A D | nslookup.c | 402 received(int bytes, isc_sockaddr_t *from, dig_query_t *query) argument 405 UNUSED(from); 523 puts("\nAuthoritative answers can be found from:");
|
/bind-9.11.3/lib/dns/ |
H A D | masterdump.c | 245 * Output tabs and spaces to go from column '*current' to 255 unsigned int from; local 258 from = *current; 260 if (to < from + 1) 261 to = from + 1; 263 ntabs = to / tabwidth - from / tabwidth; 283 from = (to / tabwidth) * tabwidth; 286 nspaces = to - from; 852 * hold the result from dns_ttl_totext(). If more than that is needed,
|