Home
last modified time | relevance | path

Searched refs:mptr (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/executor/
H A Dexecutor_test.cpp965 OH_NN_Memory mptr = {expectData, 9 * sizeof(float)}; variable
966 OH_NN_Memory* expectPtr = &mptr;
1152 OH_NN_Memory mptr = {expectData, 9 * sizeof(float)}; variable
1153 OH_NN_Memory* expectPtr = &mptr;
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/executor/
H A Dexecutor_test.cpp965 OH_NN_Memory mptr = {expectData, 9 * sizeof(float)}; variable
966 OH_NN_Memory* expectPtr = &mptr;
1152 OH_NN_Memory mptr = {expectData, 9 * sizeof(float)}; variable
1153 OH_NN_Memory* expectPtr = &mptr;
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp319 auto mptr = std::make_shared<std::map<std::string, std::shared_ptr<IdValues>>>(); in Init() local
320 idValuesNameMap_.push_back(mptr); in Init()