Lines Matching refs:fname

82   std::string fname = name.substr(dirname.size() + 1);  in GetDirAndName()  local
83 return std::make_pair(dirname, fname); in GetDirAndName()
108 TestWritableFile::TestWritableFile(const std::string& fname, in TestWritableFile() argument
111 : state_(fname), in TestWritableFile()
224 const std::string& fname, std::unique_ptr<WritableFile>* result, in NewWritableFile() argument
230 Status s = target()->FileExists(fname); in NewWritableFile()
237 s = target()->NewWritableFile(fname, result, soptions); in NewWritableFile()
239 result->reset(new TestWritableFile(fname, std::move(*result), this)); in NewWritableFile()
242 UntrackFile(fname); in NewWritableFile()
244 open_files_.insert(fname); in NewWritableFile()
245 auto dir_and_name = GetDirAndName(fname); in NewWritableFile()
253 const std::string& fname, std::unique_ptr<WritableFile>* result, in ReopenWritableFile() argument
258 Status s = target()->ReopenWritableFile(fname, result, soptions); in ReopenWritableFile()
260 result->reset(new TestWritableFile(fname, std::move(*result), this)); in ReopenWritableFile()
263 UntrackFile(fname); in ReopenWritableFile()
265 open_files_.insert(fname); in ReopenWritableFile()
266 auto dir_and_name = GetDirAndName(fname); in ReopenWritableFile()
274 const std::string& fname, std::unique_ptr<RandomRWFile>* result, in NewRandomRWFile() argument
279 Status s = target()->NewRandomRWFile(fname, result, soptions); in NewRandomRWFile()
281 result->reset(new TestRandomRWFile(fname, std::move(*result), this)); in NewRandomRWFile()
284 UntrackFile(fname); in NewRandomRWFile()
286 open_files_.insert(fname); in NewRandomRWFile()
287 auto dir_and_name = GetDirAndName(fname); in NewRandomRWFile()
295 const std::string& fname, std::unique_ptr<RandomAccessFile>* result, in NewRandomAccessFile() argument
300 return target()->NewRandomAccessFile(fname, result, soptions); in NewRandomAccessFile()