Searched refs:output_file (Results 1 – 5 of 5) sorted by relevance
/aosp14/system/core/libsparse/ |
H A D | output_file.cpp | 64 int (*open)(struct output_file*, int fd); 65 int (*skip)(struct output_file*, int64_t); 66 int (*pad)(struct output_file*, int64_t); 67 int (*write)(struct output_file*, void*, size_t); 68 void (*close)(struct output_file*); 75 int (*write_end_chunk)(struct output_file* out); 79 struct output_file { struct 94 struct output_file out; argument 101 struct output_file out; 108 struct output_file out; [all …]
|
H A D | output_file.h | 26 struct output_file; 28 struct output_file* output_file_open_fd(int fd, unsigned int block_size, int64_t len, int gz, 30 struct output_file* output_file_open_callback(int (*write)(void*, const void*, size_t), void* priv, 33 int write_data_chunk(struct output_file* out, uint64_t len, void* data); 34 int write_fill_chunk(struct output_file* out, uint64_t len, uint32_t fill_val); 35 int write_file_chunk(struct output_file* out, uint64_t len, const char* file, int64_t offset); 36 int write_fd_chunk(struct output_file* out, uint64_t len, int fd, int64_t offset); 37 int write_skip_chunk(struct output_file* out, uint64_t len); 38 void output_file_close(struct output_file* out);
|
H A D | sparse.cpp | 91 static int sparse_file_write_block(struct output_file* out, struct backed_block* bb) { in sparse_file_write_block() 114 static int write_all_blocks(struct sparse_file* s, struct output_file* out) { in write_all_blocks() 149 struct output_file* out; in sparse_file_write() 172 struct output_file* out; in sparse_file_callback() 206 struct output_file* out; in sparse_file_foreach_chunk() 240 struct output_file* out; in sparse_file_len() 266 struct output_file* out_counter; in move_chunks_up_to_len()
|
H A D | sparse_file.h | 32 struct output_file* out;
|
H A D | Android.bp | 17 "output_file.cpp",
|