Searched refs:new_mem (Results 1 – 3 of 3) sorted by relevance
194 uint8_t* new_mem; in WebPMemoryWrite() local198 new_mem = (uint8_t*)WebPSafeMalloc(next_max_size, 1); in WebPMemoryWrite()199 if (new_mem == NULL) { in WebPMemoryWrite()203 memcpy(new_mem, w->mem, w->size); in WebPMemoryWrite()206 w->mem = new_mem; in WebPMemoryWrite()
226 void *new_mem; in alloc_size_dir() local229 new_mem = realloc(outdir->buf, blocks * fs->blocksize); in alloc_size_dir()230 if (!new_mem) in alloc_size_dir()232 outdir->buf = new_mem; in alloc_size_dir()233 new_mem = realloc(outdir->hashes, in alloc_size_dir()235 if (!new_mem) in alloc_size_dir()237 outdir->hashes = new_mem; in alloc_size_dir()
584 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local585 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()586 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()