Searched refs:comp_level (Results 1 – 7 of 7) sorted by relevance
38 int comp_level; member48 mkuz_zlib_init(int *comp_level) in mkuz_zlib_init() argument52 if (*comp_level == USE_DEFAULT_LEVEL) in mkuz_zlib_init()53 *comp_level = Z_BEST_COMPRESSION; in mkuz_zlib_init()54 if (*comp_level < Z_BEST_SPEED || *comp_level > Z_BEST_COMPRESSION) in mkuz_zlib_init()56 *comp_level); in mkuz_zlib_init()60 zp->comp_level = *comp_level; in mkuz_zlib_init()75 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()
51 mkuz_lzma_init(int *comp_level) in mkuz_lzma_init() argument55 if (*comp_level == USE_DEFAULT_LEVEL) in mkuz_lzma_init()56 *comp_level = LZMA_PRESET_DEFAULT; in mkuz_lzma_init()57 if (*comp_level < 0 || *comp_level > 9) in mkuz_lzma_init()59 *comp_level); in mkuz_lzma_init()66 if (lzma_lzma_preset(&ulp->opt_lzma, *comp_level)) in mkuz_lzma_init()
132 int comp_level; in main() local152 comp_level = USE_DEFAULT_LEVEL; in main()170 comp_level = atoi(optarg); in main()254 cfs.handler->f_init(&comp_level); in main()255 cfs.comp_level = comp_level; in main()
41 int comp_level; member
67 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()