react-native-update 10.34.1 → 10.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitmodules +6 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/CHANGELOG.md +291 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/LICENSE +48 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/Makefile +473 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/README.md +552 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/README_cn.md +547 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_atosize.h +127 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_clock_for_demo.h +59 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_dir_ignore.h +191 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_hextobytes.h +112 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bsdiff_wrapper.cpp +389 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bsdiff_wrapper.h +73 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bspatch_wrapper.c +266 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bspatch_wrapper.h +58 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +190 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.bat +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.sh +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs_patchers.bat +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs_patchers.sh +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +49 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +31 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +38 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +26 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +155 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +364 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +348 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/bzip2.vcxproj +228 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/hpatchz_test.vcxproj +215 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/libdeflate.vcxproj +256 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/longPathAware.exe.manifest +7 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/lzma.vcxproj +271 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/testHashClash.vcxproj +228 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +296 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/zlib.vcxproj +242 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/zstd.vcxproj +287 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +39 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +447 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +703 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +463 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/libdeflate.xcodeproj/project.pbxproj +286 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lz4.xcodeproj/project.pbxproj +268 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +585 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +301 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +591 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zlib.xcodeproj/project.pbxproj +308 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +524 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatch_objc/hpatch_objc.h +33 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatch_objc/hpatch_objc.m +33 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatchz.xcodeproj/project.pbxproj +774 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +799 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.cpp +201 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.h +59 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_plugin_demo.h +1526 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +1637 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +846 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +79 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +339 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +190 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +339 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.h +87 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +43 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +836 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +246 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_private.h +47 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +112 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +69 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +65 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +346 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +149 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +176 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +84 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +146 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +61 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +152 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +76 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.c +735 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.h +240 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz.cpp +1971 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz_import_patch.c +31 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz_import_patch.h +42 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +307 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatchz.c +1786 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +1746 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +201 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_for_hpatch_lite.h +74 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +187 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/match_block.cpp +478 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/match_block.h +222 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +383 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +73 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +184 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +88 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/config.h +89 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +325 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.cpp +10 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +97 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.cpp +14 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +108 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +186 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +780 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +579 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +415 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +144 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +164 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +148 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +769 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +97 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +954 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +299 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.cpp +168 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.h +44 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +72 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +130 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/qsort_parallel.h +125 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +428 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +133 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/checksum_plugin.h +52 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hcache_old_mt.c +243 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hcache_old_mt.h +51 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hinput_mt.c +153 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hinput_mt.h +54 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_houtput_mt.c +158 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_houtput_mt.h +49 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hpatch_mt.c +294 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hpatch_mt.h +59 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_patch_private_mt.h +217 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/hpatch_mt.c +349 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/hpatch_mt.h +110 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +2643 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +253 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +245 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +361 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.c +366 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.h +91 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite_input_cache.h +31 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite_types.h +106 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +170 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +250 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +67 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import_c.c +497 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import_c.h +106 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_match_in_old_sign.cpp +254 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_match_in_old_sign.h +39 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_sign_diff_type.h +37 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/sign_diff.cpp +62 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/sign_diff.h +44 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dict_decompress_plugin.h +156 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dir_sync_client.cpp +440 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dir_sync_client.h +88 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_old.cpp +332 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_old.h +48 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_types.h +198 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client.cpp +697 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client.h +74 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_private.h +262 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_type.h +174 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_type_private.h +174 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_diff_data.cpp +252 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_diff_data.h +67 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_info_client.cpp +680 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_info_client.h +137 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dict_compress_plugin.h +83 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dir_sync_make.cpp +125 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dir_sync_make.h +56 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/hsynz_plugin.h +55 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/match_in_new.cpp +147 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/match_in_new.h +38 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_info_make.cpp +354 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_info_make.h +76 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make.cpp +521 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make.h +69 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make_hash_clash.h +122 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make_private.h +66 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_type.h +36 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_type_private.h +81 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_wrapper.cpp +247 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_wrapper.h +71 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_info_client.cpp +351 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_info_client.h +42 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_match_in_old.cpp +124 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_match_in_old.h +38 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_info_make.cpp +203 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_info_make.h +55 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_make_wrapper.cpp +79 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_make_wrapper.h +66 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +301 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +291 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/testHashClash.cpp +630 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/unit_test.cpp +889 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcdiff_wrapper.cpp +628 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcdiff_wrapper.h +95 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_code_table.h +78 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_wrapper.c +950 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_wrapper.h +72 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm/7zCrcOpt.asm +100 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm64/7zAsm.S +181 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm64/LzmaDecOpt.S +1487 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zAsm.asm +341 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +258 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/AesOpt.asm +742 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzFindOpt.asm +540 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +1339 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/Sha256Opt.asm +275 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/Sort.asm +860 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +523 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7z.h +204 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.c +89 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zArcIn.c +1786 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.c +36 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf2.c +52 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.c +464 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrcOpt.c +199 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zDec.c +673 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.c +443 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zStream.c +199 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zTypes.h +597 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.rc +55 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zWindows.h +101 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zip_gcc_c.mak +360 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.c +429 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.h +60 -0
- package/harmony/pushy/src/main/cpp/lzma/C/AesOpt.c +1002 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.c +605 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Asm_c.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.c +290 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.h +332 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2Enc.c +506 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.c +709 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.h +105 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra86.c +187 -0
- package/harmony/pushy/src/main/cpp/lzma/C/BraIA64.c +14 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Compiler.h +246 -0
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.c +970 -0
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.h +686 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.c +169 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.c +99 -0
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.h +20 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.c +1746 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.h +160 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.c +1422 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.h +114 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindOpt.c +578 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzHash.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.c +493 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.c +1095 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.h +81 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.c +807 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86.h +111 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Dec.c +53 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Enc.c +103 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.c +1363 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.h +237 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.c +3150 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.h +85 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.c +42 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.h +138 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.c +604 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.h +144 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.c +1124 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.h +202 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd.h +169 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.c +1131 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.h +181 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Dec.c +312 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Enc.c +337 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Precomp.h +127 -0
- package/harmony/pushy/src/main/cpp/lzma/C/RotateDefs.h +50 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.c +492 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256Opt.c +451 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.c +268 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.h +15 -0
- package/harmony/pushy/src/main/cpp/lzma/C/SwapBytes.c +835 -0
- package/harmony/pushy/src/main/cpp/lzma/C/SwapBytes.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.c +812 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.h +260 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsp +249 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7zMain.c +889 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile +44 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile.gcc +32 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +313 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +192 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/Precomp.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile +30 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +21 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.def +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +206 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +15 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/Precomp.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/makefile +59 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +657 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsp +231 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile +44 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +40 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.c +92 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.h +542 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.c +140 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64Opt.c +261 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzDec.c +2876 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.c +1384 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.h +64 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzIn.c +385 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_arm64.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_x86.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_arm64.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_x64.mak +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_x86.mak +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_mac_arm64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_mac_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/warn_clang.mak +1 -0
- package/harmony/pushy/src/main/cpp/lzma/C/warn_clang_mac.mak +1 -0
- package/harmony/pushy/src/main/cpp/lzma/C/warn_gcc.mak +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip.mak +240 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip_gcc.mak +1370 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Aes.mak +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +599 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +73 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +721 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +95 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +444 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +264 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +101 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +795 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +178 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +1162 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +156 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +1764 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +454 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +207 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +1026 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +346 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +49 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +3088 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +167 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +158 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +1144 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +447 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +315 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +169 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +140 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +33 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +193 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +175 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +754 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Icons/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +608 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +353 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +1452 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Asm.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +2090 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +168 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile.gcc +279 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/resource.rc +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +817 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +540 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +68 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +131 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaSpec/LzmaSpec.cpp +715 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +1017 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +521 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +137 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile.gcc +215 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +246 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +83 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +135 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +872 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +371 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.rc +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +1074 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +268 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +159 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.h +1 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +358 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +548 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +200 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +923 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +205 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +577 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +201 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +237 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +45 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +393 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +221 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +765 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +349 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MultiOutStream.cpp +855 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MultiOutStream.h +160 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +111 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +133 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +33 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +80 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +106 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +151 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +78 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +290 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +146 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +101 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +47 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +867 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +106 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +59 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +91 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +378 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +153 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyRegister.cpp +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +126 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +267 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +134 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +30 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +350 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +113 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +374 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +45 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +219 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +193 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +49 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +151 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +243 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc.mak +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc64.mak +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +315 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +130 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +277 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +122 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +241 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +119 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Guid.txt +243 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/ICoder.h +480 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IDecl.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IPassword.h +54 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IProgress.h +20 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IStream.h +210 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzFindOpt.mak +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec_gcc.mak +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersion.h +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/PropID.h +178 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Sha256.mak +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Sort.mak +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/SubBuild.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +1145 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +331 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile.gcc +72 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +1799 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +170 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +3077 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +641 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +176 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +398 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +5026 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +407 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +1637 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +575 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +107 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +44 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +296 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +2273 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +322 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +112 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +1337 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +482 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +3702 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +469 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +745 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +88 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.cpp +25 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +20 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +1931 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +221 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.cpp +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +1069 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +197 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +302 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +74 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +60 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +84 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +30 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +212 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +946 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +211 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +426 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +1417 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +1635 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +235 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +115 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +73 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +186 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +998 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +148 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +118 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +68 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile.gcc +187 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/resource.rc +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +1132 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +32 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialogRes.h +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialogRes.h +4 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +1272 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +347 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.cpp +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialog.cpp +218 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialog.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialogRes.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +119 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +288 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +89 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +93 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialogRes.h +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +201 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +171 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.rc +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +1483 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +355 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.rc +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +49 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +85 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialogRes.h +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.cpp +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +104 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/StdAfx.h +67 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +351 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +65 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +199 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +25 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/7zG.exe.manifest +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +59 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +421 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +113 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.rc +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialogRes.h +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +297 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractRes.h +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/resource2.h +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_arm64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_x64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_x86.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_arm64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_x64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_x86.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_mac_arm64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_mac_x64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_arm64.mak +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_x86.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_arm64.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_x86.mak +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_mac_arm64.mak +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_mac_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_clang.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_clang_mac.mak +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_gcc.mak +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Build.mak +252 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/AutoPtr.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CRC.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ComTry.h +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +231 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +63 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common0.h +330 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +77 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Defs.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynLimBuf.cpp +93 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynLimBuf.h +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.cpp +215 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.h +54 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Lang.h +30 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +150 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/LzFindPrepare.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer.h +297 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +185 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyCom.h +693 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyException.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +63 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyLinux.h +75 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.cpp +1842 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.h +1079 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyTypes.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyUnknown.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.h +724 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +292 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.h +325 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +340 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Prepare.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +67 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +248 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +762 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.h +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +154 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +123 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +863 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.h +384 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +789 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.h +231 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Init.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/COM.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Clipboard.cpp +130 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Clipboard.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +269 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +77 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +52 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +446 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +213 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.cpp +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +162 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +156 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +165 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +50 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Static.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +202 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +53 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.cpp +178 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.h +103 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Defs.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +133 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +1362 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.h +172 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +1449 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.h +347 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +954 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.h +467 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +697 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.cpp +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.cpp +911 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.h +142 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +187 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Handle.h +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryGlobal.cpp +36 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryGlobal.h +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/NtCheck.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +393 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.h +173 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +274 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +47 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.cpp +474 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.h +96 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +103 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +186 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +150 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.cpp +839 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.h +129 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.h +386 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.cpp +421 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.h +189 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SystemInfo.cpp +1251 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SystemInfo.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Thread.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +467 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +146 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.cpp +179 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.h +363 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CRC.cs +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CommandLineParser.cs +274 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/InBuffer.cs +72 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/OutBuffer.cs +47 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/IMatchFinder.cs +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzBinTree.cs +367 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzInWindow.cs +132 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzOutWindow.cs +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaBase.cs +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaDecoder.cs +398 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaEncoder.cs +1480 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.cs +364 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.sln +20 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaBench.cs +340 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/AssemblyInfo.cs +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Resources.cs +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Settings.cs +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoder.cs +234 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBit.cs +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBitTree.cs +157 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/ICoder.cs +157 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zC.txt +187 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zFormat.txt +469 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/Methods.txt +177 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/installer.txt +166 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-history.txt +651 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-sdk.txt +437 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-specification.txt +1176 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma.txt +345 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/CRC.java +52 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/BinTree.java +382 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/InWindow.java +131 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/OutWindow.java +85 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Base.java +88 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Decoder.java +329 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Encoder.java +1416 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeDecoder.java +55 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeEncoder.java +99 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Decoder.java +88 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Encoder.java +151 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/ICodeProgress.java +6 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaAlone.java +253 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaBench.java +392 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zS2.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zS2con.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zSD.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zdec.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zr.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/config.txt +5 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/cr.bat +5 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/lzma.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1131 @@
|
|
|
1
|
+
/* Ppmd7.c -- PPMdH codec
|
|
2
|
+
2023-09-07 : Igor Pavlov : Public domain
|
|
3
|
+
This code is based on PPMd var.H (2001): Dmitry Shkarin : Public domain */
|
|
4
|
+
|
|
5
|
+
#include "Precomp.h"
|
|
6
|
+
|
|
7
|
+
#include <string.h>
|
|
8
|
+
|
|
9
|
+
#include "Ppmd7.h"
|
|
10
|
+
|
|
11
|
+
/* define PPMD7_ORDER_0_SUPPPORT to suport order-0 mode, unsupported by orignal PPMd var.H. code */
|
|
12
|
+
// #define PPMD7_ORDER_0_SUPPPORT
|
|
13
|
+
|
|
14
|
+
MY_ALIGN(16)
|
|
15
|
+
static const Byte PPMD7_kExpEscape[16] = { 25, 14, 9, 7, 5, 5, 4, 4, 4, 3, 3, 3, 2, 2, 2, 2 };
|
|
16
|
+
MY_ALIGN(16)
|
|
17
|
+
static const UInt16 PPMD7_kInitBinEsc[] = { 0x3CDD, 0x1F3F, 0x59BF, 0x48F3, 0x64A1, 0x5ABC, 0x6632, 0x6051};
|
|
18
|
+
|
|
19
|
+
#define MAX_FREQ 124
|
|
20
|
+
#define UNIT_SIZE 12
|
|
21
|
+
|
|
22
|
+
#define U2B(nu) ((UInt32)(nu) * UNIT_SIZE)
|
|
23
|
+
#define U2I(nu) (p->Units2Indx[(size_t)(nu) - 1])
|
|
24
|
+
#define I2U(indx) ((unsigned)p->Indx2Units[indx])
|
|
25
|
+
#define I2U_UInt16(indx) ((UInt16)p->Indx2Units[indx])
|
|
26
|
+
|
|
27
|
+
#define REF(ptr) Ppmd_GetRef(p, ptr)
|
|
28
|
+
|
|
29
|
+
#define STATS_REF(ptr) ((CPpmd_State_Ref)REF(ptr))
|
|
30
|
+
|
|
31
|
+
#define CTX(ref) ((CPpmd7_Context *)Ppmd7_GetContext(p, ref))
|
|
32
|
+
#define STATS(ctx) Ppmd7_GetStats(p, ctx)
|
|
33
|
+
#define ONE_STATE(ctx) Ppmd7Context_OneState(ctx)
|
|
34
|
+
#define SUFFIX(ctx) CTX((ctx)->Suffix)
|
|
35
|
+
|
|
36
|
+
typedef CPpmd7_Context * PPMD7_CTX_PTR;
|
|
37
|
+
|
|
38
|
+
struct CPpmd7_Node_;
|
|
39
|
+
|
|
40
|
+
typedef Ppmd_Ref_Type(struct CPpmd7_Node_) CPpmd7_Node_Ref;
|
|
41
|
+
|
|
42
|
+
typedef struct CPpmd7_Node_
|
|
43
|
+
{
|
|
44
|
+
UInt16 Stamp; /* must be at offset 0 as CPpmd7_Context::NumStats. Stamp=0 means free */
|
|
45
|
+
UInt16 NU;
|
|
46
|
+
CPpmd7_Node_Ref Next; /* must be at offset >= 4 */
|
|
47
|
+
CPpmd7_Node_Ref Prev;
|
|
48
|
+
} CPpmd7_Node;
|
|
49
|
+
|
|
50
|
+
#define NODE(r) Ppmd_GetPtr_Type(p, r, CPpmd7_Node)
|
|
51
|
+
|
|
52
|
+
void Ppmd7_Construct(CPpmd7 *p)
|
|
53
|
+
{
|
|
54
|
+
unsigned i, k, m;
|
|
55
|
+
|
|
56
|
+
p->Base = NULL;
|
|
57
|
+
|
|
58
|
+
for (i = 0, k = 0; i < PPMD_NUM_INDEXES; i++)
|
|
59
|
+
{
|
|
60
|
+
unsigned step = (i >= 12 ? 4 : (i >> 2) + 1);
|
|
61
|
+
do { p->Units2Indx[k++] = (Byte)i; } while (--step);
|
|
62
|
+
p->Indx2Units[i] = (Byte)k;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
p->NS2BSIndx[0] = (0 << 1);
|
|
66
|
+
p->NS2BSIndx[1] = (1 << 1);
|
|
67
|
+
memset(p->NS2BSIndx + 2, (2 << 1), 9);
|
|
68
|
+
memset(p->NS2BSIndx + 11, (3 << 1), 256 - 11);
|
|
69
|
+
|
|
70
|
+
for (i = 0; i < 3; i++)
|
|
71
|
+
p->NS2Indx[i] = (Byte)i;
|
|
72
|
+
|
|
73
|
+
for (m = i, k = 1; i < 256; i++)
|
|
74
|
+
{
|
|
75
|
+
p->NS2Indx[i] = (Byte)m;
|
|
76
|
+
if (--k == 0)
|
|
77
|
+
k = (++m) - 2;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
memcpy(p->ExpEscape, PPMD7_kExpEscape, 16);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
void Ppmd7_Free(CPpmd7 *p, ISzAllocPtr alloc)
|
|
85
|
+
{
|
|
86
|
+
ISzAlloc_Free(alloc, p->Base);
|
|
87
|
+
p->Size = 0;
|
|
88
|
+
p->Base = NULL;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
BoolInt Ppmd7_Alloc(CPpmd7 *p, UInt32 size, ISzAllocPtr alloc)
|
|
93
|
+
{
|
|
94
|
+
if (!p->Base || p->Size != size)
|
|
95
|
+
{
|
|
96
|
+
Ppmd7_Free(p, alloc);
|
|
97
|
+
p->AlignOffset = (4 - size) & 3;
|
|
98
|
+
if ((p->Base = (Byte *)ISzAlloc_Alloc(alloc, p->AlignOffset + size)) == NULL)
|
|
99
|
+
return False;
|
|
100
|
+
p->Size = size;
|
|
101
|
+
}
|
|
102
|
+
return True;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
// ---------- Internal Memory Allocator ----------
|
|
108
|
+
|
|
109
|
+
/* We can use CPpmd7_Node in list of free units (as in Ppmd8)
|
|
110
|
+
But we still need one additional list walk pass in Ppmd7_GlueFreeBlocks().
|
|
111
|
+
So we use simple CPpmd_Void_Ref instead of CPpmd7_Node in Ppmd7_InsertNode() / Ppmd7_RemoveNode()
|
|
112
|
+
*/
|
|
113
|
+
|
|
114
|
+
#define EMPTY_NODE 0
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
static void Ppmd7_InsertNode(CPpmd7 *p, void *node, unsigned indx)
|
|
118
|
+
{
|
|
119
|
+
*((CPpmd_Void_Ref *)node) = p->FreeList[indx];
|
|
120
|
+
// ((CPpmd7_Node *)node)->Next = (CPpmd7_Node_Ref)p->FreeList[indx];
|
|
121
|
+
|
|
122
|
+
p->FreeList[indx] = REF(node);
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
static void *Ppmd7_RemoveNode(CPpmd7 *p, unsigned indx)
|
|
128
|
+
{
|
|
129
|
+
CPpmd_Void_Ref *node = (CPpmd_Void_Ref *)Ppmd7_GetPtr(p, p->FreeList[indx]);
|
|
130
|
+
p->FreeList[indx] = *node;
|
|
131
|
+
// CPpmd7_Node *node = NODE((CPpmd7_Node_Ref)p->FreeList[indx]);
|
|
132
|
+
// p->FreeList[indx] = node->Next;
|
|
133
|
+
return node;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
static void Ppmd7_SplitBlock(CPpmd7 *p, void *ptr, unsigned oldIndx, unsigned newIndx)
|
|
138
|
+
{
|
|
139
|
+
unsigned i, nu = I2U(oldIndx) - I2U(newIndx);
|
|
140
|
+
ptr = (Byte *)ptr + U2B(I2U(newIndx));
|
|
141
|
+
if (I2U(i = U2I(nu)) != nu)
|
|
142
|
+
{
|
|
143
|
+
unsigned k = I2U(--i);
|
|
144
|
+
Ppmd7_InsertNode(p, ((Byte *)ptr) + U2B(k), nu - k - 1);
|
|
145
|
+
}
|
|
146
|
+
Ppmd7_InsertNode(p, ptr, i);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
/* we use CPpmd7_Node_Union union to solve XLC -O2 strict pointer aliasing problem */
|
|
151
|
+
|
|
152
|
+
typedef union
|
|
153
|
+
{
|
|
154
|
+
CPpmd7_Node Node;
|
|
155
|
+
CPpmd7_Node_Ref NextRef;
|
|
156
|
+
} CPpmd7_Node_Union;
|
|
157
|
+
|
|
158
|
+
/* Original PPmdH (Ppmd7) code uses doubly linked list in Ppmd7_GlueFreeBlocks()
|
|
159
|
+
we use single linked list similar to Ppmd8 code */
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
static void Ppmd7_GlueFreeBlocks(CPpmd7 *p)
|
|
163
|
+
{
|
|
164
|
+
/*
|
|
165
|
+
we use first UInt16 field of 12-bytes UNITs as record type stamp
|
|
166
|
+
CPpmd_State { Byte Symbol; Byte Freq; : Freq != 0
|
|
167
|
+
CPpmd7_Context { UInt16 NumStats; : NumStats != 0
|
|
168
|
+
CPpmd7_Node { UInt16 Stamp : Stamp == 0 for free record
|
|
169
|
+
: Stamp == 1 for head record and guard
|
|
170
|
+
Last 12-bytes UNIT in array is always contains 12-bytes order-0 CPpmd7_Context record.
|
|
171
|
+
*/
|
|
172
|
+
CPpmd7_Node_Ref head, n = 0;
|
|
173
|
+
|
|
174
|
+
p->GlueCount = 255;
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
/* we set guard NODE at LoUnit */
|
|
178
|
+
if (p->LoUnit != p->HiUnit)
|
|
179
|
+
((CPpmd7_Node *)(void *)p->LoUnit)->Stamp = 1;
|
|
180
|
+
|
|
181
|
+
{
|
|
182
|
+
/* Create list of free blocks.
|
|
183
|
+
We still need one additional list walk pass before Glue. */
|
|
184
|
+
unsigned i;
|
|
185
|
+
for (i = 0; i < PPMD_NUM_INDEXES; i++)
|
|
186
|
+
{
|
|
187
|
+
const UInt16 nu = I2U_UInt16(i);
|
|
188
|
+
CPpmd7_Node_Ref next = (CPpmd7_Node_Ref)p->FreeList[i];
|
|
189
|
+
p->FreeList[i] = 0;
|
|
190
|
+
while (next != 0)
|
|
191
|
+
{
|
|
192
|
+
/* Don't change the order of the following commands: */
|
|
193
|
+
CPpmd7_Node_Union *un = (CPpmd7_Node_Union *)NODE(next);
|
|
194
|
+
const CPpmd7_Node_Ref tmp = next;
|
|
195
|
+
next = un->NextRef;
|
|
196
|
+
un->Node.Stamp = EMPTY_NODE;
|
|
197
|
+
un->Node.NU = nu;
|
|
198
|
+
un->Node.Next = n;
|
|
199
|
+
n = tmp;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
head = n;
|
|
205
|
+
/* Glue and Fill must walk the list in same direction */
|
|
206
|
+
{
|
|
207
|
+
/* Glue free blocks */
|
|
208
|
+
CPpmd7_Node_Ref *prev = &head;
|
|
209
|
+
while (n)
|
|
210
|
+
{
|
|
211
|
+
CPpmd7_Node *node = NODE(n);
|
|
212
|
+
UInt32 nu = node->NU;
|
|
213
|
+
n = node->Next;
|
|
214
|
+
if (nu == 0)
|
|
215
|
+
{
|
|
216
|
+
*prev = n;
|
|
217
|
+
continue;
|
|
218
|
+
}
|
|
219
|
+
prev = &node->Next;
|
|
220
|
+
for (;;)
|
|
221
|
+
{
|
|
222
|
+
CPpmd7_Node *node2 = node + nu;
|
|
223
|
+
nu += node2->NU;
|
|
224
|
+
if (node2->Stamp != EMPTY_NODE || nu >= 0x10000)
|
|
225
|
+
break;
|
|
226
|
+
node->NU = (UInt16)nu;
|
|
227
|
+
node2->NU = 0;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* Fill lists of free blocks */
|
|
233
|
+
for (n = head; n != 0;)
|
|
234
|
+
{
|
|
235
|
+
CPpmd7_Node *node = NODE(n);
|
|
236
|
+
UInt32 nu = node->NU;
|
|
237
|
+
unsigned i;
|
|
238
|
+
n = node->Next;
|
|
239
|
+
if (nu == 0)
|
|
240
|
+
continue;
|
|
241
|
+
for (; nu > 128; nu -= 128, node += 128)
|
|
242
|
+
Ppmd7_InsertNode(p, node, PPMD_NUM_INDEXES - 1);
|
|
243
|
+
if (I2U(i = U2I(nu)) != nu)
|
|
244
|
+
{
|
|
245
|
+
unsigned k = I2U(--i);
|
|
246
|
+
Ppmd7_InsertNode(p, node + k, (unsigned)nu - k - 1);
|
|
247
|
+
}
|
|
248
|
+
Ppmd7_InsertNode(p, node, i);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
Z7_NO_INLINE
|
|
254
|
+
static void *Ppmd7_AllocUnitsRare(CPpmd7 *p, unsigned indx)
|
|
255
|
+
{
|
|
256
|
+
unsigned i;
|
|
257
|
+
|
|
258
|
+
if (p->GlueCount == 0)
|
|
259
|
+
{
|
|
260
|
+
Ppmd7_GlueFreeBlocks(p);
|
|
261
|
+
if (p->FreeList[indx] != 0)
|
|
262
|
+
return Ppmd7_RemoveNode(p, indx);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
i = indx;
|
|
266
|
+
|
|
267
|
+
do
|
|
268
|
+
{
|
|
269
|
+
if (++i == PPMD_NUM_INDEXES)
|
|
270
|
+
{
|
|
271
|
+
UInt32 numBytes = U2B(I2U(indx));
|
|
272
|
+
Byte *us = p->UnitsStart;
|
|
273
|
+
p->GlueCount--;
|
|
274
|
+
return ((UInt32)(us - p->Text) > numBytes) ? (p->UnitsStart = us - numBytes) : NULL;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
while (p->FreeList[i] == 0);
|
|
278
|
+
|
|
279
|
+
{
|
|
280
|
+
void *block = Ppmd7_RemoveNode(p, i);
|
|
281
|
+
Ppmd7_SplitBlock(p, block, i, indx);
|
|
282
|
+
return block;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
static void *Ppmd7_AllocUnits(CPpmd7 *p, unsigned indx)
|
|
288
|
+
{
|
|
289
|
+
if (p->FreeList[indx] != 0)
|
|
290
|
+
return Ppmd7_RemoveNode(p, indx);
|
|
291
|
+
{
|
|
292
|
+
UInt32 numBytes = U2B(I2U(indx));
|
|
293
|
+
Byte *lo = p->LoUnit;
|
|
294
|
+
if ((UInt32)(p->HiUnit - lo) >= numBytes)
|
|
295
|
+
{
|
|
296
|
+
p->LoUnit = lo + numBytes;
|
|
297
|
+
return lo;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
return Ppmd7_AllocUnitsRare(p, indx);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
#define MEM_12_CPY(dest, src, num) \
|
|
305
|
+
{ UInt32 *d = (UInt32 *)(dest); \
|
|
306
|
+
const UInt32 *z = (const UInt32 *)(src); \
|
|
307
|
+
unsigned n = (num); \
|
|
308
|
+
do { \
|
|
309
|
+
d[0] = z[0]; \
|
|
310
|
+
d[1] = z[1]; \
|
|
311
|
+
d[2] = z[2]; \
|
|
312
|
+
z += 3; \
|
|
313
|
+
d += 3; \
|
|
314
|
+
} while (--n); \
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
/*
|
|
319
|
+
static void *ShrinkUnits(CPpmd7 *p, void *oldPtr, unsigned oldNU, unsigned newNU)
|
|
320
|
+
{
|
|
321
|
+
unsigned i0 = U2I(oldNU);
|
|
322
|
+
unsigned i1 = U2I(newNU);
|
|
323
|
+
if (i0 == i1)
|
|
324
|
+
return oldPtr;
|
|
325
|
+
if (p->FreeList[i1] != 0)
|
|
326
|
+
{
|
|
327
|
+
void *ptr = Ppmd7_RemoveNode(p, i1);
|
|
328
|
+
MEM_12_CPY(ptr, oldPtr, newNU)
|
|
329
|
+
Ppmd7_InsertNode(p, oldPtr, i0);
|
|
330
|
+
return ptr;
|
|
331
|
+
}
|
|
332
|
+
Ppmd7_SplitBlock(p, oldPtr, i0, i1);
|
|
333
|
+
return oldPtr;
|
|
334
|
+
}
|
|
335
|
+
*/
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
#define SUCCESSOR(p) Ppmd_GET_SUCCESSOR(p)
|
|
339
|
+
static void SetSuccessor(CPpmd_State *p, CPpmd_Void_Ref v)
|
|
340
|
+
{
|
|
341
|
+
Ppmd_SET_SUCCESSOR(p, v)
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
Z7_NO_INLINE
|
|
347
|
+
static
|
|
348
|
+
void Ppmd7_RestartModel(CPpmd7 *p)
|
|
349
|
+
{
|
|
350
|
+
unsigned i, k;
|
|
351
|
+
|
|
352
|
+
memset(p->FreeList, 0, sizeof(p->FreeList));
|
|
353
|
+
|
|
354
|
+
p->Text = p->Base + p->AlignOffset;
|
|
355
|
+
p->HiUnit = p->Text + p->Size;
|
|
356
|
+
p->LoUnit = p->UnitsStart = p->HiUnit - p->Size / 8 / UNIT_SIZE * 7 * UNIT_SIZE;
|
|
357
|
+
p->GlueCount = 0;
|
|
358
|
+
|
|
359
|
+
p->OrderFall = p->MaxOrder;
|
|
360
|
+
p->RunLength = p->InitRL = -(Int32)((p->MaxOrder < 12) ? p->MaxOrder : 12) - 1;
|
|
361
|
+
p->PrevSuccess = 0;
|
|
362
|
+
|
|
363
|
+
{
|
|
364
|
+
CPpmd7_Context *mc = (PPMD7_CTX_PTR)(void *)(p->HiUnit -= UNIT_SIZE); /* AllocContext(p); */
|
|
365
|
+
CPpmd_State *s = (CPpmd_State *)p->LoUnit; /* Ppmd7_AllocUnits(p, PPMD_NUM_INDEXES - 1); */
|
|
366
|
+
|
|
367
|
+
p->LoUnit += U2B(256 / 2);
|
|
368
|
+
p->MaxContext = p->MinContext = mc;
|
|
369
|
+
p->FoundState = s;
|
|
370
|
+
|
|
371
|
+
mc->NumStats = 256;
|
|
372
|
+
mc->Union2.SummFreq = 256 + 1;
|
|
373
|
+
mc->Union4.Stats = REF(s);
|
|
374
|
+
mc->Suffix = 0;
|
|
375
|
+
|
|
376
|
+
for (i = 0; i < 256; i++, s++)
|
|
377
|
+
{
|
|
378
|
+
s->Symbol = (Byte)i;
|
|
379
|
+
s->Freq = 1;
|
|
380
|
+
SetSuccessor(s, 0);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
#ifdef PPMD7_ORDER_0_SUPPPORT
|
|
384
|
+
if (p->MaxOrder == 0)
|
|
385
|
+
{
|
|
386
|
+
CPpmd_Void_Ref r = REF(mc);
|
|
387
|
+
s = p->FoundState;
|
|
388
|
+
for (i = 0; i < 256; i++, s++)
|
|
389
|
+
SetSuccessor(s, r);
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
#endif
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
for (i = 0; i < 128; i++)
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
for (k = 0; k < 8; k++)
|
|
400
|
+
{
|
|
401
|
+
unsigned m;
|
|
402
|
+
UInt16 *dest = p->BinSumm[i] + k;
|
|
403
|
+
const UInt16 val = (UInt16)(PPMD_BIN_SCALE - PPMD7_kInitBinEsc[k] / (i + 2));
|
|
404
|
+
for (m = 0; m < 64; m += 8)
|
|
405
|
+
dest[m] = val;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
for (i = 0; i < 25; i++)
|
|
410
|
+
{
|
|
411
|
+
|
|
412
|
+
CPpmd_See *s = p->See[i];
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
unsigned summ = ((5 * i + 10) << (PPMD_PERIOD_BITS - 4));
|
|
417
|
+
for (k = 0; k < 16; k++, s++)
|
|
418
|
+
{
|
|
419
|
+
s->Summ = (UInt16)summ;
|
|
420
|
+
s->Shift = (PPMD_PERIOD_BITS - 4);
|
|
421
|
+
s->Count = 4;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
p->DummySee.Summ = 0; /* unused */
|
|
426
|
+
p->DummySee.Shift = PPMD_PERIOD_BITS;
|
|
427
|
+
p->DummySee.Count = 64; /* unused */
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
void Ppmd7_Init(CPpmd7 *p, unsigned maxOrder)
|
|
432
|
+
{
|
|
433
|
+
p->MaxOrder = maxOrder;
|
|
434
|
+
|
|
435
|
+
Ppmd7_RestartModel(p);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
/*
|
|
441
|
+
Ppmd7_CreateSuccessors()
|
|
442
|
+
It's called when (FoundState->Successor) is RAW-Successor,
|
|
443
|
+
that is the link to position in Raw text.
|
|
444
|
+
So we create Context records and write the links to
|
|
445
|
+
FoundState->Successor and to identical RAW-Successors in suffix
|
|
446
|
+
contexts of MinContex.
|
|
447
|
+
|
|
448
|
+
The function returns:
|
|
449
|
+
if (OrderFall == 0) then MinContext is already at MAX order,
|
|
450
|
+
{ return pointer to new or existing context of same MAX order }
|
|
451
|
+
else
|
|
452
|
+
{ return pointer to new real context that will be (Order+1) in comparison with MinContext
|
|
453
|
+
|
|
454
|
+
also it can return pointer to real context of same order,
|
|
455
|
+
*/
|
|
456
|
+
|
|
457
|
+
Z7_NO_INLINE
|
|
458
|
+
static PPMD7_CTX_PTR Ppmd7_CreateSuccessors(CPpmd7 *p)
|
|
459
|
+
{
|
|
460
|
+
PPMD7_CTX_PTR c = p->MinContext;
|
|
461
|
+
CPpmd_Byte_Ref upBranch = (CPpmd_Byte_Ref)SUCCESSOR(p->FoundState);
|
|
462
|
+
Byte newSym, newFreq;
|
|
463
|
+
unsigned numPs = 0;
|
|
464
|
+
CPpmd_State *ps[PPMD7_MAX_ORDER];
|
|
465
|
+
|
|
466
|
+
if (p->OrderFall != 0)
|
|
467
|
+
ps[numPs++] = p->FoundState;
|
|
468
|
+
|
|
469
|
+
while (c->Suffix)
|
|
470
|
+
{
|
|
471
|
+
CPpmd_Void_Ref successor;
|
|
472
|
+
CPpmd_State *s;
|
|
473
|
+
c = SUFFIX(c);
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
if (c->NumStats != 1)
|
|
477
|
+
{
|
|
478
|
+
Byte sym = p->FoundState->Symbol;
|
|
479
|
+
for (s = STATS(c); s->Symbol != sym; s++);
|
|
480
|
+
|
|
481
|
+
}
|
|
482
|
+
else
|
|
483
|
+
{
|
|
484
|
+
s = ONE_STATE(c);
|
|
485
|
+
|
|
486
|
+
}
|
|
487
|
+
successor = SUCCESSOR(s);
|
|
488
|
+
if (successor != upBranch)
|
|
489
|
+
{
|
|
490
|
+
// (c) is real record Context here,
|
|
491
|
+
c = CTX(successor);
|
|
492
|
+
if (numPs == 0)
|
|
493
|
+
{
|
|
494
|
+
// (c) is real record MAX Order Context here,
|
|
495
|
+
// So we don't need to create any new contexts.
|
|
496
|
+
return c;
|
|
497
|
+
}
|
|
498
|
+
break;
|
|
499
|
+
}
|
|
500
|
+
ps[numPs++] = s;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
// All created contexts will have single-symbol with new RAW-Successor
|
|
504
|
+
// All new RAW-Successors will point to next position in RAW text
|
|
505
|
+
// after FoundState->Successor
|
|
506
|
+
|
|
507
|
+
newSym = *(const Byte *)Ppmd7_GetPtr(p, upBranch);
|
|
508
|
+
upBranch++;
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
if (c->NumStats == 1)
|
|
512
|
+
newFreq = ONE_STATE(c)->Freq;
|
|
513
|
+
else
|
|
514
|
+
{
|
|
515
|
+
UInt32 cf, s0;
|
|
516
|
+
CPpmd_State *s;
|
|
517
|
+
for (s = STATS(c); s->Symbol != newSym; s++);
|
|
518
|
+
cf = (UInt32)s->Freq - 1;
|
|
519
|
+
s0 = (UInt32)c->Union2.SummFreq - c->NumStats - cf;
|
|
520
|
+
/*
|
|
521
|
+
cf - is frequency of symbol that will be Successor in new context records.
|
|
522
|
+
s0 - is commulative frequency sum of another symbols from parent context.
|
|
523
|
+
max(newFreq)= (s->Freq + 1), when (s0 == 1)
|
|
524
|
+
we have requirement (Ppmd7Context_OneState()->Freq <= 128) in BinSumm[]
|
|
525
|
+
so (s->Freq < 128) - is requirement for multi-symbol contexts
|
|
526
|
+
*/
|
|
527
|
+
newFreq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : (2 * cf + s0 - 1) / (2 * s0) + 1));
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
// Create new single-symbol contexts from low order to high order in loop
|
|
531
|
+
|
|
532
|
+
do
|
|
533
|
+
{
|
|
534
|
+
PPMD7_CTX_PTR c1;
|
|
535
|
+
/* = AllocContext(p); */
|
|
536
|
+
if (p->HiUnit != p->LoUnit)
|
|
537
|
+
c1 = (PPMD7_CTX_PTR)(void *)(p->HiUnit -= UNIT_SIZE);
|
|
538
|
+
else if (p->FreeList[0] != 0)
|
|
539
|
+
c1 = (PPMD7_CTX_PTR)Ppmd7_RemoveNode(p, 0);
|
|
540
|
+
else
|
|
541
|
+
{
|
|
542
|
+
c1 = (PPMD7_CTX_PTR)Ppmd7_AllocUnitsRare(p, 0);
|
|
543
|
+
if (!c1)
|
|
544
|
+
return NULL;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
c1->NumStats = 1;
|
|
548
|
+
ONE_STATE(c1)->Symbol = newSym;
|
|
549
|
+
ONE_STATE(c1)->Freq = newFreq;
|
|
550
|
+
SetSuccessor(ONE_STATE(c1), upBranch);
|
|
551
|
+
c1->Suffix = REF(c);
|
|
552
|
+
SetSuccessor(ps[--numPs], REF(c1));
|
|
553
|
+
c = c1;
|
|
554
|
+
}
|
|
555
|
+
while (numPs != 0);
|
|
556
|
+
|
|
557
|
+
return c;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
#define SWAP_STATES(s) \
|
|
563
|
+
{ CPpmd_State tmp = s[0]; s[0] = s[-1]; s[-1] = tmp; }
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
void Ppmd7_UpdateModel(CPpmd7 *p);
|
|
567
|
+
Z7_NO_INLINE
|
|
568
|
+
void Ppmd7_UpdateModel(CPpmd7 *p)
|
|
569
|
+
{
|
|
570
|
+
CPpmd_Void_Ref maxSuccessor, minSuccessor;
|
|
571
|
+
PPMD7_CTX_PTR c, mc;
|
|
572
|
+
unsigned s0, ns;
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
if (p->FoundState->Freq < MAX_FREQ / 4 && p->MinContext->Suffix != 0)
|
|
577
|
+
{
|
|
578
|
+
/* Update Freqs in Suffix Context */
|
|
579
|
+
|
|
580
|
+
c = SUFFIX(p->MinContext);
|
|
581
|
+
|
|
582
|
+
if (c->NumStats == 1)
|
|
583
|
+
{
|
|
584
|
+
CPpmd_State *s = ONE_STATE(c);
|
|
585
|
+
if (s->Freq < 32)
|
|
586
|
+
s->Freq++;
|
|
587
|
+
}
|
|
588
|
+
else
|
|
589
|
+
{
|
|
590
|
+
CPpmd_State *s = STATS(c);
|
|
591
|
+
Byte sym = p->FoundState->Symbol;
|
|
592
|
+
|
|
593
|
+
if (s->Symbol != sym)
|
|
594
|
+
{
|
|
595
|
+
do
|
|
596
|
+
{
|
|
597
|
+
// s++; if (s->Symbol == sym) break;
|
|
598
|
+
s++;
|
|
599
|
+
}
|
|
600
|
+
while (s->Symbol != sym);
|
|
601
|
+
|
|
602
|
+
if (s[0].Freq >= s[-1].Freq)
|
|
603
|
+
{
|
|
604
|
+
SWAP_STATES(s)
|
|
605
|
+
s--;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
if (s->Freq < MAX_FREQ - 9)
|
|
610
|
+
{
|
|
611
|
+
s->Freq = (Byte)(s->Freq + 2);
|
|
612
|
+
c->Union2.SummFreq = (UInt16)(c->Union2.SummFreq + 2);
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
if (p->OrderFall == 0)
|
|
619
|
+
{
|
|
620
|
+
/* MAX ORDER context */
|
|
621
|
+
/* (FoundState->Successor) is RAW-Successor. */
|
|
622
|
+
p->MaxContext = p->MinContext = Ppmd7_CreateSuccessors(p);
|
|
623
|
+
if (!p->MinContext)
|
|
624
|
+
{
|
|
625
|
+
Ppmd7_RestartModel(p);
|
|
626
|
+
return;
|
|
627
|
+
}
|
|
628
|
+
SetSuccessor(p->FoundState, REF(p->MinContext));
|
|
629
|
+
return;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
/* NON-MAX ORDER context */
|
|
634
|
+
|
|
635
|
+
{
|
|
636
|
+
Byte *text = p->Text;
|
|
637
|
+
*text++ = p->FoundState->Symbol;
|
|
638
|
+
p->Text = text;
|
|
639
|
+
if (text >= p->UnitsStart)
|
|
640
|
+
{
|
|
641
|
+
Ppmd7_RestartModel(p);
|
|
642
|
+
return;
|
|
643
|
+
}
|
|
644
|
+
maxSuccessor = REF(text);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
minSuccessor = SUCCESSOR(p->FoundState);
|
|
648
|
+
|
|
649
|
+
if (minSuccessor)
|
|
650
|
+
{
|
|
651
|
+
// there is Successor for FoundState in MinContext.
|
|
652
|
+
// So the next context will be one order higher than MinContext.
|
|
653
|
+
|
|
654
|
+
if (minSuccessor <= maxSuccessor)
|
|
655
|
+
{
|
|
656
|
+
// minSuccessor is RAW-Successor. So we will create real contexts records:
|
|
657
|
+
PPMD7_CTX_PTR cs = Ppmd7_CreateSuccessors(p);
|
|
658
|
+
if (!cs)
|
|
659
|
+
{
|
|
660
|
+
Ppmd7_RestartModel(p);
|
|
661
|
+
return;
|
|
662
|
+
}
|
|
663
|
+
minSuccessor = REF(cs);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
// minSuccessor now is real Context pointer that points to existing (Order+1) context
|
|
667
|
+
|
|
668
|
+
if (--p->OrderFall == 0)
|
|
669
|
+
{
|
|
670
|
+
/*
|
|
671
|
+
if we move to MaxOrder context, then minSuccessor will be common Succesor for both:
|
|
672
|
+
MinContext that is (MaxOrder - 1)
|
|
673
|
+
MaxContext that is (MaxOrder)
|
|
674
|
+
so we don't need new RAW-Successor, and we can use real minSuccessor
|
|
675
|
+
as succssors for both MinContext and MaxContext.
|
|
676
|
+
*/
|
|
677
|
+
maxSuccessor = minSuccessor;
|
|
678
|
+
|
|
679
|
+
/*
|
|
680
|
+
if (MaxContext != MinContext)
|
|
681
|
+
{
|
|
682
|
+
there was order fall from MaxOrder and we don't need current symbol
|
|
683
|
+
to transfer some RAW-Succesors to real contexts.
|
|
684
|
+
So we roll back pointer in raw data for one position.
|
|
685
|
+
}
|
|
686
|
+
*/
|
|
687
|
+
p->Text -= (p->MaxContext != p->MinContext);
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
else
|
|
691
|
+
{
|
|
692
|
+
/*
|
|
693
|
+
FoundState has NULL-Successor here.
|
|
694
|
+
And only root 0-order context can contain NULL-Successors.
|
|
695
|
+
We change Successor in FoundState to RAW-Successor,
|
|
696
|
+
And next context will be same 0-order root Context.
|
|
697
|
+
*/
|
|
698
|
+
SetSuccessor(p->FoundState, maxSuccessor);
|
|
699
|
+
minSuccessor = REF(p->MinContext);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
mc = p->MinContext;
|
|
703
|
+
c = p->MaxContext;
|
|
704
|
+
|
|
705
|
+
p->MaxContext = p->MinContext = CTX(minSuccessor);
|
|
706
|
+
|
|
707
|
+
if (c == mc)
|
|
708
|
+
return;
|
|
709
|
+
|
|
710
|
+
// s0 : is pure Escape Freq
|
|
711
|
+
s0 = mc->Union2.SummFreq - (ns = mc->NumStats) - ((unsigned)p->FoundState->Freq - 1);
|
|
712
|
+
|
|
713
|
+
do
|
|
714
|
+
{
|
|
715
|
+
unsigned ns1;
|
|
716
|
+
UInt32 sum;
|
|
717
|
+
|
|
718
|
+
if ((ns1 = c->NumStats) != 1)
|
|
719
|
+
{
|
|
720
|
+
if ((ns1 & 1) == 0)
|
|
721
|
+
{
|
|
722
|
+
/* Expand for one UNIT */
|
|
723
|
+
const unsigned oldNU = ns1 >> 1;
|
|
724
|
+
const unsigned i = U2I(oldNU);
|
|
725
|
+
if (i != U2I((size_t)oldNU + 1))
|
|
726
|
+
{
|
|
727
|
+
void *ptr = Ppmd7_AllocUnits(p, i + 1);
|
|
728
|
+
void *oldPtr;
|
|
729
|
+
if (!ptr)
|
|
730
|
+
{
|
|
731
|
+
Ppmd7_RestartModel(p);
|
|
732
|
+
return;
|
|
733
|
+
}
|
|
734
|
+
oldPtr = STATS(c);
|
|
735
|
+
MEM_12_CPY(ptr, oldPtr, oldNU)
|
|
736
|
+
Ppmd7_InsertNode(p, oldPtr, i);
|
|
737
|
+
c->Union4.Stats = STATS_REF(ptr);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
sum = c->Union2.SummFreq;
|
|
741
|
+
/* max increase of Escape_Freq is 3 here.
|
|
742
|
+
total increase of Union2.SummFreq for all symbols is less than 256 here */
|
|
743
|
+
sum += (UInt32)(unsigned)((2 * ns1 < ns) + 2 * ((unsigned)(4 * ns1 <= ns) & (sum <= 8 * ns1)));
|
|
744
|
+
/* original PPMdH uses 16-bit variable for (sum) here.
|
|
745
|
+
But (sum < 0x9000). So we don't truncate (sum) to 16-bit */
|
|
746
|
+
// sum = (UInt16)sum;
|
|
747
|
+
}
|
|
748
|
+
else
|
|
749
|
+
{
|
|
750
|
+
// instead of One-symbol context we create 2-symbol context
|
|
751
|
+
CPpmd_State *s = (CPpmd_State*)Ppmd7_AllocUnits(p, 0);
|
|
752
|
+
if (!s)
|
|
753
|
+
{
|
|
754
|
+
Ppmd7_RestartModel(p);
|
|
755
|
+
return;
|
|
756
|
+
}
|
|
757
|
+
{
|
|
758
|
+
unsigned freq = c->Union2.State2.Freq;
|
|
759
|
+
// s = *ONE_STATE(c);
|
|
760
|
+
s->Symbol = c->Union2.State2.Symbol;
|
|
761
|
+
s->Successor_0 = c->Union4.State4.Successor_0;
|
|
762
|
+
s->Successor_1 = c->Union4.State4.Successor_1;
|
|
763
|
+
// SetSuccessor(s, c->Union4.Stats); // call it only for debug purposes to check the order of
|
|
764
|
+
// (Successor_0 and Successor_1) in LE/BE.
|
|
765
|
+
c->Union4.Stats = REF(s);
|
|
766
|
+
if (freq < MAX_FREQ / 4 - 1)
|
|
767
|
+
freq <<= 1;
|
|
768
|
+
else
|
|
769
|
+
freq = MAX_FREQ - 4;
|
|
770
|
+
// (max(s->freq) == 120), when we convert from 1-symbol into 2-symbol context
|
|
771
|
+
s->Freq = (Byte)freq;
|
|
772
|
+
// max(InitEsc = PPMD7_kExpEscape[*]) is 25. So the max(escapeFreq) is 26 here
|
|
773
|
+
sum = (UInt32)(freq + p->InitEsc + (ns > 3));
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
{
|
|
778
|
+
CPpmd_State *s = STATS(c) + ns1;
|
|
779
|
+
UInt32 cf = 2 * (sum + 6) * (UInt32)p->FoundState->Freq;
|
|
780
|
+
UInt32 sf = (UInt32)s0 + sum;
|
|
781
|
+
s->Symbol = p->FoundState->Symbol;
|
|
782
|
+
c->NumStats = (UInt16)(ns1 + 1);
|
|
783
|
+
SetSuccessor(s, maxSuccessor);
|
|
784
|
+
|
|
785
|
+
if (cf < 6 * sf)
|
|
786
|
+
{
|
|
787
|
+
cf = (UInt32)1 + (cf > sf) + (cf >= 4 * sf);
|
|
788
|
+
sum += 3;
|
|
789
|
+
/* It can add (0, 1, 2) to Escape_Freq */
|
|
790
|
+
}
|
|
791
|
+
else
|
|
792
|
+
{
|
|
793
|
+
cf = (UInt32)4 + (cf >= 9 * sf) + (cf >= 12 * sf) + (cf >= 15 * sf);
|
|
794
|
+
sum += cf;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
c->Union2.SummFreq = (UInt16)sum;
|
|
798
|
+
s->Freq = (Byte)cf;
|
|
799
|
+
}
|
|
800
|
+
c = SUFFIX(c);
|
|
801
|
+
}
|
|
802
|
+
while (c != mc);
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
Z7_NO_INLINE
|
|
808
|
+
static void Ppmd7_Rescale(CPpmd7 *p)
|
|
809
|
+
{
|
|
810
|
+
unsigned i, adder, sumFreq, escFreq;
|
|
811
|
+
CPpmd_State *stats = STATS(p->MinContext);
|
|
812
|
+
CPpmd_State *s = p->FoundState;
|
|
813
|
+
|
|
814
|
+
/* Sort the list by Freq */
|
|
815
|
+
if (s != stats)
|
|
816
|
+
{
|
|
817
|
+
CPpmd_State tmp = *s;
|
|
818
|
+
do
|
|
819
|
+
s[0] = s[-1];
|
|
820
|
+
while (--s != stats);
|
|
821
|
+
*s = tmp;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
sumFreq = s->Freq;
|
|
825
|
+
escFreq = p->MinContext->Union2.SummFreq - sumFreq;
|
|
826
|
+
|
|
827
|
+
/*
|
|
828
|
+
if (p->OrderFall == 0), adder = 0 : it's allowed to remove symbol from MAX Order context
|
|
829
|
+
if (p->OrderFall != 0), adder = 1 : it's NOT allowed to remove symbol from NON-MAX Order context
|
|
830
|
+
*/
|
|
831
|
+
|
|
832
|
+
adder = (p->OrderFall != 0);
|
|
833
|
+
|
|
834
|
+
#ifdef PPMD7_ORDER_0_SUPPPORT
|
|
835
|
+
adder |= (p->MaxOrder == 0); // we don't remove symbols from order-0 context
|
|
836
|
+
#endif
|
|
837
|
+
|
|
838
|
+
sumFreq = (sumFreq + 4 + adder) >> 1;
|
|
839
|
+
i = (unsigned)p->MinContext->NumStats - 1;
|
|
840
|
+
s->Freq = (Byte)sumFreq;
|
|
841
|
+
|
|
842
|
+
do
|
|
843
|
+
{
|
|
844
|
+
unsigned freq = (++s)->Freq;
|
|
845
|
+
escFreq -= freq;
|
|
846
|
+
freq = (freq + adder) >> 1;
|
|
847
|
+
sumFreq += freq;
|
|
848
|
+
s->Freq = (Byte)freq;
|
|
849
|
+
if (freq > s[-1].Freq)
|
|
850
|
+
{
|
|
851
|
+
CPpmd_State tmp = *s;
|
|
852
|
+
CPpmd_State *s1 = s;
|
|
853
|
+
do
|
|
854
|
+
{
|
|
855
|
+
s1[0] = s1[-1];
|
|
856
|
+
}
|
|
857
|
+
while (--s1 != stats && freq > s1[-1].Freq);
|
|
858
|
+
*s1 = tmp;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
while (--i);
|
|
862
|
+
|
|
863
|
+
if (s->Freq == 0)
|
|
864
|
+
{
|
|
865
|
+
/* Remove all items with Freq == 0 */
|
|
866
|
+
CPpmd7_Context *mc;
|
|
867
|
+
unsigned numStats, numStatsNew, n0, n1;
|
|
868
|
+
|
|
869
|
+
i = 0; do { i++; } while ((--s)->Freq == 0);
|
|
870
|
+
|
|
871
|
+
/* We increase (escFreq) for the number of removed symbols.
|
|
872
|
+
So we will have (0.5) increase for Escape_Freq in avarage per
|
|
873
|
+
removed symbol after Escape_Freq halving */
|
|
874
|
+
escFreq += i;
|
|
875
|
+
mc = p->MinContext;
|
|
876
|
+
numStats = mc->NumStats;
|
|
877
|
+
numStatsNew = numStats - i;
|
|
878
|
+
mc->NumStats = (UInt16)(numStatsNew);
|
|
879
|
+
n0 = (numStats + 1) >> 1;
|
|
880
|
+
|
|
881
|
+
if (numStatsNew == 1)
|
|
882
|
+
{
|
|
883
|
+
/* Create Single-Symbol context */
|
|
884
|
+
unsigned freq = stats->Freq;
|
|
885
|
+
|
|
886
|
+
do
|
|
887
|
+
{
|
|
888
|
+
escFreq >>= 1;
|
|
889
|
+
freq = (freq + 1) >> 1;
|
|
890
|
+
}
|
|
891
|
+
while (escFreq > 1);
|
|
892
|
+
|
|
893
|
+
s = ONE_STATE(mc);
|
|
894
|
+
*s = *stats;
|
|
895
|
+
s->Freq = (Byte)freq; // (freq <= 260 / 4)
|
|
896
|
+
p->FoundState = s;
|
|
897
|
+
Ppmd7_InsertNode(p, stats, U2I(n0));
|
|
898
|
+
return;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
n1 = (numStatsNew + 1) >> 1;
|
|
902
|
+
if (n0 != n1)
|
|
903
|
+
{
|
|
904
|
+
// p->MinContext->Union4.Stats = STATS_REF(ShrinkUnits(p, stats, n0, n1));
|
|
905
|
+
unsigned i0 = U2I(n0);
|
|
906
|
+
unsigned i1 = U2I(n1);
|
|
907
|
+
if (i0 != i1)
|
|
908
|
+
{
|
|
909
|
+
if (p->FreeList[i1] != 0)
|
|
910
|
+
{
|
|
911
|
+
void *ptr = Ppmd7_RemoveNode(p, i1);
|
|
912
|
+
p->MinContext->Union4.Stats = STATS_REF(ptr);
|
|
913
|
+
MEM_12_CPY(ptr, (const void *)stats, n1)
|
|
914
|
+
Ppmd7_InsertNode(p, stats, i0);
|
|
915
|
+
}
|
|
916
|
+
else
|
|
917
|
+
Ppmd7_SplitBlock(p, stats, i0, i1);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
{
|
|
922
|
+
CPpmd7_Context *mc = p->MinContext;
|
|
923
|
+
mc->Union2.SummFreq = (UInt16)(sumFreq + escFreq - (escFreq >> 1));
|
|
924
|
+
// Escape_Freq halving here
|
|
925
|
+
p->FoundState = STATS(mc);
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
CPpmd_See *Ppmd7_MakeEscFreq(CPpmd7 *p, unsigned numMasked, UInt32 *escFreq)
|
|
931
|
+
{
|
|
932
|
+
CPpmd_See *see;
|
|
933
|
+
const CPpmd7_Context *mc = p->MinContext;
|
|
934
|
+
unsigned numStats = mc->NumStats;
|
|
935
|
+
if (numStats != 256)
|
|
936
|
+
{
|
|
937
|
+
unsigned nonMasked = numStats - numMasked;
|
|
938
|
+
see = p->See[(unsigned)p->NS2Indx[(size_t)nonMasked - 1]]
|
|
939
|
+
+ (nonMasked < (unsigned)SUFFIX(mc)->NumStats - numStats)
|
|
940
|
+
+ 2 * (unsigned)(mc->Union2.SummFreq < 11 * numStats)
|
|
941
|
+
+ 4 * (unsigned)(numMasked > nonMasked) +
|
|
942
|
+
p->HiBitsFlag;
|
|
943
|
+
{
|
|
944
|
+
// if (see->Summ) field is larger than 16-bit, we need only low 16 bits of Summ
|
|
945
|
+
const unsigned summ = (UInt16)see->Summ; // & 0xFFFF
|
|
946
|
+
const unsigned r = (summ >> see->Shift);
|
|
947
|
+
see->Summ = (UInt16)(summ - r);
|
|
948
|
+
*escFreq = (UInt32)(r + (r == 0));
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
else
|
|
952
|
+
{
|
|
953
|
+
see = &p->DummySee;
|
|
954
|
+
*escFreq = 1;
|
|
955
|
+
}
|
|
956
|
+
return see;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
static void Ppmd7_NextContext(CPpmd7 *p)
|
|
961
|
+
{
|
|
962
|
+
PPMD7_CTX_PTR c = CTX(SUCCESSOR(p->FoundState));
|
|
963
|
+
if (p->OrderFall == 0 && (const Byte *)c > p->Text)
|
|
964
|
+
p->MaxContext = p->MinContext = c;
|
|
965
|
+
else
|
|
966
|
+
Ppmd7_UpdateModel(p);
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
void Ppmd7_Update1(CPpmd7 *p)
|
|
971
|
+
{
|
|
972
|
+
CPpmd_State *s = p->FoundState;
|
|
973
|
+
unsigned freq = s->Freq;
|
|
974
|
+
freq += 4;
|
|
975
|
+
p->MinContext->Union2.SummFreq = (UInt16)(p->MinContext->Union2.SummFreq + 4);
|
|
976
|
+
s->Freq = (Byte)freq;
|
|
977
|
+
if (freq > s[-1].Freq)
|
|
978
|
+
{
|
|
979
|
+
SWAP_STATES(s)
|
|
980
|
+
p->FoundState = --s;
|
|
981
|
+
if (freq > MAX_FREQ)
|
|
982
|
+
Ppmd7_Rescale(p);
|
|
983
|
+
}
|
|
984
|
+
Ppmd7_NextContext(p);
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
void Ppmd7_Update1_0(CPpmd7 *p)
|
|
989
|
+
{
|
|
990
|
+
CPpmd_State *s = p->FoundState;
|
|
991
|
+
CPpmd7_Context *mc = p->MinContext;
|
|
992
|
+
unsigned freq = s->Freq;
|
|
993
|
+
const unsigned summFreq = mc->Union2.SummFreq;
|
|
994
|
+
p->PrevSuccess = (2 * freq > summFreq);
|
|
995
|
+
p->RunLength += (Int32)p->PrevSuccess;
|
|
996
|
+
mc->Union2.SummFreq = (UInt16)(summFreq + 4);
|
|
997
|
+
freq += 4;
|
|
998
|
+
s->Freq = (Byte)freq;
|
|
999
|
+
if (freq > MAX_FREQ)
|
|
1000
|
+
Ppmd7_Rescale(p);
|
|
1001
|
+
Ppmd7_NextContext(p);
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
/*
|
|
1006
|
+
void Ppmd7_UpdateBin(CPpmd7 *p)
|
|
1007
|
+
{
|
|
1008
|
+
unsigned freq = p->FoundState->Freq;
|
|
1009
|
+
p->FoundState->Freq = (Byte)(freq + (freq < 128));
|
|
1010
|
+
p->PrevSuccess = 1;
|
|
1011
|
+
p->RunLength++;
|
|
1012
|
+
Ppmd7_NextContext(p);
|
|
1013
|
+
}
|
|
1014
|
+
*/
|
|
1015
|
+
|
|
1016
|
+
void Ppmd7_Update2(CPpmd7 *p)
|
|
1017
|
+
{
|
|
1018
|
+
CPpmd_State *s = p->FoundState;
|
|
1019
|
+
unsigned freq = s->Freq;
|
|
1020
|
+
freq += 4;
|
|
1021
|
+
p->RunLength = p->InitRL;
|
|
1022
|
+
p->MinContext->Union2.SummFreq = (UInt16)(p->MinContext->Union2.SummFreq + 4);
|
|
1023
|
+
s->Freq = (Byte)freq;
|
|
1024
|
+
if (freq > MAX_FREQ)
|
|
1025
|
+
Ppmd7_Rescale(p);
|
|
1026
|
+
Ppmd7_UpdateModel(p);
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
/*
|
|
1032
|
+
PPMd Memory Map:
|
|
1033
|
+
{
|
|
1034
|
+
[ 0 ] contains subset of original raw text, that is required to create context
|
|
1035
|
+
records, Some symbols are not written, when max order context was reached
|
|
1036
|
+
[ Text ] free area
|
|
1037
|
+
[ UnitsStart ] CPpmd_State vectors and CPpmd7_Context records
|
|
1038
|
+
[ LoUnit ] free area for CPpmd_State and CPpmd7_Context items
|
|
1039
|
+
[ HiUnit ] CPpmd7_Context records
|
|
1040
|
+
[ Size ] end of array
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
These addresses don't cross at any time.
|
|
1044
|
+
And the following condtions is true for addresses:
|
|
1045
|
+
(0 <= Text < UnitsStart <= LoUnit <= HiUnit <= Size)
|
|
1046
|
+
|
|
1047
|
+
Raw text is BYTE--aligned.
|
|
1048
|
+
the data in block [ UnitsStart ... Size ] contains 12-bytes aligned UNITs.
|
|
1049
|
+
|
|
1050
|
+
Last UNIT of array at offset (Size - 12) is root order-0 CPpmd7_Context record.
|
|
1051
|
+
The code can free UNITs memory blocks that were allocated to store CPpmd_State vectors.
|
|
1052
|
+
The code doesn't free UNITs allocated for CPpmd7_Context records.
|
|
1053
|
+
|
|
1054
|
+
The code calls Ppmd7_RestartModel(), when there is no free memory for allocation.
|
|
1055
|
+
And Ppmd7_RestartModel() changes the state to orignal start state, with full free block.
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
The code allocates UNITs with the following order:
|
|
1059
|
+
|
|
1060
|
+
Allocation of 1 UNIT for Context record
|
|
1061
|
+
- from free space (HiUnit) down to (LoUnit)
|
|
1062
|
+
- from FreeList[0]
|
|
1063
|
+
- Ppmd7_AllocUnitsRare()
|
|
1064
|
+
|
|
1065
|
+
Ppmd7_AllocUnits() for CPpmd_State vectors:
|
|
1066
|
+
- from FreeList[i]
|
|
1067
|
+
- from free space (LoUnit) up to (HiUnit)
|
|
1068
|
+
- Ppmd7_AllocUnitsRare()
|
|
1069
|
+
|
|
1070
|
+
Ppmd7_AllocUnitsRare()
|
|
1071
|
+
- if (GlueCount == 0)
|
|
1072
|
+
{ Glue lists, GlueCount = 255, allocate from FreeList[i]] }
|
|
1073
|
+
- loop for all higher sized FreeList[...] lists
|
|
1074
|
+
- from (UnitsStart - Text), GlueCount--
|
|
1075
|
+
- ERROR
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
Each Record with Context contains the CPpmd_State vector, where each
|
|
1079
|
+
CPpmd_State contains the link to Successor.
|
|
1080
|
+
There are 3 types of Successor:
|
|
1081
|
+
1) NULL-Successor - NULL pointer. NULL-Successor links can be stored
|
|
1082
|
+
only in 0-order Root Context Record.
|
|
1083
|
+
We use 0 value as NULL-Successor
|
|
1084
|
+
2) RAW-Successor - the link to position in raw text,
|
|
1085
|
+
that "RAW-Successor" is being created after first
|
|
1086
|
+
occurrence of new symbol for some existing context record.
|
|
1087
|
+
(RAW-Successor > 0).
|
|
1088
|
+
3) RECORD-Successor - the link to CPpmd7_Context record of (Order+1),
|
|
1089
|
+
that record is being created when we go via RAW-Successor again.
|
|
1090
|
+
|
|
1091
|
+
For any successors at any time: the following condtions are true for Successor links:
|
|
1092
|
+
(NULL-Successor < RAW-Successor < UnitsStart <= RECORD-Successor)
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
---------- Symbol Frequency, SummFreq and Range in Range_Coder ----------
|
|
1096
|
+
|
|
1097
|
+
CPpmd7_Context::SummFreq = Sum(Stats[].Freq) + Escape_Freq
|
|
1098
|
+
|
|
1099
|
+
The PPMd code tries to fulfill the condition:
|
|
1100
|
+
(SummFreq <= (256 * 128 = RC::kBot))
|
|
1101
|
+
|
|
1102
|
+
We have (Sum(Stats[].Freq) <= 256 * 124), because of (MAX_FREQ = 124)
|
|
1103
|
+
So (4 = 128 - 124) is average reserve for Escape_Freq for each symbol.
|
|
1104
|
+
If (CPpmd_State::Freq) is not aligned for 4, the reserve can be 5, 6 or 7.
|
|
1105
|
+
SummFreq and Escape_Freq can be changed in Ppmd7_Rescale() and *Update*() functions.
|
|
1106
|
+
Ppmd7_Rescale() can remove symbols only from max-order contexts. So Escape_Freq can increase after multiple calls of Ppmd7_Rescale() for
|
|
1107
|
+
max-order context.
|
|
1108
|
+
|
|
1109
|
+
When the PPMd code still break (Total <= RC::Range) condition in range coder,
|
|
1110
|
+
we have two ways to resolve that problem:
|
|
1111
|
+
1) we can report error, if we want to keep compatibility with original PPMd code that has no fix for such cases.
|
|
1112
|
+
2) we can reduce (Total) value to (RC::Range) by reducing (Escape_Freq) part of (Total) value.
|
|
1113
|
+
*/
|
|
1114
|
+
|
|
1115
|
+
#undef MAX_FREQ
|
|
1116
|
+
#undef UNIT_SIZE
|
|
1117
|
+
#undef U2B
|
|
1118
|
+
#undef U2I
|
|
1119
|
+
#undef I2U
|
|
1120
|
+
#undef I2U_UInt16
|
|
1121
|
+
#undef REF
|
|
1122
|
+
#undef STATS_REF
|
|
1123
|
+
#undef CTX
|
|
1124
|
+
#undef STATS
|
|
1125
|
+
#undef ONE_STATE
|
|
1126
|
+
#undef SUFFIX
|
|
1127
|
+
#undef NODE
|
|
1128
|
+
#undef EMPTY_NODE
|
|
1129
|
+
#undef MEM_12_CPY
|
|
1130
|
+
#undef SUCCESSOR
|
|
1131
|
+
#undef SWAP_STATES
|