Home | History | Annotate | Download | only in far

Lines Matching refs:strm

248     ifstream *strm = streams_[id];
254 strm->seekg(positions[mid]);
256 ReadType(*strm, &key);
263 strm->seekg(positions[i - 1]);
264 ReadType(*strm, &key);
266 strm->seekg(positions[i]);
270 strm->seekg(positions[low]);
274 strm->seekg(positions[low]);
329 // Read(istream &strm, const string &filename);
334 ifstream strm(filename.c_str(), ifstream::in | ifstream::binary);
336 ReadType(strm, &magic_number);
337 ReadType(strm, &file_version);
347 strm.seekg(-static_cast<int>(sizeof(int64)), ios_base::end);
348 ReadType(strm, &i); // Read number of entries
349 if (!strm) {
354 strm.seekg(-2 * static_cast<int>(sizeof(int64)), ios_base::end);
355 ReadType(strm, &i); // Read position for last entry in file
356 strm.seekg(i);
358 ReadType(strm, &key);
359 header->Read(strm, filename + ":" + key);
360 if (!strm) {