Searched refs:numBytesToRead (Results 1 – 3 of 3) sorted by relevance
40 int numBytesToRead = numBytesInBuffer -off; in read() local41 numBytesToRead = numBytesToRead > len ? len : numBytesToRead; in read()43 if (numBytesToRead > numCharsOutstandingInString) { in read()44 numBytesToRead = numCharsOutstandingInString; in read()47 _string.getChars(_position, _position + numBytesToRead, cbuf, off); in read()49 _position += numBytesToRead; in read()51 return numBytesToRead; in read()
48 int numBytesToRead = numBytesInBuffer -off; in read() local49 numBytesToRead = numBytesToRead > len ? len : numBytesToRead; in read()51 if (numBytesToRead > numCharsOutstandingInString) { in read()52 numBytesToRead = numCharsOutstandingInString; in read()55 _string.getChars(_position, _position + numBytesToRead, cbuf, off); in read()57 _position += numBytesToRead; in read()59 return numBytesToRead; in read()
160 const size_t numBytesToRead = de::min(m_elements.size()*sizeof(Element) - pageOffset, pageSize); in makePageResident() local167 m_resource->read((deUint8*)&m_elements[pageNdx << ELEMENTS_PER_PAGE_LOG2], (int)numBytesToRead); in makePageResident()