Home
last modified time | relevance | path

Searched refs:mptr (Results 1 - 3 of 3) sorted by relevance

/base/hiviewdfx/faultloggerd/frameworks/allocator/
H A Ddfx_allocator.c123 void* mptr = mmap(NULL, DFX_PAGE_SIZE, PROT_READ | PROT_WRITE, in MempoolAllocPage() local
125 if (mptr == MAP_FAILED) { in MempoolAllocPage()
129 PageInfo* page = (PageInfo*)(mptr); in MempoolAllocPage()
133 munmap(mptr, DFX_PAGE_SIZE); in MempoolAllocPage()
290 void* mptr = mmap(NULL, allocSize, PROT_READ | PROT_WRITE, in AllocMmap() local
292 if (mptr == MAP_FAILED) { in AllocMmap()
296 void* result = (void*)((char*)(mptr) + headSize); in AllocMmap()
300 munmap(mptr, allocSize); in AllocMmap()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dhap_resource.cpp155 auto mptr = new (std::nothrow) std::map<std::string, IdValues *>(); in Init() local
156 if (mptr == nullptr) { in Init()
160 idValuesNameMap_.push_back(mptr); in Init()
/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp331 auto mptr = std::make_shared<std::map<std::string, std::shared_ptr<IdValues>>>(); in Init() local
332 idValuesNameMap_.push_back(mptr); in Init()

Completed in 3 milliseconds