Searched refs:tmp_map_file (Results 1 - 1 of 1) sorted by relevance

/bootable/recovery/uncrypt/
H A Duncrypt.cpp259 std::string tmp_map_file = std::string(map_file) + ".tmp"; local
260 android::base::unique_fd mapfd(open(tmp_map_file.c_str(),
263 PLOG(ERROR) << "failed to open " << tmp_map_file;
290 PLOG(ERROR) << "failed to write " << tmp_map_file;
411 PLOG(ERROR) << "failed to write " << tmp_map_file;
417 PLOG(ERROR) << "failed to write " << tmp_map_file;
423 PLOG(ERROR) << "failed to fsync \"" << tmp_map_file << "\"";
427 PLOG(ERROR) << "failed to close " << tmp_map_file;
442 if (rename(tmp_map_file.c_str(), map_file) == -1) {
443 PLOG(ERROR) << "failed to rename " << tmp_map_file << " t
[all...]

Completed in 17 milliseconds