Home
last modified time | relevance | path

Searched refs:MEM_POOL_HIVIEW_ID (Results 1 – 8 of 8) sorted by relevance

/base/hiviewdfx/hievent_lite/frameworks/
Dhiview_event.c78 HiEvent *event = (HiEvent *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, sizeof(HiEvent)); in HiEventCreate()
82 event->payload = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, SINGLE_VALUE_MAX_LEN * num); in HiEventCreate()
84 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, (void *)event); in HiEventCreate()
125 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, event->payload); in HiEventReport()
126 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, (void *)event); in HiEventReport()
Dhiview_output_event.c339 tmpBuffer = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, outputSize); in Output2Flash()
370 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, tmpBuffer); in Output2Flash()
/base/hiviewdfx/hiview_lite/
Dhiview_file.c304 char* tmp = (char*)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, len); in RegisterFileWatcher()
309 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, tmp); in RegisterFileWatcher()
320 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, fp->outPath); in UnRegisterFileWatcher()
Dhiview_cache.c44 uint8 *buffer = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, size); in InitHiviewCache()
199 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, cache->buffer); in DestroyCache()
Dhiview_util.h29 #define MEM_POOL_HIVIEW_ID 0 macro
Dhiview_util.c242 uint8 *dataBuf = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, BUFFER_SIZE); in HIVIEW_FileCopy()
/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_log_limit.c38 MEM_POOL_HIVIEW_ID, sizeof(HiLogLimitRule) * HILOG_MODULE_MAX); in InitLogLimit()
Dhiview_output_log.c296 tmpBuffer = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, outputSize); in OutputLog2BinFile()
338 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, tmpBuffer); in OutputLog2BinFile()