Home
last modified time | relevance | path

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

/system/extras/libperfmgr/tests/
DNodeLooperThreadTest.cc41 files_.emplace_back(std::move(tf)); in SetUp()
46 files_.emplace_back(std::move(tf)); in SetUp()
51 files_.clear(); in TearDown()
54 std::vector<std::unique_ptr<TemporaryFile>> files_; member in android::perfmgr::NodeLooperThreadTest
69 _VerifyPathValue(files_[0]->path, ""); in TEST_F()
70 _VerifyPathValue(files_[1]->path, "n1_value2"); in TEST_F()
85 _VerifyPathValue(files_[0]->path, "n0_value0"); in TEST_F()
86 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F()
88 _VerifyPathValue(files_[0]->path, "n0_value2"); in TEST_F()
89 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F()
[all …]
DHintManagerTest.cc138 files_.emplace_back(std::move(tf)); in SetUp()
143 files_.emplace_back(std::move(tf)); in SetUp()
162 files_.emplace_back(std::make_unique<TemporaryFile>()); in SetUp()
163 files_.emplace_back(std::make_unique<TemporaryFile>()); in SetUp()
169 json_doc_.replace(start_pos, from.length(), files_[0 + 2]->path); in SetUp()
172 json_doc_.replace(start_pos, from.length(), files_[1 + 2]->path); in SetUp()
180 files_.clear(); in TearDown()
186 std::vector<std::unique_ptr<TemporaryFile>> files_; member in android::perfmgr::HintManagerTest
219 _VerifyPathValue(files_[0]->path, ""); in TEST_F()
220 _VerifyPathValue(files_[1]->path, "n1_value2"); in TEST_F()
[all …]
/system/update_engine/payload_generator/
Dsquashfs_filesystem.cc143 files_.emplace_back(file); in Init()
148 std::sort(files_.begin(), files_.end(), [](const File& a, const File& b) { in Init()
154 for (auto first = files_.begin(), second = first + 1; in Init()
155 first != files_.end() && second != files_.end(); in Init()
163 first = files_.erase(first); in Init()
167 second = files_.erase(second); in Init()
170 first = files_.erase(first); in Init()
184 for (const auto& file : files_) { in Init()
197 files_.emplace_back(file); in Init()
201 std::sort(files_.begin(), files_.end(), [](const File& a, const File& b) { in Init()
[all …]
Dfake_filesystem.cc35 *files = files_; in GetFiles()
48 files_.push_back(file); in AddFile()
Dfake_filesystem.h59 std::vector<File> files_; variable
Dsquashfs_filesystem.h114 std::vector<File> files_; variable
/system/core/fs_mgr/libfiemap_writer/
Dsplit_fiemap_writer.cpp83 if (out->files_.size() >= kMaxFilePieces) { in Create()
88 android::base::StringPrintf("%s.%04d", file_path.c_str(), (int)out->files_.size()); in Create()
110 for (const auto& writer : out->files_) { in Create()
180 for (const auto& file : files_) { in HasPinnedExtents()
190 for (const auto& file : files_) { in extents()
200 FiemapWriter* file = files_[cursor_index_].get(); in Write()
208 if (cursor_index_ == files_.size() - 1) { in Write()
217 file = files_[++cursor_index_].get(); in Write()
254 for (const auto& file : files_) { in Flush()
275 for (auto&& file : files_) { in ~SplitFiemap()
[all …]
/system/core/libziparchive/
Dzip_writer.cc107 files_(std::move(writer.files_)), in ZipWriter()
119 files_ = std::move(writer.files_); in operator =()
271 if (state_ != State::kWritingZip || files_.empty()) { in DiscardLastEntry()
275 FileEntry& last_entry = files_.back(); in DiscardLastEntry()
280 files_.pop_back(); in DiscardLastEntry()
287 if (files_.empty()) { in GetLastEntry()
290 *out_entry = files_.back(); in GetLastEntry()
471 files_.emplace_back(std::move(current_file_entry_)); in FinishEntry()
482 for (FileEntry& file : files_) { in Finish()
511 er.num_records_on_disk = files_.size(); in Finish()
[all …]
/system/core/libunwindstack/
DDexFiles.cpp134 auto entry = files_.find(dex_file_offset); in GetDexFile()
135 if (entry == files_.end()) { in GetDexFile()
138 files_[dex_file_offset] = std::move(new_dex_file); in GetDexFile()
/system/core/libunwindstack/include/unwindstack/
DDexFiles.h69 std::unordered_map<uint64_t, std::unique_ptr<DexFile>> files_; variable
/system/core/fs_mgr/libfiemap_writer/include/libfiemap_writer/
Dsplit_fiemap_writer.h86 std::vector<FiemapUniquePtr> files_; variable
/system/core/libziparchive/include/ziparchive/
Dzip_writer.h179 std::vector<FileEntry> files_; variable