Lines Matching defs:aCount
70 nsBinaryOutputStream::Write(const char *aBuf, PRUint32 aCount, PRUint32 *aActualBytes)
72 return mOutputStream->Write(aBuf, aCount, aActualBytes);
96 nsBinaryOutputStream::WriteFully(const char *aBuf, PRUint32 aCount)
101 rv = mOutputStream->Write(aBuf, aCount, &bytesWritten);
103 if (bytesWritten != aCount)
302 nsBinaryInputStream::Read(char* aBuffer, PRUint32 aCount, PRUint32 *aNumRead)
304 return mInputStream->Read(aBuffer, aCount, aNumRead);
325 PRUint32 aCount,
334 aCount, aWriteCount);
449 PRUint32 aCount,
454 outString->Append(aFromSegment, aCount);
456 *aWriteCount = aCount;
510 PRUint32 aCount,
513 NS_PRECONDITION(aCount > 0, "Why are we being told to write 0 bytes?");
521 // tweak aCount later. Do NOT move this!
522 *aWriteCount = aCount;
536 // can assume normal operations, but should not assume aCount
539 --aCount;
548 // calculate number of full characters in segment (aCount could be odd!)
549 PRUint32 segmentLength = aCount / sizeof(PRUnichar);
560 // remember this is the modifed aCount and aFromSegment,
563 if (aCount % sizeof(PRUnichar) != 0) {
566 closure->mCarryoverByte = aFromSegment[aCount - 1];