Home
last modified time | relevance | path

Searched refs:fs_ (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dram_file_system.h112 if (fs_.find(fname) == fs_.end()) { in NewRandomAccessFile()
116 new RamRandomAccessFile(fname, fs_[fname])); in NewRandomAccessFile()
123 if (fs_.find(fname) == fs_.end()) { in NewWritableFile()
124 fs_[fname] = std::make_shared<std::string>(); in NewWritableFile()
127 new RamRandomAccessFile(fname, fs_[fname])); in NewWritableFile()
133 if (fs_.find(fname) == fs_.end()) { in NewAppendableFile()
134 fs_[fname] = std::make_shared<std::string>(); in NewAppendableFile()
137 new RamRandomAccessFile(fname, fs_[fname])); in NewAppendableFile()
155 auto it = fs_.lower_bound(dir); in GetChildren()
156 while (it != fs_.end() && absl::StartsWith(it->first, dir)) { in GetChildren()
[all …]
Dfile_system.h563 return fs_->NewRandomAccessFile(fname, (token ? token : token_), result); in NewRandomAccessFile()
569 return fs_->NewWritableFile(fname, (token ? token : token_), result); in NewWritableFile()
575 return fs_->NewAppendableFile(fname, (token ? token : token_), result); in NewAppendableFile()
581 return fs_->NewReadOnlyMemoryRegionFromFile(fname, (token ? token : token_), in NewReadOnlyMemoryRegionFromFile()
587 return fs_->FileExists(fname, (token ? token : token_)); in FileExists()
592 return fs_->FilesExist(files, (token ? token : token_), status); in FilesExist()
598 return fs_->GetChildren(dir, (token ? token : token_), result); in GetChildren()
604 return fs_->GetMatchingPaths(pattern, (token ? token : token_), results); in GetMatchingPaths()
608 return fs_->Match(filename, pattern); in Match()
613 return fs_->Stat(fname, (token ? token : token_), stat); in Stat()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-ns.cc22 ContainerFilesystem* fs_; member
33 << container->fs_->root() << "', hostname='" << container->hostname_ in EnterContainer()
48 if (!container->fs_->mountpt().empty()) { in EnterContainer()
50 std::string innerdir = container->fs_->root() + container->fs_->mountpt(); in EnterContainer()
51 if (verbose) std::cerr << " mount --bind " << container->fs_->mountpt() in EnterContainer()
53 int rc = mount(container->fs_->mountpt().c_str(), innerdir.c_str(), in EnterContainer()
56 std::cerr << "Warning: failed to bind mount " << container->fs_->mountpt() << " at " in EnterContainer()
62 if (chdir(container->fs_->root().c_str()) != 0) { in EnterContainer()
63 std::cerr << "Failed to chdir('" << container->fs_->root() in EnterContainer()
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system.cc221 fs_(fs), in HDFSRandomAccessFile()
234 libhdfs()->hdfsCloseFile(fs_, file_); in ~HDFSRandomAccessFile()
260 tSize r = libhdfs()->hdfsPread(fs_, file_, static_cast<tOffset>(offset), in Read()
273 if (file_ != nullptr && libhdfs()->hdfsCloseFile(fs_, file_) != 0) { in Read()
276 file_ = libhdfs()->hdfsOpenFile(fs_, hdfs_filename_.c_str(), O_RDONLY, in Read()
297 hdfsFS fs_; member in tensorflow::HDFSRandomAccessFile
323 : filename_(fname), fs_(fs), file_(file) {} in HDFSWritableFile()
339 tSize w = libhdfs()->hdfsWrite(fs_, file_, data.data() + cur_pos, in Append()
356 if (libhdfs()->hdfsCloseFile(fs_, file_) != 0) { in Close()
359 fs_ = nullptr; in Close()
[all …]
/external/vulkan-validation-layers/tests/
Dvklayertests_pipeline_shader.cpp301 helper.shader_stages_ = {vs.GetStageCreateInfo(), helper.fs_->GetStageCreateInfo()}; in TEST_F()
323 helper.shader_stages_ = {vs.GetStageCreateInfo(), helper.fs_->GetStageCreateInfo()}; in TEST_F()
392 …helper.shader_stages_ = {vs.GetStageCreateInfo(), gs.GetStageCreateInfo(), helper.fs_->GetStageCre… in TEST_F()
485 …helper.shader_stages_ = {vs.GetStageCreateInfo(), gs.GetStageCreateInfo(), helper.fs_->GetStageCre… in TEST_F()
527 …helper.shader_stages_ = {vs.GetStageCreateInfo(), gs.GetStageCreateInfo(), helper.fs_->GetStageCre… in TEST_F()
2800 helper.shader_stages_ = {vs.GetStageCreateInfo(), helper.fs_->GetStageCreateInfo()}; in TEST_F()
2869 pipe.shader_stages_ = {vs.GetStageCreateInfo(), pipe.fs_->GetStageCreateInfo()}; in TEST_F()
2903 pipe.shader_stages_ = {vs.GetStageCreateInfo(), pipe.fs_->GetStageCreateInfo()}; in TEST_F()
2940 pipe.shader_stages_ = {vs.GetStageCreateInfo(), pipe.fs_->GetStageCreateInfo()}; in TEST_F()
3355 helper.shader_stages_ = {vs.GetStageCreateInfo(), helper.fs_->GetStageCreateInfo()}; in TEST_F()
[all …]
Dlayer_validation_tests.h449 std::unique_ptr<VkShaderObj> fs_; member
Dlayer_validation_tests.cpp1472fs_.reset(new VkShaderObj(layer_test_.DeviceObj(), bindStateFragShaderText, VK_SHADER_STAGE_FRAGME… in InitShaderInfo()
1474 shader_stages_ = {vs_->GetStageCreateInfo(), fs_->GetStageCreateInfo()}; in InitShaderInfo()
Dvkpositivelayertests.cpp8175 …pipe.shader_stages_ = {pipe.vs_->GetStageCreateInfo(), gs.GetStageCreateInfo(), pipe.fs_->GetStage… in TEST_F()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system_test.cc3728 CHECK(fs_ == nullptr); in Configure()
3732 fs_ = fs; in Configure()
3751 GcsFileSystem* fs_ = nullptr; member in tensorflow::__anon61b61d210111::TestGcsStats
3782 EXPECT_EQ(stats.fs_, &fs); in TEST()
3809 EXPECT_EQ(stats.fs_, &fs); in TEST()
/external/e2fsprogs/po/
Dpl.po4510 msgstr " %s -ra [ -cnfp ] [ -o offset_źr ] [ -O offset_doc ] fs_źr [ fs_doc ]\n"