Lines Matching defs:is
112 TileOffsets::findTiles (IStream &is)
120 Int64 tileOffset = is.tellg();
123 Xdr::read <StreamIO> (is, tileX);
126 Xdr::read <StreamIO> (is, tileY);
129 Xdr::read <StreamIO> (is, levelX);
132 Xdr::read <StreamIO> (is, levelY);
135 Xdr::read <StreamIO> (is, dataSize);
137 Xdr::skip <StreamIO> (is, dataSize);
150 TileOffsets::reconstructFromFile (IStream &is)
158 Int64 position = is.tellg();
162 findTiles (is);
167 // Suppress all exceptions. This function is called only to
173 is.clear();
174 is.seekg (position);
179 TileOffsets::readFrom (IStream &is, bool &complete)
188 Xdr::read <StreamIO> (is, _offsets[l][dy][dx]);
193 // Invalid offsets mean that the file is probably incomplete
194 // (the offset table is the last thing written to the file).
195 // Either some process is still busy writing the file, or
207 reconstructFromFile (is);