/bind-9.11.3/util/ |
H A D | models.c | 10 * Provide a simple memory management model for lib/isc/mem.c 20 void *isc__mem_get(void *mem, unsigned int size FLARG) { argument 21 if (!mem) __coverity_panic__(); 28 void isc__mem_put(void *mem, void *ptr, unsigned int size FLARG) { argument 29 if (!mem) __coverity_panic__(); 33 void isc__mem_putanddetach(void *mem, void *ptr, unsigned int size FLARG) { argument 34 if (!mem) __coverity_panic__(); 38 void *isc__mem_allocate(void *mem, unsigned int size FLARG) { argument 39 if (!mem) __coverity_panic__(); 48 void * isc__mem_reallocate(void *mem, voi argument 65 isc__mem_free(void *mem, void *ptr FLARG) argument 72 isc__mem_strdup(void *mem, char *s FLARG) argument 90 isc__mempool_put(void *mem, void *ptr FLARG) argument [all...] |
/bind-9.11.3/bin/tests/ |
H A D | lwresconf_test.c | 15 #include <isc/mem.h> 41 mem_free(void *arg, void *mem, size_t size) { argument 42 isc_mem_put(arg, mem, size); 52 isc_mem_t *mem; local 61 mem = NULL; 62 result = isc_mem_create(0, 0, &mem); 68 ret = lwres_context_create(&ctx, mem, mem_alloc, mem_free, 0); 85 isc_mem_stats(mem, stdout); 86 isc_mem_destroy(&mem);
|
H A D | lwres_test.c | 17 #include <isc/mem.h> 231 mem_free(void *arg, void *mem, size_t size) { argument 232 isc_mem_put(arg, mem, size); 240 isc_mem_t *mem; local 248 mem = NULL; 249 result = isc_mem_create(0, 0, &mem); 255 ret = lwres_context_create(&ctx, mem, mem_alloc, mem_free, 0); 291 isc_mem_stats(mem, stdout); 292 isc_mem_destroy(&mem);
|
/bind-9.11.3/lib/isc/include/isc/ |
H A D | pool.h | 32 #include <isc/mem.h>
|
H A D | random.h | 17 #include <isc/mem.h>
|
/bind-9.11.3/lib/dns/ |
H A D | peer.c | 15 #include <isc/mem.h> 52 dns_peerlist_new(isc_mem_t *mem, dns_peerlist_t **list) { argument 57 l = isc_mem_get(mem, sizeof(*l)); 62 l->mem = mem; 124 isc_mem_put(l->mem, l, sizeof(*l)); 194 dns_peer_new(isc_mem_t *mem, isc_netaddr_t *addr, dns_peer_t **peerptr) { argument 209 return (dns_peer_newprefix(mem, addr, prefixlen, peerptr)); 213 dns_peer_newprefix(isc_mem_t *mem, isc_netaddr_t *addr, unsigned int prefixlen, argument 220 peer = isc_mem_get(mem, sizeo 283 isc_mem_t *mem; local [all...] |
H A D | diff.c | 19 #include <isc/mem.h> 595 char *mem = NULL; local 601 mem = isc_mem_get(diff->mctx, size); 602 if (mem == NULL) 624 isc_buffer_init(&buf, mem, size); 629 isc_mem_put(diff->mctx, mem, size); 631 mem = isc_mem_get(diff->mctx, size); 632 if (mem == NULL) { 666 if (mem != NULL) 667 isc_mem_put(diff->mctx, mem, siz [all...] |
/bind-9.11.3/lib/lwres/ |
H A D | context.c | 51 location mem. 242 /*% Frees len bytes of space starting at location mem. */ 244 lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len) { argument 245 REQUIRE(mem != NULL); 248 CTXFREE(mem, len); 261 void *mem; local 265 mem = malloc(len); 266 if (mem == NULL) 269 memset(mem, 0xe5, len); 271 return (mem); 275 lwres_free(void *arg, void *mem, size_t len) argument [all...] |
H A D | getrrset.c | 124 void *mem = sane_malloc(len); local 125 if (mem != NULL) 126 memset(mem, 0, len); 127 return (mem);
|
/bind-9.11.3/lib/lwres/include/lwres/ |
H A D | context.h | 30 typedef void (*lwres_free_t)(void *arg, void *mem, size_t length); 101 lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len);
|
/bind-9.11.3/conftools/perllib/dnsconf/ |
H A D | DNSConf.i | 31 isc_mem_t *mem; 57 if (ctx.mem != NULL) { 62 if (isc_mem_create(0, 0, &ctx.mem) != ISC_R_SUCCESS) 65 if (isc_log_create(ctx.mem, &ctx.log, &ctx.logcfg) != ISC_R_SUCCESS) 105 isc_mem_destroy(&ctx.mem); 147 if (dns_c_parse_namedconf(filename, ctx.mem, &conf->confctx, NULL) 169 if (dns_c_ctx_new(ctx.mem, &cfg->confctx) != ISC_R_SUCCESS)
|
/bind-9.11.3/unit/atf-src/atf-c++/detail/ |
H A D | auto_array_test.cpp | 66 void* mem = ::operator new(size); local 67 std::cout << "Allocated 'test_array' object " << mem << "\n"; local 68 return mem; 71 void operator delete(void* mem ATF_DEFS_ATTRIBUTE_UNUSED) 76 void operator delete[](void* mem) argument 78 std::cout << "Releasing 'test_array' object " << mem << "\n"; local 82 ::operator delete(mem);
|
/bind-9.11.3/unit/atf-src/tools/ |
H A D | auto_array_test.cpp | 67 void* mem = ::operator new(size); local 68 std::cout << "Allocated 'test_array' object " << mem << "\n"; local 69 return mem; 72 void operator delete(void* mem ATF_DEFS_ATTRIBUTE_UNUSED) 77 void operator delete[](void* mem) argument 79 std::cout << "Releasing 'test_array' object " << mem << "\n"; local 83 ::operator delete(mem);
|
/bind-9.11.3/lib/isc/tests/ |
H A D | isctest.h | 19 #include <isc/mem.h>
|
H A D | heap_test.c | 19 #include <isc/mem.h>
|
H A D | radix_test.c | 11 #include <isc/mem.h>
|
/bind-9.11.3/bin/tests/system/dyndb/driver/ |
H A D | util.h | 10 #include <isc/mem.h>
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | peer.h | 47 isc_mem_t *mem; member in struct:dns_peerlist 56 isc_mem_t *mem; member in struct:dns_peer 94 dns_peerlist_new(isc_mem_t *mem, dns_peerlist_t **list); 121 dns_peer_new(isc_mem_t *mem, isc_netaddr_t *ipaddr, dns_peer_t **peer); 124 dns_peer_newprefix(isc_mem_t *mem, isc_netaddr_t *ipaddr,
|
/bind-9.11.3/lib/isc/ |
H A D | lib.c | 20 #include <isc/mem.h>
|
H A D | event.c | 19 #include <isc/mem.h>
|
/bind-9.11.3/bin/named/include/named/ |
H A D | lwresd.h | 112 ns__lwresd_memfree(void *arg, void *mem, size_t size);
|
H A D | interfacemgr.h | 43 #include <isc/mem.h>
|
/bind-9.11.3/bin/pkcs11/ |
H A D | pkcs11-tokens.c | 25 #include <isc/mem.h>
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dnstest.h | 17 #include <isc/mem.h>
|
/bind-9.11.3/bin/tools/ |
H A D | named-journalprint.c | 15 #include <isc/mem.h>
|