Searched refs:output_file (Results 1 - 5 of 5) sorted by relevance

/system/core/libsparse/
H A Doutput_file.h22 struct output_file;
24 struct output_file *output_file_open_fd(int fd, unsigned int block_size, int64_t len,
26 struct output_file *output_file_open_callback(int (*write)(void *, const void *, int),
29 int write_data_chunk(struct output_file *out, unsigned int len, void *data);
30 int write_fill_chunk(struct output_file *out, unsigned int len,
32 int write_file_chunk(struct output_file *out, unsigned int len,
34 int write_fd_chunk(struct output_file *out, unsigned int len,
36 int write_skip_chunk(struct output_file *out, int64_t len);
37 void output_file_close(struct output_file *out);
H A Dsparse_file.h28 struct output_file *out;
H A Doutput_file.c33 #include "output_file.h"
63 int (*open)(struct output_file *, int fd);
64 int (*skip)(struct output_file *, int64_t);
65 int (*pad)(struct output_file *, int64_t);
66 int (*write)(struct output_file *, void *, int);
67 void (*close)(struct output_file *);
71 int (*write_data_chunk)(struct output_file *out, unsigned int len,
73 int (*write_fill_chunk)(struct output_file *out, unsigned int len,
75 int (*write_skip_chunk)(struct output_file *out, int64_t len);
76 int (*write_end_chunk)(struct output_file *ou
79 struct output_file { struct
[all...]
H A Dsparse.c25 #include "output_file.h"
104 static int sparse_file_write_block(struct output_file *out,
132 static int write_all_blocks(struct sparse_file *s, struct output_file *out)
166 struct output_file *out;
186 struct output_file *out;
214 struct output_file *out;
237 struct output_file *out_counter;
H A DAndroid.mk7 output_file.c \

Completed in 81 milliseconds