Lines Matching refs:std

44 std::vector<std::string> GetRelativePaths(const base::FilePath& dir,
46 std::vector<std::string> got_paths;
58 bool CreateFile(const std::string& content,
101 LOG(INFO) << "Unzipping... " << std::setw(3)
132 files_[foo_txt_path] = std::move(file);
138 files_[bar1_txt_path] = std::move(file);
143 files_[bar2_txt_path] = std::move(file);
159 std::vector<base::File>* const files) override {
169 files->push_back(std::move(it->second));
177 std::vector<base::FilePath>* const files,
178 std::vector<base::FilePath>* const subdirs) override {
215 std::vector<base::FilePath> files, subdirs;
218 std::unordered_map<base::FilePath, DirContents> file_tree_;
219 std::unordered_map<base::FilePath, base::File> files_;
261 return std::move(path)
324 SCOPED_TRACE(std::string("TestTimeStamp(") + date_time + ")");
375 std::unordered_set<base::FilePath> zip_contents_;
378 std::vector<base::FilePath> zip_file_list_;
428 {.filter = std::move(filter)}));
446 {.filter = std::move(filter), .password = "password"}));
448 std::string contents;
466 {.filter = std::move(filter), .password = "wrong"}));
468 std::string contents;
487 test_dir_, {.filter = std::move(filter)}));
489 std::string contents;
505 std::string contents;
547 std::string contents;
566 std::string contents;
585 std::string contents;
597 std::unordered_set<std::string> want_paths = {
643 const std::vector<std::string> got_paths =
646 for (const std::string& path : got_paths) {
654 LOG(WARNING) << "Found unexpected file: " << std::quoted(path);
658 EXPECT_TRUE(ok) << "Found unexpected file: " << std::quoted(path);
661 std::string contents;
666 for (const std::string& path : want_paths) {
667 EXPECT_TRUE(false) << "Cannot find expected file: " << std::quoted(path);
682 std::string contents;
695 std::string contents;
712 std::string contents;
743 std::unordered_set<std::string> want_paths = {
858 const std::vector<std::string> got_paths =
861 for (const std::string& path : got_paths) {
867 LOG_IF(WARNING, !ok) << "Found unexpected file: " << std::quoted(path);
869 EXPECT_TRUE(ok) << "Found unexpected file: " << std::quoted(path);
873 for (const std::string& path : want_paths) {
874 EXPECT_TRUE(false) << "Cannot find expected file: " << std::quoted(path);
906 -> std::unique_ptr<zip::WriterDelegate> {
907 return std::make_unique<zip::FilePathWriterDelegate>(
935 return std::unique_ptr<zip::WriterDelegate>();
964 std::string contents;
995 std::string contents;
1134 std::string file_content;
1173 .progress_callback = std::move(progress_callback)}));
1210 .progress_callback = std::move(progress_callback),
1391 LOG(INFO) << "Zipping... " << std::setw(3)
1397 .progress_callback = std::move(progress_callback),
1421 std::numeric_limits<uint64_t>::max()));