Lines Matching refs:fname
383 Status NewSequentialFile(const std::string& fname, in NewSequentialFile() argument
392 auto status = EnvWrapper::NewSequentialFile(fname, &underlying, options); in NewSequentialFile()
412 status = provider_->CreateCipherStream(fname, options, prefixSlice, &stream); in NewSequentialFile()
421 Status NewRandomAccessFile(const std::string& fname, in NewRandomAccessFile() argument
430 auto status = EnvWrapper::NewRandomAccessFile(fname, &underlying, options); in NewRandomAccessFile()
450 status = provider_->CreateCipherStream(fname, options, prefixSlice, &stream); in NewRandomAccessFile()
459 Status NewWritableFile(const std::string& fname, in NewWritableFile() argument
468 Status status = EnvWrapper::NewWritableFile(fname, &underlying, options); in NewWritableFile()
480 provider_->CreateNewPrefix(fname, prefixBuf.BufferStart(), prefixLength); in NewWritableFile()
491 status = provider_->CreateCipherStream(fname, options, prefixSlice, &stream); in NewWritableFile()
506 Status ReopenWritableFile(const std::string& fname, in ReopenWritableFile() argument
515 Status status = EnvWrapper::ReopenWritableFile(fname, &underlying, options); in ReopenWritableFile()
527 provider_->CreateNewPrefix(fname, prefixBuf.BufferStart(), prefixLength); in ReopenWritableFile()
538 status = provider_->CreateCipherStream(fname, options, prefixSlice, &stream); in ReopenWritableFile()
547 Status ReuseWritableFile(const std::string& fname, in ReuseWritableFile() argument
557 Status status = EnvWrapper::ReuseWritableFile(fname, old_fname, &underlying, options); in ReuseWritableFile()
569 provider_->CreateNewPrefix(fname, prefixBuf.BufferStart(), prefixLength); in ReuseWritableFile()
580 status = provider_->CreateCipherStream(fname, options, prefixSlice, &stream); in ReuseWritableFile()
593 Status NewRandomRWFile(const std::string& fname, in NewRandomRWFile() argument
601 bool isNewFile = !FileExists(fname).ok(); in NewRandomRWFile()
605 Status status = EnvWrapper::NewRandomRWFile(fname, &underlying, options); in NewRandomRWFile()
625 provider_->CreateNewPrefix(fname, prefixBuf.BufferStart(), prefixLength); in NewRandomRWFile()
637 status = provider_->CreateCipherStream(fname, options, prefixSlice, &stream); in NewRandomRWFile()
670 Status GetFileSize(const std::string& fname, uint64_t* file_size) override { in GetFileSize() argument
671 auto status = EnvWrapper::GetFileSize(fname, file_size); in GetFileSize()
897 const std::string& fname, const EnvOptions& options, Slice& prefix, in CreateCipherStream() argument
909 return Status::Corruption("Unable to read from file " + fname + in CreateCipherStream()
921 return CreateCipherStreamFromPrefix(fname, options, initialCounter, iv, prefix, result); in CreateCipherStream()