Home
last modified time | relevance | path

Searched refs:new_mem (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/enc/
Dpicture.c194 uint8_t* new_mem; in WebPMemoryWrite() local
198 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()
/external/e2fsprogs/e2fsck/
Drehash.c226 void *new_mem; in alloc_size_dir() local
229 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()
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc584 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
585 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
586 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()