Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp153 uint8_t cirBuf[BUFFER_SIZE]; in readProcessedDataInStream() local
203 amt = TEMP_FAILURE_RETRY(::read(fd, cirBuf + rpos, BUFFER_SIZE - rpos)); in readProcessedDataInStream()
205 amt = TEMP_FAILURE_RETRY(::read(fd, cirBuf + rpos, wpos - rpos)); in readProcessedDataInStream()
225 amt = TEMP_FAILURE_RETRY(::write(toFd.get(), cirBuf + wpos, rpos - wpos)); in readProcessedDataInStream()
227 amt = TEMP_FAILURE_RETRY(::write(toFd.get(), cirBuf + wpos, BUFFER_SIZE - wpos)); in readProcessedDataInStream()