Lines Matching refs:aID
856 nsFastLoadFileReader::ReadSlowID(nsID *aID)
860 rv = Read32(&aID->m0);
864 rv = Read16(&aID->m1);
868 rv = Read16(&aID->m2);
873 rv = Read(NS_REINTERPRET_CAST(char*, aID->m3), sizeof aID->m3, &bytesRead);
877 if (bytesRead != sizeof aID->m3)
883 nsFastLoadFileReader::ReadFastID(NSFastLoadID *aID)
885 nsresult rv = Read32(aID);
887 *aID ^= MFL_ID_XOR_KEY;
1657 nsFastLoadFileWriter::WriteSlowID(const nsID& aID)
1661 rv = Write32(aID.m0);
1665 rv = Write16(aID.m1);
1669 rv = Write16(aID.m2);
1674 rv = Write(NS_REINTERPRET_CAST(const char*, aID.m3), sizeof aID.m3,
1679 if (bytesWritten != sizeof aID.m3)
1685 nsFastLoadFileWriter::WriteFastID(NSFastLoadID aID)
1687 return Write32(aID ^ MFL_ID_XOR_KEY);
2261 nsFastLoadFileWriter::WriteID(const nsID& aID)
2266 rv = MapID(aID, &fastID);