Home
last modified time | relevance | path

Searched refs:readPosition (Results 1 - 4 of 4) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_ring_buffer.h49 DfxRingBuffer() : readPosition(0), writePosition(0), data{{T()}}, overrunFlag(false) in DfxRingBuffer()
69 bufferFull = ((writePosition + 1U) % LENGTH) == readPosition; in Append()
104 bridgesZero = (readPosition > writePosition); in Read()
110 readsToEnd = LENGTH - readPosition; in Read()
118 block.SetStart(&(data[readPosition])); in Read()
125 block.SetStart(&(data[readPosition])); in Read()
137 numReadsToWritePosition = (writePosition - readPosition); in Read()
155 block.SetStart(&(data[readPosition])); in Read()
168 readPosition = (readPosition in Skip()
215 volatile unsigned int readPosition; global() member in DfxRingBuffer
[all...]
/base/sensors/medical_sensor/utils/src/
H A Dreport_data_cache.cpp38 eventsBuf_.readPosition = 0; in ReportDataCache()
49 eventsBuf_.readPosition = 0; in ~ReportDataCache()
85 cache->eventsBuf_.readPosition = cache->eventsBuf_.writePosition; in CacheData()
/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dmedical_data_processer.cpp308 uint32_t sensorId = eventsBuf.circularBuf[eventsBuf.readPosition].sensorTypeId; in EventFilter()
313 realSensorId = eventsBuf.circularBuf[eventsBuf.readPosition].sensorTypeId; in EventFilter()
327 SendEvents(channel.flushChannel, eventsBuf.circularBuf[eventsBuf.readPosition]); in EventFilter()
352 SendEvents(channel, eventsBuf.circularBuf[eventsBuf.readPosition]); in EventFilter()
375 delete eventsBuf.circularBuf[eventsBuf.readPosition].data; in ProcessEvents()
376 eventsBuf.circularBuf[eventsBuf.readPosition].data = nullptr; in ProcessEvents()
377 eventsBuf.readPosition++; in ProcessEvents()
378 if (eventsBuf.readPosition == CIRCULAR_BUF_LEN) { in ProcessEvents()
379 eventsBuf.readPosition = 0; in ProcessEvents()
/base/sensors/medical_sensor/utils/include/
H A Dreport_data_cache.h31 int32_t readPosition; member

Completed in 3 milliseconds