Home | History | Annotate | Download | only in dex2oat

Lines Matching refs:vdex_file

98 #include "vdex_file.h"
672 for (std::unique_ptr<File>& vdex_file : vdex_files_) {
673 vdex_file.release();
1346 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str()));
1347 vdex_files_.push_back(std::move(vdex_file));
1349 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str()));
1350 if (vdex_file == nullptr) {
1354 if (fchmod(vdex_file->Fd(), 0644) != 0) {
1356 vdex_file->Erase();
1359 vdex_files_.push_back(std::move(vdex_file));
1400 std::unique_ptr<File> vdex_file(new File(output_vdex_fd_, vdex_location, /* check_usage */ true));
1401 if (vdex_file == nullptr) {
1405 vdex_file->DisableAutoClose();
1409 if (vdex_file->SetLength(0) != 0) {
1411 vdex_file->Erase();
1415 vdex_files_.push_back(std::move(vdex_file));
2076 File* vdex_file = vdex_files_[i].get();
2079 std::make_unique<linker::FileOutputStream>(vdex_file));
2082 LOG(ERROR) << "Failed to write verifier dependencies into VDEX " << vdex_file->GetPath();
2087 LOG(ERROR) << "Failed to write quickening info into VDEX " << vdex_file->GetPath();
2093 LOG(ERROR) << "Failed to write vdex header into VDEX " << vdex_file->GetPath();