Searched refs:comp_level (Results 1 – 7 of 7) sorted by relevance
39 int comp_level; member49 mkuz_zlib_init(int *comp_level) in mkuz_zlib_init() argument53 if (*comp_level == USE_DEFAULT_LEVEL) in mkuz_zlib_init()54 *comp_level = Z_BEST_COMPRESSION; in mkuz_zlib_init()55 if (*comp_level < Z_BEST_SPEED || *comp_level > Z_BEST_COMPRESSION) in mkuz_zlib_init()57 *comp_level); in mkuz_zlib_init()61 zp->comp_level = *comp_level; in mkuz_zlib_init()76 zp->comp_level) != Z_OK) { in mkuz_zlib_compress()
47 mkuz_zstd_init(int *comp_level) in mkuz_zstd_init() argument53 if (*comp_level == USE_DEFAULT_LEVEL) in mkuz_zstd_init()54 *comp_level = 9; in mkuz_zstd_init()55 if (*comp_level < ZSTD_minCLevel() || *comp_level == 0 || in mkuz_zstd_init()56 *comp_level > ZSTD_maxCLevel()) in mkuz_zstd_init()58 *comp_level); in mkuz_zstd_init()65 *comp_level); in mkuz_zstd_init()68 *comp_level, ZSTD_getErrorName(rc)); in mkuz_zstd_init()
52 mkuz_lzma_init(int *comp_level) in mkuz_lzma_init() argument56 if (*comp_level == USE_DEFAULT_LEVEL) in mkuz_lzma_init()57 *comp_level = LZMA_PRESET_DEFAULT; in mkuz_lzma_init()58 if (*comp_level < 0 || *comp_level > 9) in mkuz_lzma_init()60 *comp_level); in mkuz_lzma_init()67 if (lzma_lzma_preset(&ulp->opt_lzma, *comp_level)) in mkuz_lzma_init()
133 int comp_level; in main() local153 comp_level = USE_DEFAULT_LEVEL; in main()171 comp_level = atoi(optarg); in main()255 cfs.handler->f_init(&comp_level); in main()256 cfs.comp_level = comp_level; in main()
41 int comp_level; member
68 c_ctx = cfp->handler->f_init(&cfp->comp_level); in cworker()
280 int comp_level; /* Compression level to use */ member334 ctx->comp_level = Z_DEFAULT_COMPRESSION; in bio_zlib_new()450 if ((ret = deflateInit(zout, ctx->comp_level)) != Z_OK) { in bio_zlib_write()