Searched refs:new_mem (Results 1 – 3 of 3) sorted by relevance
54 void * new_mem = malloc(len2); in realloc() local55 if ( new_mem == 0 ) { in realloc()60 CopyMem(mem, new_mem, mem_size); in realloc()63 return new_mem; in realloc()
225 void *new_mem; in alloc_size_dir() local228 new_mem = realloc(outdir->buf, blocks * fs->blocksize); in alloc_size_dir()229 if (!new_mem) in alloc_size_dir()231 outdir->buf = new_mem; in alloc_size_dir()232 new_mem = realloc(outdir->hashes, in alloc_size_dir()234 if (!new_mem) in alloc_size_dir()236 outdir->hashes = new_mem; in alloc_size_dir()
115 gpointer new_mem; in g_memdup() local119 new_mem = g_malloc (byte_size); in g_memdup()120 memcpy (new_mem, mem, byte_size); in g_memdup()123 new_mem = NULL; in g_memdup()125 return new_mem; in g_memdup()