Home
last modified time | relevance | path

Searched refs:mallocFunc (Results 1 – 3 of 3) sorted by relevance

/developtools/profiler/device/plugins/native_hook/test/
Dhook_test.cpp136 DepthMallocSo mallocFunc = DepthMalloc; in ThreadFuncCppHook() local
148 mallocFunc = (DepthMallocSo)dlsym(handle, "DepthMallocSo"); in ThreadFuncCppHook()
150 if (mallocFunc == nullptr || freeFunc == nullptr) { in ThreadFuncCppHook()
155 p = mallocFunc(g_stickDepth, MALLOC_SIZE); in ThreadFuncCppHook()
Dstatistics_test.cpp106 DepthMallocSo mallocFunc = nullptr; in DlopenAndCloseSo() local
116 mallocFunc = (DepthMallocSo)dlsym(handle, "DepthMallocSo"); in DlopenAndCloseSo()
118 if (mallocFunc == nullptr || freeFunc == nullptr) { in DlopenAndCloseSo()
124 ptr = mallocFunc(g_stickDepth, size); in DlopenAndCloseSo()
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp222 DepthMallocSo mallocFunc = nullptr; in DlopenAndCloseSo() local
230 mallocFunc = (DepthMallocSo)dlsym(handle, "DepthMallocSo"); in DlopenAndCloseSo()
232 if (mallocFunc == nullptr || freeFunc == nullptr) { in DlopenAndCloseSo()
236 ptr = mallocFunc(depth, size); in DlopenAndCloseSo()