Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery-persist.cpp65 FILE* dest_fp = fopen(destination, "we"); in copy_file() local
66 if (dest_fp == nullptr) { in copy_file()
74 fwrite(buf, 1, bytes, dest_fp); in copy_file()
78 check_and_fclose(dest_fp, destination); in copy_file()
/bootable/recovery/recovery_utils/
Dlogging.cpp182 FILE* dest_fp = fopen_path(destination, append ? "ae" : "we", logging_sehandle); in copy_log_file() local
183 if (dest_fp == nullptr) { in copy_log_file()
194 fwrite(buf, 1, bytes, dest_fp); in copy_log_file()
201 check_and_fclose(dest_fp, destination); in copy_log_file()