Home
last modified time | relevance | path

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

/bootable/recovery/uncrypt/
Duncrypt.cpp251 android::base::unique_fd mapfd(open(tmp_map_file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR)); in ProductBlockMap() local
252 if (mapfd == -1) { in ProductBlockMap()
279 if (!android::base::WriteStringToFd(s, mapfd)) { in ProductBlockMap()
415 android::base::StringPrintf("%zu\n", ranges.size() / 2), mapfd)) { in ProductBlockMap()
421 android::base::StringPrintf("%d %d\n", ranges[i], ranges[i+1]), mapfd)) { in ProductBlockMap()
427 if (fsync(mapfd) == -1) { in ProductBlockMap()
431 if (close(mapfd.release()) == -1) { in ProductBlockMap()