react-native-update 10.28.10 → 10.28.11

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 (776) hide show
  1. package/harmony/pushy.har +0 -0
  2. package/package.json +1 -1
  3. package/harmony/src/main/cpp/HDiffPatch/CHANGELOG.md +0 -153
  4. package/harmony/src/main/cpp/HDiffPatch/LICENSE +0 -48
  5. package/harmony/src/main/cpp/HDiffPatch/Makefile +0 -157
  6. package/harmony/src/main/cpp/HDiffPatch/README.md +0 -307
  7. package/harmony/src/main/cpp/HDiffPatch/_atosize.h +0 -83
  8. package/harmony/src/main/cpp/HDiffPatch/_clock_for_demo.h +0 -47
  9. package/harmony/src/main/cpp/HDiffPatch/_dir_ignore.h +0 -191
  10. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +0 -37
  11. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +0 -7
  12. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.bat +0 -1
  13. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.sh +0 -1
  14. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +0 -18
  15. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +0 -20
  16. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +0 -28
  17. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +0 -8
  18. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffPatch.workspace +0 -8
  19. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffZ.cbp +0 -219
  20. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HPatchZ.cbp +0 -156
  21. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/unitTest.cbp +0 -65
  22. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +0 -105
  23. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +0 -237
  24. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj.user +0 -3
  25. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +0 -318
  26. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj.user +0 -3
  27. package/harmony/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +0 -182
  28. package/harmony/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj.user +0 -3
  29. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +0 -30
  30. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  31. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +0 -408
  32. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +0 -573
  33. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +0 -396
  34. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/lz4.xcodeproj/project.pbxproj +0 -268
  35. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +0 -361
  36. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +0 -301
  37. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +0 -411
  38. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +0 -504
  39. package/harmony/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +0 -344
  40. package/harmony/src/main/cpp/HDiffPatch/compress_parallel.cpp +0 -166
  41. package/harmony/src/main/cpp/HDiffPatch/compress_parallel.h +0 -59
  42. package/harmony/src/main/cpp/HDiffPatch/compress_plugin_demo.h +0 -1152
  43. package/harmony/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +0 -995
  44. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +0 -797
  45. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +0 -65
  46. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +0 -200
  47. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +0 -178
  48. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +0 -357
  49. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.h +0 -87
  50. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +0 -151
  51. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +0 -770
  52. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +0 -236
  53. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_private.h +0 -47
  54. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +0 -112
  55. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +0 -53
  56. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +0 -61
  57. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +0 -331
  58. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +0 -144
  59. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +0 -176
  60. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +0 -84
  61. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +0 -146
  62. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +0 -61
  63. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +0 -152
  64. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +0 -76
  65. package/harmony/src/main/cpp/HDiffPatch/file_for_patch.c +0 -524
  66. package/harmony/src/main/cpp/HDiffPatch/file_for_patch.h +0 -259
  67. package/harmony/src/main/cpp/HDiffPatch/hdiffz.cpp +0 -1570
  68. package/harmony/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +0 -290
  69. package/harmony/src/main/cpp/HDiffPatch/hpatchz.c +0 -1221
  70. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +0 -1025
  71. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +0 -116
  72. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +0 -72
  73. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +0 -213
  74. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +0 -63
  75. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +0 -170
  76. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +0 -86
  77. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/config.h +0 -89
  78. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c +0 -13
  79. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +0 -398
  80. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +0 -194
  81. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.c +0 -13
  82. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +0 -204
  83. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +0 -207
  84. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +0 -815
  85. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +0 -586
  86. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/utils.c.inc.h +0 -381
  87. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +0 -352
  88. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +0 -137
  89. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +0 -137
  90. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +0 -70
  91. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +0 -628
  92. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +0 -87
  93. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +0 -363
  94. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +0 -139
  95. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +0 -68
  96. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +0 -115
  97. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +0 -342
  98. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +0 -94
  99. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/checksum_plugin.h +0 -52
  100. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +0 -2292
  101. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +0 -215
  102. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +0 -165
  103. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +0 -251
  104. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +0 -174
  105. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +0 -73
  106. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_import.cpp +0 -367
  107. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +0 -92
  108. package/harmony/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +0 -301
  109. package/harmony/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +0 -292
  110. package/harmony/src/main/cpp/HDiffPatch/test/testHashClash.cpp +0 -436
  111. package/harmony/src/main/cpp/HDiffPatch/test/unit_test.cpp +0 -417
  112. package/harmony/src/main/cpp/lzma/Asm/arm/7zCrcOpt.asm +0 -100
  113. package/harmony/src/main/cpp/lzma/Asm/x86/7zAsm.asm +0 -147
  114. package/harmony/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +0 -147
  115. package/harmony/src/main/cpp/lzma/Asm/x86/AesOpt.asm +0 -237
  116. package/harmony/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +0 -1258
  117. package/harmony/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +0 -205
  118. package/harmony/src/main/cpp/lzma/C/7z.h +0 -202
  119. package/harmony/src/main/cpp/lzma/C/7zAlloc.c +0 -80
  120. package/harmony/src/main/cpp/lzma/C/7zAlloc.h +0 -19
  121. package/harmony/src/main/cpp/lzma/C/7zArcIn.c +0 -1771
  122. package/harmony/src/main/cpp/lzma/C/7zBuf.c +0 -36
  123. package/harmony/src/main/cpp/lzma/C/7zBuf.h +0 -35
  124. package/harmony/src/main/cpp/lzma/C/7zBuf2.c +0 -52
  125. package/harmony/src/main/cpp/lzma/C/7zCrc.c +0 -128
  126. package/harmony/src/main/cpp/lzma/C/7zCrc.h +0 -25
  127. package/harmony/src/main/cpp/lzma/C/7zCrcOpt.c +0 -115
  128. package/harmony/src/main/cpp/lzma/C/7zDec.c +0 -591
  129. package/harmony/src/main/cpp/lzma/C/7zFile.c +0 -286
  130. package/harmony/src/main/cpp/lzma/C/7zFile.h +0 -83
  131. package/harmony/src/main/cpp/lzma/C/7zStream.c +0 -176
  132. package/harmony/src/main/cpp/lzma/C/7zTypes.h +0 -375
  133. package/harmony/src/main/cpp/lzma/C/7zVersion.h +0 -27
  134. package/harmony/src/main/cpp/lzma/C/7zVersion.rc +0 -55
  135. package/harmony/src/main/cpp/lzma/C/Aes.c +0 -306
  136. package/harmony/src/main/cpp/lzma/C/Aes.h +0 -38
  137. package/harmony/src/main/cpp/lzma/C/AesOpt.c +0 -184
  138. package/harmony/src/main/cpp/lzma/C/Alloc.c +0 -455
  139. package/harmony/src/main/cpp/lzma/C/Alloc.h +0 -51
  140. package/harmony/src/main/cpp/lzma/C/Bcj2.c +0 -257
  141. package/harmony/src/main/cpp/lzma/C/Bcj2.h +0 -146
  142. package/harmony/src/main/cpp/lzma/C/Bcj2Enc.c +0 -311
  143. package/harmony/src/main/cpp/lzma/C/Bra.c +0 -230
  144. package/harmony/src/main/cpp/lzma/C/Bra.h +0 -64
  145. package/harmony/src/main/cpp/lzma/C/Bra86.c +0 -82
  146. package/harmony/src/main/cpp/lzma/C/BraIA64.c +0 -53
  147. package/harmony/src/main/cpp/lzma/C/Compiler.h +0 -33
  148. package/harmony/src/main/cpp/lzma/C/CpuArch.c +0 -218
  149. package/harmony/src/main/cpp/lzma/C/CpuArch.h +0 -336
  150. package/harmony/src/main/cpp/lzma/C/Delta.c +0 -64
  151. package/harmony/src/main/cpp/lzma/C/Delta.h +0 -19
  152. package/harmony/src/main/cpp/lzma/C/DllSecur.c +0 -108
  153. package/harmony/src/main/cpp/lzma/C/DllSecur.h +0 -20
  154. package/harmony/src/main/cpp/lzma/C/LzFind.c +0 -1127
  155. package/harmony/src/main/cpp/lzma/C/LzFind.h +0 -121
  156. package/harmony/src/main/cpp/lzma/C/LzFindMt.c +0 -853
  157. package/harmony/src/main/cpp/lzma/C/LzFindMt.h +0 -101
  158. package/harmony/src/main/cpp/lzma/C/LzHash.h +0 -57
  159. package/harmony/src/main/cpp/lzma/C/Lzma2Dec.c +0 -488
  160. package/harmony/src/main/cpp/lzma/C/Lzma2Dec.h +0 -120
  161. package/harmony/src/main/cpp/lzma/C/Lzma2DecMt.c +0 -1082
  162. package/harmony/src/main/cpp/lzma/C/Lzma2DecMt.h +0 -79
  163. package/harmony/src/main/cpp/lzma/C/Lzma2Enc.c +0 -803
  164. package/harmony/src/main/cpp/lzma/C/Lzma2Enc.h +0 -55
  165. package/harmony/src/main/cpp/lzma/C/Lzma86.h +0 -111
  166. package/harmony/src/main/cpp/lzma/C/Lzma86Dec.c +0 -54
  167. package/harmony/src/main/cpp/lzma/C/Lzma86Enc.c +0 -106
  168. package/harmony/src/main/cpp/lzma/C/LzmaDec.c +0 -1185
  169. package/harmony/src/main/cpp/lzma/C/LzmaDec.h +0 -234
  170. package/harmony/src/main/cpp/lzma/C/LzmaEnc.c +0 -2976
  171. package/harmony/src/main/cpp/lzma/C/LzmaEnc.h +0 -76
  172. package/harmony/src/main/cpp/lzma/C/LzmaLib.c +0 -40
  173. package/harmony/src/main/cpp/lzma/C/LzmaLib.h +0 -131
  174. package/harmony/src/main/cpp/lzma/C/MtCoder.c +0 -601
  175. package/harmony/src/main/cpp/lzma/C/MtCoder.h +0 -141
  176. package/harmony/src/main/cpp/lzma/C/MtDec.c +0 -1138
  177. package/harmony/src/main/cpp/lzma/C/MtDec.h +0 -201
  178. package/harmony/src/main/cpp/lzma/C/Ppmd.h +0 -85
  179. package/harmony/src/main/cpp/lzma/C/Ppmd7.c +0 -712
  180. package/harmony/src/main/cpp/lzma/C/Ppmd7.h +0 -142
  181. package/harmony/src/main/cpp/lzma/C/Ppmd7Dec.c +0 -191
  182. package/harmony/src/main/cpp/lzma/C/Ppmd7Enc.c +0 -187
  183. package/harmony/src/main/cpp/lzma/C/Precomp.h +0 -10
  184. package/harmony/src/main/cpp/lzma/C/RotateDefs.h +0 -30
  185. package/harmony/src/main/cpp/lzma/C/Sha256.c +0 -248
  186. package/harmony/src/main/cpp/lzma/C/Sha256.h +0 -26
  187. package/harmony/src/main/cpp/lzma/C/Sort.c +0 -141
  188. package/harmony/src/main/cpp/lzma/C/Sort.h +0 -18
  189. package/harmony/src/main/cpp/lzma/C/Threads.c +0 -95
  190. package/harmony/src/main/cpp/lzma/C/Threads.h +0 -70
  191. package/harmony/src/main/cpp/lzma/C/ThreadsP.c +0 -396
  192. package/harmony/src/main/cpp/lzma/C/ThreadsP.h +0 -31
  193. package/harmony/src/main/cpp/lzma/C/Util/7z/7z.dsp +0 -241
  194. package/harmony/src/main/cpp/lzma/C/Util/7z/7z.dsw +0 -29
  195. package/harmony/src/main/cpp/lzma/C/Util/7z/7zMain.c +0 -686
  196. package/harmony/src/main/cpp/lzma/C/Util/7z/Precomp.c +0 -4
  197. package/harmony/src/main/cpp/lzma/C/Util/7z/Precomp.h +0 -10
  198. package/harmony/src/main/cpp/lzma/C/Util/7z/makefile +0 -40
  199. package/harmony/src/main/cpp/lzma/C/Util/7z/makefile.gcc +0 -75
  200. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +0 -258
  201. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +0 -168
  202. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsw +0 -29
  203. package/harmony/src/main/cpp/lzma/C/Util/Lzma/makefile +0 -28
  204. package/harmony/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +0 -44
  205. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.def +0 -4
  206. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +0 -178
  207. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsw +0 -29
  208. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +0 -14
  209. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/makefile +0 -34
  210. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/resource.rc +0 -3
  211. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.c +0 -4
  212. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +0 -10
  213. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +0 -640
  214. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsp +0 -231
  215. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsw +0 -29
  216. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/makefile +0 -37
  217. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +0 -38
  218. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/resource.rc +0 -5
  219. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/setup.ico +0 -0
  220. package/harmony/src/main/cpp/lzma/C/Xz.c +0 -90
  221. package/harmony/src/main/cpp/lzma/C/Xz.h +0 -460
  222. package/harmony/src/main/cpp/lzma/C/XzCrc64.c +0 -86
  223. package/harmony/src/main/cpp/lzma/C/XzCrc64.h +0 -26
  224. package/harmony/src/main/cpp/lzma/C/XzCrc64Opt.c +0 -69
  225. package/harmony/src/main/cpp/lzma/C/XzDec.c +0 -2766
  226. package/harmony/src/main/cpp/lzma/C/XzEnc.c +0 -1329
  227. package/harmony/src/main/cpp/lzma/C/XzEnc.h +0 -60
  228. package/harmony/src/main/cpp/lzma/C/XzIn.c +0 -319
  229. package/harmony/src/main/cpp/lzma/CPP/7zip/7zip.mak +0 -240
  230. package/harmony/src/main/cpp/lzma/CPP/7zip/Aes.mak +0 -7
  231. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.cpp +0 -3
  232. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +0 -76
  233. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +0 -569
  234. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +0 -70
  235. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +0 -678
  236. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +0 -92
  237. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +0 -423
  238. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +0 -139
  239. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +0 -61
  240. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +0 -763
  241. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +0 -181
  242. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +0 -942
  243. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +0 -19
  244. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +0 -148
  245. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +0 -1666
  246. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +0 -445
  247. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +0 -202
  248. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +0 -901
  249. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +0 -335
  250. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +0 -174
  251. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +0 -22
  252. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +0 -21
  253. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +0 -22
  254. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +0 -35
  255. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +0 -2500
  256. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +0 -139
  257. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.cpp +0 -3
  258. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +0 -8
  259. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +0 -12
  260. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +0 -19
  261. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +0 -151
  262. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +0 -1125
  263. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +0 -447
  264. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +0 -17
  265. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +0 -25
  266. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +0 -232
  267. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +0 -110
  268. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +0 -46
  269. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +0 -67
  270. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +0 -88
  271. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +0 -28
  272. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +0 -191
  273. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +0 -89
  274. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +0 -18
  275. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +0 -37
  276. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.cpp +0 -3
  277. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +0 -6
  278. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +0 -8
  279. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +0 -122
  280. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +0 -608
  281. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Icons/7z.ico +0 -0
  282. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +0 -629
  283. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +0 -359
  284. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +0 -8
  285. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +0 -1308
  286. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +0 -11
  287. package/harmony/src/main/cpp/lzma/CPP/7zip/Asm.mak +0 -9
  288. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +0 -1910
  289. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsw +0 -29
  290. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.cpp +0 -3
  291. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +0 -8
  292. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +0 -154
  293. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/resource.rc +0 -7
  294. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.cpp +0 -3
  295. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +0 -8
  296. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +0 -96
  297. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/resource.rc +0 -5
  298. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.cpp +0 -3
  299. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +0 -8
  300. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +0 -116
  301. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/resource.rc +0 -5
  302. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +0 -799
  303. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +0 -477
  304. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsw +0 -29
  305. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.cpp +0 -3
  306. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +0 -8
  307. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +0 -59
  308. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +0 -195
  309. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/resource.rc +0 -3
  310. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaSpec/LzmaSpec.cpp +0 -715
  311. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/7z.ico +0 -0
  312. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +0 -912
  313. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsw +0 -29
  314. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +0 -482
  315. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.cpp +0 -3
  316. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +0 -8
  317. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +0 -134
  318. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +0 -5
  319. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +0 -246
  320. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +0 -86
  321. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +0 -137
  322. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +0 -11
  323. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +0 -803
  324. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsw +0 -29
  325. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +0 -364
  326. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.cpp +0 -3
  327. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +0 -13
  328. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +0 -117
  329. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.h +0 -6
  330. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.rc +0 -16
  331. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/setup.ico +0 -0
  332. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/7z.ico +0 -0
  333. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +0 -988
  334. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsw +0 -29
  335. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +0 -241
  336. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.cpp +0 -3
  337. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +0 -14
  338. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +0 -153
  339. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.h +0 -1
  340. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +0 -50
  341. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +0 -250
  342. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +0 -120
  343. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +0 -536
  344. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +0 -192
  345. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +0 -46
  346. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +0 -10
  347. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +0 -475
  348. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +0 -166
  349. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +0 -435
  350. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +0 -205
  351. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +0 -163
  352. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +0 -92
  353. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +0 -127
  354. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +0 -48
  355. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +0 -367
  356. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +0 -252
  357. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.cpp +0 -3
  358. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +0 -6
  359. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodId.cpp +0 -3
  360. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +0 -10
  361. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +0 -509
  362. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +0 -264
  363. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +0 -39
  364. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +0 -26
  365. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +0 -111
  366. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +0 -66
  367. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +0 -51
  368. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +0 -35
  369. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +0 -108
  370. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +0 -78
  371. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +0 -106
  372. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +0 -8
  373. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +0 -156
  374. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +0 -60
  375. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +0 -285
  376. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +0 -157
  377. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +0 -56
  378. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +0 -13
  379. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +0 -57
  380. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +0 -26
  381. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +0 -48
  382. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +0 -24
  383. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +0 -666
  384. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +0 -120
  385. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +0 -24
  386. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +0 -24
  387. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +0 -31
  388. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +0 -17
  389. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +0 -23
  390. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +0 -35
  391. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +0 -41
  392. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +0 -92
  393. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +0 -344
  394. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +0 -120
  395. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +0 -49
  396. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyRegister.cpp +0 -15
  397. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +0 -128
  398. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +0 -265
  399. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +0 -96
  400. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +0 -122
  401. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +0 -42
  402. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +0 -22
  403. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +0 -343
  404. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +0 -113
  405. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +0 -182
  406. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +0 -46
  407. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +0 -22
  408. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +0 -170
  409. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +0 -86
  410. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +0 -152
  411. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +0 -58
  412. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +0 -22
  413. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +0 -8
  414. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +0 -150
  415. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +0 -92
  416. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +0 -245
  417. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +0 -46
  418. package/harmony/src/main/cpp/lzma/CPP/7zip/Crc.mak +0 -8
  419. package/harmony/src/main/cpp/lzma/CPP/7zip/Crc64.mak +0 -8
  420. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +0 -280
  421. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +0 -118
  422. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +0 -17
  423. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +0 -112
  424. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +0 -57
  425. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +0 -16
  426. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +0 -233
  427. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +0 -40
  428. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +0 -8
  429. package/harmony/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +0 -84
  430. package/harmony/src/main/cpp/lzma/CPP/7zip/Guid.txt +0 -220
  431. package/harmony/src/main/cpp/lzma/CPP/7zip/ICoder.h +0 -399
  432. package/harmony/src/main/cpp/lzma/CPP/7zip/IDecl.h +0 -28
  433. package/harmony/src/main/cpp/lzma/CPP/7zip/IPassword.h +0 -23
  434. package/harmony/src/main/cpp/lzma/CPP/7zip/IProgress.h +0 -19
  435. package/harmony/src/main/cpp/lzma/CPP/7zip/IStream.h +0 -127
  436. package/harmony/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +0 -5
  437. package/harmony/src/main/cpp/lzma/CPP/7zip/MyVersion.h +0 -2
  438. package/harmony/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +0 -2
  439. package/harmony/src/main/cpp/lzma/CPP/7zip/PropID.h +0 -127
  440. package/harmony/src/main/cpp/lzma/CPP/7zip/SubBuild.mak +0 -3
  441. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +0 -993
  442. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +0 -235
  443. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsw +0 -29
  444. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.cpp +0 -3
  445. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +0 -8
  446. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +0 -28
  447. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/resource.rc +0 -3
  448. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +0 -1295
  449. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +0 -136
  450. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +0 -1715
  451. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +0 -403
  452. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +0 -155
  453. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +0 -10
  454. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +0 -161
  455. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +0 -112
  456. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +0 -3618
  457. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +0 -77
  458. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +0 -37
  459. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +0 -11
  460. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +0 -190
  461. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +0 -1096
  462. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +0 -42
  463. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +0 -27
  464. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +0 -482
  465. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +0 -94
  466. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +0 -34
  467. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +0 -280
  468. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +0 -31
  469. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +0 -347
  470. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +0 -110
  471. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +0 -114
  472. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +0 -1074
  473. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +0 -424
  474. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +0 -3553
  475. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +0 -436
  476. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +0 -668
  477. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +0 -18
  478. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +0 -14
  479. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +0 -80
  480. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +0 -10
  481. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.cpp +0 -25
  482. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +0 -10
  483. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +0 -8
  484. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +0 -19
  485. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +0 -16
  486. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +0 -1704
  487. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +0 -200
  488. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.cpp +0 -64
  489. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +0 -66
  490. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +0 -771
  491. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +0 -162
  492. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +0 -233
  493. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +0 -27
  494. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +0 -70
  495. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +0 -55
  496. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +0 -94
  497. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +0 -26
  498. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +0 -130
  499. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +0 -41
  500. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +0 -14
  501. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +0 -43
  502. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +0 -13
  503. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +0 -69
  504. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +0 -33
  505. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +0 -825
  506. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +0 -164
  507. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +0 -367
  508. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +0 -48
  509. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +0 -1359
  510. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +0 -27
  511. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +0 -1154
  512. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +0 -175
  513. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +0 -115
  514. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +0 -66
  515. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +0 -183
  516. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +0 -62
  517. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.cpp +0 -3
  518. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +0 -8
  519. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +0 -702
  520. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +0 -124
  521. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +0 -110
  522. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +0 -27
  523. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +0 -64
  524. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/resource.rc +0 -7
  525. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +0 -37
  526. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +0 -16
  527. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +0 -1025
  528. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +0 -21
  529. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialogRes.h +0 -9
  530. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +0 -64
  531. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +0 -28
  532. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialogRes.h +0 -4
  533. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +0 -16
  534. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +0 -1037
  535. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +0 -328
  536. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.cpp +0 -28
  537. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +0 -14
  538. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +0 -40
  539. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +0 -76
  540. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +0 -122
  541. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +0 -69
  542. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +0 -91
  543. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +0 -17
  544. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +0 -58
  545. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +0 -28
  546. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +0 -14
  547. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialogRes.h +0 -5
  548. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +0 -196
  549. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +0 -170
  550. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.rc +0 -12
  551. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +0 -1337
  552. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +0 -351
  553. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.rc +0 -40
  554. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +0 -48
  555. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +0 -80
  556. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialogRes.h +0 -3
  557. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.cpp +0 -23
  558. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +0 -10
  559. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +0 -95
  560. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +0 -255
  561. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +0 -62
  562. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +0 -177
  563. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +0 -15
  564. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +0 -59
  565. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +0 -418
  566. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +0 -113
  567. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.rc +0 -98
  568. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialogRes.h +0 -24
  569. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +0 -280
  570. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +0 -38
  571. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractRes.h +0 -51
  572. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +0 -27
  573. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/resource2.h +0 -2
  574. package/harmony/src/main/cpp/lzma/CPP/Build.mak +0 -156
  575. package/harmony/src/main/cpp/lzma/CPP/Common/AutoPtr.h +0 -35
  576. package/harmony/src/main/cpp/lzma/CPP/Common/CRC.cpp +0 -7
  577. package/harmony/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +0 -92
  578. package/harmony/src/main/cpp/lzma/CPP/Common/C_FileIO.h +0 -53
  579. package/harmony/src/main/cpp/lzma/CPP/Common/ComTry.h +0 -21
  580. package/harmony/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +0 -197
  581. package/harmony/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +0 -63
  582. package/harmony/src/main/cpp/lzma/CPP/Common/Common.h +0 -43
  583. package/harmony/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +0 -98
  584. package/harmony/src/main/cpp/lzma/CPP/Common/Defs.h +0 -15
  585. package/harmony/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +0 -64
  586. package/harmony/src/main/cpp/lzma/CPP/Common/IntToString.cpp +0 -193
  587. package/harmony/src/main/cpp/lzma/CPP/Common/IntToString.h +0 -28
  588. package/harmony/src/main/cpp/lzma/CPP/Common/Lang.h +0 -23
  589. package/harmony/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +0 -132
  590. package/harmony/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +0 -18
  591. package/harmony/src/main/cpp/lzma/CPP/Common/MyBuffer.h +0 -259
  592. package/harmony/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +0 -100
  593. package/harmony/src/main/cpp/lzma/CPP/Common/MyCom.h +0 -277
  594. package/harmony/src/main/cpp/lzma/CPP/Common/MyException.h +0 -14
  595. package/harmony/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +0 -54
  596. package/harmony/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +0 -45
  597. package/harmony/src/main/cpp/lzma/CPP/Common/MyLinux.h +0 -42
  598. package/harmony/src/main/cpp/lzma/CPP/Common/MyString.cpp +0 -1659
  599. package/harmony/src/main/cpp/lzma/CPP/Common/MyString.h +0 -868
  600. package/harmony/src/main/cpp/lzma/CPP/Common/MyTypes.h +0 -35
  601. package/harmony/src/main/cpp/lzma/CPP/Common/MyUnknown.h +0 -17
  602. package/harmony/src/main/cpp/lzma/CPP/Common/MyVector.cpp +0 -3
  603. package/harmony/src/main/cpp/lzma/CPP/Common/MyVector.h +0 -634
  604. package/harmony/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +0 -145
  605. package/harmony/src/main/cpp/lzma/CPP/Common/MyWindows.h +0 -231
  606. package/harmony/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +0 -163
  607. package/harmony/src/main/cpp/lzma/CPP/Common/NewHandler.h +0 -88
  608. package/harmony/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +0 -40
  609. package/harmony/src/main/cpp/lzma/CPP/Common/StdAfx.h +0 -8
  610. package/harmony/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +0 -89
  611. package/harmony/src/main/cpp/lzma/CPP/Common/StdInStream.h +0 -38
  612. package/harmony/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +0 -163
  613. package/harmony/src/main/cpp/lzma/CPP/Common/StdOutStream.h +0 -71
  614. package/harmony/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +0 -319
  615. package/harmony/src/main/cpp/lzma/CPP/Common/StringConvert.h +0 -88
  616. package/harmony/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +0 -144
  617. package/harmony/src/main/cpp/lzma/CPP/Common/StringToInt.h +0 -21
  618. package/harmony/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +0 -124
  619. package/harmony/src/main/cpp/lzma/CPP/Common/TextConfig.h +0 -19
  620. package/harmony/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +0 -288
  621. package/harmony/src/main/cpp/lzma/CPP/Common/UTFConvert.h +0 -12
  622. package/harmony/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +0 -676
  623. package/harmony/src/main/cpp/lzma/CPP/Common/Wildcard.h +0 -149
  624. package/harmony/src/main/cpp/lzma/CPP/Common/XzCrc64Init.cpp +0 -7
  625. package/harmony/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +0 -42
  626. package/harmony/src/main/cpp/lzma/CPP/Windows/COM.h +0 -70
  627. package/harmony/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +0 -185
  628. package/harmony/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +0 -23
  629. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +0 -66
  630. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +0 -65
  631. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +0 -52
  632. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +0 -251
  633. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +0 -170
  634. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +0 -19
  635. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ImageList.cpp +0 -10
  636. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +0 -87
  637. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +0 -155
  638. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +0 -146
  639. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +0 -35
  640. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +0 -143
  641. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +0 -50
  642. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +0 -34
  643. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Static.h +0 -28
  644. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +0 -42
  645. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +0 -8
  646. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +0 -43
  647. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +0 -27
  648. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +0 -200
  649. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +0 -51
  650. package/harmony/src/main/cpp/lzma/CPP/Windows/DLL.cpp +0 -109
  651. package/harmony/src/main/cpp/lzma/CPP/Windows/DLL.h +0 -58
  652. package/harmony/src/main/cpp/lzma/CPP/Windows/Defs.h +0 -17
  653. package/harmony/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +0 -66
  654. package/harmony/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +0 -15
  655. package/harmony/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +0 -714
  656. package/harmony/src/main/cpp/lzma/CPP/Windows/FileDir.h +0 -117
  657. package/harmony/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +0 -749
  658. package/harmony/src/main/cpp/lzma/CPP/Windows/FileFind.h +0 -161
  659. package/harmony/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +0 -432
  660. package/harmony/src/main/cpp/lzma/CPP/Windows/FileIO.h +0 -212
  661. package/harmony/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +0 -440
  662. package/harmony/src/main/cpp/lzma/CPP/Windows/FileMapping.cpp +0 -12
  663. package/harmony/src/main/cpp/lzma/CPP/Windows/FileMapping.h +0 -66
  664. package/harmony/src/main/cpp/lzma/CPP/Windows/FileName.cpp +0 -839
  665. package/harmony/src/main/cpp/lzma/CPP/Windows/FileName.h +0 -115
  666. package/harmony/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +0 -131
  667. package/harmony/src/main/cpp/lzma/CPP/Windows/FileSystem.h +0 -27
  668. package/harmony/src/main/cpp/lzma/CPP/Windows/Handle.h +0 -37
  669. package/harmony/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +0 -112
  670. package/harmony/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +0 -40
  671. package/harmony/src/main/cpp/lzma/CPP/Windows/NtCheck.h +0 -46
  672. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +0 -347
  673. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariant.h +0 -114
  674. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +0 -138
  675. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +0 -37
  676. package/harmony/src/main/cpp/lzma/CPP/Windows/Registry.cpp +0 -390
  677. package/harmony/src/main/cpp/lzma/CPP/Windows/Registry.h +0 -84
  678. package/harmony/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +0 -103
  679. package/harmony/src/main/cpp/lzma/CPP/Windows/ResourceString.h +0 -16
  680. package/harmony/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +0 -181
  681. package/harmony/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +0 -167
  682. package/harmony/src/main/cpp/lzma/CPP/Windows/Shell.cpp +0 -358
  683. package/harmony/src/main/cpp/lzma/CPP/Windows/Shell.h +0 -94
  684. package/harmony/src/main/cpp/lzma/CPP/Windows/StdAfx.h +0 -8
  685. package/harmony/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +0 -10
  686. package/harmony/src/main/cpp/lzma/CPP/Windows/Synchronization.h +0 -164
  687. package/harmony/src/main/cpp/lzma/CPP/Windows/System.cpp +0 -142
  688. package/harmony/src/main/cpp/lzma/CPP/Windows/System.h +0 -40
  689. package/harmony/src/main/cpp/lzma/CPP/Windows/Thread.h +0 -38
  690. package/harmony/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +0 -213
  691. package/harmony/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +0 -32
  692. package/harmony/src/main/cpp/lzma/CPP/Windows/Window.cpp +0 -179
  693. package/harmony/src/main/cpp/lzma/CPP/Windows/Window.h +0 -284
  694. package/harmony/src/main/cpp/lzma/CS/7zip/Common/CRC.cs +0 -55
  695. package/harmony/src/main/cpp/lzma/CS/7zip/Common/CommandLineParser.cs +0 -274
  696. package/harmony/src/main/cpp/lzma/CS/7zip/Common/InBuffer.cs +0 -72
  697. package/harmony/src/main/cpp/lzma/CS/7zip/Common/OutBuffer.cs +0 -47
  698. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/IMatchFinder.cs +0 -24
  699. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzBinTree.cs +0 -367
  700. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzInWindow.cs +0 -132
  701. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzOutWindow.cs +0 -110
  702. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaBase.cs +0 -76
  703. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaDecoder.cs +0 -398
  704. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaEncoder.cs +0 -1480
  705. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.cs +0 -364
  706. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.csproj +0 -90
  707. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.sln +0 -20
  708. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaBench.cs +0 -340
  709. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/AssemblyInfo.cs +0 -29
  710. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Resources.cs +0 -70
  711. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Settings.cs +0 -42
  712. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoder.cs +0 -234
  713. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBit.cs +0 -117
  714. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBitTree.cs +0 -157
  715. package/harmony/src/main/cpp/lzma/CS/7zip/ICoder.cs +0 -157
  716. package/harmony/src/main/cpp/lzma/DOC/7zC.txt +0 -187
  717. package/harmony/src/main/cpp/lzma/DOC/7zFormat.txt +0 -469
  718. package/harmony/src/main/cpp/lzma/DOC/Methods.txt +0 -173
  719. package/harmony/src/main/cpp/lzma/DOC/installer.txt +0 -166
  720. package/harmony/src/main/cpp/lzma/DOC/lzma-history.txt +0 -446
  721. package/harmony/src/main/cpp/lzma/DOC/lzma-sdk.txt +0 -357
  722. package/harmony/src/main/cpp/lzma/DOC/lzma-specification.txt +0 -1176
  723. package/harmony/src/main/cpp/lzma/DOC/lzma.txt +0 -328
  724. package/harmony/src/main/cpp/lzma/Java/SevenZip/CRC.java +0 -52
  725. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/BinTree.java +0 -382
  726. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/InWindow.java +0 -131
  727. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/OutWindow.java +0 -85
  728. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Base.java +0 -88
  729. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Decoder.java +0 -329
  730. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Encoder.java +0 -1416
  731. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeDecoder.java +0 -55
  732. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeEncoder.java +0 -99
  733. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Decoder.java +0 -88
  734. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Encoder.java +0 -151
  735. package/harmony/src/main/cpp/lzma/Java/SevenZip/ICodeProgress.java +0 -6
  736. package/harmony/src/main/cpp/lzma/Java/SevenZip/LzmaAlone.java +0 -253
  737. package/harmony/src/main/cpp/lzma/Java/SevenZip/LzmaBench.java +0 -392
  738. package/harmony/src/main/cpp/lzma/bin/7zS2.sfx +0 -0
  739. package/harmony/src/main/cpp/lzma/bin/7zS2con.sfx +0 -0
  740. package/harmony/src/main/cpp/lzma/bin/7zSD.sfx +0 -0
  741. package/harmony/src/main/cpp/lzma/bin/7zdec.exe +0 -0
  742. package/harmony/src/main/cpp/lzma/bin/7zr.exe +0 -0
  743. package/harmony/src/main/cpp/lzma/bin/installer/config.txt +0 -5
  744. package/harmony/src/main/cpp/lzma/bin/installer/cr.bat +0 -5
  745. package/harmony/src/main/cpp/lzma/bin/lzma.exe +0 -0
  746. package/harmony/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
  747. /package/harmony/{BuildProfile.ets → pushy/BuildProfile.ets} +0 -0
  748. /package/harmony/{OAT.xml → pushy/OAT.xml} +0 -0
  749. /package/harmony/{README.md → pushy/README.md} +0 -0
  750. /package/harmony/{build-profile.json5 → pushy/build-profile.json5} +0 -0
  751. /package/harmony/{hvigorfile.ts → pushy/hvigorfile.ts} +0 -0
  752. /package/harmony/{index.ets → pushy/index.ets} +0 -0
  753. /package/harmony/{oh-package-lock.json5 → pushy/oh-package-lock.json5} +0 -0
  754. /package/harmony/{oh-package.json5 → pushy/oh-package.json5} +0 -0
  755. /package/harmony/{src → pushy/src}/main/cpp/CMakeLists.txt +0 -0
  756. /package/harmony/{src → pushy/src}/main/cpp/PushyPackage.h +0 -0
  757. /package/harmony/{src → pushy/src}/main/cpp/PushyTurboModule.cpp +0 -0
  758. /package/harmony/{src → pushy/src}/main/cpp/PushyTurboModule.h +0 -0
  759. /package/harmony/{src → pushy/src}/main/cpp/hpatch.c +0 -0
  760. /package/harmony/{src → pushy/src}/main/cpp/hpatch.h +0 -0
  761. /package/harmony/{src → pushy/src}/main/cpp/pushy.c +0 -0
  762. /package/harmony/{src → pushy/src}/main/cpp/pushy.h +0 -0
  763. /package/harmony/{src → pushy/src}/main/ets/DownloadTask.ts +0 -0
  764. /package/harmony/{src → pushy/src}/main/ets/DownloadTaskParams.ts +0 -0
  765. /package/harmony/{src → pushy/src}/main/ets/EventHub.ts +0 -0
  766. /package/harmony/{src → pushy/src}/main/ets/Logger.ts +0 -0
  767. /package/harmony/{src → pushy/src}/main/ets/PushyFileJSBundleProvider.ets +0 -0
  768. /package/harmony/{src → pushy/src}/main/ets/PushyPackage.ts +0 -0
  769. /package/harmony/{src → pushy/src}/main/ets/PushyTurboModule.ts +0 -0
  770. /package/harmony/{src → pushy/src}/main/ets/UpdateContext.ts +0 -0
  771. /package/harmony/{src → pushy/src}/main/ets/UpdateModuleImpl.ts +0 -0
  772. /package/harmony/{src → pushy/src}/main/module.json5 +0 -0
  773. /package/harmony/{src → pushy/src}/main/resources/base/element/string.json +0 -0
  774. /package/harmony/{src → pushy/src}/main/resources/en_US/element/string.json +0 -0
  775. /package/harmony/{src → pushy/src}/main/resources/zh_CN/element/string.json +0 -0
  776. /package/harmony/{ts.ts → pushy/ts.ts} +0 -0
