Searched refs:fhandle (Results 1 – 4 of 4) sorted by relevance
/base/hiviewdfx/hiview_lite/ |
D | hiview_file.c | 46 fp->fhandle = HIVIEW_FileOpen(fp->path); in InitHiviewFile() 47 if (fp->fhandle < 0) { in InitHiviewFile() 102 if (fp == NULL || fp->fhandle < 0) { in WriteFileHeader() 107 if (HIVIEW_FileSeek(fp->fhandle, 0, HIVIEW_SEEK_SET) >= 0) { in WriteFileHeader() 114 ret = HIVIEW_FileWrite(fp->fhandle, (uint8 *)&(tmpHeader), sizeof(HiviewFileHeader)); in WriteFileHeader() 127 if (fp == NULL || fp->fhandle < 0) { in ReadFileHeader() 132 if (HIVIEW_FileSeek(fp->fhandle, 0, HIVIEW_SEEK_SET) < 0) { in ReadFileHeader() 135 ret = HIVIEW_FileRead(fp->fhandle, (uint8 *)&h, sizeof(HiviewFileHeader)); in ReadFileHeader() 141 h.wCursor = HIVIEW_FileSize(fp->fhandle); in ReadFileHeader() 155 if (fp == NULL || fp->fhandle < 0 || len == 0) { in WriteToFile() [all …]
|
D | hiview_file.h | 92 int32 fhandle; /* Circular file */ member
|
/base/hiviewdfx/hievent_lite/frameworks/ |
D | hiview_output_event.c | 52 .fhandle = -1, 60 .fhandle = -1, 68 .fhandle = -1, 363 if (f->fhandle < 0) { in Output2Flash() 373 HIVIEW_FileSync(f->fhandle); in Output2Flash()
|
/base/hiviewdfx/hilog_lite/frameworks/mini/ |
D | hiview_output_log.c | 55 .fhandle = -1, 264 if (g_logFile.fhandle < 0) { in OutputLog2TextFile() 279 HIVIEW_FileSync(g_logFile.fhandle); in OutputLog2TextFile() 325 if (g_logFile.fhandle < 0) { in OutputLog2BinFile() 341 HIVIEW_FileSync(g_logFile.fhandle); in OutputLog2BinFile()
|