Lines Matching refs:env
50 Status PrintLogContents(Env* env, const std::string& fname, in PrintLogContents() argument
54 Status s = env->NewSequentialFile(fname, &file); in PrintLogContents()
118 Status DumpLog(Env* env, const std::string& fname, WritableFile* dst) { in DumpLog() argument
119 return PrintLogContents(env, fname, WriteBatchPrinter, dst); in DumpLog()
139 Status DumpDescriptor(Env* env, const std::string& fname, WritableFile* dst) { in DumpDescriptor() argument
140 return PrintLogContents(env, fname, VersionEditPrinter, dst); in DumpDescriptor()
143 Status DumpTable(Env* env, const std::string& fname, WritableFile* dst) { in DumpTable() argument
147 Status s = env->GetFileSize(fname, &file_size); in DumpTable()
149 s = env->NewRandomAccessFile(fname, &file); in DumpTable()
210 Status DumpFile(Env* env, const std::string& fname, WritableFile* dst) { in DumpFile() argument
216 case kLogFile: return DumpLog(env, fname, dst); in DumpFile()
217 case kDescriptorFile: return DumpDescriptor(env, fname, dst); in DumpFile()
218 case kTableFile: return DumpTable(env, fname, dst); in DumpFile()