/bind-9.11.3/util/ |
H A D | models.c | 20 void *isc__mem_get(void *mem, unsigned int size FLARG) { 22 __coverity_negative_sink__(size); 25 return (__coverity_alloc__(size)); 28 void isc__mem_put(void *mem, void *ptr, unsigned int size FLARG) { 33 void isc__mem_putanddetach(void *mem, void *ptr, unsigned int size FLARG) { 38 void *isc__mem_allocate(void *mem, unsigned int size FLARG) { 40 __coverity_negative_sink__(size); 43 return (__coverity_alloc__(size)); 48 void * isc__mem_reallocate(void *mem, void *ptr, size_t size FLARG) { 53 if (size > 83 unsigned int size; local [all...] |
H A D | memleak.pl | 17 $gets{$1.$2} = $_ if (/add (?:0x)?([0-9a-f]+) size (?:0x)?([0-9]+) file/); 18 delete $gets{$1.$2} if /del (?:0x)?([0-9a-f]+) size (?:0x)?([0-9]+) file/;
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | dump.c | 55 dumpAddr(const char FAR *addr, int len, char *buff, size_t size) { argument 67 if (strlen(digits) >= size) { 72 size -= strlen(digits); 78 dumpHost(const struct hostent FAR *hp, char *buff, size_t size) { argument 82 if (strlen(hp->h_name) + 1 < size) { 85 size -= strlen(p); 87 dumpAddr(hp->h_addr_list[0], hp->h_length, p, size); 92 dumpName(const char *name, char *buff, size_t size) { argument 98 if (size < 2) { 102 size [all...] |
/bind-9.11.3/bin/python/isc/tests/test-policies/ |
H A D | 01-keysize.pol | 19 key-size ksk 2048; 20 key-size zsk 1024; 26 key-size ksk 2048; 27 key-size zsk 1024; 36 key-size ksk 511; 41 key-size ksk 1024; 42 key-size zsk 768; 47 key-size ksk 1024; 48 key-size zsk 769;
|
/bind-9.11.3/lib/isc/ |
H A D | string.c | 117 isc_string_copy(char *target, size_t size, const char *source) { argument 118 REQUIRE(size > 0U); 120 if (strlcpy(target, source, size) >= size) { 121 memset(target, ISC_STRING_MAGIC, size); 125 ENSURE(strlen(target) < size); 131 isc_string_copy_truncate(char *target, size_t size, const char *source) { argument 132 REQUIRE(size > 0U); 134 strlcpy(target, source, size); 136 ENSURE(strlen(target) < size); 140 isc_string_append(char *target, size_t size, const char *source) argument 155 isc_string_append_truncate(char *target, size_t size, const char *source) argument 165 isc_string_printf(char *target, size_t size, const char *format, ...) argument 186 isc_string_printf_truncate(char *target, size_t size, const char *format, ...) argument 238 isc_string_strlcpy(char *dst, const char *src, size_t size) argument 264 isc_string_strlcat(char *dst, const char *src, size_t size) argument [all...] |
H A D | event.c | 35 isc_taskaction_t action, void *arg, size_t size) 39 REQUIRE(size >= sizeof(struct isc_event)); 42 event = isc_mem_get(mctx, size); 46 ISC_EVENT_INIT(event, size, 0, NULL, type, action, arg, 54 isc_taskaction_t action, const void *arg, size_t size) 59 REQUIRE(size >= sizeof(struct isc_event)); 62 event = isc_mem_get(mctx, size); 80 ISC_EVENT_INIT(event, size, 0, NULL, type, action, deconst_arg, 34 isc_event_allocate(isc_mem_t *mctx, void *sender, isc_eventtype_t type, isc_taskaction_t action, void *arg, size_t size) argument 53 isc_event_constallocate(isc_mem_t *mctx, void *sender, isc_eventtype_t type, isc_taskaction_t action, const void *arg, size_t size) argument
|
H A D | inet_ntop.c | 36 size_t size); 40 size_t size); 44 * isc_net_ntop(af, src, dst, size) 52 isc_net_ntop(int af, const void *src, char *dst, size_t size) argument 56 return (inet_ntop4(src, dst, size)); 59 return (inet_ntop6(src, dst, size)); 69 * inet_ntop4(src, dst, size) 81 inet_ntop4(const unsigned char *src, char *dst, size_t size) argument 89 if (n < 0 || (size_t)n >= size) { 93 strlcpy(dst, tmp, size); 106 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument [all...] |
/bind-9.11.3/lib/isc/unix/ |
H A D | meminfo.c | 27 isc_uint64_t size = 0; local 28 size_t len = sizeof(size); 29 if (sysctl(mib, 2, &size, &len, NULL, 0) == 0) 30 return (size);
|
H A D | strerror.c | 38 isc__strerror(int num, char *buf, size_t size) { argument 51 snprintf(buf, size, "%s", msg); 53 snprintf(buf, size, "Unknown error: %u", unum); 61 snprintf(buf, size, "%s", sys_errlist[num]); 63 snprintf(buf, size, "Unknown error: %u", unum);
|
/bind-9.11.3/lib/isc/include/isc/ |
H A D | string.h | 48 isc_string_copy(char *target, size_t size, const char *source); 51 * pointer to a string of at least 'size' bytes. 54 * 'target' is a pointer to a char[] of at least 'size' bytes. 55 * 'size' an integer > 0. 61 * than 'size' bytes (including NUL). 73 isc_string_copy_truncate(char *target, size_t size, const char *source); 76 * pointer to a string of at least 'size' bytes. 79 * 'target' is a pointer to a char[] of at least 'size' bytes. 80 * 'size' an integer > 0. 85 * than 'size' byte [all...] |
/bind-9.11.3/lib/lwres/ |
H A D | print.c | 40 lwres__print_snprintf(char *str, size_t size, const char *format, ...) { argument 45 ret = vsnprintf(str, size, format, ap); 56 lwres__print_vsnprintf(char *str, size_t size, const char *format, va_list ap) { argument 92 if (size > 1U) { 94 size--; 167 if (size > 1U) { 169 size--; 333 while (pad > 0 && size > 1U) { 335 size--; 340 while (*cp != '\0' && size > [all...] |
H A D | lwinetntop.c | 34 size_t size); 38 size_t size); 42 * lwres_net_ntop(af, src, dst, size) 50 lwres_net_ntop(int af, const void *src, char *dst, size_t size) { argument 53 return (inet_ntop4(src, dst, size)); 56 return (inet_ntop6(src, dst, size)); 66 * inet_ntop4(src, dst, size) 77 inet_ntop4(const unsigned char *src, char *dst, size_t size) { argument 83 if (len >= size) { 93 * inet_ntop6(src, dst, size) 100 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument [all...] |
/bind-9.11.3/lib/isc/include/pk11/ |
H A D | internal.h | 20 void *pk11_mem_get(size_t size); 22 void pk11_mem_put(void *ptr, size_t size);
|
/bind-9.11.3/lib/dns/ |
H A D | key.c | 29 int size; local 35 size = source->length; 38 return ((p[size - 3] << 8) + p[size - 2]); 40 for (ac = 0; size > 1; size -= 2, p += 2) 43 if (size > 0) 54 int size; local 60 size = source->length; 63 return ((p[size [all...] |
H A D | spnego.c | 235 size_t * val, size_t * size); 239 octet_string * data, size_t * size); 242 oid * data, size_t * size); 246 int *tag, size_t * size); 251 int tag, size_t * size); 255 size_t * length_ret, size_t * size); 259 oid * k, size_t * size); 262 decode_enumerated(const unsigned char *p, size_t len, void *num, size_t *size); 278 const oid * data, size_t * size); 772 * are able to read, `ret' were the value will be returned and `size' wher 777 der_get_unsigned(const unsigned char *p, size_t len, unsigned *ret, size_t *size) argument 792 der_get_int(const unsigned char *p, size_t len, int *ret, size_t *size) argument 810 der_get_length(const unsigned char *p, size_t len, size_t *val, size_t *size) argument 848 der_get_octet_string(const unsigned char *p, size_t len, octet_string *data, size_t *size) argument 865 der_get_oid(const unsigned char *p, size_t len, oid *data, size_t *size) argument 903 der_get_tag(const unsigned char *p, size_t len, Der_class *xclass, Der_type *type, int *tag, size_t *size) argument 918 der_match_tag(const unsigned char *p, size_t len, Der_class xclass, Der_type type, int tag, size_t *size) argument 943 der_match_tag_and_length(const unsigned char *p, size_t len, Der_class xclass, Der_type type, int tag, size_t *length_ret, size_t *size) argument 969 decode_enumerated(const unsigned char *p, size_t len, void *num, size_t *size) argument 1000 decode_octet_string(const unsigned char *p, size_t len, octet_string *k, size_t *size) argument 1040 decode_oid(const unsigned char *p, size_t len, oid *k, size_t *size) argument 1121 der_put_unsigned(unsigned char *p, size_t len, unsigned val, size_t *size) argument 1147 der_put_int(unsigned char *p, size_t len, int val, size_t *size) argument 1186 der_put_length(unsigned char *p, size_t len, size_t val, size_t *size) argument 1209 der_put_octet_string(unsigned char *p, size_t len, const octet_string *data, size_t *size) argument 1223 der_put_oid(unsigned char *p, size_t len, const oid *data, size_t *size) argument 1253 der_put_tag(unsigned char *p, size_t len, Der_class xclass, Der_type type, int tag, size_t *size) argument 1264 der_put_length_and_tag(unsigned char *p, size_t len, size_t len_val, Der_class xclass, Der_type type, int tag, size_t *size) argument 1289 encode_enumerated(unsigned char *p, size_t len, const void *data, size_t *size) argument 1314 encode_octet_string(unsigned char *p, size_t len, const octet_string *k, size_t *size) argument 1339 encode_oid(unsigned char *p, size_t len, const oid *k, size_t *size) argument [all...] |
/bind-9.11.3/lib/dns/include/dns/ |
H A D | secalg.h | 62 dns_secalg_format(dns_secalg_t alg, char *cp, unsigned int size);
|
H A D | dsdigest.h | 62 dns_dsdigest_format(dns_dsdigest_t typ, char *cp, unsigned int size);
|
/bind-9.11.3/lib/dns/rdata/generic/ |
H A D | loc_29.h | 19 isc_uint8_t size; member in struct:dns_rdata_loc_0
|
/bind-9.11.3/lib/lwres/include/lwres/ |
H A D | string.h | 25 size_t lwres_strlcpy(char *dst, const char *src, size_t size);
|
/bind-9.11.3/bin/tests/ |
H A D | lwresconf_test.c | 36 mem_alloc(void *arg, size_t size) { argument 37 return (isc_mem_get(arg, size)); 41 mem_free(void *arg, void *mem, size_t size) { argument 42 isc_mem_put(arg, mem, size);
|
/bind-9.11.3/bin/tests/system/checkconf/ |
H A D | bad-rate-limit-max-table-size.conf | 11 max-table-size 30; // less than min-table-size default of 500
|
/bind-9.11.3/lib/isc/tests/ |
H A D | print_test.c | 51 size_t size; local 95 size = 1000; 97 n = isc_print_snprintf(buf, sizeof(buf), "%zu", size); 101 size = 1000; 103 n = isc_print_snprintf(buf, sizeof(buf), "%zx", size); 107 size = 1000; 109 n = isc_print_snprintf(buf, sizeof(buf), "%zo", size); 127 size_t size; local 135 size = 1000; 136 n = isc_print_fprintf(f, "%zu", size); [all...] |
/bind-9.11.3/bin/dnssec/ |
H A D | dnssec-keygen.c | 92 fprintf(stderr, " -b <key size in bits>:\n"); 113 fprintf(stderr, " (if using the default algorithm, key size\n" 146 fprintf(stderr, " usage | trace | record | size | mctx\n"); 180 dsa_size_ok(int size) { argument 181 return (ISC_TF(size >= 512 && size <= 1024 && size % 64 == 0)); 224 int protocol = -1, size = -1, signatory = 0; local 286 if (strcasecmp(isc_commandline_argument, "size") == 0) 310 size [all...] |
/bind-9.11.3/unit/atf-src/atf-c++/detail/ |
H A D | process_test.cpp | 49 std::size_t size = 0; local 52 size++; 54 return size; 89 ATF_REQUIRE_EQ(argv.size(), 0); 96 ATF_REQUIRE_EQ(argv.size(), 1); 104 ATF_REQUIRE_EQ(argv.size(), 3); 123 ATF_REQUIRE_EQ(argv.size(), 0); 131 ATF_REQUIRE_EQ(argv.size(), 1); 142 ATF_REQUIRE_EQ(argv.size(), 3); 159 ATF_REQUIRE_EQ(argv.size(), [all...] |
/bind-9.11.3/unit/atf-src/tools/ |
H A D | process_test.cpp | 52 std::size_t size = 0; local 55 size++; 57 return size; 95 ATF_REQUIRE_EQ(argv.size(), 0); 102 ATF_REQUIRE_EQ(argv.size(), 1); 110 ATF_REQUIRE_EQ(argv.size(), 3); 129 ATF_REQUIRE_EQ(argv.size(), 0); 137 ATF_REQUIRE_EQ(argv.size(), 1); 148 ATF_REQUIRE_EQ(argv.size(), 3); 165 ATF_REQUIRE_EQ(argv.size(), [all...] |