Searched refs:numAvailableToRead (Results 1 – 1 of 1) sorted by relevance
39 size_t numAvailableToRead = mWritePos - mReadPos; in write() local40 size_t numAvailableToWrite = mSize - numAvailableToRead; in write()61 if (numAvailableToRead == 0 && size > 0) { in write()71 size_t numAvailableToRead; in read() local73 numAvailableToRead = mWritePos - mReadPos; in read()74 if (numAvailableToRead > 0) { in read()81 if (size > numAvailableToRead) { in read()82 size = numAvailableToRead; in read()