@@ -1,1185 +0,0 @@
1
- /* LzmaDec.c -- LZMA Decoder
2
- 2018-07-04 : Igor Pavlov : Public domain */
3
-
4
- #include "Precomp.h"
5
-
6
- #include <string.h>
7
-
8
- /* #include "CpuArch.h" */
9
- #include "LzmaDec.h"
10
-
11
- #define kNumTopBits 24
12
- #define kTopValue ((UInt32)1 << kNumTopBits)
13
-
14
- #define kNumBitModelTotalBits 11
15
- #define kBitModelTotal (1 << kNumBitModelTotalBits)
16
- #define kNumMoveBits 5
17
-
18
- #define RC_INIT_SIZE 5
19
-
20
- #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
21
-
22
- #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * (UInt32)ttt; if (code < bound)
23
- #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits));
24
- #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
25
- #define GET_BIT2(p, i, A0, A1) IF_BIT_0(p) \
26
- { UPDATE_0(p); i = (i + i); A0; } else \
27
- { UPDATE_1(p); i = (i + i) + 1; A1; }
28
-
29
- #define TREE_GET_BIT(probs, i) { GET_BIT2(probs + i, i, ;, ;); }
30
-
31
- #define REV_BIT(p, i, A0, A1) IF_BIT_0(p + i) \
32
- { UPDATE_0(p + i); A0; } else \
33
- { UPDATE_1(p + i); A1; }
34
- #define REV_BIT_VAR( p, i, m) REV_BIT(p, i, i += m; m += m, m += m; i += m; )
35
- #define REV_BIT_CONST(p, i, m) REV_BIT(p, i, i += m; , i += m * 2; )
36
- #define REV_BIT_LAST( p, i, m) REV_BIT(p, i, i -= m , ; )
37
-
38
- #define TREE_DECODE(probs, limit, i) \
39
- { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
40
-
41
- /* #define _LZMA_SIZE_OPT */
42
-
43
- #ifdef _LZMA_SIZE_OPT
44
- #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i)
45
- #else
46
- #define TREE_6_DECODE(probs, i) \
47
- { i = 1; \
48
- TREE_GET_BIT(probs, i); \
49
- TREE_GET_BIT(probs, i); \
50
- TREE_GET_BIT(probs, i); \
51
- TREE_GET_BIT(probs, i); \
52
- TREE_GET_BIT(probs, i); \
53
- TREE_GET_BIT(probs, i); \
54
- i -= 0x40; }
55
- #endif
56
-
57
- #define NORMAL_LITER_DEC TREE_GET_BIT(prob, symbol)
58
- #define MATCHED_LITER_DEC \
59
- matchByte += matchByte; \
60
- bit = offs; \
61
- offs &= matchByte; \
62
- probLit = prob + (offs + bit + symbol); \
63
- GET_BIT2(probLit, symbol, offs ^= bit; , ;)
64
-
65
-
66
-
67
- #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); }
68
-
69
- #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * (UInt32)ttt; if (code < bound)
70
- #define UPDATE_0_CHECK range = bound;
71
- #define UPDATE_1_CHECK range -= bound; code -= bound;
72
- #define GET_BIT2_CHECK(p, i, A0, A1) IF_BIT_0_CHECK(p) \
73
- { UPDATE_0_CHECK; i = (i + i); A0; } else \
74
- { UPDATE_1_CHECK; i = (i + i) + 1; A1; }
75
- #define GET_BIT_CHECK(p, i) GET_BIT2_CHECK(p, i, ; , ;)
76
- #define TREE_DECODE_CHECK(probs, limit, i) \
77
- { i = 1; do { GET_BIT_CHECK(probs + i, i) } while (i < limit); i -= limit; }
78
-
79
-
80
- #define REV_BIT_CHECK(p, i, m) IF_BIT_0_CHECK(p + i) \
81
- { UPDATE_0_CHECK; i += m; m += m; } else \
82
- { UPDATE_1_CHECK; m += m; i += m; }
83
-
84
-
85
- #define kNumPosBitsMax 4
86
- #define kNumPosStatesMax (1 << kNumPosBitsMax)
87
-
88
- #define kLenNumLowBits 3
89
- #define kLenNumLowSymbols (1 << kLenNumLowBits)
90
- #define kLenNumHighBits 8
91
- #define kLenNumHighSymbols (1 << kLenNumHighBits)
92
-
93
- #define LenLow 0
94
- #define LenHigh (LenLow + 2 * (kNumPosStatesMax << kLenNumLowBits))
95
- #define kNumLenProbs (LenHigh + kLenNumHighSymbols)
96
-
97
- #define LenChoice LenLow
98
- #define LenChoice2 (LenLow + (1 << kLenNumLowBits))
99
-
100
- #define kNumStates 12
101
- #define kNumStates2 16
102
- #define kNumLitStates 7
103
-
104
- #define kStartPosModelIndex 4
105
- #define kEndPosModelIndex 14
106
- #define kNumFullDistances (1 << (kEndPosModelIndex >> 1))
107
-
108
- #define kNumPosSlotBits 6
109
- #define kNumLenToPosStates 4
110
-
111
- #define kNumAlignBits 4
112
- #define kAlignTableSize (1 << kNumAlignBits)
113
-
114
- #define kMatchMinLen 2
115
- #define kMatchSpecLenStart (kMatchMinLen + kLenNumLowSymbols * 2 + kLenNumHighSymbols)
116
-
117
- /* External ASM code needs same CLzmaProb array layout. So don't change it. */
118
-
119
- /* (probs_1664) is faster and better for code size at some platforms */
120
- /*
121
- #ifdef MY_CPU_X86_OR_AMD64
122
- */
123
- #define kStartOffset 1664
124
- #define GET_PROBS p->probs_1664
125
- /*
126
- #define GET_PROBS p->probs + kStartOffset
127
- #else
128
- #define kStartOffset 0
129
- #define GET_PROBS p->probs
130
- #endif
131
- */
132
-
133
- #define SpecPos (-kStartOffset)
134
- #define IsRep0Long (SpecPos + kNumFullDistances)
135
- #define RepLenCoder (IsRep0Long + (kNumStates2 << kNumPosBitsMax))
136
- #define LenCoder (RepLenCoder + kNumLenProbs)
137
- #define IsMatch (LenCoder + kNumLenProbs)
138
- #define Align (IsMatch + (kNumStates2 << kNumPosBitsMax))
139
- #define IsRep (Align + kAlignTableSize)
140
- #define IsRepG0 (IsRep + kNumStates)
141
- #define IsRepG1 (IsRepG0 + kNumStates)
142
- #define IsRepG2 (IsRepG1 + kNumStates)
143
- #define PosSlot (IsRepG2 + kNumStates)
144
- #define Literal (PosSlot + (kNumLenToPosStates << kNumPosSlotBits))
145
- #define NUM_BASE_PROBS (Literal + kStartOffset)
146
-
147
- #if Align != 0 && kStartOffset != 0
148
- #error Stop_Compiling_Bad_LZMA_kAlign
149
- #endif
150
-
151
- #if NUM_BASE_PROBS != 1984
152
- #error Stop_Compiling_Bad_LZMA_PROBS
153
- #endif
154
-
155
-
156
- #define LZMA_LIT_SIZE 0x300
157
-
158
- #define LzmaProps_GetNumProbs(p) (NUM_BASE_PROBS + ((UInt32)LZMA_LIT_SIZE << ((p)->lc + (p)->lp)))
159
-
160
-
161
- #define CALC_POS_STATE(processedPos, pbMask) (((processedPos) & (pbMask)) << 4)
162
- #define COMBINED_PS_STATE (posState + state)
163
- #define GET_LEN_STATE (posState)
164
-
165
- #define LZMA_DIC_MIN (1 << 12)
166
-
167
- /*
168
- p->remainLen : shows status of LZMA decoder:
169
- < kMatchSpecLenStart : normal remain
170
- = kMatchSpecLenStart : finished
171
- = kMatchSpecLenStart + 1 : need init range coder
172
- = kMatchSpecLenStart + 2 : need init range coder and state
173
- */
174
-
175
- /* ---------- LZMA_DECODE_REAL ---------- */
176
- /*
177
- LzmaDec_DecodeReal_3() can be implemented in external ASM file.
178
- 3 - is the code compatibility version of that function for check at link time.
179
- */
180
-
181
- #define LZMA_DECODE_REAL LzmaDec_DecodeReal_3
182
-
183
- /*
184
- LZMA_DECODE_REAL()
185
- In:
186
- RangeCoder is normalized
187
- if (p->dicPos == limit)
188
- {
189
- LzmaDec_TryDummy() was called before to exclude LITERAL and MATCH-REP cases.
190
- So first symbol can be only MATCH-NON-REP. And if that MATCH-NON-REP symbol
191
- is not END_OF_PAYALOAD_MARKER, then function returns error code.
192
- }
193
-
194
- Processing:
195
- first LZMA symbol will be decoded in any case
196
- All checks for limits are at the end of main loop,
197
- It will decode new LZMA-symbols while (p->buf < bufLimit && dicPos < limit),
198
- RangeCoder is still without last normalization when (p->buf < bufLimit) is being checked.
199
-
200
- Out:
201
- RangeCoder is normalized
202
- Result:
203
- SZ_OK - OK
204
- SZ_ERROR_DATA - Error
205
- p->remainLen:
206
- < kMatchSpecLenStart : normal remain
207
- = kMatchSpecLenStart : finished
208
- */
209
-
210
-
211
- #ifdef _LZMA_DEC_OPT
212
-
213
- int MY_FAST_CALL LZMA_DECODE_REAL(CLzmaDec *p, SizeT limit, const Byte *bufLimit);
214
-
215
- #else
216
-
217
- static
218
- int MY_FAST_CALL LZMA_DECODE_REAL(CLzmaDec *p, SizeT limit, const Byte *bufLimit)
219
- {
220
- CLzmaProb *probs = GET_PROBS;
221
- unsigned state = (unsigned)p->state;
222
- UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3];
223
- unsigned pbMask = ((unsigned)1 << (p->prop.pb)) - 1;
224
- unsigned lc = p->prop.lc;
225
- unsigned lpMask = ((unsigned)0x100 << p->prop.lp) - ((unsigned)0x100 >> lc);
226
-
227
- Byte *dic = p->dic;
228
- SizeT dicBufSize = p->dicBufSize;
229
- SizeT dicPos = p->dicPos;
230
-
231
- UInt32 processedPos = p->processedPos;
232
- UInt32 checkDicSize = p->checkDicSize;
233
- unsigned len = 0;
234
-
235
- const Byte *buf = p->buf;
236
- UInt32 range = p->range;
237
- UInt32 code = p->code;
238
-
239
- do
240
- {
241
- CLzmaProb *prob;
242
- UInt32 bound;
243
- unsigned ttt;
244
- unsigned posState = CALC_POS_STATE(processedPos, pbMask);
245
-
246
- prob = probs + IsMatch + COMBINED_PS_STATE;
247
- IF_BIT_0(prob)
248
- {
249
- unsigned symbol;
250
- UPDATE_0(prob);
251
- prob = probs + Literal;
252
- if (processedPos != 0 || checkDicSize != 0)
253
- prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpMask) << lc);
254
- processedPos++;
255
-
256
- if (state < kNumLitStates)
257
- {
258
- state -= (state < 4) ? state : 3;
259
- symbol = 1;
260
- #ifdef _LZMA_SIZE_OPT
261
- do { NORMAL_LITER_DEC } while (symbol < 0x100);
262
- #else
263
- NORMAL_LITER_DEC
264
- NORMAL_LITER_DEC
265
- NORMAL_LITER_DEC
266
- NORMAL_LITER_DEC
267
- NORMAL_LITER_DEC
268
- NORMAL_LITER_DEC
269
- NORMAL_LITER_DEC
270
- NORMAL_LITER_DEC
271
- #endif
272
- }
273
- else
274
- {
275
- unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
276
- unsigned offs = 0x100;
277
- state -= (state < 10) ? 3 : 6;
278
- symbol = 1;
279
- #ifdef _LZMA_SIZE_OPT
280
- do
281
- {
282
- unsigned bit;
283
- CLzmaProb *probLit;
284
- MATCHED_LITER_DEC
285
- }
286
- while (symbol < 0x100);
287
- #else
288
- {
289
- unsigned bit;
290
- CLzmaProb *probLit;
291
- MATCHED_LITER_DEC
292
- MATCHED_LITER_DEC
293
- MATCHED_LITER_DEC
294
- MATCHED_LITER_DEC
295
- MATCHED_LITER_DEC
296
- MATCHED_LITER_DEC
297
- MATCHED_LITER_DEC
298
- MATCHED_LITER_DEC
299
- }
300
- #endif
301
- }
302
-
303
- dic[dicPos++] = (Byte)symbol;
304
- continue;
305
- }
306
-
307
- {
308
- UPDATE_1(prob);
309
- prob = probs + IsRep + state;
310
- IF_BIT_0(prob)
311
- {
312
- UPDATE_0(prob);
313
- state += kNumStates;
314
- prob = probs + LenCoder;
315
- }
316
- else
317
- {
318
- UPDATE_1(prob);
319
- /*
320
- // that case was checked before with kBadRepCode
321
- if (checkDicSize == 0 && processedPos == 0)
322
- return SZ_ERROR_DATA;
323
- */
324
- prob = probs + IsRepG0 + state;
325
- IF_BIT_0(prob)
326
- {
327
- UPDATE_0(prob);
328
- prob = probs + IsRep0Long + COMBINED_PS_STATE;
329
- IF_BIT_0(prob)
330
- {
331
- UPDATE_0(prob);
332
- dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
333
- dicPos++;
334
- processedPos++;
335
- state = state < kNumLitStates ? 9 : 11;
336
- continue;
337
- }
338
- UPDATE_1(prob);
339
- }
340
- else
341
- {
342
- UInt32 distance;
343
- UPDATE_1(prob);
344
- prob = probs + IsRepG1 + state;
345
- IF_BIT_0(prob)
346
- {
347
- UPDATE_0(prob);
348
- distance = rep1;
349
- }
350
- else
351
- {
352
- UPDATE_1(prob);
353
- prob = probs + IsRepG2 + state;
354
- IF_BIT_0(prob)
355
- {
356
- UPDATE_0(prob);
357
- distance = rep2;
358
- }
359
- else
360
- {
361
- UPDATE_1(prob);
362
- distance = rep3;
363
- rep3 = rep2;
364
- }
365
- rep2 = rep1;
366
- }
367
- rep1 = rep0;
368
- rep0 = distance;
369
- }
370
- state = state < kNumLitStates ? 8 : 11;
371
- prob = probs + RepLenCoder;
372
- }
373
-
374
- #ifdef _LZMA_SIZE_OPT
375
- {
376
- unsigned lim, offset;
377
- CLzmaProb *probLen = prob + LenChoice;
378
- IF_BIT_0(probLen)
379
- {
380
- UPDATE_0(probLen);
381
- probLen = prob + LenLow + GET_LEN_STATE;
382
- offset = 0;
383
- lim = (1 << kLenNumLowBits);
384
- }
385
- else
386
- {
387
- UPDATE_1(probLen);
388
- probLen = prob + LenChoice2;
389
- IF_BIT_0(probLen)
390
- {
391
- UPDATE_0(probLen);
392
- probLen = prob + LenLow + GET_LEN_STATE + (1 << kLenNumLowBits);
393
- offset = kLenNumLowSymbols;
394
- lim = (1 << kLenNumLowBits);
395
- }
396
- else
397
- {
398
- UPDATE_1(probLen);
399
- probLen = prob + LenHigh;
400
- offset = kLenNumLowSymbols * 2;
401
- lim = (1 << kLenNumHighBits);
402
- }
403
- }
404
- TREE_DECODE(probLen, lim, len);
405
- len += offset;
406
- }
407
- #else
408
- {
409
- CLzmaProb *probLen = prob + LenChoice;
410
- IF_BIT_0(probLen)
411
- {
412
- UPDATE_0(probLen);
413
- probLen = prob + LenLow + GET_LEN_STATE;
414
- len = 1;
415
- TREE_GET_BIT(probLen, len);
416
- TREE_GET_BIT(probLen, len);
417
- TREE_GET_BIT(probLen, len);
418
- len -= 8;
419
- }
420
- else
421
- {
422
- UPDATE_1(probLen);
423
- probLen = prob + LenChoice2;
424
- IF_BIT_0(probLen)
425
- {
426
- UPDATE_0(probLen);
427
- probLen = prob + LenLow + GET_LEN_STATE + (1 << kLenNumLowBits);
428
- len = 1;
429
- TREE_GET_BIT(probLen, len);
430
- TREE_GET_BIT(probLen, len);
431
- TREE_GET_BIT(probLen, len);
432
- }
433
- else
434
- {
435
- UPDATE_1(probLen);
436
- probLen = prob + LenHigh;
437
- TREE_DECODE(probLen, (1 << kLenNumHighBits), len);
438
- len += kLenNumLowSymbols * 2;
439
- }
440
- }
441
- }
442
- #endif
443
-
444
- if (state >= kNumStates)
445
- {
446
- UInt32 distance;
447
- prob = probs + PosSlot +
448
- ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << kNumPosSlotBits);
449
- TREE_6_DECODE(prob, distance);
450
- if (distance >= kStartPosModelIndex)
451
- {
452
- unsigned posSlot = (unsigned)distance;
453
- unsigned numDirectBits = (unsigned)(((distance >> 1) - 1));
454
- distance = (2 | (distance & 1));
455
- if (posSlot < kEndPosModelIndex)
456
- {
457
- distance <<= numDirectBits;
458
- prob = probs + SpecPos;
459
- {
460
- UInt32 m = 1;
461
- distance++;
462
- do
463
- {
464
- REV_BIT_VAR(prob, distance, m);
465
- }
466
- while (--numDirectBits);
467
- distance -= m;
468
- }
469
- }
470
- else
471
- {
472
- numDirectBits -= kNumAlignBits;
473
- do
474
- {
475
- NORMALIZE
476
- range >>= 1;
477
-
478
- {
479
- UInt32 t;
480
- code -= range;
481
- t = (0 - ((UInt32)code >> 31)); /* (UInt32)((Int32)code >> 31) */
482
- distance = (distance << 1) + (t + 1);
483
- code += range & t;
484
- }
485
- /*
486
- distance <<= 1;
487
- if (code >= range)
488
- {
489
- code -= range;
490
- distance |= 1;
491
- }
492
- */
493
- }
494
- while (--numDirectBits);
495
- prob = probs + Align;
496
- distance <<= kNumAlignBits;
497
- {
498
- unsigned i = 1;
499
- REV_BIT_CONST(prob, i, 1);
500
- REV_BIT_CONST(prob, i, 2);
501
- REV_BIT_CONST(prob, i, 4);
502
- REV_BIT_LAST (prob, i, 8);
503
- distance |= i;
504
- }
505
- if (distance == (UInt32)0xFFFFFFFF)
506
- {
507
- len = kMatchSpecLenStart;
508
- state -= kNumStates;
509
- break;
510
- }
511
- }
512
- }
513
-
514
- rep3 = rep2;
515
- rep2 = rep1;
516
- rep1 = rep0;
517
- rep0 = distance + 1;
518
- state = (state < kNumStates + kNumLitStates) ? kNumLitStates : kNumLitStates + 3;
519
- if (distance >= (checkDicSize == 0 ? processedPos: checkDicSize))
520
- {
521
- p->dicPos = dicPos;
522
- return SZ_ERROR_DATA;
523
- }
524
- }
525
-
526
- len += kMatchMinLen;
527
-
528
- {
529
- SizeT rem;
530
- unsigned curLen;
531
- SizeT pos;
532
-
533
- if ((rem = limit - dicPos) == 0)
534
- {
535
- p->dicPos = dicPos;
536
- return SZ_ERROR_DATA;
537
- }
538
-
539
- curLen = ((rem < len) ? (unsigned)rem : len);
540
- pos = dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0);
541
-
542
- processedPos += (UInt32)curLen;
543
-
544
- len -= curLen;
545
- if (curLen <= dicBufSize - pos)
546
- {
547
- Byte *dest = dic + dicPos;
548
- ptrdiff_t src = (ptrdiff_t)pos - (ptrdiff_t)dicPos;
549
- const Byte *lim = dest + curLen;
550
- dicPos += (SizeT)curLen;
551
- do
552
- *(dest) = (Byte)*(dest + src);
553
- while (++dest != lim);
554
- }
555
- else
556
- {
557
- do
558
- {
559
- dic[dicPos++] = dic[pos];
560
- if (++pos == dicBufSize)
561
- pos = 0;
562
- }
563
- while (--curLen != 0);
564
- }
565
- }
566
- }
567
- }
568
- while (dicPos < limit && buf < bufLimit);
569
-
570
- NORMALIZE;
571
-
572
- p->buf = buf;
573
- p->range = range;
574
- p->code = code;
575
- p->remainLen = (UInt32)len;
576
- p->dicPos = dicPos;
577
- p->processedPos = processedPos;
578
- p->reps[0] = rep0;
579
- p->reps[1] = rep1;
580
- p->reps[2] = rep2;
581
- p->reps[3] = rep3;
582
- p->state = (UInt32)state;
583
-
584
- return SZ_OK;
585
- }
586
- #endif
587
-
588
- static void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec *p, SizeT limit)
589
- {
590
- if (p->remainLen != 0 && p->remainLen < kMatchSpecLenStart)
591
- {
592
- Byte *dic = p->dic;
593
- SizeT dicPos = p->dicPos;
594
- SizeT dicBufSize = p->dicBufSize;
595
- unsigned len = (unsigned)p->remainLen;
596
- SizeT rep0 = p->reps[0]; /* we use SizeT to avoid the BUG of VC14 for AMD64 */
597
- SizeT rem = limit - dicPos;
598
- if (rem < len)
599
- len = (unsigned)(rem);
600
-
601
- if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= len)
602
- p->checkDicSize = p->prop.dicSize;
603
-
604
- p->processedPos += (UInt32)len;
605
- p->remainLen -= (UInt32)len;
606
- while (len != 0)
607
- {
608
- len--;
609
- dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
610
- dicPos++;
611
- }
612
- p->dicPos = dicPos;
613
- }
614
- }
615
-
616
-
617
- #define kRange0 0xFFFFFFFF
618
- #define kBound0 ((kRange0 >> kNumBitModelTotalBits) << (kNumBitModelTotalBits - 1))
619
- #define kBadRepCode (kBound0 + (((kRange0 - kBound0) >> kNumBitModelTotalBits) << (kNumBitModelTotalBits - 1)))
620
- #if kBadRepCode != (0xC0000000 - 0x400)
621
- #error Stop_Compiling_Bad_LZMA_Check
622
- #endif
623
-
624
- static int MY_FAST_CALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit)
625
- {
626
- do
627
- {
628
- SizeT limit2 = limit;
629
- if (p->checkDicSize == 0)
630
- {
631
- UInt32 rem = p->prop.dicSize - p->processedPos;
632
- if (limit - p->dicPos > rem)
633
- limit2 = p->dicPos + rem;
634
-
635
- if (p->processedPos == 0)
636
- if (p->code >= kBadRepCode)
637
- return SZ_ERROR_DATA;
638
- }
639
-
640
- RINOK(LZMA_DECODE_REAL(p, limit2, bufLimit));
641
-
642
- if (p->checkDicSize == 0 && p->processedPos >= p->prop.dicSize)
643
- p->checkDicSize = p->prop.dicSize;
644
-
645
- LzmaDec_WriteRem(p, limit);
646
- }
647
- while (p->dicPos < limit && p->buf < bufLimit && p->remainLen < kMatchSpecLenStart);
648
-
649
- return 0;
650
- }
651
-
652
- typedef enum
653
- {
654
- DUMMY_ERROR, /* unexpected end of input stream */
655
- DUMMY_LIT,
656
- DUMMY_MATCH,
657
- DUMMY_REP
658
- } ELzmaDummy;
659
-
660
- static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize)
661
- {
662
- UInt32 range = p->range;
663
- UInt32 code = p->code;
664
- const Byte *bufLimit = buf + inSize;
665
- const CLzmaProb *probs = GET_PROBS;
666
- unsigned state = (unsigned)p->state;
667
- ELzmaDummy res;
668
-
669
- {
670
- const CLzmaProb *prob;
671
- UInt32 bound;
672
- unsigned ttt;
673
- unsigned posState = CALC_POS_STATE(p->processedPos, (1 << p->prop.pb) - 1);
674
-
675
- prob = probs + IsMatch + COMBINED_PS_STATE;
676
- IF_BIT_0_CHECK(prob)
677
- {
678
- UPDATE_0_CHECK
679
-
680
- /* if (bufLimit - buf >= 7) return DUMMY_LIT; */
681
-
682
- prob = probs + Literal;
683
- if (p->checkDicSize != 0 || p->processedPos != 0)
684
- prob += ((UInt32)LZMA_LIT_SIZE *
685
- ((((p->processedPos) & ((1 << (p->prop.lp)) - 1)) << p->prop.lc) +
686
- (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc))));
687
-
688
- if (state < kNumLitStates)
689
- {
690
- unsigned symbol = 1;
691
- do { GET_BIT_CHECK(prob + symbol, symbol) } while (symbol < 0x100);
692
- }
693
- else
694
- {
695
- unsigned matchByte = p->dic[p->dicPos - p->reps[0] +
696
- (p->dicPos < p->reps[0] ? p->dicBufSize : 0)];
697
- unsigned offs = 0x100;
698
- unsigned symbol = 1;
699
- do
700
- {
701
- unsigned bit;
702
- const CLzmaProb *probLit;
703
- matchByte += matchByte;
704
- bit = offs;
705
- offs &= matchByte;
706
- probLit = prob + (offs + bit + symbol);
707
- GET_BIT2_CHECK(probLit, symbol, offs ^= bit; , ; )
708
- }
709
- while (symbol < 0x100);
710
- }
711
- res = DUMMY_LIT;
712
- }
713
- else
714
- {
715
- unsigned len;
716
- UPDATE_1_CHECK;
717
-
718
- prob = probs + IsRep + state;
719
- IF_BIT_0_CHECK(prob)
720
- {
721
- UPDATE_0_CHECK;
722
- state = 0;
723
- prob = probs + LenCoder;
724
- res = DUMMY_MATCH;
725
- }
726
- else
727
- {
728
- UPDATE_1_CHECK;
729
- res = DUMMY_REP;
730
- prob = probs + IsRepG0 + state;
731
- IF_BIT_0_CHECK(prob)
732
- {
733
- UPDATE_0_CHECK;
734
- prob = probs + IsRep0Long + COMBINED_PS_STATE;
735
- IF_BIT_0_CHECK(prob)
736
- {
737
- UPDATE_0_CHECK;
738
- NORMALIZE_CHECK;
739
- return DUMMY_REP;
740
- }
741
- else
742
- {
743
- UPDATE_1_CHECK;
744
- }
745
- }
746
- else
747
- {
748
- UPDATE_1_CHECK;
749
- prob = probs + IsRepG1 + state;
750
- IF_BIT_0_CHECK(prob)
751
- {
752
- UPDATE_0_CHECK;
753
- }
754
- else
755
- {
756
- UPDATE_1_CHECK;
757
- prob = probs + IsRepG2 + state;
758
- IF_BIT_0_CHECK(prob)
759
- {
760
- UPDATE_0_CHECK;
761
- }
762
- else
763
- {
764
- UPDATE_1_CHECK;
765
- }
766
- }
767
- }
768
- state = kNumStates;
769
- prob = probs + RepLenCoder;
770
- }
771
- {
772
- unsigned limit, offset;
773
- const CLzmaProb *probLen = prob + LenChoice;
774
- IF_BIT_0_CHECK(probLen)
775
- {
776
- UPDATE_0_CHECK;
777
- probLen = prob + LenLow + GET_LEN_STATE;
778
- offset = 0;
779
- limit = 1 << kLenNumLowBits;
780
- }
781
- else
782
- {
783
- UPDATE_1_CHECK;
784
- probLen = prob + LenChoice2;
785
- IF_BIT_0_CHECK(probLen)
786
- {
787
- UPDATE_0_CHECK;
788
- probLen = prob + LenLow + GET_LEN_STATE + (1 << kLenNumLowBits);
789
- offset = kLenNumLowSymbols;
790
- limit = 1 << kLenNumLowBits;
791
- }
792
- else
793
- {
794
- UPDATE_1_CHECK;
795
- probLen = prob + LenHigh;
796
- offset = kLenNumLowSymbols * 2;
797
- limit = 1 << kLenNumHighBits;
798
- }
799
- }
800
- TREE_DECODE_CHECK(probLen, limit, len);
801
- len += offset;
802
- }
803
-
804
- if (state < 4)
805
- {
806
- unsigned posSlot;
807
- prob = probs + PosSlot +
808
- ((len < kNumLenToPosStates - 1 ? len : kNumLenToPosStates - 1) <<
809
- kNumPosSlotBits);
810
- TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot);
811
- if (posSlot >= kStartPosModelIndex)
812
- {
813
- unsigned numDirectBits = ((posSlot >> 1) - 1);
814
-
815
- /* if (bufLimit - buf >= 8) return DUMMY_MATCH; */
816
-
817
- if (posSlot < kEndPosModelIndex)
818
- {
819
- prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits);
820
- }
821
- else
822
- {
823
- numDirectBits -= kNumAlignBits;
824
- do
825
- {
826
- NORMALIZE_CHECK
827
- range >>= 1;
828
- code -= range & (((code - range) >> 31) - 1);
829
- /* if (code >= range) code -= range; */
830
- }
831
- while (--numDirectBits);
832
- prob = probs + Align;
833
- numDirectBits = kNumAlignBits;
834
- }
835
- {
836
- unsigned i = 1;
837
- unsigned m = 1;
838
- do
839
- {
840
- REV_BIT_CHECK(prob, i, m);
841
- }
842
- while (--numDirectBits);
843
- }
844
- }
845
- }
846
- }
847
- }
848
- NORMALIZE_CHECK;
849
- return res;
850
- }
851
-
852
-
853
- void LzmaDec_InitDicAndState(CLzmaDec *p, BoolInt initDic, BoolInt initState)
854
- {
855
- p->remainLen = kMatchSpecLenStart + 1;
856
- p->tempBufSize = 0;
857
-
858
- if (initDic)
859
- {
860
- p->processedPos = 0;
861
- p->checkDicSize = 0;
862
- p->remainLen = kMatchSpecLenStart + 2;
863
- }
864
- if (initState)
865
- p->remainLen = kMatchSpecLenStart + 2;
866
- }
867
-
868
- void LzmaDec_Init(CLzmaDec *p)
869
- {
870
- p->dicPos = 0;
871
- LzmaDec_InitDicAndState(p, True, True);
872
- }
873
-
874
-
875
- SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit, const Byte *src, SizeT *srcLen,
876
- ELzmaFinishMode finishMode, ELzmaStatus *status)
877
- {
878
- SizeT inSize = *srcLen;
879
- (*srcLen) = 0;
880
-
881
- *status = LZMA_STATUS_NOT_SPECIFIED;
882
-
883
- if (p->remainLen > kMatchSpecLenStart)
884
- {
885
- for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--)
886
- p->tempBuf[p->tempBufSize++] = *src++;
887
- if (p->tempBufSize != 0 && p->tempBuf[0] != 0)
888
- return SZ_ERROR_DATA;
889
- if (p->tempBufSize < RC_INIT_SIZE)
890
- {
891
- *status = LZMA_STATUS_NEEDS_MORE_INPUT;
892
- return SZ_OK;
893
- }
894
- p->code =
895
- ((UInt32)p->tempBuf[1] << 24)
896
- | ((UInt32)p->tempBuf[2] << 16)
897
- | ((UInt32)p->tempBuf[3] << 8)
898
- | ((UInt32)p->tempBuf[4]);
899
- p->range = 0xFFFFFFFF;
900
- p->tempBufSize = 0;
901
-
902
- if (p->remainLen > kMatchSpecLenStart + 1)
903
- {
904
- SizeT numProbs = LzmaProps_GetNumProbs(&p->prop);
905
- SizeT i;
906
- CLzmaProb *probs = p->probs;
907
- for (i = 0; i < numProbs; i++)
908
- probs[i] = kBitModelTotal >> 1;
909
- p->reps[0] = p->reps[1] = p->reps[2] = p->reps[3] = 1;
910
- p->state = 0;
911
- }
912
-
913
- p->remainLen = 0;
914
- }
915
-
916
- LzmaDec_WriteRem(p, dicLimit);
917
-
918
- while (p->remainLen != kMatchSpecLenStart)
919
- {
920
- int checkEndMarkNow = 0;
921
-
922
- if (p->dicPos >= dicLimit)
923
- {
924
- if (p->remainLen == 0 && p->code == 0)
925
- {
926
- *status = LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK;
927
- return SZ_OK;
928
- }
929
- if (finishMode == LZMA_FINISH_ANY)
930
- {
931
- *status = LZMA_STATUS_NOT_FINISHED;
932
- return SZ_OK;
933
- }
934
- if (p->remainLen != 0)
935
- {
936
- *status = LZMA_STATUS_NOT_FINISHED;
937
- return SZ_ERROR_DATA;
938
- }
939
- checkEndMarkNow = 1;
940
- }
941
-
942
- if (p->tempBufSize == 0)
943
- {
944
- SizeT processed;
945
- const Byte *bufLimit;
946
- if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow)
947
- {
948
- int dummyRes = LzmaDec_TryDummy(p, src, inSize);
949
- if (dummyRes == DUMMY_ERROR)
950
- {
951
- memcpy(p->tempBuf, src, inSize);
952
- p->tempBufSize = (unsigned)inSize;
953
- (*srcLen) += inSize;
954
- *status = LZMA_STATUS_NEEDS_MORE_INPUT;
955
- return SZ_OK;
956
- }
957
- if (checkEndMarkNow && dummyRes != DUMMY_MATCH)
958
- {
959
- *status = LZMA_STATUS_NOT_FINISHED;
960
- return SZ_ERROR_DATA;
961
- }
962
- bufLimit = src;
963
- }
964
- else
965
- bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX;
966
- p->buf = src;
967
- if (LzmaDec_DecodeReal2(p, dicLimit, bufLimit) != 0)
968
- return SZ_ERROR_DATA;
969
- processed = (SizeT)(p->buf - src);
970
- (*srcLen) += processed;
971
- src += processed;
972
- inSize -= processed;
973
- }
974
- else
975
- {
976
- unsigned rem = p->tempBufSize, lookAhead = 0;
977
- while (rem < LZMA_REQUIRED_INPUT_MAX && lookAhead < inSize)
978
- p->tempBuf[rem++] = src[lookAhead++];
979
- p->tempBufSize = rem;
980
- if (rem < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow)
981
- {
982
- int dummyRes = LzmaDec_TryDummy(p, p->tempBuf, (SizeT)rem);
983
- if (dummyRes == DUMMY_ERROR)
984
- {
985
- (*srcLen) += (SizeT)lookAhead;
986
- *status = LZMA_STATUS_NEEDS_MORE_INPUT;
987
- return SZ_OK;
988
- }
989
- if (checkEndMarkNow && dummyRes != DUMMY_MATCH)
990
- {
991
- *status = LZMA_STATUS_NOT_FINISHED;
992
- return SZ_ERROR_DATA;
993
- }
994
- }
995
- p->buf = p->tempBuf;
996
- if (LzmaDec_DecodeReal2(p, dicLimit, p->buf) != 0)
997
- return SZ_ERROR_DATA;
998
-
999
- {
1000
- unsigned kkk = (unsigned)(p->buf - p->tempBuf);
1001
- if (rem < kkk)
1002
- return SZ_ERROR_FAIL; /* some internal error */
1003
- rem -= kkk;
1004
- if (lookAhead < rem)
1005
- return SZ_ERROR_FAIL; /* some internal error */
1006
- lookAhead -= rem;
1007
- }
1008
- (*srcLen) += (SizeT)lookAhead;
1009
- src += lookAhead;
1010
- inSize -= (SizeT)lookAhead;
1011
- p->tempBufSize = 0;
1012
- }
1013
- }
1014
-
1015
- if (p->code != 0)
1016
- return SZ_ERROR_DATA;
1017
- *status = LZMA_STATUS_FINISHED_WITH_MARK;
1018
- return SZ_OK;
1019
- }
1020
-
1021
-
1022
- SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
1023
- {
1024
- SizeT outSize = *destLen;
1025
- SizeT inSize = *srcLen;
1026
- *srcLen = *destLen = 0;
1027
- for (;;)
1028
- {
1029
- SizeT inSizeCur = inSize, outSizeCur, dicPos;
1030
- ELzmaFinishMode curFinishMode;
1031
- SRes res;
1032
- if (p->dicPos == p->dicBufSize)
1033
- p->dicPos = 0;
1034
- dicPos = p->dicPos;
1035
- if (outSize > p->dicBufSize - dicPos)
1036
- {
1037
- outSizeCur = p->dicBufSize;
1038
- curFinishMode = LZMA_FINISH_ANY;
1039
- }
1040
- else
1041
- {
1042
- outSizeCur = dicPos + outSize;
1043
- curFinishMode = finishMode;
1044
- }
1045
-
1046
- res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status);
1047
- src += inSizeCur;
1048
- inSize -= inSizeCur;
1049
- *srcLen += inSizeCur;
1050
- outSizeCur = p->dicPos - dicPos;
1051
- memcpy(dest, p->dic + dicPos, outSizeCur);
1052
- dest += outSizeCur;
1053
- outSize -= outSizeCur;
1054
- *destLen += outSizeCur;
1055
- if (res != 0)
1056
- return res;
1057
- if (outSizeCur == 0 || outSize == 0)
1058
- return SZ_OK;
1059
- }
1060
- }
1061
-
1062
- void LzmaDec_FreeProbs(CLzmaDec *p, ISzAllocPtr alloc)
1063
- {
1064
- ISzAlloc_Free(alloc, p->probs);
1065
- p->probs = NULL;
1066
- }
1067
-
1068
- static void LzmaDec_FreeDict(CLzmaDec *p, ISzAllocPtr alloc)
1069
- {
1070
- ISzAlloc_Free(alloc, p->dic);
1071
- p->dic = NULL;
1072
- }
1073
-
1074
- void LzmaDec_Free(CLzmaDec *p, ISzAllocPtr alloc)
1075
- {
1076
- LzmaDec_FreeProbs(p, alloc);
1077
- LzmaDec_FreeDict(p, alloc);
1078
- }
1079
-
1080
- SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size)
1081
- {
1082
- UInt32 dicSize;
1083
- Byte d;
1084
-
1085
- if (size < LZMA_PROPS_SIZE)
1086
- return SZ_ERROR_UNSUPPORTED;
1087
- else
1088
- dicSize = data[1] | ((UInt32)data[2] << 8) | ((UInt32)data[3] << 16) | ((UInt32)data[4] << 24);
1089
-
1090
- if (dicSize < LZMA_DIC_MIN)
1091
- dicSize = LZMA_DIC_MIN;
1092
- p->dicSize = dicSize;
1093
-
1094
- d = data[0];
1095
- if (d >= (9 * 5 * 5))
1096
- return SZ_ERROR_UNSUPPORTED;
1097
-
1098
- p->lc = (Byte)(d % 9);
1099
- d /= 9;
1100
- p->pb = (Byte)(d / 5);
1101
- p->lp = (Byte)(d % 5);
1102
-
1103
- return SZ_OK;
1104
- }
1105
-
1106
- static SRes LzmaDec_AllocateProbs2(CLzmaDec *p, const CLzmaProps *propNew, ISzAllocPtr alloc)
1107
- {
1108
- UInt32 numProbs = LzmaProps_GetNumProbs(propNew);
1109
- if (!p->probs || numProbs != p->numProbs)
1110
- {
1111
- LzmaDec_FreeProbs(p, alloc);
1112
- p->probs = (CLzmaProb *)ISzAlloc_Alloc(alloc, numProbs * sizeof(CLzmaProb));
1113
- if (!p->probs)
1114
- return SZ_ERROR_MEM;
1115
- p->probs_1664 = p->probs + 1664;
1116
- p->numProbs = numProbs;
1117
- }
1118
- return SZ_OK;
1119
- }
1120
-
1121
- SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc)
1122
- {
1123
- CLzmaProps propNew;
1124
- RINOK(LzmaProps_Decode(&propNew, props, propsSize));
1125
- RINOK(LzmaDec_AllocateProbs2(p, &propNew, alloc));
1126
- p->prop = propNew;
1127
- return SZ_OK;
1128
- }
1129
-
1130
- SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc)
1131
- {
1132
- CLzmaProps propNew;
1133
- SizeT dicBufSize;
1134
- RINOK(LzmaProps_Decode(&propNew, props, propsSize));
1135
- RINOK(LzmaDec_AllocateProbs2(p, &propNew, alloc));
1136
-
1137
- {
1138
- UInt32 dictSize = propNew.dicSize;
1139
- SizeT mask = ((UInt32)1 << 12) - 1;
1140
- if (dictSize >= ((UInt32)1 << 30)) mask = ((UInt32)1 << 22) - 1;
1141
- else if (dictSize >= ((UInt32)1 << 22)) mask = ((UInt32)1 << 20) - 1;;
1142
- dicBufSize = ((SizeT)dictSize + mask) & ~mask;
1143
- if (dicBufSize < dictSize)
1144
- dicBufSize = dictSize;
1145
- }
1146
-
1147
- if (!p->dic || dicBufSize != p->dicBufSize)
1148
- {
1149
- LzmaDec_FreeDict(p, alloc);
1150
- p->dic = (Byte *)ISzAlloc_Alloc(alloc, dicBufSize);
1151
- if (!p->dic)
1152
- {
1153
- LzmaDec_FreeProbs(p, alloc);
1154
- return SZ_ERROR_MEM;
1155
- }
1156
- }
1157
- p->dicBufSize = dicBufSize;
1158
- p->prop = propNew;
1159
- return SZ_OK;
1160
- }
1161
-
1162
- SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
1163
- const Byte *propData, unsigned propSize, ELzmaFinishMode finishMode,
1164
- ELzmaStatus *status, ISzAllocPtr alloc)
1165
- {
1166
- CLzmaDec p;
1167
- SRes res;
1168
- SizeT outSize = *destLen, inSize = *srcLen;
1169
- *destLen = *srcLen = 0;
1170
- *status = LZMA_STATUS_NOT_SPECIFIED;
1171
- if (inSize < RC_INIT_SIZE)
1172
- return SZ_ERROR_INPUT_EOF;
1173
- LzmaDec_Construct(&p);
1174
- RINOK(LzmaDec_AllocateProbs(&p, propData, propSize, alloc));
1175
- p.dic = dest;
1176
- p.dicBufSize = outSize;
1177
- LzmaDec_Init(&p);
1178
- *srcLen = inSize;
1179
- res = LzmaDec_DecodeToDic(&p, outSize, src, srcLen, finishMode, status);
1180
- *destLen = p.dicPos;
1181
- if (res == SZ_OK && *status == LZMA_STATUS_NEEDS_MORE_INPUT)
1182
- res = SZ_ERROR_INPUT_EOF;
1183
- LzmaDec_FreeProbs(&p, alloc);
1184
- return res;
1185
- }