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.c31 #include "output_file.h"
70 int (*open)(struct output_file *, int fd);
71 int (*skip)(struct output_file *, int64_t);
72 int (*pad)(struct output_file *, int64_t);
73 int (*write)(struct output_file *, void *, int);
74 void (*close)(struct output_file *);
78 int (*write_data_chunk)(struct output_file *out, unsigned int len,
80 int (*write_fill_chunk)(struct output_file *out, unsigned int len,
82 int (*write_skip_chunk)(struct output_file *out, int64_t len);
83 int (*write_end_chunk)(struct output_file *ou
86 struct output_file { struct
[all...]
H A Dsparse.c24 #include "output_file.h"
103 static void sparse_file_write_block(struct output_file *out,
125 static int write_all_blocks(struct sparse_file *s, struct output_file *out)
156 struct output_file *out;
176 struct output_file *out;
204 struct output_file *out;
227 struct output_file *out_counter;
H A DAndroid.mk7 output_file.c \

Completed in 64 milliseconds