Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 8 of 8) sorted by relevance

/system/core/libsparse/include/sparse/
Dsparse.h197 int (*write)(void *priv, const void *data, int len), void *priv);
/system/core/libsparse/
Dsparse.c173 int (*write)(void *priv, const void *data, int len), void *priv) in sparse_file_callback() argument
180 out = output_file_open_callback(write, priv, s->block_size, s->len, false, in sparse_file_callback()
193 static int out_counter_write(void *priv, const void *data __unused, int len) in out_counter_write() argument
195 int64_t *count = priv; in out_counter_write()
Doutput_file.c111 void *priv; member
112 int (*write)(void *priv, const void *buf, int len);
281 ret = outc->write(outc->priv, NULL, to_write); in callback_file_skip()
300 return outc->write(outc->priv, data, len); in callback_file_write()
631 void *priv, unsigned int block_size, int64_t len, in output_file_open_callback() argument
644 outc->priv = priv; in output_file_open_callback()
Doutput_file.h27 void *priv, unsigned int block_size, int64_t len, int gz, int sparse,
/system/core/init/
Dparser.h33 void *priv; member
Dinit_parser.c297 struct listnode *import_list = state->priv; in parse_import()
363 state.priv = &import_list; in parse_config()
/system/core/fastboot/
Dprotocol.c223 static int fb_download_data_sparse_write(void *priv, const void *data, int len) in fb_download_data_sparse_write() argument
226 usb_handle *usb = priv; in fb_download_data_sparse_write()
/system/extras/verity/
Dbuild_verity_tree.cpp89 int hash_chunk(void *priv, const void *data, int len) in hash_chunk() argument
91 struct sparse_hash_ctx *ctx = (struct sparse_hash_ctx *)priv; in hash_chunk()