Lines Matching defs:mem
10 * Provide a simple memory management model for lib/isc/mem.c
20 void *isc__mem_get(void *mem, unsigned int size FLARG) {
21 if (!mem) __coverity_panic__();
28 void isc__mem_put(void *mem, void *ptr, unsigned int size FLARG) {
29 if (!mem) __coverity_panic__();
33 void isc__mem_putanddetach(void *mem, void *ptr, unsigned int size FLARG) {
34 if (!mem) __coverity_panic__();
38 void *isc__mem_allocate(void *mem, unsigned int size FLARG) {
39 if (!mem) __coverity_panic__();
48 void * isc__mem_reallocate(void *mem, void *ptr, size_t size FLARG) {
52 if (!mem) __coverity_panic__();
54 p = isc__mem_allocate(mem, size FLARG_PASS);
65 void isc__mem_free(void *mem, void *ptr FLARG) {
66 if (!mem) __coverity_panic__();
72 void *isc__mem_strdup(void *mem, char *s FLARG) {
74 if (!mem) __coverity_panic__();
82 void *isc__mempool_get(void *mem FLARG) {
84 if (!mem) __coverity_panic__();
90 void isc__mempool_put(void *mem, void *ptr FLARG) {
91 if (!mem) __coverity_panic__();