react-native-update 10.34.3 → 10.34.5
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/harmony/pushy/src/main/cpp/HDiffPatch/CHANGELOG.md +34 -172
- package/harmony/pushy/src/main/cpp/HDiffPatch/LICENSE +4 -4
- package/harmony/pushy/src/main/cpp/HDiffPatch/Makefile +63 -379
- package/harmony/pushy/src/main/cpp/HDiffPatch/README.md +170 -415
- package/harmony/pushy/src/main/cpp/HDiffPatch/_atosize.h +10 -54
- package/harmony/pushy/src/main/cpp/HDiffPatch/_clock_for_demo.h +1 -13
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +18 -171
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +4 -5
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +7 -38
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +4 -15
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +12 -22
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +4 -22
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffPatch.workspace +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffZ.cbp +219 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HPatchZ.cbp +156 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/unitTest.cbp +65 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +105 -155
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +236 -363
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +317 -347
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +181 -295
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +0 -9
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +14 -53
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +32 -162
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +22 -89
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +13 -237
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +2 -2
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +14 -194
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +10 -30
- package/harmony/pushy/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +3 -458
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.cpp +71 -106
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.h +3 -3
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_plugin_demo.h +110 -484
- package/harmony/pushy/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +193 -835
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +50 -99
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +4 -18
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +8 -147
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +6 -18
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +25 -7
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +113 -5
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +97 -163
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +39 -49
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +15 -15
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +2 -18
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +4 -8
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +57 -72
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +13 -18
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +1 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +2 -2
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +2 -2
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +2 -2
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +2 -2
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +1 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.c +100 -311
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.h +72 -53
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz.cpp +487 -888
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +28 -45
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatchz.c +247 -812
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +544 -1265
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +38 -123
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +0 -115
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +102 -272
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +12 -22
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +4 -18
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +5 -7
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/{divsufsort.cpp → divsufsort.c} +8 -5
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +164 -91
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +102 -5
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.c +13 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +97 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +44 -23
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +89 -54
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +55 -48
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/utils.c.inc.h +381 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +47 -110
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +4 -11
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +26 -53
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +25 -103
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +130 -271
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +7 -17
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +37 -628
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +43 -203
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +10 -14
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +7 -22
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +46 -132
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +9 -48
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +299 -650
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +82 -120
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +7 -87
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +9 -119
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +6 -2
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +15 -192
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.cpp +367 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +56 -31
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +1 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/testHashClash.cpp +31 -225
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/unit_test.cpp +94 -566
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zAsm.asm +28 -222
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +117 -228
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/AesOpt.asm +173 -678
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +22 -103
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +167 -485
- package/harmony/pushy/src/main/cpp/lzma/C/7z.h +6 -8
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.c +30 -39
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.h +3 -3
- package/harmony/pushy/src/main/cpp/lzma/C/7zArcIn.c +217 -232
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.h +3 -3
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.c +68 -404
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.h +6 -9
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrcOpt.c +79 -163
- package/harmony/pushy/src/main/cpp/lzma/C/7zDec.c +78 -160
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.c +58 -215
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.h +6 -15
- package/harmony/pushy/src/main/cpp/lzma/C/7zStream.c +23 -46
- package/harmony/pushy/src/main/cpp/lzma/C/7zTypes.h +89 -311
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.h +5 -5
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.c +68 -191
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.h +8 -30
- package/harmony/pushy/src/main/cpp/lzma/C/AesOpt.c +108 -926
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.c +96 -246
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.h +8 -33
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.c +144 -177
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.h +42 -228
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2Enc.c +182 -377
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.c +143 -622
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.h +40 -81
- package/harmony/pushy/src/main/cpp/lzma/C/Bra86.c +58 -163
- package/harmony/pushy/src/main/cpp/lzma/C/BraIA64.c +48 -9
- package/harmony/pushy/src/main/cpp/lzma/C/Compiler.h +15 -228
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.c +133 -885
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.h +78 -428
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.c +31 -136
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.h +3 -3
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.c +62 -53
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.h +5 -5
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.c +495 -1114
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.h +25 -64
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.c +400 -969
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.h +24 -37
- package/harmony/pushy/src/main/cpp/lzma/C/LzHash.h +48 -25
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.c +7 -12
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.h +7 -8
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.c +83 -96
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.h +9 -11
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.c +92 -96
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.h +9 -12
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86.h +3 -3
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Dec.c +4 -3
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Enc.c +6 -3
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.c +206 -384
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.h +8 -11
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.c +315 -489
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.h +9 -18
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.c +3 -5
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.h +14 -21
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.c +87 -90
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.h +25 -28
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.c +88 -74
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.h +20 -21
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd.h +34 -118
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.c +293 -712
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.h +70 -109
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Dec.c +116 -237
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Enc.c +95 -245
- package/harmony/pushy/src/main/cpp/lzma/C/Precomp.h +5 -122
- package/harmony/pushy/src/main/cpp/lzma/C/RotateDefs.h +4 -24
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.c +143 -387
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.h +7 -67
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.c +114 -241
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.h +7 -4
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.c +14 -731
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.h +14 -204
- package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.c +396 -0
- package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsp +2 -10
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7zMain.c +79 -282
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.h +7 -10
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile +3 -7
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile.gcc +75 -32
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +56 -111
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +0 -24
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile +0 -2
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +41 -18
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +2 -30
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +6 -7
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/makefile +2 -27
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +7 -10
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +22 -39
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile +2 -9
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +1 -3
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.c +3 -5
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.h +47 -129
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.c +43 -97
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.h +8 -8
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64Opt.c +36 -228
- package/harmony/pushy/src/main/cpp/lzma/C/XzDec.c +295 -405
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.c +139 -194
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.h +11 -15
- package/harmony/pushy/src/main/cpp/lzma/C/XzIn.c +134 -200
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip.mak +6 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Aes.mak +1 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +13 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +90 -120
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +6 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +140 -183
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +20 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +57 -78
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +44 -169
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +17 -57
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +109 -141
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +57 -54
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +116 -336
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +9 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +136 -234
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +26 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +5 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +155 -280
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +40 -51
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +59 -67
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +2 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +2 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +3 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +9 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +387 -975
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +16 -44
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +0 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +0 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +8 -15
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +87 -106
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +57 -57
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +8 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +43 -126
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +18 -77
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +9 -20
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +23 -20
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +9 -61
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +3 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +27 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +26 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +8 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +10 -63
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +173 -319
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +113 -92
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +53 -47
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +208 -352
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Asm.mak +3 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +47 -227
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +5 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +2 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +1 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +53 -71
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +22 -85
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +4 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +166 -102
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +4 -109
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +30 -69
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +7 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +1 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +16 -16
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +12 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +9 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +5 -74
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +51 -58
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +10 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +5 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +6 -92
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +19 -46
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +11 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +5 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +0 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +28 -136
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +5 -67
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +62 -74
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +24 -32
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +7 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +100 -548
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +86 -125
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +116 -258
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +76 -72
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +15 -34
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +9 -38
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +82 -192
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +28 -25
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +52 -78
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +83 -52
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +67 -323
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +38 -123
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +8 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +13 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +12 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +7 -74
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +5 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +13 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +1 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +14 -16
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +16 -16
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +50 -45
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +21 -39
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +42 -47
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +53 -42
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +4 -49
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +2 -20
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +5 -20
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +9 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +5 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +355 -556
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +59 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +6 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +13 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +5 -88
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +18 -42
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +16 -33
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +53 -52
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +30 -64
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +22 -55
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +26 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +28 -26
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +28 -30
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +54 -45
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +12 -24
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +22 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +26 -33
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +51 -51
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +40 -232
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +14 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +35 -84
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +41 -42
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +25 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +17 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +12 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +32 -26
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +16 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +20 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc.mak +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc64.mak +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +32 -67
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +18 -30
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +3 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +43 -208
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +25 -90
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +4 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +21 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +3 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +3 -38
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Guid.txt +3 -26
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/ICoder.h +172 -253
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IDecl.h +7 -55
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IPassword.h +12 -43
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IProgress.h +9 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IStream.h +50 -133
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +2 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/PropID.h +2 -53
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +177 -329
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +1 -97
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +1 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +183 -687
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +15 -49
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +913 -2275
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +115 -353
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +106 -127
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +3 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +35 -272
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +64 -134
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +1200 -2608
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +20 -64
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +36 -253
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +233 -774
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +6 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +63 -156
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +10 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +2 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +6 -22
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +65 -1991
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +29 -241
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +47 -45
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +179 -442
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +89 -147
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +380 -529
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +42 -75
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +86 -163
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +5 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +15 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +1 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +368 -595
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +47 -68
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +146 -444
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +68 -103
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +42 -111
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +3 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +6 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +35 -25
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +4 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +9 -91
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +1 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +19 -48
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +12 -18
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +41 -162
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +41 -88
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +81 -140
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +17 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +124 -182
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +7 -22
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +109 -590
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +2 -62
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +3 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +10 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +10 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +9 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +24 -320
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +26 -50
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +5 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +2 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +6 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +195 -302
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +4 -15
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +6 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +181 -416
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +197 -216
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +5 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +5 -48
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +49 -215
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +30 -50
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +1 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +3 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +5 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +6 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +0 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +10 -15
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +17 -18
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +130 -276
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +52 -56
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +1 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +3 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +0 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +89 -185
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +20 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +1 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +33 -36
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +15 -15
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +22 -39
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +3 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Build.mak +13 -109
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/AutoPtr.h +14 -25
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CRC.cpp +1 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +90 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.h +49 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ComTry.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +7 -41
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +3 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common.h +29 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +45 -24
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Defs.h +2 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +5 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.cpp +110 -132
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.h +9 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Lang.h +5 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +31 -49
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer.h +21 -59
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +10 -95
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyCom.h +81 -497
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyException.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +9 -18
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +5 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyLinux.h +2 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.cpp +164 -347
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.h +35 -246
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyTypes.h +8 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyUnknown.h +11 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.h +94 -184
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +11 -158
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.h +54 -148
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +27 -204
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.h +5 -38
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +16 -43
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdAfx.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +11 -20
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.h +5 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +39 -124
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.h +11 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +15 -458
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.h +2 -24
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +89 -99
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.h +2 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +11 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +102 -677
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.h +5 -377
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +84 -197
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.h +25 -107
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +14 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/COM.h +8 -24
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +113 -197
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +12 -32
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +10 -22
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +6 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +47 -242
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +51 -94
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +26 -33
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +22 -32
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +13 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +34 -56
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +9 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +3 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Static.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +5 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +3 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +6 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +7 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.cpp +8 -77
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.h +10 -55
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Defs.h +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +2 -69
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +2 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +80 -728
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.h +7 -62
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +56 -756
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.h +19 -205
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +47 -569
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.h +28 -283
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +112 -369
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.h +3 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.cpp +113 -185
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.h +14 -41
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +10 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.h +2 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Handle.h +4 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +14 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +2 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/NtCheck.h +2 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +56 -102
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.h +9 -68
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +14 -150
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +3 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.cpp +128 -212
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.h +20 -32
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +4 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.h +2 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +18 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +56 -39
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.cpp +58 -539
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.h +14 -49
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/StdAfx.h +2 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +0 -77
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.h +18 -240
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.cpp +38 -317
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.h +5 -154
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Thread.h +10 -18
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +37 -291
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +10 -124
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.cpp +7 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.h +19 -98
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.csproj +90 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/Methods.txt +2 -6
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-history.txt +0 -205
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-sdk.txt +13 -93
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma.txt +13 -30
- 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/lzma.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
- package/package.json +1 -1
- package/react-native-update.podspec +0 -1
- package/react-native.config.js +1 -0
- package/src/client.ts +1 -2
- package/src/type.ts +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/README_cn.md +0 -547
- package/harmony/pushy/src/main/cpp/HDiffPatch/_hextobytes.h +0 -112
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bsdiff_wrapper.cpp +0 -389
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bsdiff_wrapper.h +0 -73
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bspatch_wrapper.c +0 -266
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bspatch_wrapper.h +0 -58
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs_patchers.bat +0 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs_patchers.sh +0 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/bzip2.vcxproj +0 -228
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/hpatchz_test.vcxproj +0 -215
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/libdeflate.vcxproj +0 -256
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/longPathAware.exe.manifest +0 -7
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/lzma.vcxproj +0 -271
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/testHashClash.vcxproj +0 -228
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/zlib.vcxproj +0 -242
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/zstd.vcxproj +0 -287
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -8
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/libdeflate.xcodeproj/project.pbxproj +0 -286
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zlib.xcodeproj/project.pbxproj +0 -308
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatch_objc/hpatch_objc.h +0 -33
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatch_objc/hpatch_objc.m +0 -33
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatchz.xcodeproj/project.pbxproj +0 -774
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz_import_patch.c +0 -31
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz_import_patch.h +0 -42
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_for_hpatch_lite.h +0 -74
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/match_block.cpp +0 -478
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/match_block.h +0 -222
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.cpp +0 -14
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.cpp +0 -168
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.h +0 -44
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/qsort_parallel.h +0 -125
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hcache_old_mt.c +0 -243
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hcache_old_mt.h +0 -51
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hinput_mt.c +0 -153
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hinput_mt.h +0 -54
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_houtput_mt.c +0 -158
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_houtput_mt.h +0 -49
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hpatch_mt.c +0 -294
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hpatch_mt.h +0 -59
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_patch_private_mt.h +0 -217
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/hpatch_mt.c +0 -349
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/hpatch_mt.h +0 -110
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.c +0 -366
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.h +0 -91
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite_input_cache.h +0 -31
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite_types.h +0 -106
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import_c.c +0 -497
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import_c.h +0 -106
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_match_in_old_sign.cpp +0 -254
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_match_in_old_sign.h +0 -39
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_sign_diff_type.h +0 -37
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/sign_diff.cpp +0 -62
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/sign_diff.h +0 -44
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dict_decompress_plugin.h +0 -156
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dir_sync_client.cpp +0 -440
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dir_sync_client.h +0 -88
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_old.cpp +0 -332
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_old.h +0 -48
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_types.h +0 -198
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client.cpp +0 -697
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client.h +0 -74
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_private.h +0 -262
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_type.h +0 -174
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_type_private.h +0 -174
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_diff_data.cpp +0 -252
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_diff_data.h +0 -67
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_info_client.cpp +0 -680
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_info_client.h +0 -137
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dict_compress_plugin.h +0 -83
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dir_sync_make.cpp +0 -125
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dir_sync_make.h +0 -56
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/hsynz_plugin.h +0 -55
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/match_in_new.cpp +0 -147
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/match_in_new.h +0 -38
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_info_make.cpp +0 -354
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_info_make.h +0 -76
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make.cpp +0 -521
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make.h +0 -69
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make_hash_clash.h +0 -122
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make_private.h +0 -66
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_type.h +0 -36
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_type_private.h +0 -81
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_wrapper.cpp +0 -247
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_wrapper.h +0 -71
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_info_client.cpp +0 -351
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_info_client.h +0 -42
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_match_in_old.cpp +0 -124
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_match_in_old.h +0 -38
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_info_make.cpp +0 -203
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_info_make.h +0 -55
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_make_wrapper.cpp +0 -79
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_make_wrapper.h +0 -66
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcdiff_wrapper.cpp +0 -628
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcdiff_wrapper.h +0 -95
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_code_table.h +0 -78
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_wrapper.c +0 -950
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_wrapper.h +0 -72
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm64/7zAsm.S +0 -181
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm64/LzmaDecOpt.S +0 -1487
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzFindOpt.asm +0 -540
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/Sha256Opt.asm +0 -275
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/Sort.asm +0 -860
- package/harmony/pushy/src/main/cpp/lzma/C/7zWindows.h +0 -101
- package/harmony/pushy/src/main/cpp/lzma/C/7zip_gcc_c.mak +0 -360
- package/harmony/pushy/src/main/cpp/lzma/C/Asm_c.mak +0 -12
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindOpt.c +0 -578
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256Opt.c +0 -451
- package/harmony/pushy/src/main/cpp/lzma/C/SwapBytes.c +0 -835
- package/harmony/pushy/src/main/cpp/lzma/C/SwapBytes.h +0 -17
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/Precomp.h +0 -13
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/Precomp.c +0 -4
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/Precomp.h +0 -13
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_arm64.mak +0 -12
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_x64.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_x86.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc.mak +0 -12
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_arm64.mak +0 -12
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_x64.mak +0 -10
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_x86.mak +0 -10
- package/harmony/pushy/src/main/cpp/lzma/C/var_mac_arm64.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/C/var_mac_x64.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/C/warn_clang.mak +0 -1
- package/harmony/pushy/src/main/cpp/lzma/C/warn_clang_mac.mak +0 -1
- package/harmony/pushy/src/main/cpp/lzma/C/warn_gcc.mak +0 -51
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip_gcc.mak +0 -1370
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile.gcc +0 -279
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile.gcc +0 -215
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MultiOutStream.cpp +0 -855
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MultiOutStream.h +0 -160
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzFindOpt.mak +0 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec_gcc.mak +0 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Sha256.mak +0 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Sort.mak +0 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile.gcc +0 -72
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile.gcc +0 -187
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialog.cpp +0 -218
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialog.h +0 -48
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialogRes.h +0 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/StdAfx.h +0 -67
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/7zG.exe.manifest +0 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_arm64.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_x64.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_x86.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_arm64.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_x64.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_x86.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_mac_arm64.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_mac_x64.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_arm64.mak +0 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_x64.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_x86.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc.mak +0 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_arm64.mak +0 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_x64.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_x86.mak +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_mac_arm64.mak +0 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_mac_x64.mak +0 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_clang.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_clang_mac.mak +0 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_gcc.mak +0 -55
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common0.h +0 -330
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynLimBuf.cpp +0 -93
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynLimBuf.h +0 -41
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/LzFindPrepare.cpp +0 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Prepare.cpp +0 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Clipboard.cpp +0 -130
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Clipboard.h +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryGlobal.cpp +0 -36
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryGlobal.h +0 -55
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SystemInfo.cpp +0 -1251
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SystemInfo.h +0 -19
- package/ios/ImportReact.h +0 -2
|
@@ -1,1487 +0,0 @@
|
|
|
1
|
-
// LzmaDecOpt.S -- ARM64-ASM version of LzmaDec_DecodeReal_3() function
|
|
2
|
-
// 2021-04-25 : Igor Pavlov : Public domain
|
|
3
|
-
|
|
4
|
-
/*
|
|
5
|
-
; 3 - is the code compatibility version of LzmaDec_DecodeReal_*()
|
|
6
|
-
; function for check at link time.
|
|
7
|
-
; That code is tightly coupled with LzmaDec_TryDummy()
|
|
8
|
-
; and with another functions in LzmaDec.c file.
|
|
9
|
-
; CLzmaDec structure, (probs) array layout, input and output of
|
|
10
|
-
; LzmaDec_DecodeReal_*() must be equal in both versions (C / ASM).
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
#include "7zAsm.S"
|
|
15
|
-
|
|
16
|
-
// .arch armv8-a
|
|
17
|
-
// .file "LzmaDecOpt.c"
|
|
18
|
-
.text
|
|
19
|
-
.align 2
|
|
20
|
-
.p2align 4,,15
|
|
21
|
-
#ifdef __APPLE__
|
|
22
|
-
.globl _LzmaDec_DecodeReal_3
|
|
23
|
-
#else
|
|
24
|
-
.global LzmaDec_DecodeReal_3
|
|
25
|
-
#endif
|
|
26
|
-
// .type LzmaDec_DecodeReal_3, %function
|
|
27
|
-
|
|
28
|
-
// #define _LZMA_SIZE_OPT 1
|
|
29
|
-
|
|
30
|
-
#define LZMA_USE_4BYTES_FILL 1
|
|
31
|
-
// #define LZMA_USE_2BYTES_COPY 1
|
|
32
|
-
// #define LZMA_USE_CMOV_LZ_WRAP 1
|
|
33
|
-
// #define _LZMA_PROB32 1
|
|
34
|
-
|
|
35
|
-
#define MY_ALIGN_FOR_ENTRY MY_ALIGN_32
|
|
36
|
-
#define MY_ALIGN_FOR_LOOP MY_ALIGN_32
|
|
37
|
-
#define MY_ALIGN_FOR_LOOP_16 MY_ALIGN_16
|
|
38
|
-
|
|
39
|
-
#ifdef _LZMA_PROB32
|
|
40
|
-
.equ PSHIFT , 2
|
|
41
|
-
.macro PLOAD dest:req, mem:req
|
|
42
|
-
ldr \dest, [\mem]
|
|
43
|
-
.endm
|
|
44
|
-
.macro PLOAD_PREINDEXED dest:req, mem:req, offset:req
|
|
45
|
-
ldr \dest, [\mem, \offset]!
|
|
46
|
-
.endm
|
|
47
|
-
.macro PLOAD_2 dest:req, mem1:req, mem2:req
|
|
48
|
-
ldr \dest, [\mem1, \mem2]
|
|
49
|
-
.endm
|
|
50
|
-
.macro PLOAD_LSL dest:req, mem1:req, mem2:req
|
|
51
|
-
ldr \dest, [\mem1, \mem2, lsl #PSHIFT]
|
|
52
|
-
.endm
|
|
53
|
-
.macro PSTORE src:req, mem:req
|
|
54
|
-
str \src, [\mem]
|
|
55
|
-
.endm
|
|
56
|
-
.macro PSTORE_2 src:req, mem1:req, mem2:req
|
|
57
|
-
str \src, [\mem1, \mem2]
|
|
58
|
-
.endm
|
|
59
|
-
.macro PSTORE_LSL src:req, mem1:req, mem2:req
|
|
60
|
-
str \src, [\mem1, \mem2, lsl #PSHIFT]
|
|
61
|
-
.endm
|
|
62
|
-
.macro PSTORE_LSL_M1 src:req, mem1:req, mem2:req, temp_reg:req
|
|
63
|
-
// you must check that temp_reg is free register when macro is used
|
|
64
|
-
add \temp_reg, \mem1, \mem2
|
|
65
|
-
str \src, [\temp_reg, \mem2]
|
|
66
|
-
.endm
|
|
67
|
-
#else
|
|
68
|
-
// .equ PSHIFT , 1
|
|
69
|
-
#define PSHIFT 1
|
|
70
|
-
.macro PLOAD dest:req, mem:req
|
|
71
|
-
ldrh \dest, [\mem]
|
|
72
|
-
.endm
|
|
73
|
-
.macro PLOAD_PREINDEXED dest:req, mem:req, offset:req
|
|
74
|
-
ldrh \dest, [\mem, \offset]!
|
|
75
|
-
.endm
|
|
76
|
-
.macro PLOAD_2 dest:req, mem1:req, mem2:req
|
|
77
|
-
ldrh \dest, [\mem1, \mem2]
|
|
78
|
-
.endm
|
|
79
|
-
.macro PLOAD_LSL dest:req, mem1:req, mem2:req
|
|
80
|
-
ldrh \dest, [\mem1, \mem2, lsl #PSHIFT]
|
|
81
|
-
.endm
|
|
82
|
-
.macro PSTORE src:req, mem:req
|
|
83
|
-
strh \src, [\mem]
|
|
84
|
-
.endm
|
|
85
|
-
.macro PSTORE_2 src:req, mem1:req, mem2:req
|
|
86
|
-
strh \src, [\mem1, \mem2]
|
|
87
|
-
.endm
|
|
88
|
-
.macro PSTORE_LSL src:req, mem1:req, mem2:req
|
|
89
|
-
strh \src, [\mem1, \mem2, lsl #PSHIFT]
|
|
90
|
-
.endm
|
|
91
|
-
.macro PSTORE_LSL_M1 src:req, mem1:req, mem2:req, temp_reg:req
|
|
92
|
-
strh \src, [\mem1, \mem2]
|
|
93
|
-
.endm
|
|
94
|
-
#endif
|
|
95
|
-
|
|
96
|
-
.equ PMULT , (1 << PSHIFT)
|
|
97
|
-
.equ PMULT_2 , (2 << PSHIFT)
|
|
98
|
-
|
|
99
|
-
.equ kMatchSpecLen_Error_Data , (1 << 9)
|
|
100
|
-
|
|
101
|
-
# x7 t0 : NORM_CALC : prob2 (IF_BIT_1)
|
|
102
|
-
# x6 t1 : NORM_CALC : probs_state
|
|
103
|
-
# x8 t2 : (LITM) temp : (TREE) temp
|
|
104
|
-
# x4 t3 : (LITM) bit : (TREE) temp : UPDATE_0/UPDATE_0 temp
|
|
105
|
-
# x10 t4 : (LITM) offs : (TREE) probs_PMULT : numBits
|
|
106
|
-
# x9 t5 : (LITM) match : sym2 (ShortDist)
|
|
107
|
-
# x1 t6 : (LITM) litm_prob : (TREE) prob_reg : pbPos
|
|
108
|
-
# x2 t7 : (LITM) prm : probBranch : cnt
|
|
109
|
-
# x3 sym : dist
|
|
110
|
-
# x12 len
|
|
111
|
-
# x0 range
|
|
112
|
-
# x5 cod
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
#define range w0
|
|
116
|
-
|
|
117
|
-
// t6
|
|
118
|
-
#define pbPos w1
|
|
119
|
-
#define pbPos_R r1
|
|
120
|
-
#define prob_reg w1
|
|
121
|
-
#define litm_prob prob_reg
|
|
122
|
-
|
|
123
|
-
// t7
|
|
124
|
-
#define probBranch w2
|
|
125
|
-
#define cnt w2
|
|
126
|
-
#define cnt_R r2
|
|
127
|
-
#define prm r2
|
|
128
|
-
|
|
129
|
-
#define sym w3
|
|
130
|
-
#define sym_R r3
|
|
131
|
-
#define dist sym
|
|
132
|
-
|
|
133
|
-
#define t3 w4
|
|
134
|
-
#define bit w4
|
|
135
|
-
#define bit_R r4
|
|
136
|
-
#define update_temp_reg r4
|
|
137
|
-
|
|
138
|
-
#define cod w5
|
|
139
|
-
|
|
140
|
-
#define t1 w6
|
|
141
|
-
#define t1_R r6
|
|
142
|
-
#define probs_state t1_R
|
|
143
|
-
|
|
144
|
-
#define t0 w7
|
|
145
|
-
#define t0_R r7
|
|
146
|
-
#define prob2 t0
|
|
147
|
-
|
|
148
|
-
#define t2 w8
|
|
149
|
-
#define t2_R r8
|
|
150
|
-
|
|
151
|
-
// t5
|
|
152
|
-
#define match w9
|
|
153
|
-
#define sym2 w9
|
|
154
|
-
#define sym2_R r9
|
|
155
|
-
|
|
156
|
-
#define t4 w10
|
|
157
|
-
#define t4_R r10
|
|
158
|
-
|
|
159
|
-
#define offs w10
|
|
160
|
-
#define offs_R r10
|
|
161
|
-
|
|
162
|
-
#define probs r11
|
|
163
|
-
|
|
164
|
-
#define len w12
|
|
165
|
-
#define len_R x12
|
|
166
|
-
|
|
167
|
-
#define state w13
|
|
168
|
-
#define state_R r13
|
|
169
|
-
|
|
170
|
-
#define dicPos r14
|
|
171
|
-
#define buf r15
|
|
172
|
-
#define bufLimit r16
|
|
173
|
-
#define dicBufSize r17
|
|
174
|
-
|
|
175
|
-
#define limit r19
|
|
176
|
-
#define rep0 w20
|
|
177
|
-
#define rep0_R r20
|
|
178
|
-
#define rep1 w21
|
|
179
|
-
#define rep2 w22
|
|
180
|
-
#define rep3 w23
|
|
181
|
-
#define dic r24
|
|
182
|
-
#define probs_IsMatch r25
|
|
183
|
-
#define probs_Spec r26
|
|
184
|
-
#define checkDicSize w27
|
|
185
|
-
#define processedPos w28
|
|
186
|
-
#define pbMask w29
|
|
187
|
-
#define lc2_lpMask w30
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
.equ kNumBitModelTotalBits , 11
|
|
191
|
-
.equ kBitModelTotal , (1 << kNumBitModelTotalBits)
|
|
192
|
-
.equ kNumMoveBits , 5
|
|
193
|
-
.equ kBitModelOffset , (kBitModelTotal - (1 << kNumMoveBits) + 1)
|
|
194
|
-
|
|
195
|
-
.macro NORM_2 macro
|
|
196
|
-
ldrb t0, [buf], 1
|
|
197
|
-
shl range, 8
|
|
198
|
-
orr cod, t0, cod, lsl 8
|
|
199
|
-
/*
|
|
200
|
-
mov t0, cod
|
|
201
|
-
ldrb cod, [buf], 1
|
|
202
|
-
shl range, 8
|
|
203
|
-
bfi cod, t0, #8, #24
|
|
204
|
-
*/
|
|
205
|
-
.endm
|
|
206
|
-
|
|
207
|
-
.macro TEST_HIGH_BYTE_range macro
|
|
208
|
-
tst range, 0xFF000000
|
|
209
|
-
.endm
|
|
210
|
-
|
|
211
|
-
.macro NORM macro
|
|
212
|
-
TEST_HIGH_BYTE_range
|
|
213
|
-
jnz 1f
|
|
214
|
-
NORM_2
|
|
215
|
-
1:
|
|
216
|
-
.endm
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
# ---------- Branch MACROS ----------
|
|
220
|
-
|
|
221
|
-
.macro UPDATE_0__0
|
|
222
|
-
sub prob2, probBranch, kBitModelOffset
|
|
223
|
-
.endm
|
|
224
|
-
|
|
225
|
-
.macro UPDATE_0__1
|
|
226
|
-
sub probBranch, probBranch, prob2, asr #(kNumMoveBits)
|
|
227
|
-
.endm
|
|
228
|
-
|
|
229
|
-
.macro UPDATE_0__2 probsArray:req, probOffset:req, probDisp:req
|
|
230
|
-
.if \probDisp == 0
|
|
231
|
-
PSTORE_2 probBranch, \probsArray, \probOffset
|
|
232
|
-
.elseif \probOffset == 0
|
|
233
|
-
PSTORE_2 probBranch, \probsArray, \probDisp * PMULT
|
|
234
|
-
.else
|
|
235
|
-
.error "unsupported"
|
|
236
|
-
// add update_temp_reg, \probsArray, \probOffset
|
|
237
|
-
PSTORE_2 probBranch, update_temp_reg, \probDisp * PMULT
|
|
238
|
-
.endif
|
|
239
|
-
.endm
|
|
240
|
-
|
|
241
|
-
.macro UPDATE_0 probsArray:req, probOffset:req, probDisp:req
|
|
242
|
-
UPDATE_0__0
|
|
243
|
-
UPDATE_0__1
|
|
244
|
-
UPDATE_0__2 \probsArray, \probOffset, \probDisp
|
|
245
|
-
.endm
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
.macro UPDATE_1 probsArray:req, probOffset:req, probDisp:req
|
|
249
|
-
// sub cod, cod, prob2
|
|
250
|
-
// sub range, range, prob2
|
|
251
|
-
p2_sub cod, range
|
|
252
|
-
sub range, prob2, range
|
|
253
|
-
sub prob2, probBranch, probBranch, lsr #(kNumMoveBits)
|
|
254
|
-
.if \probDisp == 0
|
|
255
|
-
PSTORE_2 prob2, \probsArray, \probOffset
|
|
256
|
-
.elseif \probOffset == 0
|
|
257
|
-
PSTORE_2 prob2, \probsArray, \probDisp * PMULT
|
|
258
|
-
.else
|
|
259
|
-
.error "unsupported"
|
|
260
|
-
// add update_temp_reg, \probsArray, \probOffset
|
|
261
|
-
PSTORE_2 prob2, update_temp_reg, \probDisp * PMULT
|
|
262
|
-
.endif
|
|
263
|
-
.endm
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
.macro CMP_COD_BASE
|
|
267
|
-
NORM
|
|
268
|
-
// lsr prob2, range, kNumBitModelTotalBits
|
|
269
|
-
// imul prob2, probBranch
|
|
270
|
-
// cmp cod, prob2
|
|
271
|
-
mov prob2, range
|
|
272
|
-
shr range, kNumBitModelTotalBits
|
|
273
|
-
imul range, probBranch
|
|
274
|
-
cmp cod, range
|
|
275
|
-
.endm
|
|
276
|
-
|
|
277
|
-
.macro CMP_COD_1 probsArray:req
|
|
278
|
-
PLOAD probBranch, \probsArray
|
|
279
|
-
CMP_COD_BASE
|
|
280
|
-
.endm
|
|
281
|
-
|
|
282
|
-
.macro CMP_COD_3 probsArray:req, probOffset:req, probDisp:req
|
|
283
|
-
.if \probDisp == 0
|
|
284
|
-
PLOAD_2 probBranch, \probsArray, \probOffset
|
|
285
|
-
.elseif \probOffset == 0
|
|
286
|
-
PLOAD_2 probBranch, \probsArray, \probDisp * PMULT
|
|
287
|
-
.else
|
|
288
|
-
.error "unsupported"
|
|
289
|
-
add update_temp_reg, \probsArray, \probOffset
|
|
290
|
-
PLOAD_2 probBranch, update_temp_reg, \probDisp * PMULT
|
|
291
|
-
.endif
|
|
292
|
-
CMP_COD_BASE
|
|
293
|
-
.endm
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
.macro IF_BIT_1_NOUP probsArray:req, probOffset:req, probDisp:req, toLabel:req
|
|
297
|
-
CMP_COD_3 \probsArray, \probOffset, \probDisp
|
|
298
|
-
jae \toLabel
|
|
299
|
-
.endm
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
.macro IF_BIT_1 probsArray:req, probOffset:req, probDisp:req, toLabel:req
|
|
303
|
-
IF_BIT_1_NOUP \probsArray, \probOffset, \probDisp, \toLabel
|
|
304
|
-
UPDATE_0 \probsArray, \probOffset, \probDisp
|
|
305
|
-
.endm
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
.macro IF_BIT_0_NOUP probsArray:req, probOffset:req, probDisp:req, toLabel:req
|
|
309
|
-
CMP_COD_3 \probsArray, \probOffset, \probDisp
|
|
310
|
-
jb \toLabel
|
|
311
|
-
.endm
|
|
312
|
-
|
|
313
|
-
.macro IF_BIT_0_NOUP_1 probsArray:req, toLabel:req
|
|
314
|
-
CMP_COD_1 \probsArray
|
|
315
|
-
jb \toLabel
|
|
316
|
-
.endm
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
# ---------- CMOV MACROS ----------
|
|
320
|
-
|
|
321
|
-
.macro NORM_LSR
|
|
322
|
-
NORM
|
|
323
|
-
lsr t0, range, #kNumBitModelTotalBits
|
|
324
|
-
.endm
|
|
325
|
-
|
|
326
|
-
.macro COD_RANGE_SUB
|
|
327
|
-
subs t1, cod, t0
|
|
328
|
-
p2_sub range, t0
|
|
329
|
-
.endm
|
|
330
|
-
|
|
331
|
-
.macro RANGE_IMUL prob:req
|
|
332
|
-
imul t0, \prob
|
|
333
|
-
.endm
|
|
334
|
-
|
|
335
|
-
.macro NORM_CALC prob:req
|
|
336
|
-
NORM_LSR
|
|
337
|
-
RANGE_IMUL \prob
|
|
338
|
-
COD_RANGE_SUB
|
|
339
|
-
.endm
|
|
340
|
-
|
|
341
|
-
.macro CMOV_range
|
|
342
|
-
cmovb range, t0
|
|
343
|
-
.endm
|
|
344
|
-
|
|
345
|
-
.macro CMOV_code
|
|
346
|
-
cmovae cod, t1
|
|
347
|
-
.endm
|
|
348
|
-
|
|
349
|
-
.macro CMOV_code_Model_Pre prob:req
|
|
350
|
-
sub t0, \prob, kBitModelOffset
|
|
351
|
-
CMOV_code
|
|
352
|
-
cmovae t0, \prob
|
|
353
|
-
.endm
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
.macro PUP_BASE_2 prob:req, dest_reg:req
|
|
357
|
-
# only sar works for both 16/32 bit prob modes
|
|
358
|
-
sub \dest_reg, \prob, \dest_reg, asr #(kNumMoveBits)
|
|
359
|
-
.endm
|
|
360
|
-
|
|
361
|
-
.macro PUP prob:req, probPtr:req, mem2:req
|
|
362
|
-
PUP_BASE_2 \prob, t0
|
|
363
|
-
PSTORE_2 t0, \probPtr, \mem2
|
|
364
|
-
.endm
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
#define probs_PMULT t4_R
|
|
369
|
-
|
|
370
|
-
.macro BIT_01
|
|
371
|
-
add probs_PMULT, probs, PMULT
|
|
372
|
-
.endm
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
.macro BIT_0_R prob:req
|
|
376
|
-
PLOAD_2 \prob, probs, 1 * PMULT
|
|
377
|
-
NORM_LSR
|
|
378
|
-
sub t3, \prob, kBitModelOffset
|
|
379
|
-
RANGE_IMUL \prob
|
|
380
|
-
PLOAD_2 t2, probs, 1 * PMULT_2
|
|
381
|
-
COD_RANGE_SUB
|
|
382
|
-
CMOV_range
|
|
383
|
-
cmovae t3, \prob
|
|
384
|
-
PLOAD_2 t0, probs, 1 * PMULT_2 + PMULT
|
|
385
|
-
PUP_BASE_2 \prob, t3
|
|
386
|
-
csel \prob, t2, t0, lo
|
|
387
|
-
CMOV_code
|
|
388
|
-
mov sym, 2
|
|
389
|
-
PSTORE_2 t3, probs, 1 * PMULT
|
|
390
|
-
adc sym, sym, wzr
|
|
391
|
-
BIT_01
|
|
392
|
-
.endm
|
|
393
|
-
|
|
394
|
-
.macro BIT_1_R prob:req
|
|
395
|
-
NORM_LSR
|
|
396
|
-
p2_add sym, sym
|
|
397
|
-
sub t3, \prob, kBitModelOffset
|
|
398
|
-
RANGE_IMUL \prob
|
|
399
|
-
PLOAD_LSL t2, probs, sym_R
|
|
400
|
-
COD_RANGE_SUB
|
|
401
|
-
CMOV_range
|
|
402
|
-
cmovae t3, \prob
|
|
403
|
-
PLOAD_LSL t0, probs_PMULT, sym_R
|
|
404
|
-
PUP_BASE_2 \prob, t3
|
|
405
|
-
csel \prob, t2, t0, lo
|
|
406
|
-
CMOV_code
|
|
407
|
-
PSTORE_LSL_M1 t3, probs, sym_R, t2_R
|
|
408
|
-
adc sym, sym, wzr
|
|
409
|
-
.endm
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
.macro BIT_2_R prob:req
|
|
413
|
-
NORM_LSR
|
|
414
|
-
p2_add sym, sym
|
|
415
|
-
sub t3, \prob, kBitModelOffset
|
|
416
|
-
RANGE_IMUL \prob
|
|
417
|
-
COD_RANGE_SUB
|
|
418
|
-
CMOV_range
|
|
419
|
-
cmovae t3, \prob
|
|
420
|
-
CMOV_code
|
|
421
|
-
PUP_BASE_2 \prob, t3
|
|
422
|
-
PSTORE_LSL_M1 t3, probs, sym_R, t2_R
|
|
423
|
-
adc sym, sym, wzr
|
|
424
|
-
.endm
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
# ---------- MATCHED LITERAL ----------
|
|
428
|
-
|
|
429
|
-
.macro LITM_0 macro
|
|
430
|
-
shl match, (PSHIFT + 1)
|
|
431
|
-
and bit, match, 256 * PMULT
|
|
432
|
-
add prm, probs, 256 * PMULT + 1 * PMULT
|
|
433
|
-
p2_add match, match
|
|
434
|
-
p2_add prm, bit_R
|
|
435
|
-
eor offs, bit, 256 * PMULT
|
|
436
|
-
PLOAD litm_prob, prm
|
|
437
|
-
|
|
438
|
-
NORM_LSR
|
|
439
|
-
sub t2, litm_prob, kBitModelOffset
|
|
440
|
-
RANGE_IMUL litm_prob
|
|
441
|
-
COD_RANGE_SUB
|
|
442
|
-
cmovae offs, bit
|
|
443
|
-
CMOV_range
|
|
444
|
-
and bit, match, offs
|
|
445
|
-
cmovae t2, litm_prob
|
|
446
|
-
CMOV_code
|
|
447
|
-
mov sym, 2
|
|
448
|
-
PUP_BASE_2 litm_prob, t2
|
|
449
|
-
PSTORE t2, prm
|
|
450
|
-
add prm, probs, offs_R
|
|
451
|
-
adc sym, sym, wzr
|
|
452
|
-
.endm
|
|
453
|
-
|
|
454
|
-
.macro LITM macro
|
|
455
|
-
p2_add prm, bit_R
|
|
456
|
-
xor offs, bit
|
|
457
|
-
PLOAD_LSL litm_prob, prm, sym_R
|
|
458
|
-
|
|
459
|
-
NORM_LSR
|
|
460
|
-
p2_add match, match
|
|
461
|
-
sub t2, litm_prob, kBitModelOffset
|
|
462
|
-
RANGE_IMUL litm_prob
|
|
463
|
-
COD_RANGE_SUB
|
|
464
|
-
cmovae offs, bit
|
|
465
|
-
CMOV_range
|
|
466
|
-
and bit, match, offs
|
|
467
|
-
cmovae t2, litm_prob
|
|
468
|
-
CMOV_code
|
|
469
|
-
PUP_BASE_2 litm_prob, t2
|
|
470
|
-
PSTORE_LSL t2, prm, sym_R
|
|
471
|
-
add prm, probs, offs_R
|
|
472
|
-
adc sym, sym, sym
|
|
473
|
-
.endm
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
.macro LITM_2 macro
|
|
477
|
-
p2_add prm, bit_R
|
|
478
|
-
PLOAD_LSL litm_prob, prm, sym_R
|
|
479
|
-
|
|
480
|
-
NORM_LSR
|
|
481
|
-
sub t2, litm_prob, kBitModelOffset
|
|
482
|
-
RANGE_IMUL litm_prob
|
|
483
|
-
COD_RANGE_SUB
|
|
484
|
-
CMOV_range
|
|
485
|
-
cmovae t2, litm_prob
|
|
486
|
-
CMOV_code
|
|
487
|
-
PUP_BASE_2 litm_prob, t2
|
|
488
|
-
PSTORE_LSL t2, prm, sym_R
|
|
489
|
-
adc sym, sym, sym
|
|
490
|
-
.endm
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
# ---------- REVERSE BITS ----------
|
|
494
|
-
|
|
495
|
-
.macro REV_0 prob:req
|
|
496
|
-
NORM_CALC \prob
|
|
497
|
-
CMOV_range
|
|
498
|
-
PLOAD t2, sym2_R
|
|
499
|
-
PLOAD_2 t3, probs, 3 * PMULT
|
|
500
|
-
CMOV_code_Model_Pre \prob
|
|
501
|
-
add t1_R, probs, 3 * PMULT
|
|
502
|
-
cmovae sym2_R, t1_R
|
|
503
|
-
PUP \prob, probs, 1 * PMULT
|
|
504
|
-
csel \prob, t2, t3, lo
|
|
505
|
-
.endm
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
.macro REV_1 prob:req, step:req
|
|
509
|
-
NORM_LSR
|
|
510
|
-
PLOAD_PREINDEXED t2, sym2_R, (\step * PMULT)
|
|
511
|
-
RANGE_IMUL \prob
|
|
512
|
-
COD_RANGE_SUB
|
|
513
|
-
CMOV_range
|
|
514
|
-
PLOAD_2 t3, sym2_R, (\step * PMULT)
|
|
515
|
-
sub t0, \prob, kBitModelOffset
|
|
516
|
-
CMOV_code
|
|
517
|
-
add t1_R, sym2_R, \step * PMULT
|
|
518
|
-
cmovae t0, \prob
|
|
519
|
-
cmovae sym2_R, t1_R
|
|
520
|
-
PUP_BASE_2 \prob, t0
|
|
521
|
-
csel \prob, t2, t3, lo
|
|
522
|
-
PSTORE_2 t0, t1_R, 0 - \step * PMULT_2
|
|
523
|
-
.endm
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
.macro REV_2 prob:req, step:req
|
|
527
|
-
sub t1_R, sym2_R, probs
|
|
528
|
-
NORM_LSR
|
|
529
|
-
orr sym, sym, t1, lsr #PSHIFT
|
|
530
|
-
RANGE_IMUL \prob
|
|
531
|
-
COD_RANGE_SUB
|
|
532
|
-
sub t2, sym, \step
|
|
533
|
-
CMOV_range
|
|
534
|
-
cmovb sym, t2
|
|
535
|
-
CMOV_code_Model_Pre \prob
|
|
536
|
-
PUP \prob, sym2_R, 0
|
|
537
|
-
.endm
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
.macro REV_1_VAR prob:req
|
|
541
|
-
PLOAD \prob, sym_R
|
|
542
|
-
mov probs, sym_R
|
|
543
|
-
p2_add sym_R, sym2_R
|
|
544
|
-
NORM_LSR
|
|
545
|
-
add t2_R, sym_R, sym2_R
|
|
546
|
-
RANGE_IMUL \prob
|
|
547
|
-
COD_RANGE_SUB
|
|
548
|
-
cmovae sym_R, t2_R
|
|
549
|
-
CMOV_range
|
|
550
|
-
CMOV_code_Model_Pre \prob
|
|
551
|
-
p2_add sym2, sym2
|
|
552
|
-
PUP \prob, probs, 0
|
|
553
|
-
.endm
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
.macro add_big dest:req, src:req, param:req
|
|
557
|
-
.if (\param) < (1 << 12)
|
|
558
|
-
add \dest, \src, \param
|
|
559
|
-
.else
|
|
560
|
-
#ifndef _LZMA_PROB32
|
|
561
|
-
.error "unexpcted add_big expansion"
|
|
562
|
-
#endif
|
|
563
|
-
add \dest, \src, (\param) / 2
|
|
564
|
-
add \dest, \dest, (\param) - (\param) / 2
|
|
565
|
-
.endif
|
|
566
|
-
.endm
|
|
567
|
-
|
|
568
|
-
.macro sub_big dest:req, src:req, param:req
|
|
569
|
-
.if (\param) < (1 << 12)
|
|
570
|
-
sub \dest, \src, \param
|
|
571
|
-
.else
|
|
572
|
-
#ifndef _LZMA_PROB32
|
|
573
|
-
.error "unexpcted sub_big expansion"
|
|
574
|
-
#endif
|
|
575
|
-
sub \dest, \src, (\param) / 2
|
|
576
|
-
sub \dest, \dest, (\param) - (\param) / 2
|
|
577
|
-
.endif
|
|
578
|
-
.endm
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
.macro SET_probs offset:req
|
|
582
|
-
// add_big probs, probs_Spec, (\offset) * PMULT
|
|
583
|
-
add probs, probs_IsMatch, ((\offset) - IsMatch) * PMULT
|
|
584
|
-
.endm
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
.macro LIT_PROBS
|
|
588
|
-
add sym, sym, processedPos, lsl 8
|
|
589
|
-
inc processedPos
|
|
590
|
-
UPDATE_0__0
|
|
591
|
-
shl sym, lc2_lpMask
|
|
592
|
-
SET_probs Literal
|
|
593
|
-
p2_and sym, lc2_lpMask
|
|
594
|
-
// p2_add probs_state, pbPos_R
|
|
595
|
-
p2_add probs, sym_R
|
|
596
|
-
UPDATE_0__1
|
|
597
|
-
add probs, probs, sym_R, lsl 1
|
|
598
|
-
UPDATE_0__2 probs_state, pbPos_R, 0
|
|
599
|
-
.endm
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
.equ kNumPosBitsMax , 4
|
|
604
|
-
.equ kNumPosStatesMax , (1 << kNumPosBitsMax)
|
|
605
|
-
|
|
606
|
-
.equ kLenNumLowBits , 3
|
|
607
|
-
.equ kLenNumLowSymbols , (1 << kLenNumLowBits)
|
|
608
|
-
.equ kLenNumHighBits , 8
|
|
609
|
-
.equ kLenNumHighSymbols , (1 << kLenNumHighBits)
|
|
610
|
-
.equ kNumLenProbs , (2 * kLenNumLowSymbols * kNumPosStatesMax + kLenNumHighSymbols)
|
|
611
|
-
|
|
612
|
-
.equ LenLow , 0
|
|
613
|
-
.equ LenChoice , LenLow
|
|
614
|
-
.equ LenChoice2 , (LenLow + kLenNumLowSymbols)
|
|
615
|
-
.equ LenHigh , (LenLow + 2 * kLenNumLowSymbols * kNumPosStatesMax)
|
|
616
|
-
|
|
617
|
-
.equ kNumStates , 12
|
|
618
|
-
.equ kNumStates2 , 16
|
|
619
|
-
.equ kNumLitStates , 7
|
|
620
|
-
|
|
621
|
-
.equ kStartPosModelIndex , 4
|
|
622
|
-
.equ kEndPosModelIndex , 14
|
|
623
|
-
.equ kNumFullDistances , (1 << (kEndPosModelIndex >> 1))
|
|
624
|
-
|
|
625
|
-
.equ kNumPosSlotBits , 6
|
|
626
|
-
.equ kNumLenToPosStates , 4
|
|
627
|
-
|
|
628
|
-
.equ kNumAlignBits , 4
|
|
629
|
-
.equ kAlignTableSize , (1 << kNumAlignBits)
|
|
630
|
-
|
|
631
|
-
.equ kMatchMinLen , 2
|
|
632
|
-
.equ kMatchSpecLenStart , (kMatchMinLen + kLenNumLowSymbols * 2 + kLenNumHighSymbols)
|
|
633
|
-
|
|
634
|
-
// .equ kStartOffset , 1408
|
|
635
|
-
.equ kStartOffset , 0
|
|
636
|
-
.equ SpecPos , (-kStartOffset)
|
|
637
|
-
.equ IsRep0Long , (SpecPos + kNumFullDistances)
|
|
638
|
-
.equ RepLenCoder , (IsRep0Long + (kNumStates2 << kNumPosBitsMax))
|
|
639
|
-
.equ LenCoder , (RepLenCoder + kNumLenProbs)
|
|
640
|
-
.equ IsMatch , (LenCoder + kNumLenProbs)
|
|
641
|
-
.equ kAlign , (IsMatch + (kNumStates2 << kNumPosBitsMax))
|
|
642
|
-
.equ IsRep , (kAlign + kAlignTableSize)
|
|
643
|
-
.equ IsRepG0 , (IsRep + kNumStates)
|
|
644
|
-
.equ IsRepG1 , (IsRepG0 + kNumStates)
|
|
645
|
-
.equ IsRepG2 , (IsRepG1 + kNumStates)
|
|
646
|
-
.equ PosSlot , (IsRepG2 + kNumStates)
|
|
647
|
-
.equ Literal , (PosSlot + (kNumLenToPosStates << kNumPosSlotBits))
|
|
648
|
-
.equ NUM_BASE_PROBS , (Literal + kStartOffset)
|
|
649
|
-
|
|
650
|
-
.if kStartOffset != 0 // && IsMatch != 0
|
|
651
|
-
.error "Stop_Compiling_Bad_StartOffset"
|
|
652
|
-
.endif
|
|
653
|
-
|
|
654
|
-
.if NUM_BASE_PROBS != 1984
|
|
655
|
-
.error "Stop_Compiling_Bad_LZMA_PROBS"
|
|
656
|
-
.endif
|
|
657
|
-
|
|
658
|
-
.equ offset_lc , 0
|
|
659
|
-
.equ offset_lp , 1
|
|
660
|
-
.equ offset_pb , 2
|
|
661
|
-
.equ offset_dicSize , 4
|
|
662
|
-
.equ offset_probs , 4 + offset_dicSize
|
|
663
|
-
.equ offset_probs_1664 , 8 + offset_probs
|
|
664
|
-
.equ offset_dic , 8 + offset_probs_1664
|
|
665
|
-
.equ offset_dicBufSize , 8 + offset_dic
|
|
666
|
-
.equ offset_dicPos , 8 + offset_dicBufSize
|
|
667
|
-
.equ offset_buf , 8 + offset_dicPos
|
|
668
|
-
.equ offset_range , 8 + offset_buf
|
|
669
|
-
.equ offset_code , 4 + offset_range
|
|
670
|
-
.equ offset_processedPos , 4 + offset_code
|
|
671
|
-
.equ offset_checkDicSize , 4 + offset_processedPos
|
|
672
|
-
.equ offset_rep0 , 4 + offset_checkDicSize
|
|
673
|
-
.equ offset_rep1 , 4 + offset_rep0
|
|
674
|
-
.equ offset_rep2 , 4 + offset_rep1
|
|
675
|
-
.equ offset_rep3 , 4 + offset_rep2
|
|
676
|
-
.equ offset_state , 4 + offset_rep3
|
|
677
|
-
.equ offset_remainLen , 4 + offset_state
|
|
678
|
-
.equ offset_TOTAL_SIZE , 4 + offset_remainLen
|
|
679
|
-
|
|
680
|
-
.if offset_TOTAL_SIZE != 96
|
|
681
|
-
.error "Incorrect offset_TOTAL_SIZE"
|
|
682
|
-
.endif
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
.macro IsMatchBranch_Pre
|
|
686
|
-
# prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
|
|
687
|
-
and pbPos, pbMask, processedPos, lsl #(kLenNumLowBits + 1 + PSHIFT)
|
|
688
|
-
add probs_state, probs_IsMatch, state_R
|
|
689
|
-
.endm
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
/*
|
|
693
|
-
.macro IsMatchBranch
|
|
694
|
-
IsMatchBranch_Pre
|
|
695
|
-
IF_BIT_1 probs_state, pbPos_R, (IsMatch - IsMatch), IsMatch_label
|
|
696
|
-
.endm
|
|
697
|
-
*/
|
|
698
|
-
|
|
699
|
-
.macro CheckLimits
|
|
700
|
-
cmp buf, bufLimit
|
|
701
|
-
jae fin_OK
|
|
702
|
-
cmp dicPos, limit
|
|
703
|
-
jae fin_OK
|
|
704
|
-
.endm
|
|
705
|
-
|
|
706
|
-
#define CheckLimits_lit CheckLimits
|
|
707
|
-
/*
|
|
708
|
-
.macro CheckLimits_lit
|
|
709
|
-
cmp buf, bufLimit
|
|
710
|
-
jae fin_OK_lit
|
|
711
|
-
cmp dicPos, limit
|
|
712
|
-
jae fin_OK_lit
|
|
713
|
-
.endm
|
|
714
|
-
*/
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
#define PARAM_lzma REG_ABI_PARAM_0
|
|
718
|
-
#define PARAM_limit REG_ABI_PARAM_1
|
|
719
|
-
#define PARAM_bufLimit REG_ABI_PARAM_2
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
.macro LOAD_LZMA_VAR reg:req, struct_offs:req
|
|
723
|
-
ldr \reg, [PARAM_lzma, \struct_offs]
|
|
724
|
-
.endm
|
|
725
|
-
|
|
726
|
-
.macro LOAD_LZMA_BYTE reg:req, struct_offs:req
|
|
727
|
-
ldrb \reg, [PARAM_lzma, \struct_offs]
|
|
728
|
-
.endm
|
|
729
|
-
|
|
730
|
-
.macro LOAD_LZMA_PAIR reg0:req, reg1:req, struct_offs:req
|
|
731
|
-
ldp \reg0, \reg1, [PARAM_lzma, \struct_offs]
|
|
732
|
-
.endm
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
LzmaDec_DecodeReal_3:
|
|
736
|
-
_LzmaDec_DecodeReal_3:
|
|
737
|
-
/*
|
|
738
|
-
.LFB0:
|
|
739
|
-
.cfi_startproc
|
|
740
|
-
*/
|
|
741
|
-
|
|
742
|
-
stp x19, x20, [sp, -128]!
|
|
743
|
-
stp x21, x22, [sp, 16]
|
|
744
|
-
stp x23, x24, [sp, 32]
|
|
745
|
-
stp x25, x26, [sp, 48]
|
|
746
|
-
stp x27, x28, [sp, 64]
|
|
747
|
-
stp x29, x30, [sp, 80]
|
|
748
|
-
|
|
749
|
-
str PARAM_lzma, [sp, 120]
|
|
750
|
-
|
|
751
|
-
mov bufLimit, PARAM_bufLimit
|
|
752
|
-
mov limit, PARAM_limit
|
|
753
|
-
|
|
754
|
-
LOAD_LZMA_PAIR dic, dicBufSize, offset_dic
|
|
755
|
-
LOAD_LZMA_PAIR dicPos, buf, offset_dicPos
|
|
756
|
-
LOAD_LZMA_PAIR rep0, rep1, offset_rep0
|
|
757
|
-
LOAD_LZMA_PAIR rep2, rep3, offset_rep2
|
|
758
|
-
|
|
759
|
-
mov t0, 1 << (kLenNumLowBits + 1 + PSHIFT)
|
|
760
|
-
LOAD_LZMA_BYTE pbMask, offset_pb
|
|
761
|
-
p2_add limit, dic
|
|
762
|
-
mov len, wzr // we can set it in all requiread branches instead
|
|
763
|
-
lsl pbMask, t0, pbMask
|
|
764
|
-
p2_add dicPos, dic
|
|
765
|
-
p2_sub pbMask, t0
|
|
766
|
-
|
|
767
|
-
LOAD_LZMA_BYTE lc2_lpMask, offset_lc
|
|
768
|
-
mov t0, 256 << PSHIFT
|
|
769
|
-
LOAD_LZMA_BYTE t1, offset_lp
|
|
770
|
-
p2_add t1, lc2_lpMask
|
|
771
|
-
p2_sub lc2_lpMask, (256 << PSHIFT) - PSHIFT
|
|
772
|
-
shl t0, t1
|
|
773
|
-
p2_add lc2_lpMask, t0
|
|
774
|
-
|
|
775
|
-
LOAD_LZMA_VAR probs_Spec, offset_probs
|
|
776
|
-
LOAD_LZMA_VAR checkDicSize, offset_checkDicSize
|
|
777
|
-
LOAD_LZMA_VAR processedPos, offset_processedPos
|
|
778
|
-
LOAD_LZMA_VAR state, offset_state
|
|
779
|
-
// range is r0 : this load must be last don't move
|
|
780
|
-
LOAD_LZMA_PAIR range, cod, offset_range
|
|
781
|
-
mov sym, wzr
|
|
782
|
-
shl state, PSHIFT
|
|
783
|
-
|
|
784
|
-
add_big probs_IsMatch, probs_Spec, ((IsMatch - SpecPos) << PSHIFT)
|
|
785
|
-
|
|
786
|
-
// if (processedPos != 0 || checkDicSize != 0)
|
|
787
|
-
orr t0, checkDicSize, processedPos
|
|
788
|
-
cbz t0, 1f
|
|
789
|
-
add t0_R, dicBufSize, dic
|
|
790
|
-
cmp dicPos, dic
|
|
791
|
-
cmovne t0_R, dicPos
|
|
792
|
-
ldrb sym, [t0_R, -1]
|
|
793
|
-
1:
|
|
794
|
-
IsMatchBranch_Pre
|
|
795
|
-
cmp state, 4 * PMULT
|
|
796
|
-
jb lit_end
|
|
797
|
-
cmp state, kNumLitStates * PMULT
|
|
798
|
-
jb lit_matched_end
|
|
799
|
-
jmp lz_end
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
#define BIT_0 BIT_0_R prob_reg
|
|
804
|
-
#define BIT_1 BIT_1_R prob_reg
|
|
805
|
-
#define BIT_2 BIT_2_R prob_reg
|
|
806
|
-
|
|
807
|
-
# ---------- LITERAL ----------
|
|
808
|
-
MY_ALIGN_64
|
|
809
|
-
lit_start:
|
|
810
|
-
mov state, wzr
|
|
811
|
-
lit_start_2:
|
|
812
|
-
LIT_PROBS
|
|
813
|
-
|
|
814
|
-
#ifdef _LZMA_SIZE_OPT
|
|
815
|
-
|
|
816
|
-
PLOAD_2 prob_reg, probs, 1 * PMULT
|
|
817
|
-
mov sym, 1
|
|
818
|
-
BIT_01
|
|
819
|
-
MY_ALIGN_FOR_LOOP
|
|
820
|
-
lit_loop:
|
|
821
|
-
BIT_1
|
|
822
|
-
tbz sym, 7, lit_loop
|
|
823
|
-
|
|
824
|
-
#else
|
|
825
|
-
|
|
826
|
-
BIT_0
|
|
827
|
-
BIT_1
|
|
828
|
-
BIT_1
|
|
829
|
-
BIT_1
|
|
830
|
-
BIT_1
|
|
831
|
-
BIT_1
|
|
832
|
-
BIT_1
|
|
833
|
-
|
|
834
|
-
#endif
|
|
835
|
-
|
|
836
|
-
BIT_2
|
|
837
|
-
IsMatchBranch_Pre
|
|
838
|
-
strb sym, [dicPos], 1
|
|
839
|
-
p2_and sym, 255
|
|
840
|
-
|
|
841
|
-
CheckLimits_lit
|
|
842
|
-
lit_end:
|
|
843
|
-
IF_BIT_0_NOUP probs_state, pbPos_R, (IsMatch - IsMatch), lit_start
|
|
844
|
-
|
|
845
|
-
# jmp IsMatch_label
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
#define FLAG_STATE_BITS (4 + PSHIFT)
|
|
849
|
-
|
|
850
|
-
# ---------- MATCHES ----------
|
|
851
|
-
# MY_ALIGN_FOR_ENTRY
|
|
852
|
-
IsMatch_label:
|
|
853
|
-
UPDATE_1 probs_state, pbPos_R, (IsMatch - IsMatch)
|
|
854
|
-
IF_BIT_1 probs_state, 0, (IsRep - IsMatch), IsRep_label
|
|
855
|
-
|
|
856
|
-
SET_probs LenCoder
|
|
857
|
-
or state, (1 << FLAG_STATE_BITS)
|
|
858
|
-
|
|
859
|
-
# ---------- LEN DECODE ----------
|
|
860
|
-
len_decode:
|
|
861
|
-
mov len, 8 - kMatchMinLen
|
|
862
|
-
IF_BIT_0_NOUP_1 probs, len_mid_0
|
|
863
|
-
UPDATE_1 probs, 0, 0
|
|
864
|
-
p2_add probs, (1 << (kLenNumLowBits + PSHIFT))
|
|
865
|
-
mov len, 0 - kMatchMinLen
|
|
866
|
-
IF_BIT_0_NOUP_1 probs, len_mid_0
|
|
867
|
-
UPDATE_1 probs, 0, 0
|
|
868
|
-
p2_add probs, LenHigh * PMULT - (1 << (kLenNumLowBits + PSHIFT))
|
|
869
|
-
|
|
870
|
-
#if 0 == 1
|
|
871
|
-
BIT_0
|
|
872
|
-
BIT_1
|
|
873
|
-
BIT_1
|
|
874
|
-
BIT_1
|
|
875
|
-
BIT_1
|
|
876
|
-
BIT_1
|
|
877
|
-
#else
|
|
878
|
-
PLOAD_2 prob_reg, probs, 1 * PMULT
|
|
879
|
-
mov sym, 1
|
|
880
|
-
BIT_01
|
|
881
|
-
MY_ALIGN_FOR_LOOP
|
|
882
|
-
len8_loop:
|
|
883
|
-
BIT_1
|
|
884
|
-
tbz sym, 6, len8_loop
|
|
885
|
-
#endif
|
|
886
|
-
|
|
887
|
-
mov len, (kLenNumHighSymbols - kLenNumLowSymbols * 2) - kMatchMinLen
|
|
888
|
-
jmp len_mid_2
|
|
889
|
-
|
|
890
|
-
MY_ALIGN_FOR_ENTRY
|
|
891
|
-
len_mid_0:
|
|
892
|
-
UPDATE_0 probs, 0, 0
|
|
893
|
-
p2_add probs, pbPos_R
|
|
894
|
-
BIT_0
|
|
895
|
-
len_mid_2:
|
|
896
|
-
BIT_1
|
|
897
|
-
BIT_2
|
|
898
|
-
sub len, sym, len
|
|
899
|
-
tbz state, FLAG_STATE_BITS, copy_match
|
|
900
|
-
|
|
901
|
-
# ---------- DECODE DISTANCE ----------
|
|
902
|
-
// probs + PosSlot + ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << kNumPosSlotBits);
|
|
903
|
-
|
|
904
|
-
mov t0, 3 + kMatchMinLen
|
|
905
|
-
cmp len, 3 + kMatchMinLen
|
|
906
|
-
cmovb t0, len
|
|
907
|
-
SET_probs PosSlot - (kMatchMinLen << (kNumPosSlotBits))
|
|
908
|
-
add probs, probs, t0_R, lsl #(kNumPosSlotBits + PSHIFT)
|
|
909
|
-
|
|
910
|
-
#ifdef _LZMA_SIZE_OPT
|
|
911
|
-
|
|
912
|
-
PLOAD_2 prob_reg, probs, 1 * PMULT
|
|
913
|
-
mov sym, 1
|
|
914
|
-
BIT_01
|
|
915
|
-
MY_ALIGN_FOR_LOOP
|
|
916
|
-
slot_loop:
|
|
917
|
-
BIT_1
|
|
918
|
-
tbz sym, 5, slot_loop
|
|
919
|
-
|
|
920
|
-
#else
|
|
921
|
-
|
|
922
|
-
BIT_0
|
|
923
|
-
BIT_1
|
|
924
|
-
BIT_1
|
|
925
|
-
BIT_1
|
|
926
|
-
BIT_1
|
|
927
|
-
|
|
928
|
-
#endif
|
|
929
|
-
|
|
930
|
-
#define numBits t4
|
|
931
|
-
mov numBits, sym
|
|
932
|
-
BIT_2
|
|
933
|
-
// we need only low bits
|
|
934
|
-
p2_and sym, 3
|
|
935
|
-
cmp numBits, 32 + kEndPosModelIndex / 2
|
|
936
|
-
jb short_dist
|
|
937
|
-
|
|
938
|
-
SET_probs kAlign
|
|
939
|
-
|
|
940
|
-
# unsigned numDirectBits = (unsigned)(((distance >> 1) - 1));
|
|
941
|
-
p2_sub numBits, (32 + 1 + kNumAlignBits)
|
|
942
|
-
# distance = (2 | (distance & 1));
|
|
943
|
-
or sym, 2
|
|
944
|
-
PLOAD_2 prob_reg, probs, 1 * PMULT
|
|
945
|
-
add sym2_R, probs, 2 * PMULT
|
|
946
|
-
|
|
947
|
-
# ---------- DIRECT DISTANCE ----------
|
|
948
|
-
|
|
949
|
-
.macro DIRECT_1
|
|
950
|
-
shr range, 1
|
|
951
|
-
subs t0, cod, range
|
|
952
|
-
p2_add sym, sym
|
|
953
|
-
// add t1, sym, 1
|
|
954
|
-
csel cod, cod, t0, mi
|
|
955
|
-
csinc sym, sym, sym, mi
|
|
956
|
-
// csel sym, t1, sym, pl
|
|
957
|
-
// adc sym, sym, sym // not 100% compatible for "corruptued-allowed" LZMA streams
|
|
958
|
-
dec_s numBits
|
|
959
|
-
je direct_end
|
|
960
|
-
.endm
|
|
961
|
-
|
|
962
|
-
#ifdef _LZMA_SIZE_OPT
|
|
963
|
-
|
|
964
|
-
jmp direct_norm
|
|
965
|
-
MY_ALIGN_FOR_ENTRY
|
|
966
|
-
direct_loop:
|
|
967
|
-
DIRECT_1
|
|
968
|
-
direct_norm:
|
|
969
|
-
TEST_HIGH_BYTE_range
|
|
970
|
-
jnz direct_loop
|
|
971
|
-
NORM_2
|
|
972
|
-
jmp direct_loop
|
|
973
|
-
|
|
974
|
-
#else
|
|
975
|
-
|
|
976
|
-
.macro DIRECT_2
|
|
977
|
-
TEST_HIGH_BYTE_range
|
|
978
|
-
jz direct_unroll
|
|
979
|
-
DIRECT_1
|
|
980
|
-
.endm
|
|
981
|
-
|
|
982
|
-
DIRECT_2
|
|
983
|
-
DIRECT_2
|
|
984
|
-
DIRECT_2
|
|
985
|
-
DIRECT_2
|
|
986
|
-
DIRECT_2
|
|
987
|
-
DIRECT_2
|
|
988
|
-
DIRECT_2
|
|
989
|
-
DIRECT_2
|
|
990
|
-
|
|
991
|
-
direct_unroll:
|
|
992
|
-
NORM_2
|
|
993
|
-
DIRECT_1
|
|
994
|
-
DIRECT_1
|
|
995
|
-
DIRECT_1
|
|
996
|
-
DIRECT_1
|
|
997
|
-
DIRECT_1
|
|
998
|
-
DIRECT_1
|
|
999
|
-
DIRECT_1
|
|
1000
|
-
DIRECT_1
|
|
1001
|
-
jmp direct_unroll
|
|
1002
|
-
|
|
1003
|
-
#endif
|
|
1004
|
-
|
|
1005
|
-
MY_ALIGN_FOR_ENTRY
|
|
1006
|
-
direct_end:
|
|
1007
|
-
shl sym, kNumAlignBits
|
|
1008
|
-
REV_0 prob_reg
|
|
1009
|
-
REV_1 prob_reg, 2
|
|
1010
|
-
REV_1 prob_reg, 4
|
|
1011
|
-
REV_2 prob_reg, 8
|
|
1012
|
-
|
|
1013
|
-
decode_dist_end:
|
|
1014
|
-
|
|
1015
|
-
// if (distance >= (checkDicSize == 0 ? processedPos: checkDicSize))
|
|
1016
|
-
|
|
1017
|
-
tst checkDicSize, checkDicSize
|
|
1018
|
-
csel t0, processedPos, checkDicSize, eq
|
|
1019
|
-
cmp sym, t0
|
|
1020
|
-
jae end_of_payload
|
|
1021
|
-
// jmp end_of_payload # for debug
|
|
1022
|
-
|
|
1023
|
-
mov rep3, rep2
|
|
1024
|
-
mov rep2, rep1
|
|
1025
|
-
mov rep1, rep0
|
|
1026
|
-
add rep0, sym, 1
|
|
1027
|
-
|
|
1028
|
-
.macro STATE_UPDATE_FOR_MATCH
|
|
1029
|
-
// state = (state < kNumStates + kNumLitStates) ? kNumLitStates : kNumLitStates + 3;
|
|
1030
|
-
// cmp state, (kNumStates + kNumLitStates) * PMULT
|
|
1031
|
-
cmp state, kNumLitStates * PMULT + (1 << FLAG_STATE_BITS)
|
|
1032
|
-
mov state, kNumLitStates * PMULT
|
|
1033
|
-
mov t0, (kNumLitStates + 3) * PMULT
|
|
1034
|
-
cmovae state, t0
|
|
1035
|
-
.endm
|
|
1036
|
-
STATE_UPDATE_FOR_MATCH
|
|
1037
|
-
|
|
1038
|
-
# ---------- COPY MATCH ----------
|
|
1039
|
-
copy_match:
|
|
1040
|
-
|
|
1041
|
-
// if ((rem = limit - dicPos) == 0) break // return SZ_ERROR_DATA;
|
|
1042
|
-
subs cnt_R, limit, dicPos
|
|
1043
|
-
// jz fin_dicPos_LIMIT
|
|
1044
|
-
jz fin_OK
|
|
1045
|
-
|
|
1046
|
-
// curLen = ((rem < len) ? (unsigned)rem : len);
|
|
1047
|
-
cmp cnt_R, len_R
|
|
1048
|
-
cmovae cnt, len
|
|
1049
|
-
|
|
1050
|
-
sub t0_R, dicPos, dic
|
|
1051
|
-
p2_add dicPos, cnt_R
|
|
1052
|
-
p2_add processedPos, cnt
|
|
1053
|
-
p2_sub len, cnt
|
|
1054
|
-
|
|
1055
|
-
// pos = dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0);
|
|
1056
|
-
p2_sub_s t0_R, rep0_R
|
|
1057
|
-
jae 1f
|
|
1058
|
-
|
|
1059
|
-
cmn t0_R, cnt_R
|
|
1060
|
-
p2_add t0_R, dicBufSize
|
|
1061
|
-
ja copy_match_cross
|
|
1062
|
-
1:
|
|
1063
|
-
# ---------- COPY MATCH FAST ----------
|
|
1064
|
-
# t0_R : src_pos
|
|
1065
|
-
p2_add t0_R, dic
|
|
1066
|
-
ldrb sym, [t0_R]
|
|
1067
|
-
p2_add t0_R, cnt_R
|
|
1068
|
-
p1_neg cnt_R
|
|
1069
|
-
|
|
1070
|
-
copy_common:
|
|
1071
|
-
dec dicPos
|
|
1072
|
-
|
|
1073
|
-
# dicPos : (ptr_to_last_dest_BYTE)
|
|
1074
|
-
# t0_R : (src_lim)
|
|
1075
|
-
# cnt_R : (-curLen)
|
|
1076
|
-
|
|
1077
|
-
IsMatchBranch_Pre
|
|
1078
|
-
|
|
1079
|
-
inc_s cnt_R
|
|
1080
|
-
jz copy_end
|
|
1081
|
-
|
|
1082
|
-
cmp rep0, 1
|
|
1083
|
-
je copy_match_0
|
|
1084
|
-
|
|
1085
|
-
#ifdef LZMA_USE_2BYTES_COPY
|
|
1086
|
-
strb sym, [dicPos, cnt_R]
|
|
1087
|
-
dec dicPos
|
|
1088
|
-
# dicPos : (ptr_to_last_dest_16bitWORD)
|
|
1089
|
-
p2_and cnt_R, -2
|
|
1090
|
-
ldrh sym, [t0_R, cnt_R]
|
|
1091
|
-
adds cnt_R, cnt_R, 2
|
|
1092
|
-
jz 2f
|
|
1093
|
-
MY_ALIGN_FOR_LOOP
|
|
1094
|
-
1:
|
|
1095
|
-
/*
|
|
1096
|
-
strh sym, [dicPos, cnt_R]
|
|
1097
|
-
ldrh sym, [t0_R, cnt_R]
|
|
1098
|
-
adds cnt_R, cnt_R, 2
|
|
1099
|
-
jz 2f
|
|
1100
|
-
*/
|
|
1101
|
-
|
|
1102
|
-
strh sym, [dicPos, cnt_R]
|
|
1103
|
-
ldrh sym, [t0_R, cnt_R]
|
|
1104
|
-
adds cnt_R, cnt_R, 2
|
|
1105
|
-
jnz 1b
|
|
1106
|
-
2:
|
|
1107
|
-
|
|
1108
|
-
/*
|
|
1109
|
-
// for universal little/big endian code, but slow
|
|
1110
|
-
strh sym, [dicPos]
|
|
1111
|
-
inc dicPos
|
|
1112
|
-
ldrb sym, [t0_R, -1]
|
|
1113
|
-
*/
|
|
1114
|
-
|
|
1115
|
-
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
|
1116
|
-
// we must improve big-endian detection for another compilers
|
|
1117
|
-
// for big-endian we need to revert bytes
|
|
1118
|
-
rev16 sym, sym
|
|
1119
|
-
#endif
|
|
1120
|
-
|
|
1121
|
-
// (sym) must represent as little-endian here:
|
|
1122
|
-
strb sym, [dicPos], 1
|
|
1123
|
-
shr sym, 8
|
|
1124
|
-
|
|
1125
|
-
#else
|
|
1126
|
-
|
|
1127
|
-
MY_ALIGN_FOR_LOOP
|
|
1128
|
-
1:
|
|
1129
|
-
strb sym, [dicPos, cnt_R]
|
|
1130
|
-
ldrb sym, [t0_R, cnt_R]
|
|
1131
|
-
inc_s cnt_R
|
|
1132
|
-
jz copy_end
|
|
1133
|
-
|
|
1134
|
-
strb sym, [dicPos, cnt_R]
|
|
1135
|
-
ldrb sym, [t0_R, cnt_R]
|
|
1136
|
-
inc_s cnt_R
|
|
1137
|
-
jnz 1b
|
|
1138
|
-
#endif
|
|
1139
|
-
|
|
1140
|
-
copy_end:
|
|
1141
|
-
lz_end_match:
|
|
1142
|
-
strb sym, [dicPos], 1
|
|
1143
|
-
|
|
1144
|
-
# IsMatchBranch_Pre
|
|
1145
|
-
CheckLimits
|
|
1146
|
-
lz_end:
|
|
1147
|
-
IF_BIT_1_NOUP probs_state, pbPos_R, (IsMatch - IsMatch), IsMatch_label
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
# ---------- LITERAL MATCHED ----------
|
|
1152
|
-
|
|
1153
|
-
LIT_PROBS
|
|
1154
|
-
|
|
1155
|
-
// matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
|
|
1156
|
-
|
|
1157
|
-
sub t0_R, dicPos, dic
|
|
1158
|
-
p2_sub_s t0_R, rep0_R
|
|
1159
|
-
|
|
1160
|
-
#ifdef LZMA_USE_CMOV_LZ_WRAP
|
|
1161
|
-
add t1_R, t0_R, dicBufSize
|
|
1162
|
-
cmovb t0_R, t1_R
|
|
1163
|
-
#else
|
|
1164
|
-
jae 1f
|
|
1165
|
-
p2_add t0_R, dicBufSize
|
|
1166
|
-
1:
|
|
1167
|
-
#endif
|
|
1168
|
-
|
|
1169
|
-
ldrb match, [dic, t0_R]
|
|
1170
|
-
|
|
1171
|
-
// state -= (state < 10) ? 3 : 6;
|
|
1172
|
-
sub sym, state, 6 * PMULT
|
|
1173
|
-
cmp state, 10 * PMULT
|
|
1174
|
-
p2_sub state, 3 * PMULT
|
|
1175
|
-
cmovae state, sym
|
|
1176
|
-
|
|
1177
|
-
#ifdef _LZMA_SIZE_OPT
|
|
1178
|
-
|
|
1179
|
-
mov offs, 256 * PMULT
|
|
1180
|
-
shl match, (PSHIFT + 1)
|
|
1181
|
-
mov sym, 1
|
|
1182
|
-
and bit, match, offs
|
|
1183
|
-
add prm, probs, offs_R
|
|
1184
|
-
|
|
1185
|
-
MY_ALIGN_FOR_LOOP
|
|
1186
|
-
litm_loop:
|
|
1187
|
-
LITM
|
|
1188
|
-
tbz sym, 8, litm_loop
|
|
1189
|
-
|
|
1190
|
-
#else
|
|
1191
|
-
|
|
1192
|
-
LITM_0
|
|
1193
|
-
LITM
|
|
1194
|
-
LITM
|
|
1195
|
-
LITM
|
|
1196
|
-
LITM
|
|
1197
|
-
LITM
|
|
1198
|
-
LITM
|
|
1199
|
-
LITM_2
|
|
1200
|
-
|
|
1201
|
-
#endif
|
|
1202
|
-
|
|
1203
|
-
IsMatchBranch_Pre
|
|
1204
|
-
strb sym, [dicPos], 1
|
|
1205
|
-
p2_and sym, 255
|
|
1206
|
-
|
|
1207
|
-
// mov len, wzr // LITM uses same regisetr (len / offs). So we clear it
|
|
1208
|
-
CheckLimits_lit
|
|
1209
|
-
lit_matched_end:
|
|
1210
|
-
IF_BIT_1_NOUP probs_state, pbPos_R, (IsMatch - IsMatch), IsMatch_label
|
|
1211
|
-
# IsMatchBranch
|
|
1212
|
-
p2_sub state, 3 * PMULT
|
|
1213
|
-
jmp lit_start_2
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
# ---------- REP 0 LITERAL ----------
|
|
1218
|
-
MY_ALIGN_FOR_ENTRY
|
|
1219
|
-
IsRep0Short_label:
|
|
1220
|
-
UPDATE_0 probs_state, pbPos_R, 0
|
|
1221
|
-
|
|
1222
|
-
// dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
|
|
1223
|
-
sub t0_R, dicPos, dic
|
|
1224
|
-
|
|
1225
|
-
// state = state < kNumLitStates ? 9 : 11;
|
|
1226
|
-
or state, 1 * PMULT
|
|
1227
|
-
|
|
1228
|
-
# the caller doesn't allow (dicPos >= limit) case for REP_SHORT
|
|
1229
|
-
# so we don't need the following (dicPos == limit) check here:
|
|
1230
|
-
# cmp dicPos, limit
|
|
1231
|
-
# jae fin_dicPos_LIMIT_REP_SHORT
|
|
1232
|
-
# // jmp fin_dicPos_LIMIT_REP_SHORT // for testing/debug puposes
|
|
1233
|
-
|
|
1234
|
-
inc processedPos
|
|
1235
|
-
|
|
1236
|
-
IsMatchBranch_Pre
|
|
1237
|
-
|
|
1238
|
-
p2_sub_s t0_R, rep0_R
|
|
1239
|
-
#ifdef LZMA_USE_CMOV_LZ_WRAP
|
|
1240
|
-
add sym_R, t0_R, dicBufSize
|
|
1241
|
-
cmovb t0_R, sym_R
|
|
1242
|
-
#else
|
|
1243
|
-
jae 1f
|
|
1244
|
-
p2_add t0_R, dicBufSize
|
|
1245
|
-
1:
|
|
1246
|
-
#endif
|
|
1247
|
-
|
|
1248
|
-
ldrb sym, [dic, t0_R]
|
|
1249
|
-
// mov len, wzr
|
|
1250
|
-
jmp lz_end_match
|
|
1251
|
-
|
|
1252
|
-
MY_ALIGN_FOR_ENTRY
|
|
1253
|
-
IsRep_label:
|
|
1254
|
-
UPDATE_1 probs_state, 0, (IsRep - IsMatch)
|
|
1255
|
-
|
|
1256
|
-
# The (checkDicSize == 0 && processedPos == 0) case was checked before in LzmaDec.c with kBadRepCode.
|
|
1257
|
-
# So we don't check it here.
|
|
1258
|
-
|
|
1259
|
-
# mov t0, processedPos
|
|
1260
|
-
# or t0, checkDicSize
|
|
1261
|
-
# jz fin_ERROR_2
|
|
1262
|
-
|
|
1263
|
-
// state = state < kNumLitStates ? 8 : 11;
|
|
1264
|
-
cmp state, kNumLitStates * PMULT
|
|
1265
|
-
mov state, 8 * PMULT
|
|
1266
|
-
mov probBranch, 11 * PMULT
|
|
1267
|
-
cmovae state, probBranch
|
|
1268
|
-
|
|
1269
|
-
SET_probs RepLenCoder
|
|
1270
|
-
|
|
1271
|
-
IF_BIT_1 probs_state, 0, (IsRepG0 - IsMatch), IsRepG0_label
|
|
1272
|
-
sub_big probs_state, probs_state, (IsMatch - IsRep0Long) << PSHIFT
|
|
1273
|
-
IF_BIT_0_NOUP probs_state, pbPos_R, 0, IsRep0Short_label
|
|
1274
|
-
UPDATE_1 probs_state, pbPos_R, 0
|
|
1275
|
-
jmp len_decode
|
|
1276
|
-
|
|
1277
|
-
MY_ALIGN_FOR_ENTRY
|
|
1278
|
-
IsRepG0_label:
|
|
1279
|
-
UPDATE_1 probs_state, 0, (IsRepG0 - IsMatch)
|
|
1280
|
-
IF_BIT_1 probs_state, 0, (IsRepG1 - IsMatch), IsRepG1_label
|
|
1281
|
-
mov dist, rep1
|
|
1282
|
-
mov rep1, rep0
|
|
1283
|
-
mov rep0, dist
|
|
1284
|
-
jmp len_decode
|
|
1285
|
-
|
|
1286
|
-
# MY_ALIGN_FOR_ENTRY
|
|
1287
|
-
IsRepG1_label:
|
|
1288
|
-
UPDATE_1 probs_state, 0, (IsRepG1 - IsMatch)
|
|
1289
|
-
IF_BIT_1 probs_state, 0, (IsRepG2 - IsMatch), IsRepG2_label
|
|
1290
|
-
mov dist, rep2
|
|
1291
|
-
mov rep2, rep1
|
|
1292
|
-
mov rep1, rep0
|
|
1293
|
-
mov rep0, dist
|
|
1294
|
-
jmp len_decode
|
|
1295
|
-
|
|
1296
|
-
# MY_ALIGN_FOR_ENTRY
|
|
1297
|
-
IsRepG2_label:
|
|
1298
|
-
UPDATE_1 probs_state, 0, (IsRepG2 - IsMatch)
|
|
1299
|
-
mov dist, rep3
|
|
1300
|
-
mov rep3, rep2
|
|
1301
|
-
mov rep2, rep1
|
|
1302
|
-
mov rep1, rep0
|
|
1303
|
-
mov rep0, dist
|
|
1304
|
-
jmp len_decode
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
# ---------- SPEC SHORT DISTANCE ----------
|
|
1309
|
-
|
|
1310
|
-
MY_ALIGN_FOR_ENTRY
|
|
1311
|
-
short_dist:
|
|
1312
|
-
p2_sub_s numBits, 32 + 1
|
|
1313
|
-
jbe decode_dist_end
|
|
1314
|
-
or sym, 2
|
|
1315
|
-
shl sym, numBits
|
|
1316
|
-
add sym_R, probs_Spec, sym_R, lsl #PSHIFT
|
|
1317
|
-
p2_add sym_R, SpecPos * PMULT + 1 * PMULT
|
|
1318
|
-
mov sym2, PMULT // # step
|
|
1319
|
-
MY_ALIGN_FOR_LOOP
|
|
1320
|
-
spec_loop:
|
|
1321
|
-
REV_1_VAR prob_reg
|
|
1322
|
-
dec_s numBits
|
|
1323
|
-
jnz spec_loop
|
|
1324
|
-
|
|
1325
|
-
p2_add sym2_R, probs_Spec
|
|
1326
|
-
.if SpecPos != 0
|
|
1327
|
-
p2_add sym2_R, SpecPos * PMULT
|
|
1328
|
-
.endif
|
|
1329
|
-
p2_sub sym_R, sym2_R
|
|
1330
|
-
shr sym, PSHIFT
|
|
1331
|
-
|
|
1332
|
-
jmp decode_dist_end
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
# ---------- COPY MATCH 0 ----------
|
|
1337
|
-
MY_ALIGN_FOR_ENTRY
|
|
1338
|
-
copy_match_0:
|
|
1339
|
-
#ifdef LZMA_USE_4BYTES_FILL
|
|
1340
|
-
strb sym, [dicPos, cnt_R]
|
|
1341
|
-
inc_s cnt_R
|
|
1342
|
-
jz copy_end
|
|
1343
|
-
|
|
1344
|
-
strb sym, [dicPos, cnt_R]
|
|
1345
|
-
inc_s cnt_R
|
|
1346
|
-
jz copy_end
|
|
1347
|
-
|
|
1348
|
-
strb sym, [dicPos, cnt_R]
|
|
1349
|
-
inc_s cnt_R
|
|
1350
|
-
jz copy_end
|
|
1351
|
-
|
|
1352
|
-
orr t3, sym, sym, lsl 8
|
|
1353
|
-
p2_and cnt_R, -4
|
|
1354
|
-
orr t3, t3, t3, lsl 16
|
|
1355
|
-
MY_ALIGN_FOR_LOOP_16
|
|
1356
|
-
1:
|
|
1357
|
-
/*
|
|
1358
|
-
str t3, [dicPos, cnt_R]
|
|
1359
|
-
adds cnt_R, cnt_R, 4
|
|
1360
|
-
jz 2f
|
|
1361
|
-
*/
|
|
1362
|
-
|
|
1363
|
-
str t3, [dicPos, cnt_R]
|
|
1364
|
-
adds cnt_R, cnt_R, 4
|
|
1365
|
-
jnz 1b
|
|
1366
|
-
2:
|
|
1367
|
-
// p2_and sym, 255
|
|
1368
|
-
#else
|
|
1369
|
-
|
|
1370
|
-
MY_ALIGN_FOR_LOOP
|
|
1371
|
-
1:
|
|
1372
|
-
strb sym, [dicPos, cnt_R]
|
|
1373
|
-
inc_s cnt_R
|
|
1374
|
-
jz copy_end
|
|
1375
|
-
|
|
1376
|
-
strb sym, [dicPos, cnt_R]
|
|
1377
|
-
inc_s cnt_R
|
|
1378
|
-
jnz 1b
|
|
1379
|
-
#endif
|
|
1380
|
-
|
|
1381
|
-
jmp copy_end
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
# ---------- COPY MATCH CROSS ----------
|
|
1385
|
-
copy_match_cross:
|
|
1386
|
-
# t0_R - src pos
|
|
1387
|
-
# cnt_R - total copy len
|
|
1388
|
-
|
|
1389
|
-
p1_neg cnt_R
|
|
1390
|
-
1:
|
|
1391
|
-
ldrb sym, [dic, t0_R]
|
|
1392
|
-
inc t0_R
|
|
1393
|
-
strb sym, [dicPos, cnt_R]
|
|
1394
|
-
inc cnt_R
|
|
1395
|
-
cmp t0_R, dicBufSize
|
|
1396
|
-
jne 1b
|
|
1397
|
-
|
|
1398
|
-
ldrb sym, [dic]
|
|
1399
|
-
sub t0_R, dic, cnt_R
|
|
1400
|
-
jmp copy_common
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
/*
|
|
1406
|
-
fin_dicPos_LIMIT_REP_SHORT:
|
|
1407
|
-
mov len, 1
|
|
1408
|
-
jmp fin_OK
|
|
1409
|
-
*/
|
|
1410
|
-
|
|
1411
|
-
/*
|
|
1412
|
-
fin_dicPos_LIMIT:
|
|
1413
|
-
jmp fin_OK
|
|
1414
|
-
# For more strict mode we can stop decoding with error
|
|
1415
|
-
# mov sym, 1
|
|
1416
|
-
# jmp fin
|
|
1417
|
-
*/
|
|
1418
|
-
|
|
1419
|
-
fin_ERROR_MATCH_DIST:
|
|
1420
|
-
# rep0 = distance + 1;
|
|
1421
|
-
p2_add len, kMatchSpecLen_Error_Data
|
|
1422
|
-
mov rep3, rep2
|
|
1423
|
-
mov rep2, rep1
|
|
1424
|
-
mov rep1, rep0
|
|
1425
|
-
mov rep0, sym
|
|
1426
|
-
STATE_UPDATE_FOR_MATCH
|
|
1427
|
-
# jmp fin_OK
|
|
1428
|
-
mov sym, 1
|
|
1429
|
-
jmp fin
|
|
1430
|
-
|
|
1431
|
-
end_of_payload:
|
|
1432
|
-
inc_s sym
|
|
1433
|
-
jnz fin_ERROR_MATCH_DIST
|
|
1434
|
-
|
|
1435
|
-
mov len, kMatchSpecLenStart
|
|
1436
|
-
xor state, (1 << FLAG_STATE_BITS)
|
|
1437
|
-
jmp fin_OK
|
|
1438
|
-
|
|
1439
|
-
/*
|
|
1440
|
-
fin_OK_lit:
|
|
1441
|
-
mov len, wzr
|
|
1442
|
-
*/
|
|
1443
|
-
|
|
1444
|
-
fin_OK:
|
|
1445
|
-
mov sym, wzr
|
|
1446
|
-
|
|
1447
|
-
fin:
|
|
1448
|
-
NORM
|
|
1449
|
-
|
|
1450
|
-
#define fin_lzma_reg t0_R
|
|
1451
|
-
|
|
1452
|
-
.macro STORE_LZMA_VAR reg:req, struct_offs:req
|
|
1453
|
-
str \reg, [fin_lzma_reg, \struct_offs]
|
|
1454
|
-
.endm
|
|
1455
|
-
|
|
1456
|
-
.macro STORE_LZMA_PAIR reg0:req, reg1:req, struct_offs:req
|
|
1457
|
-
stp \reg0, \reg1, [fin_lzma_reg, \struct_offs]
|
|
1458
|
-
.endm
|
|
1459
|
-
|
|
1460
|
-
ldr fin_lzma_reg, [sp, 120]
|
|
1461
|
-
p2_sub dicPos, dic
|
|
1462
|
-
shr state, PSHIFT
|
|
1463
|
-
|
|
1464
|
-
STORE_LZMA_PAIR dicPos, buf, offset_dicPos
|
|
1465
|
-
STORE_LZMA_PAIR range, cod, offset_range
|
|
1466
|
-
STORE_LZMA_VAR processedPos, offset_processedPos
|
|
1467
|
-
STORE_LZMA_PAIR rep0, rep1, offset_rep0
|
|
1468
|
-
STORE_LZMA_PAIR rep2, rep3, offset_rep2
|
|
1469
|
-
STORE_LZMA_PAIR state, len, offset_state
|
|
1470
|
-
|
|
1471
|
-
mov w0, sym
|
|
1472
|
-
|
|
1473
|
-
ldp x29, x30, [sp, 80]
|
|
1474
|
-
ldp x27, x28, [sp, 64]
|
|
1475
|
-
ldp x25, x26, [sp, 48]
|
|
1476
|
-
ldp x23, x24, [sp, 32]
|
|
1477
|
-
ldp x21, x22, [sp, 16]
|
|
1478
|
-
ldp x19, x20, [sp], 128
|
|
1479
|
-
|
|
1480
|
-
ret
|
|
1481
|
-
/*
|
|
1482
|
-
.cfi_endproc
|
|
1483
|
-
.LFE0:
|
|
1484
|
-
.size LzmaDec_DecodeReal_3, .-LzmaDec_DecodeReal_3
|
|
1485
|
-
.ident "TAG_LZMA"
|
|
1486
|
-
.section .note.GNU-stack,"",@progbits
|
|
1487
|
-
*/
|