react-native-update 10.34.3 → 10.34.4

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.
Files changed (800) hide show
  1. package/harmony/pushy/src/main/cpp/HDiffPatch/CHANGELOG.md +34 -172
  2. package/harmony/pushy/src/main/cpp/HDiffPatch/LICENSE +4 -4
  3. package/harmony/pushy/src/main/cpp/HDiffPatch/Makefile +63 -379
  4. package/harmony/pushy/src/main/cpp/HDiffPatch/README.md +170 -415
  5. package/harmony/pushy/src/main/cpp/HDiffPatch/_atosize.h +10 -54
  6. package/harmony/pushy/src/main/cpp/HDiffPatch/_clock_for_demo.h +1 -13
  7. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +18 -171
  8. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +4 -5
  9. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +7 -38
  10. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +4 -15
  11. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +12 -22
  12. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +4 -22
  13. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffPatch.workspace +8 -0
  14. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffZ.cbp +219 -0
  15. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HPatchZ.cbp +156 -0
  16. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/unitTest.cbp +65 -0
  17. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +105 -155
  18. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +236 -363
  19. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj.user +3 -0
  20. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +317 -347
  21. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj.user +3 -0
  22. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +181 -295
  23. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj.user +3 -0
  24. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +0 -9
  25. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +14 -53
  26. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +32 -162
  27. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +22 -89
  28. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +13 -237
  29. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +2 -2
  30. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +14 -194
  31. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +10 -30
  32. package/harmony/pushy/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +3 -458
  33. package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.cpp +71 -106
  34. package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.h +3 -3
  35. package/harmony/pushy/src/main/cpp/HDiffPatch/compress_plugin_demo.h +110 -484
  36. package/harmony/pushy/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +193 -835
  37. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +50 -99
  38. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +4 -18
  39. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +8 -147
  40. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +6 -18
  41. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +25 -7
  42. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +113 -5
  43. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +97 -163
  44. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +39 -49
  45. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +15 -15
  46. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +2 -18
  47. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +4 -8
  48. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +57 -72
  49. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +13 -18
  50. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +1 -1
  51. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +2 -2
  52. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +2 -2
  53. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +2 -2
  54. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +2 -2
  55. package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +1 -1
  56. package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.c +100 -311
  57. package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.h +72 -53
  58. package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz.cpp +487 -888
  59. package/harmony/pushy/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +28 -45
  60. package/harmony/pushy/src/main/cpp/HDiffPatch/hpatchz.c +247 -812
  61. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +544 -1265
  62. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +38 -123
  63. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +0 -115
  64. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +102 -272
  65. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +12 -22
  66. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +4 -18
  67. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +5 -7
  68. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/{divsufsort.cpp → divsufsort.c} +8 -5
  69. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +164 -91
  70. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +102 -5
  71. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.c +13 -0
  72. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +97 -1
  73. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +44 -23
  74. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +89 -54
  75. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +55 -48
  76. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/utils.c.inc.h +381 -0
  77. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +47 -110
  78. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +4 -11
  79. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +26 -53
  80. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +25 -103
  81. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +130 -271
  82. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +7 -17
  83. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +37 -628
  84. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +43 -203
  85. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +10 -14
  86. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +7 -22
  87. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +46 -132
  88. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +9 -48
  89. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +299 -650
  90. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +82 -120
  91. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +7 -87
  92. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +9 -119
  93. package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +6 -2
  94. package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +15 -192
  95. package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.cpp +367 -0
  96. package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +56 -31
  97. package/harmony/pushy/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +1 -1
  98. package/harmony/pushy/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +1 -0
  99. package/harmony/pushy/src/main/cpp/HDiffPatch/test/testHashClash.cpp +31 -225
  100. package/harmony/pushy/src/main/cpp/HDiffPatch/test/unit_test.cpp +94 -566
  101. package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zAsm.asm +28 -222
  102. package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +117 -228
  103. package/harmony/pushy/src/main/cpp/lzma/Asm/x86/AesOpt.asm +173 -678
  104. package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +22 -103
  105. package/harmony/pushy/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +167 -485
  106. package/harmony/pushy/src/main/cpp/lzma/C/7z.h +6 -8
  107. package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.c +30 -39
  108. package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.h +3 -3
  109. package/harmony/pushy/src/main/cpp/lzma/C/7zArcIn.c +217 -232
  110. package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.h +3 -3
  111. package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.c +68 -404
  112. package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.h +6 -9
  113. package/harmony/pushy/src/main/cpp/lzma/C/7zCrcOpt.c +79 -163
  114. package/harmony/pushy/src/main/cpp/lzma/C/7zDec.c +78 -160
  115. package/harmony/pushy/src/main/cpp/lzma/C/7zFile.c +58 -215
  116. package/harmony/pushy/src/main/cpp/lzma/C/7zFile.h +6 -15
  117. package/harmony/pushy/src/main/cpp/lzma/C/7zStream.c +23 -46
  118. package/harmony/pushy/src/main/cpp/lzma/C/7zTypes.h +89 -311
  119. package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.h +5 -5
  120. package/harmony/pushy/src/main/cpp/lzma/C/Aes.c +68 -191
  121. package/harmony/pushy/src/main/cpp/lzma/C/Aes.h +8 -30
  122. package/harmony/pushy/src/main/cpp/lzma/C/AesOpt.c +108 -926
  123. package/harmony/pushy/src/main/cpp/lzma/C/Alloc.c +96 -246
  124. package/harmony/pushy/src/main/cpp/lzma/C/Alloc.h +8 -33
  125. package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.c +144 -177
  126. package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.h +42 -228
  127. package/harmony/pushy/src/main/cpp/lzma/C/Bcj2Enc.c +182 -377
  128. package/harmony/pushy/src/main/cpp/lzma/C/Bra.c +143 -622
  129. package/harmony/pushy/src/main/cpp/lzma/C/Bra.h +40 -81
  130. package/harmony/pushy/src/main/cpp/lzma/C/Bra86.c +58 -163
  131. package/harmony/pushy/src/main/cpp/lzma/C/BraIA64.c +48 -9
  132. package/harmony/pushy/src/main/cpp/lzma/C/Compiler.h +15 -228
  133. package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.c +133 -885
  134. package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.h +78 -428
  135. package/harmony/pushy/src/main/cpp/lzma/C/Delta.c +31 -136
  136. package/harmony/pushy/src/main/cpp/lzma/C/Delta.h +3 -3
  137. package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.c +62 -53
  138. package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.h +5 -5
  139. package/harmony/pushy/src/main/cpp/lzma/C/LzFind.c +495 -1114
  140. package/harmony/pushy/src/main/cpp/lzma/C/LzFind.h +25 -64
  141. package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.c +400 -969
  142. package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.h +24 -37
  143. package/harmony/pushy/src/main/cpp/lzma/C/LzHash.h +48 -25
  144. package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.c +7 -12
  145. package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.h +7 -8
  146. package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.c +83 -96
  147. package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.h +9 -11
  148. package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.c +92 -96
  149. package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.h +9 -12
  150. package/harmony/pushy/src/main/cpp/lzma/C/Lzma86.h +3 -3
  151. package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Dec.c +4 -3
  152. package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Enc.c +6 -3
  153. package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.c +206 -384
  154. package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.h +8 -11
  155. package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.c +315 -489
  156. package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.h +9 -18
  157. package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.c +3 -5
  158. package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.h +14 -21
  159. package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.c +87 -90
  160. package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.h +25 -28
  161. package/harmony/pushy/src/main/cpp/lzma/C/MtDec.c +88 -74
  162. package/harmony/pushy/src/main/cpp/lzma/C/MtDec.h +20 -21
  163. package/harmony/pushy/src/main/cpp/lzma/C/Ppmd.h +34 -118
  164. package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.c +293 -712
  165. package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.h +70 -109
  166. package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Dec.c +116 -237
  167. package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Enc.c +95 -245
  168. package/harmony/pushy/src/main/cpp/lzma/C/Precomp.h +5 -122
  169. package/harmony/pushy/src/main/cpp/lzma/C/RotateDefs.h +4 -24
  170. package/harmony/pushy/src/main/cpp/lzma/C/Sha256.c +143 -387
  171. package/harmony/pushy/src/main/cpp/lzma/C/Sha256.h +7 -67
  172. package/harmony/pushy/src/main/cpp/lzma/C/Sort.c +114 -241
  173. package/harmony/pushy/src/main/cpp/lzma/C/Sort.h +7 -4
  174. package/harmony/pushy/src/main/cpp/lzma/C/Threads.c +14 -731
  175. package/harmony/pushy/src/main/cpp/lzma/C/Threads.h +14 -204
  176. package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.c +396 -0
  177. package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.h +31 -0
  178. package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsp +2 -10
  179. package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7zMain.c +79 -282
  180. package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.h +7 -10
  181. package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile +3 -7
  182. package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile.gcc +75 -32
  183. package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +56 -111
  184. package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +0 -24
  185. package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile +0 -2
  186. package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +41 -18
  187. package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +2 -30
  188. package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +6 -7
  189. package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/makefile +2 -27
  190. package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +7 -10
  191. package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +22 -39
  192. package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile +2 -9
  193. package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +1 -3
  194. package/harmony/pushy/src/main/cpp/lzma/C/Xz.c +3 -5
  195. package/harmony/pushy/src/main/cpp/lzma/C/Xz.h +47 -129
  196. package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.c +43 -97
  197. package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.h +8 -8
  198. package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64Opt.c +36 -228
  199. package/harmony/pushy/src/main/cpp/lzma/C/XzDec.c +295 -405
  200. package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.c +139 -194
  201. package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.h +11 -15
  202. package/harmony/pushy/src/main/cpp/lzma/C/XzIn.c +134 -200
  203. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip.mak +6 -6
  204. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Aes.mak +1 -4
  205. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +13 -29
  206. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +90 -120
  207. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +6 -9
  208. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +140 -183
  209. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +20 -23
  210. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +57 -78
  211. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +44 -169
  212. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +17 -57
  213. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +109 -141
  214. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +57 -54
  215. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +116 -336
  216. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +1 -1
  217. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +9 -17
  218. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +136 -234
  219. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +26 -35
  220. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +5 -10
  221. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +155 -280
  222. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +40 -51
  223. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +59 -67
  224. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +2 -6
  225. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +2 -8
  226. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +3 -12
  227. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +9 -23
  228. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +387 -975
  229. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +16 -44
  230. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +2 -5
  231. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +0 -2
  232. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +0 -2
  233. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +8 -15
  234. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +87 -106
  235. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +57 -57
  236. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +1 -1
  237. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +8 -6
  238. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +43 -126
  239. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +18 -77
  240. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +9 -20
  241. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +23 -20
  242. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +9 -61
  243. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +3 -8
  244. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +27 -29
  245. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +26 -23
  246. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +2 -2
  247. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +8 -6
  248. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +2 -2
  249. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +2 -5
  250. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +10 -63
  251. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +173 -319
  252. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +113 -92
  253. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +53 -47
  254. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +2 -5
  255. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +208 -352
  256. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +2 -2
  257. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Asm.mak +3 -6
  258. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +47 -227
  259. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +2 -5
  260. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +5 -19
  261. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +2 -5
  262. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +2 -4
  263. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +2 -5
  264. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +1 -6
  265. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +53 -71
  266. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +22 -85
  267. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +2 -5
  268. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +4 -13
  269. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +166 -102
  270. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +4 -109
  271. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +30 -69
  272. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +2 -5
  273. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +7 -10
  274. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +1 -5
  275. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +16 -16
  276. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +12 -9
  277. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +9 -7
  278. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +2 -2
  279. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +5 -74
  280. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +51 -58
  281. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +10 -3
  282. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +5 -9
  283. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +6 -92
  284. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +19 -46
  285. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +11 -3
  286. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +5 -11
  287. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +0 -5
  288. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +28 -136
  289. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +5 -67
  290. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +62 -74
  291. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +24 -32
  292. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +7 -7
  293. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +2 -2
  294. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +100 -548
  295. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +86 -125
  296. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +116 -258
  297. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +76 -72
  298. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +15 -34
  299. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +9 -38
  300. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +82 -192
  301. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +28 -25
  302. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +52 -78
  303. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +83 -52
  304. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +2 -2
  305. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +2 -2
  306. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +67 -323
  307. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +38 -123
  308. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +8 -6
  309. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +13 -9
  310. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +12 -12
  311. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +7 -74
  312. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +5 -5
  313. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +13 -11
  314. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +1 -10
  315. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +14 -16
  316. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +16 -16
  317. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +2 -5
  318. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +50 -45
  319. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +21 -39
  320. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +42 -47
  321. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +53 -42
  322. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +4 -49
  323. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +2 -20
  324. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +4 -4
  325. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +5 -20
  326. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +9 -8
  327. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +5 -5
  328. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +355 -556
  329. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +59 -66
  330. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +2 -2
  331. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +6 -6
  332. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +13 -19
  333. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +2 -2
  334. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +5 -88
  335. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +18 -42
  336. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +16 -33
  337. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +53 -52
  338. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +30 -64
  339. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +22 -55
  340. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +26 -11
  341. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +28 -26
  342. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +28 -30
  343. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +54 -45
  344. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +12 -24
  345. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +22 -10
  346. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +1 -1
  347. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +26 -33
  348. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +51 -51
  349. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +40 -232
  350. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +14 -13
  351. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +1 -1
  352. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +35 -84
  353. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +41 -42
  354. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +25 -66
  355. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +17 -8
  356. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +1 -1
  357. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +2 -5
  358. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +12 -13
  359. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +32 -26
  360. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +16 -14
  361. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +20 -9
  362. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc.mak +1 -1
  363. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc64.mak +1 -1
  364. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +32 -67
  365. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +18 -30
  366. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +3 -3
  367. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +43 -208
  368. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +25 -90
  369. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +4 -17
  370. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +21 -29
  371. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +3 -4
  372. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +2 -5
  373. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +3 -38
  374. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Guid.txt +3 -26
  375. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/ICoder.h +172 -253
  376. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IDecl.h +7 -55
  377. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IPassword.h +12 -43
  378. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IProgress.h +9 -10
  379. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IStream.h +50 -133
  380. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +2 -4
  381. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +1 -1
  382. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/PropID.h +2 -53
  383. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +177 -329
  384. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +1 -97
  385. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +2 -5
  386. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +1 -2
  387. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +183 -687
  388. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +15 -49
  389. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +913 -2275
  390. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +115 -353
  391. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +106 -127
  392. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +3 -9
  393. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +35 -272
  394. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +64 -134
  395. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +1200 -2608
  396. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +20 -64
  397. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +1 -1
  398. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +2 -2
  399. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +36 -253
  400. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +233 -774
  401. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +6 -2
  402. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +2 -2
  403. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +63 -156
  404. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +10 -23
  405. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +2 -12
  406. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +6 -22
  407. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +4 -4
  408. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +65 -1991
  409. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +29 -241
  410. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +47 -45
  411. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +179 -442
  412. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +89 -147
  413. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +380 -529
  414. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +42 -75
  415. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +86 -163
  416. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +5 -5
  417. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +2 -2
  418. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +15 -23
  419. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +2 -2
  420. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +2 -2
  421. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +2 -5
  422. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +1 -2
  423. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +2 -5
  424. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +368 -595
  425. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +47 -68
  426. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +2 -2
  427. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +146 -444
  428. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +68 -103
  429. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +42 -111
  430. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +2 -2
  431. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +3 -7
  432. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +6 -11
  433. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +35 -25
  434. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +4 -8
  435. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +9 -91
  436. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +4 -4
  437. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +2 -2
  438. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +1 -4
  439. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +0 -3
  440. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +19 -48
  441. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +12 -18
  442. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +41 -162
  443. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +41 -88
  444. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +81 -140
  445. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +17 -27
  446. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +124 -182
  447. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +7 -22
  448. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +109 -590
  449. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +2 -62
  450. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +3 -3
  451. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +10 -17
  452. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +10 -13
  453. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +9 -13
  454. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +2 -5
  455. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +24 -320
  456. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +26 -50
  457. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +5 -13
  458. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +2 -2
  459. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +2 -6
  460. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +6 -12
  461. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +4 -4
  462. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +195 -302
  463. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +4 -15
  464. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +2 -2
  465. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +6 -6
  466. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +2 -2
  467. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +181 -416
  468. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +197 -216
  469. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +2 -2
  470. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +5 -13
  471. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +5 -48
  472. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +49 -215
  473. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +30 -50
  474. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +1 -3
  475. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +3 -5
  476. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +5 -5
  477. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +6 -6
  478. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +0 -4
  479. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +10 -15
  480. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +17 -18
  481. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +130 -276
  482. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +52 -56
  483. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +1 -2
  484. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +3 -8
  485. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +2 -2
  486. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +0 -9
  487. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +89 -185
  488. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +20 -23
  489. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +1 -23
  490. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +0 -10
  491. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +4 -4
  492. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +33 -36
  493. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +15 -15
  494. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +22 -39
  495. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +3 -4
  496. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +2 -2
  497. package/harmony/pushy/src/main/cpp/lzma/CPP/Build.mak +13 -109
  498. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/AutoPtr.h +14 -25
  499. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CRC.cpp +1 -1
  500. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +90 -1
  501. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.h +49 -2
  502. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ComTry.h +2 -2
  503. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +7 -41
  504. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +3 -3
  505. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common.h +29 -14
  506. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +45 -24
  507. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Defs.h +2 -3
  508. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +5 -17
  509. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.cpp +110 -132
  510. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.h +9 -35
  511. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Lang.h +5 -12
  512. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +31 -49
  513. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +4 -4
  514. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer.h +21 -59
  515. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +10 -95
  516. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyCom.h +81 -497
  517. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyException.h +2 -2
  518. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +9 -18
  519. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +5 -17
  520. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyLinux.h +2 -35
  521. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.cpp +164 -347
  522. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.h +35 -246
  523. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyTypes.h +8 -11
  524. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyUnknown.h +11 -2
  525. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.h +94 -184
  526. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +11 -158
  527. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.h +54 -148
  528. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +27 -204
  529. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.h +5 -38
  530. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +16 -43
  531. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdAfx.h +2 -2
  532. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +11 -20
  533. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.h +5 -13
  534. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +39 -124
  535. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.h +11 -27
  536. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +15 -458
  537. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.h +2 -24
  538. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +89 -99
  539. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.h +2 -19
  540. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +11 -10
  541. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.h +2 -2
  542. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +102 -677
  543. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.h +5 -377
  544. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +84 -197
  545. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.h +25 -107
  546. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +14 -11
  547. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/COM.h +8 -24
  548. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +113 -197
  549. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +12 -32
  550. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +4 -4
  551. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +10 -22
  552. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +6 -6
  553. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +47 -242
  554. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +51 -94
  555. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +2 -2
  556. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +4 -4
  557. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +26 -33
  558. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +22 -32
  559. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +13 -13
  560. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +34 -56
  561. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +9 -9
  562. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +3 -3
  563. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Static.h +2 -2
  564. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +5 -5
  565. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +2 -5
  566. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +3 -3
  567. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +2 -2
  568. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +6 -8
  569. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +7 -9
  570. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.cpp +8 -77
  571. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.h +10 -55
  572. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Defs.h +4 -4
  573. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +2 -69
  574. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +2 -3
  575. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +80 -728
  576. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.h +7 -62
  577. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +56 -756
  578. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.h +19 -205
  579. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +47 -569
  580. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.h +28 -283
  581. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +112 -369
  582. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.h +3 -3
  583. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.cpp +113 -185
  584. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.h +14 -41
  585. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +10 -66
  586. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.h +2 -6
  587. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Handle.h +4 -6
  588. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +14 -29
  589. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +2 -2
  590. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/NtCheck.h +2 -14
  591. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +56 -102
  592. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.h +9 -68
  593. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +14 -150
  594. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +3 -13
  595. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.cpp +128 -212
  596. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.h +20 -32
  597. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +4 -4
  598. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.h +2 -3
  599. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +18 -23
  600. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +56 -39
  601. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.cpp +58 -539
  602. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.h +14 -49
  603. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/StdAfx.h +2 -5
  604. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +0 -77
  605. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.h +18 -240
  606. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.cpp +38 -317
  607. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.h +5 -154
  608. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Thread.h +10 -18
  609. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +37 -291
  610. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +10 -124
  611. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.cpp +7 -7
  612. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.h +19 -98
  613. package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.csproj +90 -0
  614. package/harmony/pushy/src/main/cpp/lzma/DOC/Methods.txt +2 -6
  615. package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-history.txt +0 -205
  616. package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-sdk.txt +13 -93
  617. package/harmony/pushy/src/main/cpp/lzma/DOC/lzma.txt +13 -30
  618. package/harmony/pushy/src/main/cpp/lzma/bin/7zS2.sfx +0 -0
  619. package/harmony/pushy/src/main/cpp/lzma/bin/7zS2con.sfx +0 -0
  620. package/harmony/pushy/src/main/cpp/lzma/bin/7zSD.sfx +0 -0
  621. package/harmony/pushy/src/main/cpp/lzma/bin/7zdec.exe +0 -0
  622. package/harmony/pushy/src/main/cpp/lzma/bin/7zr.exe +0 -0
  623. package/harmony/pushy/src/main/cpp/lzma/bin/lzma.exe +0 -0
  624. package/harmony/pushy/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
  625. package/package.json +1 -1
  626. package/harmony/pushy/src/main/cpp/HDiffPatch/README_cn.md +0 -547
  627. package/harmony/pushy/src/main/cpp/HDiffPatch/_hextobytes.h +0 -112
  628. package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bsdiff_wrapper.cpp +0 -389
  629. package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bsdiff_wrapper.h +0 -73
  630. package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bspatch_wrapper.c +0 -266
  631. package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bspatch_wrapper.h +0 -58
  632. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs_patchers.bat +0 -1
  633. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs_patchers.sh +0 -1
  634. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/bzip2.vcxproj +0 -228
  635. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/hpatchz_test.vcxproj +0 -215
  636. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/libdeflate.vcxproj +0 -256
  637. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/longPathAware.exe.manifest +0 -7
  638. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/lzma.vcxproj +0 -271
  639. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/testHashClash.vcxproj +0 -228
  640. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/zlib.vcxproj +0 -242
  641. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/zstd.vcxproj +0 -287
  642. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -8
  643. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/libdeflate.xcodeproj/project.pbxproj +0 -286
  644. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zlib.xcodeproj/project.pbxproj +0 -308
  645. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatch_objc/hpatch_objc.h +0 -33
  646. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatch_objc/hpatch_objc.m +0 -33
  647. package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatchz.xcodeproj/project.pbxproj +0 -774
  648. package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz_import_patch.c +0 -31
  649. package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz_import_patch.h +0 -42
  650. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_for_hpatch_lite.h +0 -74
  651. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/match_block.cpp +0 -478
  652. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/match_block.h +0 -222
  653. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.cpp +0 -14
  654. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.cpp +0 -168
  655. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.h +0 -44
  656. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/qsort_parallel.h +0 -125
  657. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hcache_old_mt.c +0 -243
  658. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hcache_old_mt.h +0 -51
  659. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hinput_mt.c +0 -153
  660. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hinput_mt.h +0 -54
  661. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_houtput_mt.c +0 -158
  662. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_houtput_mt.h +0 -49
  663. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hpatch_mt.c +0 -294
  664. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hpatch_mt.h +0 -59
  665. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_patch_private_mt.h +0 -217
  666. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/hpatch_mt.c +0 -349
  667. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/hpatch_mt.h +0 -110
  668. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.c +0 -366
  669. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.h +0 -91
  670. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite_input_cache.h +0 -31
  671. package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite_types.h +0 -106
  672. package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import_c.c +0 -497
  673. package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import_c.h +0 -106
  674. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_match_in_old_sign.cpp +0 -254
  675. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_match_in_old_sign.h +0 -39
  676. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_sign_diff_type.h +0 -37
  677. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/sign_diff.cpp +0 -62
  678. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/sign_diff.h +0 -44
  679. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dict_decompress_plugin.h +0 -156
  680. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dir_sync_client.cpp +0 -440
  681. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dir_sync_client.h +0 -88
  682. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_old.cpp +0 -332
  683. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_old.h +0 -48
  684. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_types.h +0 -198
  685. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client.cpp +0 -697
  686. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client.h +0 -74
  687. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_private.h +0 -262
  688. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_type.h +0 -174
  689. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_type_private.h +0 -174
  690. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_diff_data.cpp +0 -252
  691. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_diff_data.h +0 -67
  692. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_info_client.cpp +0 -680
  693. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_info_client.h +0 -137
  694. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dict_compress_plugin.h +0 -83
  695. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dir_sync_make.cpp +0 -125
  696. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dir_sync_make.h +0 -56
  697. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/hsynz_plugin.h +0 -55
  698. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/match_in_new.cpp +0 -147
  699. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/match_in_new.h +0 -38
  700. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_info_make.cpp +0 -354
  701. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_info_make.h +0 -76
  702. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make.cpp +0 -521
  703. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make.h +0 -69
  704. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make_hash_clash.h +0 -122
  705. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make_private.h +0 -66
  706. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_type.h +0 -36
  707. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_type_private.h +0 -81
  708. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_wrapper.cpp +0 -247
  709. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_wrapper.h +0 -71
  710. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_info_client.cpp +0 -351
  711. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_info_client.h +0 -42
  712. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_match_in_old.cpp +0 -124
  713. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_match_in_old.h +0 -38
  714. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_info_make.cpp +0 -203
  715. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_info_make.h +0 -55
  716. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_make_wrapper.cpp +0 -79
  717. package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_make_wrapper.h +0 -66
  718. package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcdiff_wrapper.cpp +0 -628
  719. package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcdiff_wrapper.h +0 -95
  720. package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_code_table.h +0 -78
  721. package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_wrapper.c +0 -950
  722. package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_wrapper.h +0 -72
  723. package/harmony/pushy/src/main/cpp/lzma/Asm/arm64/7zAsm.S +0 -181
  724. package/harmony/pushy/src/main/cpp/lzma/Asm/arm64/LzmaDecOpt.S +0 -1487
  725. package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzFindOpt.asm +0 -540
  726. package/harmony/pushy/src/main/cpp/lzma/Asm/x86/Sha256Opt.asm +0 -275
  727. package/harmony/pushy/src/main/cpp/lzma/Asm/x86/Sort.asm +0 -860
  728. package/harmony/pushy/src/main/cpp/lzma/C/7zWindows.h +0 -101
  729. package/harmony/pushy/src/main/cpp/lzma/C/7zip_gcc_c.mak +0 -360
  730. package/harmony/pushy/src/main/cpp/lzma/C/Asm_c.mak +0 -12
  731. package/harmony/pushy/src/main/cpp/lzma/C/LzFindOpt.c +0 -578
  732. package/harmony/pushy/src/main/cpp/lzma/C/Sha256Opt.c +0 -451
  733. package/harmony/pushy/src/main/cpp/lzma/C/SwapBytes.c +0 -835
  734. package/harmony/pushy/src/main/cpp/lzma/C/SwapBytes.h +0 -17
  735. package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/Precomp.h +0 -13
  736. package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/Precomp.c +0 -4
  737. package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/Precomp.h +0 -13
  738. package/harmony/pushy/src/main/cpp/lzma/C/var_clang.mak +0 -11
  739. package/harmony/pushy/src/main/cpp/lzma/C/var_clang_arm64.mak +0 -12
  740. package/harmony/pushy/src/main/cpp/lzma/C/var_clang_x64.mak +0 -11
  741. package/harmony/pushy/src/main/cpp/lzma/C/var_clang_x86.mak +0 -11
  742. package/harmony/pushy/src/main/cpp/lzma/C/var_gcc.mak +0 -12
  743. package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_arm64.mak +0 -12
  744. package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_x64.mak +0 -10
  745. package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_x86.mak +0 -10
  746. package/harmony/pushy/src/main/cpp/lzma/C/var_mac_arm64.mak +0 -11
  747. package/harmony/pushy/src/main/cpp/lzma/C/var_mac_x64.mak +0 -11
  748. package/harmony/pushy/src/main/cpp/lzma/C/warn_clang.mak +0 -1
  749. package/harmony/pushy/src/main/cpp/lzma/C/warn_clang_mac.mak +0 -1
  750. package/harmony/pushy/src/main/cpp/lzma/C/warn_gcc.mak +0 -51
  751. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip_gcc.mak +0 -1370
  752. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile.gcc +0 -279
  753. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile.gcc +0 -215
  754. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MultiOutStream.cpp +0 -855
  755. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MultiOutStream.h +0 -160
  756. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzFindOpt.mak +0 -7
  757. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec_gcc.mak +0 -14
  758. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Sha256.mak +0 -13
  759. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Sort.mak +0 -6
  760. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile.gcc +0 -72
  761. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile.gcc +0 -187
  762. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialog.cpp +0 -218
  763. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialog.h +0 -48
  764. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialogRes.h +0 -13
  765. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/StdAfx.h +0 -67
  766. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/7zG.exe.manifest +0 -23
  767. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang.mak +0 -3
  768. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_arm64.mak +0 -3
  769. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_x64.mak +0 -3
  770. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_x86.mak +0 -3
  771. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc.mak +0 -3
  772. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_arm64.mak +0 -3
  773. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_x64.mak +0 -3
  774. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_x86.mak +0 -3
  775. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_mac_arm64.mak +0 -3
  776. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_mac_x64.mak +0 -3
  777. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang.mak +0 -11
  778. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_arm64.mak +0 -19
  779. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_x64.mak +0 -11
  780. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_x86.mak +0 -11
  781. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc.mak +0 -12
  782. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_arm64.mak +0 -12
  783. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_x64.mak +0 -11
  784. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_x86.mak +0 -10
  785. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_mac_arm64.mak +0 -13
  786. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_mac_x64.mak +0 -11
  787. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_clang.mak +0 -3
  788. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_clang_mac.mak +0 -9
  789. package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_gcc.mak +0 -55
  790. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common0.h +0 -330
  791. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynLimBuf.cpp +0 -93
  792. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynLimBuf.h +0 -41
  793. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/LzFindPrepare.cpp +0 -7
  794. package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Prepare.cpp +0 -7
  795. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Clipboard.cpp +0 -130
  796. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Clipboard.h +0 -28
  797. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryGlobal.cpp +0 -36
  798. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryGlobal.h +0 -55
  799. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SystemInfo.cpp +0 -1251
  800. package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SystemInfo.h +0 -19
@@ -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
- */