/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | convert.c | 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 129 * convert local encoding to DNS encoding 133 idnConvReq(idn_resconf_t ctx, const char FAR *from, char FAR *to, size_t tolen) argument 144 strcpy(to, from); 148 r = idn_res_encodename(ctx, IDN_ENCODE_APP, from, to, tolen); 160 * convert DNS encoding to local encoding 164 idnConvRsp(idn_resconf_t ctx, const char FAR *from, char FAR *to, size_t tolen) argument 172 strcpy(to, fro [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/ |
H A D | api.c | 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 139 idn_encodename(idn_action_t actions, const char *from, char *to, size_t tolen) { argument 142 assert(from != NULL && to != NULL); 151 r = idn_res_encodename(default_conf, actions, from, to, tolen); 155 TRACE(("idn_encodename(): success (to=\"%s\")\n", 156 idn__debug_xstring(to, 50))); 164 idn_decodename(idn_action_t actions, const char *from, char *to, size_t tolen) { argument 167 assert(from != NULL && to ! 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 | 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 200 unsigned long *to, size_t tolen) { 210 unsigned long *to_org = to; 215 assert(ctx != NULL && from != NULL && to != NULL); 244 *to = '.'; 246 *to = *from; 248 to++; 256 *to 199 idn_delimitermap_map(idn_delimitermap_t ctx, const unsigned long *from, unsigned long *to, size_t tolen) argument [all...] |
H A D | mapselector.c | 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 268 const char *tld, unsigned long *to, size_t tolen) { 274 assert(ctx != NULL && from != NULL && to != NULL); 316 memcpy(to, from, (fromlen + 1) * sizeof(*from)); 319 r = idn_mapper_map(mapper, from, to, tolen); 327 TRACE(("idn_mapselector_map(): succcess (to=\"%s\")\n", 328 idn__debug_ucs4xstring(to, 50))); 337 const unsigned long *tld, unsigned long *to, 267 idn_mapselector_map(idn_mapselector_t ctx, const unsigned long *from, const char *tld, unsigned long *to, size_t tolen) argument 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 | 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 138 unsigned long *to, size_t tolen) 143 assert(ctx != NULL && from != NULL && to != NULL); 169 memcpy(to, ub.ucs, sizeof(*to) * ub.len); 170 to += ub.len; 186 *to = '\0'; 345 unsigned long *to, size_ 137 idn__filemapper_map(idn__filemapper_t ctx, const unsigned long *from, unsigned long *to, size_t tolen) argument 344 idn__filemapper_mapproc(void *ctx, const unsigned long *from, unsigned long *to, size_t tolen) argument [all...] |
H A D | mapper.c | 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 341 unsigned long *to, size_t tolen) { 351 assert(ctx != NULL && from != NULL && to != NULL); 361 idn_ucs4_strcpy(to, from); 377 * Choose destination area to restore the result of a mapping. 380 dst = to; 412 if (r == idn_buffer_overflow && dst != to) { 428 TRACE(("idn_mapper_map(): success (to 340 idn_mapper_map(idn_mapper_t ctx, const unsigned long *from, unsigned long *to, size_t tolen) argument [all...] |
H A D | nameprep.c | 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 134 /* Nothing to do. */ 139 unsigned long *to, size_t tolen) { 140 assert(handle != NULL && from != NULL && to != NULL); 164 *to++ = v; 177 *to = *mappeddata++; 178 *to |= *mappeddata++ << 8; 179 *to | 138 idn_nameprep_map(idn_nameprep_t handle, const unsigned long *from, unsigned long *to, size_t tolen) argument 336 idn_nameprep_mapproc(void *handle, const unsigned long *from, unsigned long *to, size_t tolen) argument [all...] |
H A D | normalizer.c | 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 unsigned long *to, size_t tolen); 99 unsigned long *to, 250 unsigned long *to, size_t tolen) { 260 assert(ctx != NULL && from != NULL && to != NULL); 270 idn_ucs4_strcpy(to, from); 287 * Choose destination area to restore the result of a mapping. 290 dst = to; 249 idn_normalizer_normalize(idn_normalizer_t ctx, const unsigned long *from, unsigned long *to, size_t tolen) argument 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 | 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 65 * signature, we have to choose one. In order to prevent the converted 81 * For this value not to be greater than 0xffffffff (since the calculation 108 const char *from, unsigned long *to, size_t tolen) { 109 unsigned long *to_org = to; 124 r = idn_ucs4_utf8toucs4(from, to, tolen); 145 to[uid 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 | 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 99 char *to, size_t tolen); 104 const char *from, unsigned long *to, size_t tolen) { 118 r = idn_ucs4_utf8toucs4(from, to, tolen); 150 * Convert to UCS4. 152 r = idn_ucs4_utf16toucs4(buf, to, tolen); 159 TRACE(("idn__race_decode(): succcess (to=\"%s\")\n", 160 idn__debug_ucs4xstring(to, 5 103 idn__race_decode(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument 242 idn__race_encode(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument 333 race_compress_encode(const unsigned short *p, int compress_mode, char *to, size_t tolen) argument [all...] |
H A D | ucs4.c | 8 * By using this file, you agree to the terms and conditions set forth bellow. 27 * distribution the "Copyright Notice" refers to the following language: 30 * 4. The name of JPNIC may not be used to endorse or promote products 101 /* Convert to surrogate pair */ 375 /* nothing to do */ ; 381 idn_ucs4_strcpy(unsigned long *to, const unsigned long *from) { argument 382 unsigned long *result = to; 385 *to++ = *from++; 386 *to = '\0'; 392 idn_ucs4_strcat(unsigned long *to, cons argument [all...] |
H A D | ucsmap.c | 8 * By using this file, you agree to the terms and conditions set forth bellow. 27 * distribution the "Copyright Notice" refers to the following language: 30 * 4. The name of JPNIC may not be used to endorse or promote products 64 * This module implements UCS 1-to-N mapping. 76 unsigned long ucs; /* code point to be mapped */ 180 WARNING(("idn_ucsmap_add: attempt to add to fixed map\n")); 212 * Zero 'maplen' is perfectly valid meaning one-to-zero 266 idn_ucsmap_map(idn_ucsmap_t ctx, unsigned long v, unsigned long *to, argument 273 assert(ctx != NULL && ctx->refcnt > 0 && to ! [all...] |
H A D | ucsset.c | 8 * By using this file, you agree to the terms and conditions set forth bellow. 27 * distribution the "Copyright Notice" refers to the following language: 30 * 4. The name of JPNIC may not be used to endorse or promote products 67 * 'idn_ucsset_addrange' are simply appended to the array. 74 unsigned long to; member in struct:__anon82 82 * the first and last element of the range array corresponding to the 92 * Code point to segment index conversion. 94 * Below is the function that maps a code point to the corresponding segment. 125 unsigned long to, char *func_name); 181 unsigned long to) 180 idn_ucsset_addrange(idn_ucsset_t ctx, unsigned long from, unsigned long to) argument 308 addrange(idn_ucsset_t ctx, unsigned long from, unsigned long to, char *func_name) argument [all...] |
H A D | unormalize.c | 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 83 unsigned long *to, size_t tolen); 99 const unsigned long *from, unsigned long *to, 101 assert(version != NULL && from != NULL && to != NULL && tolen >= 0); 104 return (normalize(version, 1, 1, from, to, tolen)); 109 const unsigned long *from, unsigned long *to, size_t tolen) { 149 * Note that characters up to it are 166 * If CUR points to 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 | 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 126 const char *to); 136 char *to, size_t tolen); 140 unsigned long *to, size_t tolen); 153 char *to, size_t tolen); 158 unsigned long *to, size_t tolen); 175 char *to, size_t tolen); 180 unsigned long *to, 420 idn_converter_convfromucs4(idn_converter_t ctx, const unsigned long *from, char *to, size_t tolen) 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 | 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 184 idn_res_encodename(idn_resconf_t ctx, idn_action_t actions, const char *from, char *to, size_t tolen) argument 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 1042 char *to = NULL; local 1097 unsigned long *to = NULL; local 1172 unsigned long *to = NULL; local 1248 unsigned long *to = NULL; local 1306 unsigned long *to = NULL; local 1357 unsigned long *to = NULL; local [all...] |
/bind-9.11.3/bin/named/ |
H A D | notify.c | 4 * This Source Code Form is subject to the terms of the Mozilla Public 145 isc_sockaddr_t *to = ns_client_getdestaddr(client); local 149 result = dns_zone_notifyreceive2(zone, from, to,
|
/bind-9.11.3/contrib/dlz/drivers/ |
H A D | dlz_postgres_driver.c | 4 * Permission to use, copy, modify, and distribute this software for any 21 * Permission to use, copy, modify, and distribute this software for any 39 * This Source Code Form is subject to the terms of the Mozilla Public 86 * Escaping arbitrary strings to get valid SQL strings/identifiers. 89 * length is the length of the buffer pointed to by 90 * from. The buffer at to must be at least 2*length + 1 characters 96 * to postgres_makesafe to avoid a naming collision. 113 postgres_makesafe(char *to, const char *from, size_t length) argument 116 char *target = to; [all...] |
H A D | dlz_odbc_driver.c | 4 * Permission to use, copy, modify, and distribute this software for any 21 * Permission to use, copy, modify, and distribute this software for any 39 * This Source Code Form is subject to the terms of the Mozilla Public 87 * structure to hold ODBC connection & statement 96 * Structure to hold everthing needed by this "instance" of the odbc driver 105 db_list_t *db; /* handle to a list of DB */ 109 dbinstance_t *db; /* handle to db */ 113 SQLHENV sql_env; /* handle to SQL environment */ 122 odbc_makesafe(char *to, const char *from, size_t length); 229 /*% Connects to databas 413 odbc_makesafe(char *to, const char *from, size_t length) argument [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | util.c | 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 70 char *from, char *to, int tolen) 89 (void)strcpy(to, from); 99 * We have found a region to convert. 108 (void)memcpy(to, from, len); 109 to += len; 121 r = idn_res_encodename(conf, actions, region_start, to, tolen); 131 len = strlen(to); 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 | 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 110 idnconv_strbuf_t *to, 438 * not to try converting newlines, which will result 444 * Convert input line to UTF-8. 460 errormsg("conversion to utf-8 failed at line %d\n", 466 * Perform local mapping and NAMEPREP, and convert to 577 * not to try converting newlines, which will result 584 * encoding and convert it to UT 679 convert_line(idnconv_strbuf_t *from, idnconv_strbuf_t *to, idn_resconf_t conf, idn_action_t actions, int flags) argument [all...] |
/bind-9.11.3/lib/isccc/ |
H A D | cc.c | 4 * This Source Code Form is subject to the terms of the Mozilla Public 10 * Permission to use, copy, modify, and/or distribute this software for any 395 * to encode it. 543 * to identify which algorithm is in use. 701 createmessage(isc_uint32_t version, const char *from, const char *to, argument 744 if (to != NULL && 745 isccc_cc_definestring(_ctrl, "_to", to) == 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, 1060 * we can write them to [all...] |
/bind-9.11.3/lib/dns/ |
H A D | masterdump.c | 4 * This Source Code Form is subject to the terms of the Mozilla Public 75 * very large, the tabs and spaces needed to reach it will not fit. 245 * Output tabs and spaces to go from column '*current' to 246 * column 'to', and update '*current' to reflect the new 250 indent(unsigned int *current, unsigned int to, int tabwidth, argument 260 if (to < from + 1) 261 to = from + 1; 263 ntabs = to / tabwidt [all...] |
H A D | zone.c | 4 * This Source Code Form is subject to the terms of the Mozilla Public 372 * response policy data to be relayed to the database 452 /* XXX MPA these may need to go back into zone.h */ 464 #define DNS_ZONEFLG_NEEDNOTIFY 0x00000400U /*%< need to send out notify 468 #define DNS_ZONEFLG_NOMASTERS 0x00001000U /*%< an attempt to refresh a 492 #define DNS_ZONEFLG_NEEDSTARTUPNOTIFY 0x80000000U /*%< need to send out notify 493 * due to the zone just 679 * 'seen_nsec' will be set to true if, while iterating the zone to creat 13079 dns_zone_notifyreceive2(dns_zone_t *zone, isc_sockaddr_t *from, isc_sockaddr_t *to, dns_message_t *msg) argument [all...] |