Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp161 uint8_t cirBuf[BUFFER_SIZE]; in readProcessedDataInStream() local
211 amt = TEMP_FAILURE_RETRY(::read(fd, cirBuf + rpos, BUFFER_SIZE - rpos)); in readProcessedDataInStream()
213 amt = TEMP_FAILURE_RETRY(::read(fd, cirBuf + rpos, wpos - rpos)); in readProcessedDataInStream()
233 amt = TEMP_FAILURE_RETRY(::write(toFd.get(), cirBuf + wpos, rpos - wpos)); in readProcessedDataInStream()
235 amt = TEMP_FAILURE_RETRY(::write(toFd.get(), cirBuf + wpos, BUFFER_SIZE - wpos)); in readProcessedDataInStream()