Lines Matching refs:NS_REINTERPRET_CAST
150 rv = Write(NS_REINTERPRET_CAST(char*, &a64), sizeof a64, &bytesWritten);
162 return Write32(*NS_REINTERPRET_CAST(PRUint32*, &aFloat));
170 return Write64(*NS_REINTERPRET_CAST(PRUint64*, &aDouble));
200 rv = WriteBytes(NS_REINTERPRET_CAST(const char*, aString), byteCount);
207 copy = NS_REINTERPRET_CAST(PRUnichar*, nsMemory::Alloc(byteCount));
214 rv = WriteBytes(NS_REINTERPRET_CAST(const char*, copy), byteCount);
245 return WriteBytes(NS_REINTERPRET_CAST(char *, aBytes), aLength);
329 NS_REINTERPRET_CAST(ReadSegmentsClosure*, aClosure);
379 rv = Read(NS_REINTERPRET_CAST(char*, aByte), sizeof(*aByte), &bytesRead);
392 rv = Read(NS_REINTERPRET_CAST(char*, a16), sizeof *a16, &bytesRead);
406 rv = Read(NS_REINTERPRET_CAST(char*, a32), sizeof *a32, &bytesRead);
420 rv = Read(NS_REINTERPRET_CAST(char*, a64), sizeof *a64, &bytesRead);
433 return Read32(NS_REINTERPRET_CAST(PRUint32*, aFloat));
441 return Read64(NS_REINTERPRET_CAST(PRUint64*, aDouble));
546 NS_REINTERPRET_CAST(const PRUnichar*, aFromSegment);
611 s = NS_REINTERPRET_CAST(char*, nsMemory::Alloc(aLength));
632 return ReadBytes(aLength, NS_REINTERPRET_CAST(char **, _rval));