Searched refs:numAvailableToRead (Results 1 – 1 of 1) sorted by relevance
40 size_t numAvailableToRead = mWritePos - mReadPos; in write() local41 size_t numAvailableToWrite = mSize - numAvailableToRead; in write()62 if (numAvailableToRead == 0 && size > 0) { in write()72 size_t numAvailableToRead; in read() local74 numAvailableToRead = mWritePos - mReadPos; in read()75 if (numAvailableToRead > 0) { in read()82 if (size > numAvailableToRead) { in read()83 size = numAvailableToRead; in read()