Home
last modified time | relevance | path

Searched refs:compressLevel (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_zip.cpp58 int compressLevel = 0; in AddBuffToZip() local
63 (compressLevel != 0) ? Z_DEFLATED : 0, in AddBuffToZip()
64 compressLevel, 0, in AddBuffToZip()
101 int32_t compressLevel = 0; in AddFileContextToZip() local
106 (compressLevel != 0) ? Z_DEFLATED : 0, in AddFileContextToZip()
107 compressLevel, 0, in AddFileContextToZip()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
H A Dnapi_zlib.cpp148 napi_value compressLevel = nullptr; in CompressLevelInit() local
149 napi_create_object(env, &compressLevel); in CompressLevelInit()
150 …SetNamedProperty(env, compressLevel, "COMPRESS_LEVEL_NO_COMPRESSION", COMPRESS_LEVEL_NO_COMPRESSIO… in CompressLevelInit()
151 SetNamedProperty(env, compressLevel, "COMPRESS_LEVEL_BEST_SPEED", COMPRESS_LEVEL_BEST_SPEED); in CompressLevelInit()
152 …SetNamedProperty(env, compressLevel, "COMPRESS_LEVEL_BEST_COMPRESSION", COMPRESS_LEVEL_BEST_COMPRE… in CompressLevelInit()
153 …SetNamedProperty(env, compressLevel, "COMPRESS_LEVEL_DEFAULT_COMPRESSION", COMPRESS_LEVEL_DEFAULT_… in CompressLevelInit()
156 DECLARE_NAPI_PROPERTY("CompressLevel", compressLevel), in CompressLevelInit()