Home
last modified time | relevance | path

Searched refs:pCommon (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_log.c124 HiLogCommon *pCommon = &(logContent.commonContent); in HiLogPrintf() local
125 pCommon->head = LOG_INFO_HEAD; in HiLogPrintf()
126 pCommon->module = module; in HiLogPrintf()
127 pCommon->level = level; in HiLogPrintf()
128 pCommon->fmt = fmt; in HiLogPrintf()
129 pCommon->valueNumber = (uint8)argsNum; in HiLogPrintf()
130 pCommon->task = (uint8)HIVIEW_GetTaskId(); in HiLogPrintf()
132 pCommon->time = (uint32)(cur / MS_PER_SECOND); in HiLogPrintf()
133 pCommon->milli = (uint16)(cur % MS_PER_SECOND); in HiLogPrintf()
159 HiLogCommon *pCommon = &(logContent.commonContent); in HILOG_HashPrintf() local
[all …]
/base/hiviewdfx/hiview_lite/
Dhiview_file.c59 FileHeaderCommon *pCommon = &(pHeader->common); in InitHiviewFile() local
60 pCommon->type = (uint8)type; in InitHiviewFile()
65 switch (pCommon->type) { in InitHiviewFile()
67 pCommon->prefix = HIVIEW_FILE_HEADER_PREFIX_TEXT; in InitHiviewFile()
70 pCommon->prefix = HIVIEW_FILE_HEADER_PREFIX_LOG; in InitHiviewFile()
75 pCommon->prefix = HIVIEW_FILE_HEADER_PREFIX_EVENT; in InitHiviewFile()
80 pCommon->codeMainVersion = HIVIEW_FILE_HEADER_MAIN_VERSION; in InitHiviewFile()
81 pCommon->codeSubVersion = HIVIEW_FILE_HEADER_SUB_VERSION; in InitHiviewFile()
82 pCommon->defineFileVersion = GetDefineFileVersion(pCommon->type); in InitHiviewFile()
92 pCommon->codeMainVersion = HIVIEW_FILE_HEADER_MAIN_VERSION; in InitHiviewFile()
[all …]