Lines Matching refs:pRet
353 void* pRet = nullptr; in hook_valloc() local
355 pRet = fn(size); in hook_valloc()
357 return pRet; in hook_valloc()
362 void* pRet = nullptr; in hook_calloc() local
364 pRet = fn(number, size); in hook_calloc()
367 return pRet; in hook_calloc()
369 if (!ohos_set_filter_size(number * size, pRet)) { in hook_calloc()
370 return pRet; in hook_calloc()
414 rawdata.addr = pRet; in hook_calloc()
427 return pRet; in hook_calloc()
432 void* pRet = nullptr; in hook_memalign() local
434 pRet = fn(align, bytes); in hook_memalign()
436 return pRet; in hook_memalign()
441 void* pRet = nullptr; in hook_realloc() local
443 pRet = fn(ptr, size); in hook_realloc()
446 return pRet; in hook_realloc()
448 if (!ohos_set_filter_size(size, pRet)) { in hook_realloc()
449 return pRet; in hook_realloc()
502 rawdata.addr = pRet; in hook_realloc()
521 return pRet; in hook_realloc()