Searched defs:new_mem (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/lib/
H A Dmempool-unsafe-datastack.c72 void *new_mem; local
85 new_mem = t_malloc_no0(new_size);
86 memcpy(new_mem, mem, old_size);
87 mem = new_mem;
H A Dmempool-datastack.c110 void *new_mem; local
126 new_mem = t_malloc_no0(new_size);
127 memcpy(new_mem, mem, old_size);
128 mem = new_mem;
H A Dmempool-allocfree.c202 unsigned char *new_mem; local
211 if ((new_mem = realloc(block, SIZEOF_POOLBLOCK+new_size)) == NULL)
217 memset(new_mem + SIZEOF_POOLBLOCK + old_size, 0,
219 block = (struct pool_block*)new_mem;
H A Dmempool-alloconly.c338 unsigned char *new_mem; local
354 new_mem = pool_alloconly_malloc(pool, new_size);
355 memcpy(new_mem, mem, old_size);
356 mem = new_mem;

Completed in 1202 milliseconds