Home
last modified time | relevance | path

Searched refs:files_ (Results 1 – 19 of 19) sorted by relevance

/third_party/ninja/src/
Dtest.cc147 files_[path].mtime = now_; in Create()
148 files_[path].contents = contents; in Create()
153 FileMap::const_iterator i = files_.find(path); in Stat()
154 if (i != files_.end()) { in Stat()
175 FileMap::iterator i = files_.find(path); in ReadFile()
176 if (i != files_.end()) { in ReadFile()
188 FileMap::iterator i = files_.find(path); in RemoveFile()
189 if (i != files_.end()) { in RemoveFile()
190 files_.erase(i); in RemoveFile()
Dtest.h164 FileMap files_; member
Dbuild_test.cc1953 ASSERT_EQ("Another very long command", fs_.files_["out.rsp"].contents); in TEST_F()
2045 fs_.files_[kTooLongToStat].mtime = -1; in TEST_F()
2046 fs_.files_[kTooLongToStat].stat_error = "stat failed"; in TEST_F()
/third_party/gn/src/gn/
Dbuilder_unittest.cc26 files_.push_back(file); in Load()
37 bool HasLoadedNone() const { return files_.empty(); } in HasLoadedNone()
42 if (files_.size() != 1u) { in HasLoadedOne()
43 files_.clear(); in HasLoadedOne()
46 bool match = (files_[0] == file); in HasLoadedOne()
47 files_.clear(); in HasLoadedOne()
51 if (files_.size() != 2u) { in HasLoadedTwo()
52 files_.clear(); in HasLoadedTwo()
56 bool match = ((files_[0] == a && files_[1] == b) || in HasLoadedTwo()
57 (files_[0] == b && files_[1] == a)); in HasLoadedTwo()
[all …]
Dxcode_object.cc362 files_.push_back(std::move(build_file)); in AddBuildFile()
367 for (const auto& file : files_) { in Visit()
374 for (const auto& file : files_) { in Visit()
573 PrintProperty(out, rules, "files", files_); in Print()
942 PrintProperty(out, rules, "files", files_); in Print()
971 PrintProperty(out, rules, "files", files_); in Print()
1002 PrintProperty(out, rules, "files", files_); in Print()
Dxcode_object.h134 std::vector<std::unique_ptr<PBXBuildFile>> files_;
/third_party/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc122 files_.push_back(info); in Write()
144 uint16 num_entries = files_.size(); in WriteDirectory()
150 const std::string& filename = files_[i].name; in WriteDirectory()
152 uint32 crc32 = files_[i].crc32; in WriteDirectory()
153 uint32 size = files_[i].size; in WriteDirectory()
154 uint32 offset = files_[i].offset; in WriteDirectory()
Dimporter_unittest.cc97 files_[name] = contents; in AddFile()
102 const char* contents = FindPtrOrNull(files_, filename); in Open()
113 std::unordered_map<std::string, const char*> files_; member in google::protobuf::compiler::__anon6066ae750111::MockSourceTree
Dzip_writer.h58 std::vector<FileInfo> files_; variable
Dcommand_line_interface.cc398 std::map<std::string, std::string> files_; member in google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl
459 for (const auto& pair : files_) { in WriteAllToDisk()
546 for (const auto& pair : files_) { in WriteAllToZip()
564 auto pair = files_.insert({"META-INF/MANIFEST.MF", ""}); in AddJarManifest()
575 for (const auto& pair : files_) { in GetOutputFilenames()
617 auto it = directory_->files_.find(filename_ + ".meta"); in UpdateMetadata()
618 if (it == directory_->files_.end()) { in UpdateMetadata()
657 auto pair = directory_->files_.insert({filename_, ""}); in ~MemoryOutputStream()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_test_helper.h43 files_.emplace_back(std::move(file)); in parser()
48 std::vector<std::unique_ptr<Source::File>> files_;
66 files_.emplace_back(std::move(file)); in parser()
71 std::vector<std::unique_ptr<Source::File>> files_;
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_bootstrap_unittest.cc82 auto it = files_.find(virtual_filename); in ExpectFileMatches()
83 ASSERT_TRUE(it != files_.end()) in ExpectFileMatches()
101 auto& map_slot = files_[filename]; in Open()
107 std::map<std::string, std::unique_ptr<std::string>> files_; member in google::protobuf::compiler::csharp::__anonc22eef710111::MockGeneratorContext
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_bootstrap_unittest.cc88 auto it = files_.find(virtual_filename); in ExpectFileMatches()
89 ASSERT_TRUE(it != files_.end()) in ExpectFileMatches()
117 auto& map_slot = files_[filename]; in Open()
123 std::map<std::string, std::unique_ptr<std::string>> files_; member in google::protobuf::compiler::cpp::__anonb72adeb50111::MockGeneratorContext
/third_party/skia/third_party/externals/zlib/google/
Dzip_unittest.cc66 files_[foo_txt_path] = std::move(file); in VirtualFileSystem()
73 files_[bar1_txt_path] = std::move(file); in VirtualFileSystem()
79 files_[bar2_txt_path] = std::move(file); in VirtualFileSystem()
95 auto iter = files_.find(path); in OpenFilesForReading()
96 files.push_back(iter == files_.end() ? base::File() in OpenFilesForReading()
103 return file_tree_.count(file) == 1 && files_.count(file) == 0; in DirectoryExists()
121 std::map<base::FilePath, base::File> files_; member in __anon21fe820a0111::VirtualFileSystem
/third_party/skia/third_party/externals/tint/src/transform/
Dtest_helper.h60 files_.emplace_back(std::move(file));
116 std::vector<std::unique_ptr<Source::File>> files_;
/third_party/node/deps/v8/third_party/zlib/google/
Dzip_unittest.cc132 files_[foo_txt_path] = std::move(file); in VirtualFileSystem()
138 files_[bar1_txt_path] = std::move(file); in VirtualFileSystem()
143 files_[bar2_txt_path] = std::move(file); in VirtualFileSystem()
164 const auto it = files_.find(path); in Open()
165 if (it == files_.end()) { in Open()
207 info->is_directory = !files_.count(path); in GetInfo()
219 std::unordered_map<base::FilePath, base::File> files_; member in __anon3abbf39b0111::VirtualFileSystem
/third_party/node/deps/zlib/google/
Dzip_unittest.cc132 files_[foo_txt_path] = std::move(file); in VirtualFileSystem()
138 files_[bar1_txt_path] = std::move(file); in VirtualFileSystem()
143 files_[bar2_txt_path] = std::move(file); in VirtualFileSystem()
164 const auto it = files_.find(path); in Open()
165 if (it == files_.end()) { in Open()
207 info->is_directory = !files_.count(path); in GetInfo()
219 std::unordered_map<base::FilePath, base::File> files_; member in __anon4a7d5a450111::VirtualFileSystem
/third_party/ninja/doc/
Dmanual.asciidoc80 the program that generates the ninja files_.
/third_party/chromium/patch/
D0004-ohos-3.2-Beta5.patch31079 + : files_(std::move(files)),
31107 + for (const auto& file : files_) {
31147 + std::vector<base::FilePath> files_;