Lines Matching refs:uint8
97 static void Output2Flash(uint8 eventType);
98 static void CloseEventOutputFile(uint8 type);
99 static void GetEventCache(uint8 type, HiviewCache **c, HiviewFile **f);
171 static void CloseEventOutputFile(uint8 type) in CloseEventOutputFile()
182 static void ReInitHiEventFile(uint8 eventType) in ReInitHiEventFile()
220 void OutputEvent(const uint8 *data) in OutputEvent()
246 …} else if (WriteToCache(c, (uint8 *)&(event->common), sizeof(HiEventCommon)) == sizeof(HiEventComm… in OutputEvent()
270 … if (WriteToCache(c, (uint8 *)&(event->common), sizeof(HiEventCommon)) == sizeof(HiEventCommon)) { in OutputEvent()
286 uint8 payload[EVENT_PAYLOAD_MAX_SIZE]; in OutputEventRealtime()
289 event.type = (uint8)req->msgValue; in OutputEventRealtime()
291 …while (ReadFromCache(c, (uint8 *)&(event.common), sizeof(HiEventCommon)) == sizeof(HiEventCommon))… in OutputEventRealtime()
309 EventContentFmt(tmpBuffer, LOG_FMT_MAX_LEN, (uint8 *)&event); in OutputEventRealtime()
317 Output2Flash((uint8)req->msgValue); in OutputEvent2Flash()
320 static void Output2Flash(uint8 eventType) in Output2Flash()
325 uint8 *tmpBuffer = NULL; in Output2Flash()
329 GetEventCache((uint8)eventType, &c, &f); in Output2Flash()
339 tmpBuffer = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, outputSize); in Output2Flash()
377 uint32 GetEventFileSize(uint8 eventType) in GetEventFileSize()
386 uint32 ReadEventFile(uint8 eventType, uint8 *buf, uint32 len) in ReadEventFile()
407 int32 EventContentFmt(char *outStr, int32 outStrLen, const uint8 *pEvent) in EventContentFmt()
448 static void GetEventCache(uint8 type, HiviewCache **c, HiviewFile **f) in GetEventCache()
465 static void FlushEventAsync(const uint8 type) in FlushEventAsync()
481 static void FlushEventInfo(const uint8 type, const HiviewCache *c, boolean syncFlag) in FlushEventInfo()
566 int HiEventFileProcImp(uint8 type, const char *dest, uint8 mode) in HiEventFileProcImp()
583 void HiviewRegisterHieventFileWatcher(uint8 type, FileProc func, const char *path) in HiviewRegisterHieventFileWatcher()
594 void HiviewUnRegisterHieventFileWatcher(uint8 type, FileProc func) in HiviewUnRegisterHieventFileWatcher()