Home
last modified time | relevance | path

Searched refs:new_mem (Results 1 – 5 of 5) 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/chromium_org/third_party/libwebp/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.cc526 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
527 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
528 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()
/external/stlport/stlport/
Dmemory61 # include <new_mem.h>