Home
last modified time | relevance | path

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

/device/google/contexthub/util/common/
Dring.cpp40 size_t numAvailableToRead = mWritePos - mReadPos; in write() local
41 size_t numAvailableToWrite = mSize - numAvailableToRead; in write()
62 if (numAvailableToRead == 0 && size > 0) { in write()
72 size_t numAvailableToRead; in read() local
74 numAvailableToRead = mWritePos - mReadPos; in read()
75 if (numAvailableToRead > 0) { in read()
82 if (size > numAvailableToRead) { in read()
83 size = numAvailableToRead; in read()