| /bind-9.6-ESV-R11/bin/tests/ |
| H A D | lwresconf_test.c | 32 CHECK(int val, const char *msg) { argument 33 if (val != 0) { 34 fprintf(stderr, "%s returned %d\n", msg, val); 44 mem_alloc(void *arg, size_t size) { argument 45 return (isc_mem_get(arg, size)); 49 mem_free(void *arg, void *mem, size_t size) { argument 50 isc_mem_put(arg, mem, size);
|
| H A D | lwres_test.c | 35 CHECK(int val, const char *msg) { argument 36 if (val != 0) { 37 fprintf(stderr, "%s returned %d\n", msg, val); 234 mem_alloc(void *arg, size_t size) { argument 235 return (isc_mem_get(arg, size)); 239 mem_free(void *arg, void *mem, size_t size) { argument 240 isc_mem_put(arg, mem, size);
|
| /bind-9.6-ESV-R11/bin/dnssec/ |
| H A D | dnssectool.c | 101 type_format(const dns_rdatatype_t type, char *cp, unsigned int size) { argument 106 isc_buffer_init(&b, cp, size - 1); 114 alg_format(const dns_secalg_t alg, char *cp, unsigned int size) { argument 119 isc_buffer_init(&b, cp, size - 1); 127 sig_format(dns_rdata_rrsig_t *sig, char *cp, unsigned int size) { argument 133 snprintf(cp, size, "%s/%s/%d", namestr, algstr, sig->keyid); 137 key_format(const dst_key_t *key, char *cp, unsigned int size) { argument 143 snprintf(cp, size, "%s/%s/%d", namestr, algstr, dst_key_id(key)); 270 isc_int64_t val, offset; local 278 val [all...] |
| /bind-9.6-ESV-R11/bin/tests/dst/ |
| H A D | t_dst.c | 332 generate(int alg, isc_mem_t *mctx, int size, int *nfails) { argument 336 ret = dst_key_generate(dns_rootname, alg, size, 0, 0, 0, 493 unsigned char val; local 510 val = ((c >> 4 ) & 0x0f); 511 if ((0 <= val) && (val <= 9)) 512 val = '0' + val; 514 val = 'A' + val 564 unsigned char val; local [all...] |
| /bind-9.6-ESV-R11/lib/dns/ |
| H A D | rcode.c | 415 unsigned int val; local 419 val = strtoul(buf, &endp, 10); 420 if (*endp == '\0' && val <= 0xffff) { 421 *classp = (dns_rdataclass_t)val; 471 char *array, unsigned int size) 476 if (size == 0U) 479 isc_buffer_init(&buf, array, size); 491 strlcpy(array, "<unknown>", size); 470 dns_rdataclass_format(dns_rdataclass_t rdclass, char *array, unsigned int size) argument
|
| H A D | spnego_asn1.c | 85 MechType *val; member in struct:MechTypeList 177 encode_MechType(unsigned char *p, size_t len, const MechType * data, size_t * size) argument 185 *size = ret; 192 decode_MechType(const unsigned char *p, size_t len, MechType * data, size_t * size) argument 201 if (size) 202 *size = ret; 225 encode_MechTypeList(unsigned char *p, size_t len, const MechTypeList * data, size_t * size) argument 234 e = encode_MechType(p, len, &(data)->val[i], &l); 240 *size = ret; 245 decode_MechTypeList(const unsigned char *p, size_t len, MechTypeList * data, size_t * size) argument 308 encode_ContextFlags(unsigned char *p, size_t len, const ContextFlags * data, size_t * size) argument 355 decode_ContextFlags(const unsigned char *p, size_t len, ContextFlags * data, size_t * size) argument 414 encode_NegTokenInit(unsigned char *p, size_t len, const NegTokenInit * data, size_t * size) argument 462 decode_NegTokenInit(const unsigned char *p, size_t len, NegTokenInit * data, size_t * size) argument 637 encode_NegTokenResp(unsigned char *p, size_t len, const NegTokenResp * data, size_t * size) argument 686 decode_NegTokenResp(const unsigned char *p, size_t len, NegTokenResp * data, size_t * size) argument [all...] |
| H A D | acache.c | 781 isc_uint32_t val; local 790 isc_random_get(&val); 792 return (ISC_TF(val % 4 == 0)); 793 return (ISC_TF(val % 8 == 0)); 1785 dns_acache_setcachesize(dns_acache_t *acache, isc_uint32_t size) { argument 1791 if (size != 0 && size < DNS_ACACHE_MINSIZE) 1792 size = DNS_ACACHE_MINSIZE; 1794 hiwater = size - (size >> [all...] |
| H A D | journal.c | 49 * \li A fixed-size header of type journal_rawheader_t. 57 * field of zero. The size of the index can vary between 59 * of a file. The size can be zero. 125 encode_uint32(isc_uint32_t val, unsigned char *p) { argument 126 p[0] = (isc_uint8_t)(val >> 24); 127 p[1] = (isc_uint8_t)(val >> 16); 128 p[2] = (isc_uint8_t)(val >> 8); 129 p[3] = (isc_uint8_t)(val >> 0); 197 * The header is of a fixed size, with some spare room for future 217 /* Pad the header to a fixed size 226 unsigned char size[4]; /*%< In bytes, excluding header. */ member in struct:__anon114 236 unsigned char size[4]; /*%< In bytes, excluding header. */ member in struct:__anon115 262 isc_uint32_t size; member in struct:__anon118 271 isc_uint32_t size; member in struct:__anon119 455 journal_write_xhdr(dns_journal_t *j, isc_uint32_t size, isc_uint32_t serial0, isc_uint32_t serial1) argument 488 int size; local 992 unsigned int size; local 1539 size_buffer(isc_mem_t *mctx, isc_buffer_t *b, unsigned size) argument 2021 unsigned int size = 0; local [all...] |
| H A D | rdata.c | 242 unsigned int val; local 247 val = 0; 255 val <<= 4; 256 val |= (pch - xdigits); 266 *tp++ = (unsigned char) (val >> 8) & 0xff; 267 *tp++ = (unsigned char) val & 0xff; 269 val = 0; 277 *tp++ = (unsigned char) (val >> 8) & 0xff; 278 *tp++ = (unsigned char) val & 0xff; 1054 unsigned int val; local 1078 dns_rdatatype_format(dns_rdatatype_t rdtype, char *array, unsigned int size) argument [all...] |
| H A D | spnego.c | 244 size_t * val, size_t * size); 248 octet_string * data, size_t * size); 251 oid * data, size_t * size); 255 int *tag, size_t * size); 260 int tag, size_t * size); 264 size_t * length_ret, size_t * size); 268 oid * k, size_t * size); 271 decode_enumerated(const unsigned char *p, size_t len, void *num, size_t *size); 277 der_put_int(unsigned char *p, size_t len, int val, size_ 780 der_get_unsigned(const unsigned char *p, size_t len, unsigned *ret, size_t *size) argument 783 unsigned val = 0; local 795 der_get_int(const unsigned char *p, size_t len, int *ret, size_t *size) argument 798 int val = 0; local 813 der_get_length(const unsigned char *p, size_t len, size_t *val, size_t *size) argument 851 der_get_octet_string(const unsigned char *p, size_t len, octet_string *data, size_t *size) argument 868 der_get_oid(const unsigned char *p, size_t len, oid *data, size_t *size) argument 906 der_get_tag(const unsigned char *p, size_t len, Der_class *class, Der_type *type, int *tag, size_t *size) argument 921 der_match_tag(const unsigned char *p, size_t len, Der_class class, Der_type type, int tag, size_t *size) argument 946 der_match_tag_and_length(const unsigned char *p, size_t len, Der_class class, Der_type type, int tag, size_t *length_ret, size_t *size) argument 972 decode_enumerated(const unsigned char *p, size_t len, void *num, size_t *size) argument 1003 decode_octet_string(const unsigned char *p, size_t len, octet_string *k, size_t *size) argument 1043 decode_oid(const unsigned char *p, size_t len, oid *k, size_t *size) argument 1093 len_unsigned(unsigned val) argument 1124 der_put_unsigned(unsigned char *p, size_t len, unsigned val, size_t *size) argument 1150 der_put_int(unsigned char *p, size_t len, int val, size_t *size) argument 1189 der_put_length(unsigned char *p, size_t len, size_t val, size_t *size) argument 1212 der_put_octet_string(unsigned char *p, size_t len, const octet_string *data, size_t *size) argument 1226 der_put_oid(unsigned char *p, size_t len, const oid *data, size_t *size) argument 1256 der_put_tag(unsigned char *p, size_t len, Der_class class, Der_type type, int tag, size_t *size) argument 1267 der_put_length_and_tag(unsigned char *p, size_t len, size_t len_val, Der_class class, Der_type type, int tag, size_t *size) argument 1292 encode_enumerated(unsigned char *p, size_t len, const void *data, size_t *size) argument 1317 encode_octet_string(unsigned char *p, size_t len, const octet_string *k, size_t *size) argument 1342 encode_oid(unsigned char *p, size_t len, const oid *k, size_t *size) argument [all...] |
| H A D | rbtdb.c | 1270 unsigned int size; local 1296 size = sizeof(*rdataset); 1298 size = dns_rdataslab_size((unsigned char *)rdataset, 1300 isc_mem_put(mctx, rdataset, size); 2838 unsigned int count, size; local 2874 size = raw[0] * 256 + raw[1]; 2881 region.length = size; 2882 raw += size; 4989 isc_uint32_t val; local 4991 isc_random_get(&val); [all...] |
| H A D | zone.c | 1064 size_t size = 0; local 1074 size = (zone->db_argc + 1) * sizeof(char *); 1076 size += strlen(zone->db_argv[i]) + 1; 1077 mem = isc_mem_allocate(mctx, size); 6696 dns_zone_setminrefreshtime(dns_zone_t *zone, isc_uint32_t val) { argument 6698 REQUIRE(val > 0); 6700 zone->minrefresh = val; 6704 dns_zone_setmaxrefreshtime(dns_zone_t *zone, isc_uint32_t val) { argument 6706 REQUIRE(val > 0); 6708 zone->maxrefresh = val; 6712 dns_zone_setminretrytime(dns_zone_t *zone, isc_uint32_t val) argument 6720 dns_zone_setmaxretrytime(dns_zone_t *zone, isc_uint32_t val) argument 9346 dns_zone_setjournalsize(dns_zone_t *zone, isc_int32_t size) argument [all...] |
| /bind-9.6-ESV-R11/bin/named/ |
| H A D | config.c | 100 edns-udp-size 4096;\n\ 101 max-udp-size 4096;\n\ 134 max-cache-size 0;\n\ 142 max-acache-size 16M;\n\ 164 # max-ixfr-log-size <obsolete>\n\ 183 max-journal-size unlimited;\n\ 369 isc_uint32_t val = cfg_obj_asuint32(portobj); local 370 if (val > ISC_UINT16_MAX) { 372 "port '%u' out of range", val); 375 port = (in_port_t) val; 473 isc_uint32_t val = cfg_obj_asuint32(portobj); local 749 isc_uint16_t size; member in struct:keyalgorithms [all...] |
| /bind-9.6-ESV-R11/bin/nsupdate/ |
| H A D | nsupdate.c | 349 mem_alloc(void *arg, size_t size) { argument 350 return (isc_mem_get(arg, size)); 354 mem_free(void *arg, void *mem, size_t size) { argument 355 isc_mem_put(arg, mem, size); 2352 isc_uint32_t val = 0; local 2402 isc_random_get(&val); 2404 val, namestr);
|
| /bind-9.6-ESV-R11/lib/bind9/ |
| H A D | check.c | 184 isc_uint32_t val = cfg_obj_asuint32(obj); local 185 if (val > ISC_UINT16_MAX) { 187 "port '%u' out of range", val); 213 isc_uint32_t val = cfg_obj_asuint32(obj); local 214 if (val > ISC_UINT16_MAX) { 216 "port '%u' out of range", val); 528 isc_uint32_t val; local 533 val = cfg_obj_asuint32(obj); 534 if (val > intervals[i].max) { 537 intervals[i].name, val, 1393 isc_uint16_t size; member in struct:keyalgorithms [all...] |
| /bind-9.6-ESV-R11/lib/isc/win32/ |
| H A D | socket.c | 214 * The size to raise the receive buffer to. 254 unsigned int len; // the actual size of this buffer 1485 sock->recvbuf.base = isc_mem_get(manager->mctx, sock->recvbuf.len); // max buffer size 1649 int size; local 1770 optlen = sizeof(size); 1772 (void *)&size, &optlen) >= 0 && 1773 size < RCVBUFSIZE) { 1774 size = RCVBUFSIZE; 1776 (void *)&size, sizeof(size)); 3728 isc_boolean_t val; local [all...] |
| /bind-9.6-ESV-R11/lib/isc/unix/ |
| H A D | socket.c | 125 * of) FD_SETSIZE descriptors, and the default size should in fact be fine in 276 * The size to raise the receive buffer to (from BIND 8). 2100 int size; local 2338 optlen = sizeof(size); 2340 (void *)&size, &optlen) >= 0 && 2341 size < RCVBUFSIZE) { 2342 size = RCVBUFSIZE; 2344 (void *)&size, sizeof(size)) == -1) { 2348 sock->fd, size, 5410 isc_boolean_t val; local [all...] |