Searched refs:mallocFunc (Results 1 – 3 of 3) sorted by relevance
136 DepthMallocSo mallocFunc = DepthMalloc; in ThreadFuncCppHook() local148 mallocFunc = (DepthMallocSo)dlsym(handle, "DepthMallocSo"); in ThreadFuncCppHook()150 if (mallocFunc == nullptr || freeFunc == nullptr) { in ThreadFuncCppHook()155 p = mallocFunc(g_stickDepth, MALLOC_SIZE); in ThreadFuncCppHook()
106 DepthMallocSo mallocFunc = nullptr; in DlopenAndCloseSo() local116 mallocFunc = (DepthMallocSo)dlsym(handle, "DepthMallocSo"); in DlopenAndCloseSo()118 if (mallocFunc == nullptr || freeFunc == nullptr) { in DlopenAndCloseSo()124 ptr = mallocFunc(g_stickDepth, size); in DlopenAndCloseSo()
222 DepthMallocSo mallocFunc = nullptr; in DlopenAndCloseSo() local230 mallocFunc = (DepthMallocSo)dlsym(handle, "DepthMallocSo"); in DlopenAndCloseSo()232 if (mallocFunc == nullptr || freeFunc == nullptr) { in DlopenAndCloseSo()236 ptr = mallocFunc(depth, size); in DlopenAndCloseSo()