Lines Matching defs:readCount
718 PRUint32 *readCount)
727 *readCount = 0;
732 if (*readCount > 0) {
762 rv = writer(this, closure, segment, *readCount, segmentLen, &writeCount);
776 *readCount += writeCount;
802 nsPipeInputStream::Read(char* toBuf, PRUint32 bufLen, PRUint32 *readCount)
804 return ReadSegments(nsWriteToRawBuffer, toBuf, bufLen, readCount);
1094 PRUint32 readCount, originalLen = segmentLen;
1096 readCount = 0;
1098 rv = reader(this, closure, segment, *writeCount, segmentLen, &readCount);
1100 if (NS_FAILED(rv) || readCount == 0) {
1108 NS_ASSERTION(readCount <= segmentLen, "read more than expected");
1109 segment += readCount;
1110 segmentLen -= readCount;
1111 count -= readCount;
1112 *writeCount += readCount;
1113 mLogicalOffset += readCount;
1129 PRUint32 *readCount)
1133 *readCount = count;
1158 PRUint32 *readCount)
1161 return fromStream->Read(toRawSegment, count, readCount);