/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | util.h | 54 size_t size; member in struct:__anon63 92 extern char *strbuf_alloc(idnconv_strbuf_t *buf, size_t size);
|
/bind-9.6-ESV-R11/contrib/nslint-2.1a3/ |
H A D | savestr.c | 46 register u_int size; local 51 size = strlen(str) + 1; 52 if (size > strsize) { 54 if (strsize < size) 55 strsize = size; 64 strptr += size; 65 strsize -= size;
|
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | bitstring.h | 88 unsigned int size; member in struct:isc_bitstring 98 unsigned int length, unsigned int size, isc_boolean_t lsb0); 100 * \brief Make 'bitstring' refer to the bitstring of 'size' bits starting 110 * 'size' bits. 112 *\li 'length' <= 'size'. 147 *\li 'tbitpos' + 'n' is less than or equal to the size of 'target'.
|
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | strerror.c | 47 isc__strerror(int num, char *buf, size_t size) { argument 60 snprintf(buf, size, "%s", msg); 62 snprintf(buf, size, "Unknown error: %u", unum); 70 snprintf(buf, size, "%s", sys_errlist[num]); 72 snprintf(buf, size, "Unknown error: %u", unum);
|
H A D | stdio.c | 64 isc_stdio_read(void *ptr, size_t size, size_t nmemb, FILE *f, size_t *nret) { argument 69 r = fread(ptr, size, nmemb, f); 82 isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f, argument 89 r = fwrite(ptr, size, nmemb, f);
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | lwresconf_test.c | 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 | 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/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.6-ESV-R11/lib/dns/include/dns/ |
H A D | tcpmsg.h | 32 isc_uint16_t size; member in struct:dns_tcpmsg 70 * Set the maximum packet size to "maxsize"
|
/bind-9.6-ESV-R11/lib/dns/rdata/generic/ |
H A D | loc_29.h | 28 isc_uint8_t size; member in struct:dns_rdata_loc_0
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | event.c | 44 isc_taskaction_t action, const void *arg, size_t size) 49 REQUIRE(size >= sizeof(struct isc_event)); 52 event = isc_mem_get(mctx, size); 70 ISC_EVENT_INIT(event, size, 0, NULL, type, action, deconst_arg, 43 isc_event_allocate(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 | 43 size_t size); 47 size_t size); 51 * isc_net_ntop(af, src, dst, size) 59 isc_net_ntop(int af, const void *src, char *dst, size_t size) argument 63 return (inet_ntop4(src, dst, size)); 66 return (inet_ntop6(src, dst, size)); 76 * inet_ntop4(src, dst, size) 88 inet_ntop4(const unsigned char *src, char *dst, size_t size) argument 93 if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) >= size) 104 * isc_inet_ntop6(src, dst, size) 111 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument [all...] |
H A D | taskpool.c | 117 isc_taskpool_expand(isc_taskpool_t **sourcep, unsigned int size, argument 127 if (size > pool->ntasks) { 132 result = alloc_pool(pool->tmgr, pool->mctx, size, 144 for (i = pool->ntasks; i < size; i++) {
|
H A D | bitstring.c | 44 unsigned int length, unsigned int size, isc_boolean_t lsb0) 47 * Make 'bitstring' refer to the bitstring of 'size' bits starting 55 REQUIRE(length <= size); 60 bitstring->size = size; 76 bitstring->size = 0; 97 sbitpos = PADDED(source->size) - sbitpos; 105 tbitpos = PADDED(target->size) - tbitpos; 109 REQUIRE(tlast <= target->size); 43 isc_bitstring_init(isc_bitstring_t *bitstring, unsigned char *data, unsigned int length, unsigned int size, isc_boolean_t lsb0) argument
|
H A D | heap.c | 67 unsigned int size; member in struct:isc_heap 89 heap->size = 0; 116 heap->size * sizeof(void *)); 130 new_size = heap->size + heap->size_increment; 135 memmove(new_array, heap->array, heap->size * sizeof(void *)); 137 heap->size * sizeof(void *)); 139 heap->size = new_size; 165 unsigned int j, size, half_size; local 166 size = heap->last; 167 half_size = size / [all...] |
H A D | string.c | 126 isc_string_copy(char *target, size_t size, const char *source) { argument 127 REQUIRE(size > 0U); 129 if (strlcpy(target, source, size) >= size) { 130 memset(target, ISC_STRING_MAGIC, size); 134 ENSURE(strlen(target) < size); 140 isc_string_copy_truncate(char *target, size_t size, const char *source) { argument 141 REQUIRE(size > 0U); 143 strlcpy(target, source, size); 145 ENSURE(strlen(target) < size); 149 isc_string_append(char *target, size_t size, const char *source) argument 164 isc_string_append_truncate(char *target, size_t size, const char *source) argument 174 isc_string_printf(char *target, size_t size, const char *format, ...) argument 195 isc_string_printf_truncate(char *target, size_t size, const char *format, ...) argument 247 isc_string_strlcpy(char *dst, const char *src, size_t size) argument 273 isc_string_strlcat(char *dst, const char *src, size_t size) argument [all...] |
H A D | symtab.c | 48 unsigned int size; member in struct:isc_symtab 58 isc_symtab_create(isc_mem_t *mctx, unsigned int size, argument 69 REQUIRE(size > 0); /* Should be prime. */ 78 size * sizeof(eltlist_t)); 83 for (i = 0; i < size; i++) 85 symtab->size = size; 87 symtab->maxload = size * 3 / 4; 108 for (i = 0; i < symtab->size; i++) { 120 symtab->size * sizeo [all...] |
/bind-9.6-ESV-R11/lib/isccc/include/isccc/ |
H A D | ccmsg.h | 47 isc_uint32_t size; member in struct:isccc_ccmsg 85 * Set the maximum packet size to "maxsize"
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | key.c | 38 int size; local 44 size = source->length; 47 return ((p[size - 3] << 8) + p[size - 2]); 49 for (ac = 0; size > 1; size -= 2, p += 2) 52 if (size > 0)
|
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | stdio.c | 64 isc_stdio_read(void *ptr, size_t size, size_t nmemb, FILE *f, size_t *nret) { argument 69 r = fread(ptr, size, nmemb, f); 82 isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f, argument 89 r = fwrite(ptr, size, nmemb, f);
|
H A D | strerror.c | 60 isc__strerror(int num, char *buf, size_t size) { argument 74 snprintf(buf, size, "%s", msg); 76 snprintf(buf, size, "Unknown error: %u", unum);
|
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | lwinetntop.c | 43 size_t size); 47 size_t size); 51 * lwres_net_ntop(af, src, dst, size) 59 lwres_net_ntop(int af, const void *src, char *dst, size_t size) { argument 62 return (inet_ntop4(src, dst, size)); 65 return (inet_ntop6(src, dst, size)); 75 * inet_ntop4(src, dst, size) 86 inet_ntop4(const unsigned char *src, char *dst, size_t size) { argument 92 if (len >= size) { 102 * inet_ntop6(src, dst, size) 109 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument [all...] |
H A D | getrrset.c | 62 * unsigned int rri_nrdatas; // size of rdatas array 63 * unsigned int rri_nsigs; // size of sigs array 124 sane_malloc(size_t size) { argument 125 if (size == 0U) 126 size = 1; 127 return (malloc(size)); 131 sane_calloc(size_t number, size_t size) { argument 132 size_t len = number * size;
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/ |
H A D | process_test.cpp | 52 std::size_t size = 0; local 55 size++; 57 return size; 92 ATF_REQUIRE_EQ(argv.size(), 0); 99 ATF_REQUIRE_EQ(argv.size(), 1); 107 ATF_REQUIRE_EQ(argv.size(), 3); 126 ATF_REQUIRE_EQ(argv.size(), 0); 134 ATF_REQUIRE_EQ(argv.size(), 1); 145 ATF_REQUIRE_EQ(argv.size(), 3); 162 ATF_REQUIRE_EQ(argv.size(), [all...] |
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/ |
H A D | aliaslist.c | 90 static int size = sizeof(struct idn__aliaslist); local 96 if ((*listp = malloc(size)) == NULL) { 308 static size_t size = sizeof(struct aliasitem); local 313 if ((*itemp = malloc(size)) == NULL)
|