Home
last modified time | relevance | path

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

/bootable/recovery/otafault/
Dota_io.cpp66 FILE* fh = fopen(path, mode); in ota_fopen() local
67 filename_cache[(intptr_t)fh] = path; in ota_fopen()
68 return fh; in ota_fopen()
77 int ota_fclose(FILE* fh) { in ota_fclose() argument
78 filename_cache.erase((intptr_t)fh); in ota_fclose()
79 return fclose(fh); in ota_fclose()
Dota_io.h41 int ota_fclose(FILE* fh);
/bootable/recovery/tests/component/
Dapplypatch_test.cpp51 FILE* fh = fopen(&fname[0], "w"); in mangle_file() local
55 fwrite(&r, sizeof(short), 1, fh); in mangle_file()
57 fclose(fh); in mangle_file()
/bootable/recovery/updater/
Dblockimg.cpp1858 fec::io fh(filename->data, O_RDWR); in BlockImageRecoverFn() local
1860 if (!fh) { in BlockImageRecoverFn()
1866 if (!fh.has_ecc() || !fh.has_verity()) { in BlockImageRecoverFn()
1873 if (!fh.get_status(status)) { in BlockImageRecoverFn()
1890 if (fh.pread(buffer, BLOCKSIZE, (off64_t)j * BLOCKSIZE) != BLOCKSIZE) { in BlockImageRecoverFn()
/bootable/recovery/
Dfuse_sideload.cpp224 out.fh = 10; // an arbitrary number; we always use the same handle in handle_open()