Home
last modified time | relevance | path

Searched refs:comp_opts (Results 1 – 7 of 7) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dlz4_wrapper.c79 static struct lz4_comp_opts comp_opts; in lz4_dump_options() local
81 comp_opts.version = LZ4_LEGACY; in lz4_dump_options()
82 comp_opts.flags = hc ? LZ4_HC : 0; in lz4_dump_options()
83 SQUASHFS_INSWAP_COMP_OPTS(&comp_opts); in lz4_dump_options()
85 *size = sizeof(comp_opts); in lz4_dump_options()
86 return &comp_opts; in lz4_dump_options()
112 struct lz4_comp_opts *comp_opts = buffer; in lz4_extract_options() local
115 if(size < sizeof(*comp_opts)) in lz4_extract_options()
118 SQUASHFS_INSWAP_COMP_OPTS(comp_opts); in lz4_extract_options()
121 if(comp_opts->version != LZ4_LEGACY) { in lz4_extract_options()
[all …]
Dlzo_wrapper.c167 static struct lzo_comp_opts comp_opts; in lzo_dump_options() local
179 comp_opts.algorithm = algorithm; in lzo_dump_options()
180 comp_opts.compression_level = algorithm == SQUASHFS_LZO1X_999 ? in lzo_dump_options()
183 SQUASHFS_INSWAP_COMP_OPTS(&comp_opts); in lzo_dump_options()
185 *size = sizeof(comp_opts); in lzo_dump_options()
186 return &comp_opts; in lzo_dump_options()
212 struct lzo_comp_opts *comp_opts = buffer; in lzo_extract_options() local
222 if(size < sizeof(*comp_opts)) in lzo_extract_options()
225 SQUASHFS_INSWAP_COMP_OPTS(comp_opts); in lzo_extract_options()
228 switch(comp_opts->algorithm) { in lzo_extract_options()
[all …]
Dgzip_wrapper.c174 static struct gzip_comp_opts comp_opts; in gzip_dump_options() local
193 comp_opts.compression_level = compression_level; in gzip_dump_options()
194 comp_opts.window_size = window_size; in gzip_dump_options()
195 comp_opts.strategy = strategies; in gzip_dump_options()
197 SQUASHFS_INSWAP_COMP_OPTS(&comp_opts); in gzip_dump_options()
199 *size = sizeof(comp_opts); in gzip_dump_options()
200 return &comp_opts; in gzip_dump_options()
226 struct gzip_comp_opts *comp_opts = buffer; in gzip_extract_options() local
238 if(size < sizeof(*comp_opts)) in gzip_extract_options()
241 SQUASHFS_INSWAP_COMP_OPTS(comp_opts); in gzip_extract_options()
[all …]
Dxz_wrapper.c228 static struct comp_opts comp_opts; in xz_dump_options() local
247 comp_opts.dictionary_size = dictionary_size; in xz_dump_options()
248 comp_opts.flags = flags; in xz_dump_options()
250 SQUASHFS_INSWAP_COMP_OPTS(&comp_opts); in xz_dump_options()
252 *size = sizeof(comp_opts); in xz_dump_options()
253 return &comp_opts; in xz_dump_options()
279 struct comp_opts *comp_opts = buffer; in xz_extract_options() local
288 if(size != sizeof(struct comp_opts)) in xz_extract_options()
291 SQUASHFS_INSWAP_COMP_OPTS(comp_opts); in xz_extract_options()
293 dictionary_size = comp_opts->dictionary_size; in xz_extract_options()
[all …]
Dxz_wrapper.h67 struct comp_opts { struct
Dmksquashfs.c105 int comp_opts = FALSE; variable
6432 comp_opts = SQUASHFS_COMP_OPTS(sBlk.flags); in main()
6465 comp_opts = TRUE; in main()
6622 no_xattrs, comp_opts); in main()
/external/iptables/extensions/
Dlibxt_ipcomp.c18 static const struct xt_option_entry comp_opts[] = { variable
125 .x6_options = comp_opts,