/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);
|
H A D | stdio.c | 78 isc_stdio_read(void *ptr, size_t size, size_t nmemb, FILE *f, size_t *nret) { argument 83 r = fread(ptr, size, nmemb, f); 96 isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f, argument 103 r = fwrite(ptr, size, nmemb, f);
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | util.h | 54 size_t size; member in struct:__anon92 92 extern char *strbuf_alloc(idnconv_strbuf_t *buf, size_t size);
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | tcpmsg.h | 23 isc_uint16_t size; member in struct:dns_tcpmsg 61 * Set the maximum packet size to "maxsize"
|
/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/isc/ |
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...] |
H A D | taskpool.c | 108 isc_taskpool_expand(isc_taskpool_t **sourcep, unsigned int size, argument 118 if (size > pool->ntasks) { 123 result = alloc_pool(pool->tmgr, pool->mctx, size, 135 for (i = pool->ntasks; i < size; i++) {
|
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...] |
/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...] |
H A D | mem_test.c | 23 default_memalloc(void *arg, size_t size) { argument 25 if (size == 0U) 26 size = 1; 27 return (malloc(size));
|
H A D | ht_test.c | 29 default_memalloc(void *arg, size_t size) { argument 31 if (size == 0U) 32 size = 1; 33 return (malloc(size)); 89 * Note: the key size is now strlen(key) which is bigger 327 /* xxxwpk we should limit the size of hashtable, 32bit doesn't make sense */
|
/bind-9.11.3/lib/isccc/include/isccc/ |
H A D | ccmsg.h | 38 isc_uint32_t size; member in struct:isccc_ccmsg 76 * Set the maximum packet size to "maxsize"
|
/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/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/lib/lwres/ |
H A D | compat.c | 125 lwres_strlcpy(char *dst, const char *src, size_t size) { argument 128 size_t n = size; 140 if (size != 0U)
|
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...] |
H A D | getrrset.c | 53 * unsigned int rri_nrdatas; // size of rdatas array 54 * unsigned int rri_nsigs; // size of sigs array 115 sane_malloc(size_t size) { argument 116 if (size == 0U) 117 size = 1; 118 return (malloc(size)); 122 sane_calloc(size_t number, size_t size) { argument 123 size_t len = number * size;
|
/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...] |
/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...] |
/bind-9.11.3/lib/isc/win32/ |
H A D | stdio.c | 84 isc_stdio_read(void *ptr, size_t size, size_t nmemb, FILE *f, size_t *nret) { argument 89 r = fread(ptr, size, nmemb, f); 102 isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f, argument 109 r = fwrite(ptr, size, nmemb, f);
|
H A D | strerror.c | 51 isc__strerror(int num, char *buf, size_t size) { argument 65 snprintf(buf, size, "%s", msg); 67 snprintf(buf, size, "Unknown error: %u", unum);
|
/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/lib/isccc/ |
H A D | symtab.c | 54 unsigned int size; member in struct:isccc_symtab 62 isccc_symtab_create(unsigned int size, argument 72 REQUIRE(size > 0); /* Should be prime. */ 77 symtab->table = malloc(size * sizeof(eltlist_t)); 82 for (i = 0; i < size; i++) 84 symtab->size = size; 114 for (i = 0; i < symtab->size; i++) { 166 b = hash((k), (s)->case_sensitive) % (s)->size; \ 275 for (i = 0; i < symtab->size; [all...] |