Home
last modified time | relevance | path

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

/external/autotest/client/tests/kvm/tests/
Dballoon_check.py34 def balloon_memory(new_mem): argument
43 logging.info("Changing VM memory to %s", new_mem)
45 vm.monitor.cmd("balloon %s" % new_mem)
51 if ballooned_mem != new_mem:
53 "to %s", new_mem)
61 if current_mem_guest > new_mem:
63 "is %s", current_mem_guest, new_mem)
96 new_mem = int(percent * vm_assigned_mem)
97 fail += balloon_memory(new_mem)
/external/webp/src/enc/
Dpicture.c195 uint8_t* new_mem; in WebPMemoryWrite() local
199 new_mem = (uint8_t*)WebPSafeMalloc(next_max_size, 1); in WebPMemoryWrite()
200 if (new_mem == NULL) { in WebPMemoryWrite()
204 memcpy(new_mem, w->mem, w->size); in WebPMemoryWrite()
207 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.cc563 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
564 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
565 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()