Lines Matching refs:FILE
173 static int write_int32(FILE* fh, int32_t val) in write_int32()
184 static int write_int64(FILE* fh, int64_t val) in write_int64()
195 static int copy_file(FILE* dest, FILE* src, off_t size, const char* destName, in copy_file()
235 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) in write_header()
255 static int backup_dir(FILE* fh, const char* srcPath) in backup_dir()
345 FILE* src = fopen(fullPath, "r"); in backup_dir()
376 FILE* fh = fopen(destPath, "w"); in backup_data()
415 static int32_t read_int32(FILE* fh, int32_t defVal) in read_int32()
426 static int64_t read_int64(FILE* fh, int64_t defVal) in read_int64()
437 static int read_header(FILE* fh, int* type, char** path, struct stat* st) in read_header()
506 FILE* fh = fopen(srcPath, "r"); in restore_data()
572 FILE* dest = fopen(path, "w"); in restore_data()