Home
last modified time | relevance | path

Searched refs:start_ptr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/binder/
DMemoryDealer.cpp170 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset); in Allocation() local
171 memset(start_ptr, 0xda, size); in Allocation()
203 void* const start_ptr = (void*)(intptr_t(getHeap()->base()) + start); in ~Allocation() local
207 memset(start_ptr, 0xdf, size); in ~Allocation()
213 int err = madvise(start_ptr, size, MADV_REMOVE); in ~Allocation()
215 start_ptr, size, err<0 ? strerror(errno) : "Ok"); in ~Allocation()
DMemoryHeapPmem.cpp71 void* const start_ptr = (void*)(intptr_t(getHeap()->base()) + offset); in SubRegionMemory() local
72 memset(start_ptr, 0xda, size); in SubRegionMemory()