Searched refs:rCursor (Results 1 – 3 of 3) sorted by relevance
/base/hiviewdfx/hiview_lite/ |
D | hiview_cache.c | 117 uint16 rCursor; in ReadFromCache() local 122 rCursor = GetReadCursor(cache); in ReadFromCache() 124 if ((uint32)rCursor + (uint32)rLen > (uint32)cache->size) { in ReadFromCache() 125 firstLen = cache->size - rCursor; in ReadFromCache() 127 if (memcpy_s(data, firstLen, cache->buffer + rCursor, firstLen) != EOK) { in ReadFromCache() 138 if (memcpy_s(data, rLen, cache->buffer + rCursor, rLen) != EOK) { in ReadFromCache() 160 uint16 rCursor = GetReadCursor(cache); in PrereadFromCache() local 162 if ((uint32)rCursor + (uint32)rLen > (uint32)cache->size) { in PrereadFromCache() 163 firstLen = cache->size - rCursor; in PrereadFromCache() 165 if (memcpy_s(data, firstLen, cache->buffer + rCursor, firstLen) != EOK) { in PrereadFromCache() [all …]
|
D | hiview_file.c | 84 pHeader->rCursor = sizeof(HiviewFileHeader); in InitHiviewFile() 142 h.rCursor = sizeof(HiviewFileHeader); in ReadFileHeader() 185 uint32 rCursor = h->rCursor; in ReadFromFile() local 189 int32 rLen = (readLen <= (wCursor - rCursor)) ? readLen : (wCursor - rCursor); in ReadFromFile() 190 if (HIVIEW_FileSeek(fp->fhandle, rCursor, HIVIEW_SEEK_SET) < 0) { in ReadFromFile() 194 h->rCursor += rLen; in ReadFromFile()
|
D | hiview_file.h | 82 uint32 rCursor; member
|