Searched refs:comp_level (Results 1 – 7 of 7) sorted by relevance
41 int comp_level; member51 mkuz_zlib_init(int *comp_level) in mkuz_zlib_init() argument55 if (*comp_level == USE_DEFAULT_LEVEL) in mkuz_zlib_init()56 *comp_level = Z_BEST_COMPRESSION; in mkuz_zlib_init()57 if (*comp_level < Z_BEST_SPEED || *comp_level > Z_BEST_COMPRESSION) in mkuz_zlib_init()59 *comp_level); in mkuz_zlib_init()63 zp->comp_level = *comp_level; in mkuz_zlib_init()78 zp->comp_level) != Z_OK) { in mkuz_zlib_compress()
49 mkuz_zstd_init(int *comp_level) in mkuz_zstd_init() argument55 if (*comp_level == USE_DEFAULT_LEVEL) in mkuz_zstd_init()56 *comp_level = 9; in mkuz_zstd_init()57 if (*comp_level < ZSTD_minCLevel() || *comp_level == 0 || in mkuz_zstd_init()58 *comp_level > ZSTD_maxCLevel()) in mkuz_zstd_init()60 *comp_level); in mkuz_zstd_init()67 *comp_level); in mkuz_zstd_init()70 *comp_level, ZSTD_getErrorName(rc)); in mkuz_zstd_init()
54 mkuz_lzma_init(int *comp_level) in mkuz_lzma_init() argument58 if (*comp_level == USE_DEFAULT_LEVEL) in mkuz_lzma_init()59 *comp_level = LZMA_PRESET_DEFAULT; in mkuz_lzma_init()60 if (*comp_level < 0 || *comp_level > 9) in mkuz_lzma_init()62 *comp_level); in mkuz_lzma_init()69 if (lzma_lzma_preset(&ulp->opt_lzma, *comp_level)) in mkuz_lzma_init()
136 int comp_level; in main() local156 comp_level = USE_DEFAULT_LEVEL; in main()174 comp_level = atoi(optarg); in main()258 c_ctx = cfs.handler->f_init(&comp_level); in main()259 cfs.comp_level = comp_level; in main()
43 int comp_level; member
70 c_ctx = cfp->handler->f_init(&cfp->comp_level); in cworker()
283 int comp_level; /* Compression level to use */ member339 ctx->comp_level = Z_DEFAULT_COMPRESSION; in bio_zlib_new()450 deflateInit(zout, ctx->comp_level); in bio_zlib_write()