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

/bootable/recovery/otafault/
H A Dota_io.cpp77 FILE* fh = fopen(path, mode); local
79 filename_cache[(intptr_t)fh] = path;
80 return fh;
98 static int __ota_fclose(FILE* fh) { argument
100 filename_cache.erase(reinterpret_cast<intptr_t>(fh));
101 return fclose(fh);
108 int ota_fclose(unique_file& fh) { argument
109 return __ota_fclose(fh.release());
/bootable/recovery/otafault/include/otafault/
H A Dota_io.h68 int ota_fclose(unique_file& fh);
/bootable/recovery/updater/
H A Dblockimg.cpp2076 fec::io fh(filename->data, O_RDWR);
2078 if (!fh) {
2084 if (!fh.has_ecc() || !fh.has_verity()) {
2090 if (!fh.get_status(status)) {
2103 if (fh.pread(buffer, BLOCKSIZE, static_cast<off64_t>(j) * BLOCKSIZE) != BLOCKSIZE) {
/bootable/recovery/
H A Dfuse_sideload.cpp213 out.fh = 10; // an arbitrary number; we always use the same handle

Completed in 44 milliseconds