react-native-update 10.34.2 → 10.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitmodules +4 -4
- package/harmony/pushy/src/main/cpp/HDiffPatch/CHANGELOG.md +291 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/LICENSE +48 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/Makefile +473 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/README.md +552 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/README_cn.md +547 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_atosize.h +127 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_clock_for_demo.h +59 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_dir_ignore.h +191 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_hextobytes.h +112 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bsdiff_wrapper.cpp +389 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bsdiff_wrapper.h +73 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bspatch_wrapper.c +266 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/bsdiff_wrapper/bspatch_wrapper.h +58 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +190 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.bat +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.sh +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs_patchers.bat +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs_patchers.sh +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +49 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +31 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +38 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +26 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +155 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +364 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +348 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/bzip2.vcxproj +228 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/hpatchz_test.vcxproj +215 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/libdeflate.vcxproj +256 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/longPathAware.exe.manifest +7 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/lzma.vcxproj +271 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/testHashClash.vcxproj +228 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +296 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/zlib.vcxproj +242 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/zstd.vcxproj +287 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +39 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +447 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +703 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +463 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/libdeflate.xcodeproj/project.pbxproj +286 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lz4.xcodeproj/project.pbxproj +268 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +585 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +301 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +591 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zlib.xcodeproj/project.pbxproj +308 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +524 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatch_objc/hpatch_objc.h +33 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatch_objc/hpatch_objc.m +33 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode_iOS_hpatchz/hpatchz.xcodeproj/project.pbxproj +774 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +799 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.cpp +201 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.h +59 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_plugin_demo.h +1526 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +1637 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +846 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +79 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +339 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +190 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +339 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.h +87 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +43 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +836 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +246 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_private.h +47 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +112 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +69 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +65 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +346 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +149 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +176 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +84 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +146 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +61 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +152 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +76 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.c +735 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.h +240 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz.cpp +1971 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz_import_patch.c +31 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz_import_patch.h +42 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +307 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatchz.c +1786 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +1746 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +201 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_for_hpatch_lite.h +74 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +187 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/match_block.cpp +478 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/match_block.h +222 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +383 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +73 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +184 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +88 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/config.h +89 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +325 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.cpp +10 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +97 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.cpp +14 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +108 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +186 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +780 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +579 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +415 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +144 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +164 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +148 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +769 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +97 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +954 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +299 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.cpp +168 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.h +44 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +72 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +130 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/qsort_parallel.h +125 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +428 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +133 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/checksum_plugin.h +52 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hcache_old_mt.c +243 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hcache_old_mt.h +51 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hinput_mt.c +153 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hinput_mt.h +54 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_houtput_mt.c +158 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_houtput_mt.h +49 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hpatch_mt.c +294 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_hpatch_mt.h +59 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/_patch_private_mt.h +217 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/hpatch_mt.c +349 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/hpatch_mt/hpatch_mt.h +110 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +2643 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +253 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +245 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +361 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.c +366 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.h +91 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite_input_cache.h +31 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite_types.h +106 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +170 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +250 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +67 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import_c.c +497 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import_c.h +106 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_match_in_old_sign.cpp +254 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_match_in_old_sign.h +39 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/_sign_diff_type.h +37 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/sign_diff.cpp +62 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sign_diff/sign_diff.h +44 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dict_decompress_plugin.h +156 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dir_sync_client.cpp +440 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/dir_sync_client.h +88 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_old.cpp +332 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_old.h +48 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/match_in_types.h +198 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client.cpp +697 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client.h +74 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_private.h +262 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_type.h +174 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_client_type_private.h +174 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_diff_data.cpp +252 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_diff_data.h +67 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_info_client.cpp +680 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_client/sync_info_client.h +137 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dict_compress_plugin.h +83 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dir_sync_make.cpp +125 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/dir_sync_make.h +56 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/hsynz_plugin.h +55 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/match_in_new.cpp +147 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/match_in_new.h +38 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_info_make.cpp +354 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_info_make.h +76 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make.cpp +521 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make.h +69 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make_hash_clash.h +122 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/sync_make/sync_make_private.h +66 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_type.h +36 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_type_private.h +81 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_wrapper.cpp +247 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_client_wrapper.h +71 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_info_client.cpp +351 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_info_client.h +42 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_match_in_old.cpp +124 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_client_wrapper/zsync_match_in_old.h +38 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_info_make.cpp +203 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_info_make.h +55 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_make_wrapper.cpp +79 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libhsync/zsync_make_wrapper/zsync_make_wrapper.h +66 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +301 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +291 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/testHashClash.cpp +630 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/unit_test.cpp +889 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcdiff_wrapper.cpp +628 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcdiff_wrapper.h +95 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_code_table.h +78 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_wrapper.c +950 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/vcdiff_wrapper/vcpatch_wrapper.h +72 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm/7zCrcOpt.asm +100 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm64/7zAsm.S +181 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm64/LzmaDecOpt.S +1487 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zAsm.asm +341 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +258 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/AesOpt.asm +742 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzFindOpt.asm +540 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +1339 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/Sha256Opt.asm +275 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/Sort.asm +860 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +523 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7z.h +204 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.c +89 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zArcIn.c +1786 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.c +36 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf2.c +52 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.c +464 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrcOpt.c +199 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zDec.c +673 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.c +443 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zStream.c +199 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zTypes.h +597 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.rc +55 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zWindows.h +101 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zip_gcc_c.mak +360 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.c +429 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.h +60 -0
- package/harmony/pushy/src/main/cpp/lzma/C/AesOpt.c +1002 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.c +605 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Asm_c.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.c +290 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.h +332 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2Enc.c +506 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.c +709 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.h +105 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra86.c +187 -0
- package/harmony/pushy/src/main/cpp/lzma/C/BraIA64.c +14 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Compiler.h +246 -0
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.c +970 -0
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.h +686 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.c +169 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.c +99 -0
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.h +20 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.c +1746 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.h +160 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.c +1422 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.h +114 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindOpt.c +578 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzHash.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.c +493 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.c +1095 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.h +81 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.c +807 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86.h +111 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Dec.c +53 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Enc.c +103 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.c +1363 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.h +237 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.c +3150 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.h +85 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.c +42 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.h +138 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.c +604 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.h +144 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.c +1124 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.h +202 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd.h +169 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.c +1131 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.h +181 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Dec.c +312 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Enc.c +337 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Precomp.h +127 -0
- package/harmony/pushy/src/main/cpp/lzma/C/RotateDefs.h +50 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.c +492 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256Opt.c +451 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.c +268 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.h +15 -0
- package/harmony/pushy/src/main/cpp/lzma/C/SwapBytes.c +835 -0
- package/harmony/pushy/src/main/cpp/lzma/C/SwapBytes.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.c +812 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.h +260 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsp +249 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7zMain.c +889 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile +44 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile.gcc +32 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +313 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +192 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/Precomp.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile +30 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +21 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.def +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +206 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +15 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/Precomp.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/makefile +59 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +657 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsp +231 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile +44 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +40 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.c +92 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.h +542 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.c +140 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64Opt.c +261 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzDec.c +2876 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.c +1384 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.h +64 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzIn.c +385 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_arm64.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_clang_x86.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_arm64.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_x64.mak +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_gcc_x86.mak +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_mac_arm64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/var_mac_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/C/warn_clang.mak +1 -0
- package/harmony/pushy/src/main/cpp/lzma/C/warn_clang_mac.mak +1 -0
- package/harmony/pushy/src/main/cpp/lzma/C/warn_gcc.mak +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip.mak +240 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip_gcc.mak +1370 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Aes.mak +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +599 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +73 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +721 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +95 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +444 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +264 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +101 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +795 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +178 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +1162 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +156 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +1764 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +454 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +207 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +1026 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +346 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +49 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +3088 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +167 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +158 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +1144 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +447 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +315 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +169 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +140 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +33 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +193 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +175 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +754 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Icons/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +608 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +353 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +1452 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Asm.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +2090 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +168 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile.gcc +279 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/resource.rc +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +817 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +540 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +68 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +131 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaSpec/LzmaSpec.cpp +715 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +1017 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +521 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +137 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile.gcc +215 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +246 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +83 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +135 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +872 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +371 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.rc +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +1074 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +268 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +159 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.h +1 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +358 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +548 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +200 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +923 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +205 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +577 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +201 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +237 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +45 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +393 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +221 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +765 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +349 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MultiOutStream.cpp +855 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MultiOutStream.h +160 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +111 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +133 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +33 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +80 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +106 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +151 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +78 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +290 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +146 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +101 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +47 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +867 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +106 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +59 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +91 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +378 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +153 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyRegister.cpp +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +126 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +267 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +134 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +30 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +350 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +113 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +374 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +45 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +219 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +193 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +49 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +151 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +243 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc.mak +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc64.mak +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +315 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +130 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +277 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +122 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +241 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +119 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Guid.txt +243 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/ICoder.h +480 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IDecl.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IPassword.h +54 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IProgress.h +20 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IStream.h +210 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzFindOpt.mak +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec_gcc.mak +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersion.h +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/PropID.h +178 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Sha256.mak +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Sort.mak +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/SubBuild.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +1145 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +331 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile.gcc +72 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +1799 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +170 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +3077 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +641 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +176 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +398 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +5026 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +407 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +1637 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +575 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +107 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +44 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +296 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +2273 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +322 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +112 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +1337 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +482 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +3702 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +469 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +745 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +88 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.cpp +25 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +20 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +1931 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +221 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.cpp +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +1069 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +197 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +302 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +74 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +60 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +84 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +30 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +212 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +946 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +211 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +426 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +1417 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +1635 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +235 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +115 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +73 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +186 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +998 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +148 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +118 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +68 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile.gcc +187 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/resource.rc +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +1132 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +32 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialogRes.h +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialogRes.h +4 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +1272 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +347 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.cpp +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialog.cpp +218 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialog.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MemDialogRes.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +119 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +288 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +89 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +93 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialogRes.h +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +201 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +171 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.rc +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +1483 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +355 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.rc +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +49 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +85 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialogRes.h +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.cpp +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +104 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/StdAfx.h +67 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +351 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +65 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +199 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +25 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/7zG.exe.manifest +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +59 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +421 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +113 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.rc +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialogRes.h +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +297 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractRes.h +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/resource2.h +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_arm64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_x64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_clang_x86.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_arm64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_x64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_gcc_x86.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_mac_arm64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/cmpl_mac_x64.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_arm64.mak +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_clang_x86.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_arm64.mak +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_gcc_x86.mak +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_mac_arm64.mak +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/var_mac_x64.mak +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_clang.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_clang_mac.mak +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/warn_gcc.mak +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Build.mak +252 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/AutoPtr.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CRC.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ComTry.h +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +231 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +63 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common0.h +330 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +77 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Defs.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynLimBuf.cpp +93 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynLimBuf.h +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.cpp +215 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.h +54 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Lang.h +30 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +150 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/LzFindPrepare.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer.h +297 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +185 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyCom.h +693 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyException.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +63 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyLinux.h +75 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.cpp +1842 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.h +1079 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyTypes.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyUnknown.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.h +724 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +292 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.h +325 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +340 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Prepare.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +67 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +248 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +762 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.h +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +154 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +123 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +863 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.h +384 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +789 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.h +231 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Init.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/COM.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Clipboard.cpp +130 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Clipboard.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +269 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +77 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +52 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +446 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +213 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.cpp +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +162 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +156 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +165 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +50 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Static.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +202 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +53 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.cpp +178 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.h +103 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Defs.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +133 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +1362 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.h +172 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +1449 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.h +347 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +954 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.h +467 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +697 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.cpp +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.cpp +911 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.h +142 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +187 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Handle.h +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryGlobal.cpp +36 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryGlobal.h +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/NtCheck.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +393 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.h +173 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +274 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +47 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.cpp +474 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.h +96 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +103 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +186 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +150 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.cpp +839 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.h +129 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/StdAfx.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.h +386 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.cpp +421 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.h +189 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SystemInfo.cpp +1251 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SystemInfo.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Thread.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +467 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +146 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.cpp +179 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.h +363 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CRC.cs +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CommandLineParser.cs +274 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/InBuffer.cs +72 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/OutBuffer.cs +47 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/IMatchFinder.cs +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzBinTree.cs +367 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzInWindow.cs +132 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzOutWindow.cs +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaBase.cs +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaDecoder.cs +398 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaEncoder.cs +1480 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.cs +364 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.sln +20 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaBench.cs +340 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/AssemblyInfo.cs +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Resources.cs +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Settings.cs +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoder.cs +234 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBit.cs +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBitTree.cs +157 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/ICoder.cs +157 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zC.txt +187 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zFormat.txt +469 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/Methods.txt +177 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/installer.txt +166 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-history.txt +651 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-sdk.txt +437 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-specification.txt +1176 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma.txt +345 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/CRC.java +52 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/BinTree.java +382 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/InWindow.java +131 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/OutWindow.java +85 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Base.java +88 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Decoder.java +329 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Encoder.java +1416 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeDecoder.java +55 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeEncoder.java +99 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Decoder.java +88 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Encoder.java +151 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/ICodeProgress.java +6 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaAlone.java +253 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaBench.java +392 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zS2.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zS2con.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zSD.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zdec.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zr.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/config.txt +5 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/cr.bat +5 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/lzma.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1079 @@
|
|
|
1
|
+
// Common/MyString.h
|
|
2
|
+
|
|
3
|
+
#ifndef ZIP7_INC_COMMON_MY_STRING_H
|
|
4
|
+
#define ZIP7_INC_COMMON_MY_STRING_H
|
|
5
|
+
|
|
6
|
+
#include <string.h>
|
|
7
|
+
|
|
8
|
+
#ifndef _WIN32
|
|
9
|
+
#include <wctype.h>
|
|
10
|
+
#include <wchar.h>
|
|
11
|
+
#endif
|
|
12
|
+
|
|
13
|
+
#include "Common.h"
|
|
14
|
+
#include "MyWindows.h"
|
|
15
|
+
#include "MyTypes.h"
|
|
16
|
+
#include "MyVector.h"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/* if (DEBUG_FSTRING_INHERITS_ASTRING is defined), then
|
|
20
|
+
FString inherits from AString, so we can find bugs related to FString at compile time.
|
|
21
|
+
DON'T define DEBUG_FSTRING_INHERITS_ASTRING in release code */
|
|
22
|
+
|
|
23
|
+
// #define DEBUG_FSTRING_INHERITS_ASTRING
|
|
24
|
+
|
|
25
|
+
#ifdef DEBUG_FSTRING_INHERITS_ASTRING
|
|
26
|
+
class FString;
|
|
27
|
+
#endif
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
#ifdef _MSC_VER
|
|
31
|
+
#ifdef _NATIVE_WCHAR_T_DEFINED
|
|
32
|
+
#define MY_NATIVE_WCHAR_T_DEFINED
|
|
33
|
+
#endif
|
|
34
|
+
#else
|
|
35
|
+
#define MY_NATIVE_WCHAR_T_DEFINED
|
|
36
|
+
#endif
|
|
37
|
+
|
|
38
|
+
/*
|
|
39
|
+
native support for wchar_t:
|
|
40
|
+
_MSC_VER == 1600 : /Zc:wchar_t is not supported
|
|
41
|
+
_MSC_VER == 1310 (VS2003)
|
|
42
|
+
? _MSC_VER == 1400 (VS2005) : wchar_t <- unsigned short
|
|
43
|
+
/Zc:wchar_t : wchar_t <- __wchar_t, _WCHAR_T_DEFINED and _NATIVE_WCHAR_T_DEFINED
|
|
44
|
+
_MSC_VER > 1400 (VS2008+)
|
|
45
|
+
/Zc:wchar_t[-]
|
|
46
|
+
/Zc:wchar_t is on by default
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
#ifdef _WIN32
|
|
50
|
+
#define IS_PATH_SEPAR(c) ((c) == '\\' || (c) == '/')
|
|
51
|
+
#else
|
|
52
|
+
#define IS_PATH_SEPAR(c) ((c) == CHAR_PATH_SEPARATOR)
|
|
53
|
+
#endif
|
|
54
|
+
|
|
55
|
+
inline bool IsPathSepar(char c) { return IS_PATH_SEPAR(c); }
|
|
56
|
+
inline bool IsPathSepar(wchar_t c) { return IS_PATH_SEPAR(c); }
|
|
57
|
+
|
|
58
|
+
inline unsigned MyStringLen(const char *s)
|
|
59
|
+
{
|
|
60
|
+
unsigned i;
|
|
61
|
+
for (i = 0; s[i] != 0; i++);
|
|
62
|
+
return i;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
inline void MyStringCopy(char *dest, const char *src)
|
|
66
|
+
{
|
|
67
|
+
while ((*dest++ = *src++) != 0);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
inline char *MyStpCpy(char *dest, const char *src)
|
|
71
|
+
{
|
|
72
|
+
for (;;)
|
|
73
|
+
{
|
|
74
|
+
const char c = *src;
|
|
75
|
+
*dest = c;
|
|
76
|
+
if (c == 0)
|
|
77
|
+
return dest;
|
|
78
|
+
src++;
|
|
79
|
+
dest++;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
inline void MyStringCat(char *dest, const char *src)
|
|
84
|
+
{
|
|
85
|
+
for (; *dest != 0; dest++);
|
|
86
|
+
while ((*dest++ = *src++) != 0);
|
|
87
|
+
// MyStringCopy(dest + MyStringLen(dest), src);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
inline unsigned MyStringLen(const wchar_t *s)
|
|
91
|
+
{
|
|
92
|
+
unsigned i;
|
|
93
|
+
for (i = 0; s[i] != 0; i++);
|
|
94
|
+
return i;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
inline void MyStringCopy(wchar_t *dest, const wchar_t *src)
|
|
98
|
+
{
|
|
99
|
+
while ((*dest++ = *src++) != 0);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
inline void MyStringCat(wchar_t *dest, const wchar_t *src)
|
|
103
|
+
{
|
|
104
|
+
for (; *dest != 0; dest++);
|
|
105
|
+
while ((*dest++ = *src++) != 0);
|
|
106
|
+
// MyStringCopy(dest + MyStringLen(dest), src);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/*
|
|
111
|
+
inline wchar_t *MyWcpCpy(wchar_t *dest, const wchar_t *src)
|
|
112
|
+
{
|
|
113
|
+
for (;;)
|
|
114
|
+
{
|
|
115
|
+
const wchar_t c = *src;
|
|
116
|
+
*dest = c;
|
|
117
|
+
if (c == 0)
|
|
118
|
+
return dest;
|
|
119
|
+
src++;
|
|
120
|
+
dest++;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
int FindCharPosInString(const char *s, char c) throw();
|
|
126
|
+
int FindCharPosInString(const wchar_t *s, wchar_t c) throw();
|
|
127
|
+
|
|
128
|
+
#ifdef _WIN32
|
|
129
|
+
#ifndef _UNICODE
|
|
130
|
+
#define STRING_UNICODE_THROW
|
|
131
|
+
#endif
|
|
132
|
+
#endif
|
|
133
|
+
|
|
134
|
+
#ifndef STRING_UNICODE_THROW
|
|
135
|
+
#define STRING_UNICODE_THROW throw()
|
|
136
|
+
#endif
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
inline char MyCharUpper_Ascii(char c)
|
|
140
|
+
{
|
|
141
|
+
if (c >= 'a' && c <= 'z')
|
|
142
|
+
return (char)((unsigned char)c - 0x20);
|
|
143
|
+
return c;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/*
|
|
147
|
+
inline wchar_t MyCharUpper_Ascii(wchar_t c)
|
|
148
|
+
{
|
|
149
|
+
if (c >= 'a' && c <= 'z')
|
|
150
|
+
return (wchar_t)(c - 0x20);
|
|
151
|
+
return c;
|
|
152
|
+
}
|
|
153
|
+
*/
|
|
154
|
+
|
|
155
|
+
inline char MyCharLower_Ascii(char c)
|
|
156
|
+
{
|
|
157
|
+
if (c >= 'A' && c <= 'Z')
|
|
158
|
+
return (char)((unsigned char)c + 0x20);
|
|
159
|
+
return c;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
inline wchar_t MyCharLower_Ascii(wchar_t c)
|
|
163
|
+
{
|
|
164
|
+
if (c >= 'A' && c <= 'Z')
|
|
165
|
+
return (wchar_t)(c + 0x20);
|
|
166
|
+
return c;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
wchar_t MyCharUpper_WIN(wchar_t c) throw();
|
|
170
|
+
|
|
171
|
+
inline wchar_t MyCharUpper(wchar_t c) throw()
|
|
172
|
+
{
|
|
173
|
+
if (c < 'a') return c;
|
|
174
|
+
if (c <= 'z') return (wchar_t)(c - 0x20);
|
|
175
|
+
if (c <= 0x7F) return c;
|
|
176
|
+
#ifdef _WIN32
|
|
177
|
+
#ifdef _UNICODE
|
|
178
|
+
return (wchar_t)(unsigned)(UINT_PTR)CharUpperW((LPWSTR)(UINT_PTR)(unsigned)c);
|
|
179
|
+
#else
|
|
180
|
+
return (wchar_t)MyCharUpper_WIN(c);
|
|
181
|
+
#endif
|
|
182
|
+
#else
|
|
183
|
+
return (wchar_t)towupper((wint_t)c);
|
|
184
|
+
#endif
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/*
|
|
188
|
+
wchar_t MyCharLower_WIN(wchar_t c) throw();
|
|
189
|
+
|
|
190
|
+
inline wchar_t MyCharLower(wchar_t c) throw()
|
|
191
|
+
{
|
|
192
|
+
if (c < 'A') return c;
|
|
193
|
+
if (c <= 'Z') return (wchar_t)(c + 0x20);
|
|
194
|
+
if (c <= 0x7F) return c;
|
|
195
|
+
#ifdef _WIN32
|
|
196
|
+
#ifdef _UNICODE
|
|
197
|
+
return (wchar_t)(unsigned)(UINT_PTR)CharLowerW((LPWSTR)(UINT_PTR)(unsigned)c);
|
|
198
|
+
#else
|
|
199
|
+
return (wchar_t)MyCharLower_WIN(c);
|
|
200
|
+
#endif
|
|
201
|
+
#else
|
|
202
|
+
return (wchar_t)tolower(c);
|
|
203
|
+
#endif
|
|
204
|
+
}
|
|
205
|
+
*/
|
|
206
|
+
|
|
207
|
+
// char *MyStringUpper(char *s) throw();
|
|
208
|
+
// char *MyStringLower(char *s) throw();
|
|
209
|
+
|
|
210
|
+
// void MyStringUpper_Ascii(char *s) throw();
|
|
211
|
+
// void MyStringUpper_Ascii(wchar_t *s) throw();
|
|
212
|
+
void MyStringLower_Ascii(char *s) throw();
|
|
213
|
+
void MyStringLower_Ascii(wchar_t *s) throw();
|
|
214
|
+
// wchar_t *MyStringUpper(wchar_t *s) STRING_UNICODE_THROW;
|
|
215
|
+
// wchar_t *MyStringLower(wchar_t *s) STRING_UNICODE_THROW;
|
|
216
|
+
|
|
217
|
+
bool StringsAreEqualNoCase(const wchar_t *s1, const wchar_t *s2) throw();
|
|
218
|
+
|
|
219
|
+
bool IsString1PrefixedByString2(const char *s1, const char *s2) throw();
|
|
220
|
+
bool IsString1PrefixedByString2(const wchar_t *s1, const wchar_t *s2) throw();
|
|
221
|
+
bool IsString1PrefixedByString2(const wchar_t *s1, const char *s2) throw();
|
|
222
|
+
bool IsString1PrefixedByString2_NoCase_Ascii(const char *s1, const char *s2) throw();
|
|
223
|
+
bool IsString1PrefixedByString2_NoCase_Ascii(const wchar_t *u, const char *a) throw();
|
|
224
|
+
bool IsString1PrefixedByString2_NoCase(const wchar_t *s1, const wchar_t *s2) throw();
|
|
225
|
+
|
|
226
|
+
#define MyStringCompare(s1, s2) wcscmp(s1, s2)
|
|
227
|
+
int MyStringCompareNoCase(const wchar_t *s1, const wchar_t *s2) throw();
|
|
228
|
+
// int MyStringCompareNoCase_N(const wchar_t *s1, const wchar_t *s2, unsigned num) throw();
|
|
229
|
+
|
|
230
|
+
// ---------- ASCII ----------
|
|
231
|
+
// char values in ASCII strings must be less then 128
|
|
232
|
+
bool StringsAreEqual_Ascii(const char *u, const char *a) throw();
|
|
233
|
+
bool StringsAreEqual_Ascii(const wchar_t *u, const char *a) throw();
|
|
234
|
+
bool StringsAreEqualNoCase_Ascii(const char *s1, const char *s2) throw();
|
|
235
|
+
bool StringsAreEqualNoCase_Ascii(const wchar_t *s1, const char *s2) throw();
|
|
236
|
+
bool StringsAreEqualNoCase_Ascii(const wchar_t *s1, const wchar_t *s2) throw();
|
|
237
|
+
|
|
238
|
+
#define MY_STRING_DELETE(_p_) { delete [](_p_); }
|
|
239
|
+
// #define MY_STRING_DELETE(_p_) my_delete(_p_);
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
#define FORBID_STRING_OPS_2(cls, t) \
|
|
243
|
+
void Find(t) const; \
|
|
244
|
+
void Find(t, unsigned startIndex) const; \
|
|
245
|
+
void ReverseFind(t) const; \
|
|
246
|
+
void InsertAtFront(t); \
|
|
247
|
+
void RemoveChar(t); \
|
|
248
|
+
void Replace(t, t); \
|
|
249
|
+
|
|
250
|
+
#define FORBID_STRING_OPS(cls, t) \
|
|
251
|
+
explicit cls(t); \
|
|
252
|
+
explicit cls(const t *); \
|
|
253
|
+
cls &operator=(t); \
|
|
254
|
+
cls &operator=(const t *); \
|
|
255
|
+
cls &operator+=(t); \
|
|
256
|
+
cls &operator+=(const t *); \
|
|
257
|
+
FORBID_STRING_OPS_2(cls, t) \
|
|
258
|
+
|
|
259
|
+
/*
|
|
260
|
+
cls &operator+(t); \
|
|
261
|
+
cls &operator+(const t *); \
|
|
262
|
+
*/
|
|
263
|
+
|
|
264
|
+
#define FORBID_STRING_OPS_AString(t) FORBID_STRING_OPS(AString, t)
|
|
265
|
+
#define FORBID_STRING_OPS_UString(t) FORBID_STRING_OPS(UString, t)
|
|
266
|
+
#define FORBID_STRING_OPS_UString2(t) FORBID_STRING_OPS(UString2, t)
|
|
267
|
+
|
|
268
|
+
class AString
|
|
269
|
+
{
|
|
270
|
+
char *_chars;
|
|
271
|
+
unsigned _len;
|
|
272
|
+
unsigned _limit;
|
|
273
|
+
|
|
274
|
+
void MoveItems(unsigned dest, unsigned src)
|
|
275
|
+
{
|
|
276
|
+
memmove(_chars + dest, _chars + src, (size_t)(_len - src + 1) * sizeof(char));
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
void InsertSpace(unsigned &index, unsigned size);
|
|
280
|
+
|
|
281
|
+
void ReAlloc(unsigned newLimit);
|
|
282
|
+
void ReAlloc2(unsigned newLimit);
|
|
283
|
+
void SetStartLen(unsigned len);
|
|
284
|
+
|
|
285
|
+
Z7_NO_INLINE
|
|
286
|
+
void Grow_1();
|
|
287
|
+
void Grow(unsigned n);
|
|
288
|
+
|
|
289
|
+
AString(unsigned num, const char *s);
|
|
290
|
+
AString(unsigned num, const AString &s);
|
|
291
|
+
AString(const AString &s, char c); // it's for String + char
|
|
292
|
+
AString(const char *s1, unsigned num1, const char *s2, unsigned num2);
|
|
293
|
+
|
|
294
|
+
friend AString operator+(const AString &s, char c) { return AString(s, c); }
|
|
295
|
+
// friend AString operator+(char c, const AString &s); // is not supported
|
|
296
|
+
|
|
297
|
+
friend AString operator+(const AString &s1, const AString &s2);
|
|
298
|
+
friend AString operator+(const AString &s1, const char *s2);
|
|
299
|
+
friend AString operator+(const char *s1, const AString &s2);
|
|
300
|
+
|
|
301
|
+
// ---------- forbidden functions ----------
|
|
302
|
+
|
|
303
|
+
#ifdef MY_NATIVE_WCHAR_T_DEFINED
|
|
304
|
+
FORBID_STRING_OPS_AString(wchar_t)
|
|
305
|
+
#endif
|
|
306
|
+
|
|
307
|
+
FORBID_STRING_OPS_AString(signed char)
|
|
308
|
+
FORBID_STRING_OPS_AString(unsigned char)
|
|
309
|
+
FORBID_STRING_OPS_AString(short)
|
|
310
|
+
FORBID_STRING_OPS_AString(unsigned short)
|
|
311
|
+
FORBID_STRING_OPS_AString(int)
|
|
312
|
+
FORBID_STRING_OPS_AString(unsigned)
|
|
313
|
+
FORBID_STRING_OPS_AString(long)
|
|
314
|
+
FORBID_STRING_OPS_AString(unsigned long)
|
|
315
|
+
|
|
316
|
+
#ifdef DEBUG_FSTRING_INHERITS_ASTRING
|
|
317
|
+
AString(const FString &s);
|
|
318
|
+
AString &operator=(const FString &s);
|
|
319
|
+
AString &operator+=(const FString &s);
|
|
320
|
+
#endif
|
|
321
|
+
|
|
322
|
+
public:
|
|
323
|
+
explicit AString();
|
|
324
|
+
explicit AString(char c);
|
|
325
|
+
explicit AString(const char *s);
|
|
326
|
+
AString(const AString &s);
|
|
327
|
+
~AString() { MY_STRING_DELETE(_chars) }
|
|
328
|
+
|
|
329
|
+
unsigned Len() const { return _len; }
|
|
330
|
+
bool IsEmpty() const { return _len == 0; }
|
|
331
|
+
void Empty() { _len = 0; _chars[0] = 0; }
|
|
332
|
+
|
|
333
|
+
operator const char *() const { return _chars; }
|
|
334
|
+
char *Ptr_non_const() const { return _chars; }
|
|
335
|
+
const char *Ptr() const { return _chars; }
|
|
336
|
+
const char *Ptr(unsigned pos) const { return _chars + pos; }
|
|
337
|
+
const char *Ptr(int pos) const { return _chars + (unsigned)pos; }
|
|
338
|
+
const char *RightPtr(unsigned num) const { return _chars + _len - num; }
|
|
339
|
+
char Back() const { return _chars[(size_t)_len - 1]; }
|
|
340
|
+
|
|
341
|
+
void ReplaceOneCharAtPos(unsigned pos, char c) { _chars[pos] = c; }
|
|
342
|
+
|
|
343
|
+
char *GetBuf() { return _chars; }
|
|
344
|
+
/* GetBuf(minLen): provides the buffer that can store
|
|
345
|
+
at least (minLen) characters and additional null terminator.
|
|
346
|
+
9.35: GetBuf doesn't preserve old characters and terminator */
|
|
347
|
+
char *GetBuf(unsigned minLen)
|
|
348
|
+
{
|
|
349
|
+
if (minLen > _limit)
|
|
350
|
+
ReAlloc2(minLen);
|
|
351
|
+
return _chars;
|
|
352
|
+
}
|
|
353
|
+
char *GetBuf_SetEnd(unsigned minLen)
|
|
354
|
+
{
|
|
355
|
+
if (minLen > _limit)
|
|
356
|
+
ReAlloc2(minLen);
|
|
357
|
+
char *chars = _chars;
|
|
358
|
+
chars[minLen] = 0;
|
|
359
|
+
_len = minLen;
|
|
360
|
+
return chars;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
void ReleaseBuf_SetLen(unsigned newLen) { _len = newLen; }
|
|
364
|
+
void ReleaseBuf_SetEnd(unsigned newLen) { _len = newLen; _chars[newLen] = 0; }
|
|
365
|
+
void ReleaseBuf_CalcLen(unsigned maxLen)
|
|
366
|
+
{
|
|
367
|
+
char *chars = _chars;
|
|
368
|
+
chars[maxLen] = 0;
|
|
369
|
+
_len = MyStringLen(chars);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
AString &operator=(char c);
|
|
373
|
+
AString &operator=(const char *s);
|
|
374
|
+
AString &operator=(const AString &s);
|
|
375
|
+
void SetFromWStr_if_Ascii(const wchar_t *s);
|
|
376
|
+
// void SetFromBstr_if_Ascii(BSTR s);
|
|
377
|
+
|
|
378
|
+
// private:
|
|
379
|
+
Z7_FORCE_INLINE
|
|
380
|
+
AString &operator+=(char c)
|
|
381
|
+
{
|
|
382
|
+
if (_limit == _len)
|
|
383
|
+
Grow_1();
|
|
384
|
+
unsigned len = _len;
|
|
385
|
+
char *chars = _chars;
|
|
386
|
+
chars[len++] = c;
|
|
387
|
+
chars[len] = 0;
|
|
388
|
+
_len = len;
|
|
389
|
+
return *this;
|
|
390
|
+
}
|
|
391
|
+
public:
|
|
392
|
+
void Add_Space();
|
|
393
|
+
void Add_Space_if_NotEmpty();
|
|
394
|
+
void Add_OptSpaced(const char *s);
|
|
395
|
+
void Add_Char(char c);
|
|
396
|
+
void Add_LF();
|
|
397
|
+
void Add_Slash();
|
|
398
|
+
void Add_Dot();
|
|
399
|
+
void Add_Minus();
|
|
400
|
+
void Add_Colon();
|
|
401
|
+
void Add_PathSepar() { operator+=(CHAR_PATH_SEPARATOR); }
|
|
402
|
+
|
|
403
|
+
AString &operator+=(const char *s);
|
|
404
|
+
AString &operator+=(const AString &s);
|
|
405
|
+
|
|
406
|
+
void Add_UInt32(UInt32 v);
|
|
407
|
+
void Add_UInt64(UInt64 v);
|
|
408
|
+
|
|
409
|
+
void AddFrom(const char *s, unsigned len); // no check
|
|
410
|
+
void SetFrom(const char *s, unsigned len); // no check
|
|
411
|
+
void SetFrom_Chars_SizeT(const char* s, size_t len); // no check
|
|
412
|
+
void SetFrom(const char* s, int len) // no check
|
|
413
|
+
{
|
|
414
|
+
SetFrom(s, (unsigned)len); // no check
|
|
415
|
+
}
|
|
416
|
+
void SetFrom_CalcLen(const char *s, unsigned len);
|
|
417
|
+
|
|
418
|
+
AString Mid(unsigned startIndex, unsigned count) const { return AString(count, _chars + startIndex); }
|
|
419
|
+
AString Left(unsigned count) const { return AString(count, *this); }
|
|
420
|
+
// void MakeUpper() { MyStringUpper(_chars); }
|
|
421
|
+
// void MakeLower() { MyStringLower(_chars); }
|
|
422
|
+
void MakeLower_Ascii() { MyStringLower_Ascii(_chars); }
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
bool IsEqualTo(const char *s) const { return strcmp(_chars, s) == 0; }
|
|
426
|
+
bool IsEqualTo_Ascii_NoCase(const char *s) const { return StringsAreEqualNoCase_Ascii(_chars, s); }
|
|
427
|
+
// int Compare(const char *s) const { return MyStringCompare(_chars, s); }
|
|
428
|
+
// int Compare(const AString &s) const { return MyStringCompare(_chars, s._chars); }
|
|
429
|
+
// int CompareNoCase(const char *s) const { return MyStringCompareNoCase(_chars, s); }
|
|
430
|
+
// int CompareNoCase(const AString &s) const { return MyStringCompareNoCase(_chars, s._chars); }
|
|
431
|
+
bool IsPrefixedBy(const char *s) const { return IsString1PrefixedByString2(_chars, s); }
|
|
432
|
+
bool IsPrefixedBy_Ascii_NoCase(const char *s) const { return IsString1PrefixedByString2_NoCase_Ascii(_chars, s); }
|
|
433
|
+
|
|
434
|
+
bool IsAscii() const
|
|
435
|
+
{
|
|
436
|
+
const unsigned len = Len();
|
|
437
|
+
const char *s = _chars;
|
|
438
|
+
for (unsigned i = 0; i < len; i++)
|
|
439
|
+
if ((unsigned char)s[i] >= 0x80)
|
|
440
|
+
return false;
|
|
441
|
+
return true;
|
|
442
|
+
}
|
|
443
|
+
int Find(char c) const { return FindCharPosInString(_chars, c); }
|
|
444
|
+
int Find(char c, unsigned startIndex) const
|
|
445
|
+
{
|
|
446
|
+
const int pos = FindCharPosInString(_chars + startIndex, c);
|
|
447
|
+
return pos < 0 ? -1 : (int)startIndex + pos;
|
|
448
|
+
}
|
|
449
|
+
int Find(char c, int startIndex) const
|
|
450
|
+
{
|
|
451
|
+
return Find(c, (unsigned)startIndex);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
int ReverseFind(char c) const throw();
|
|
455
|
+
int ReverseFind_Dot() const throw() { return ReverseFind('.'); }
|
|
456
|
+
int ReverseFind_PathSepar() const throw();
|
|
457
|
+
|
|
458
|
+
int Find(const char *s) const { return Find(s, 0); }
|
|
459
|
+
int Find(const char *s, unsigned startIndex) const throw();
|
|
460
|
+
|
|
461
|
+
void TrimLeft() throw();
|
|
462
|
+
void TrimRight() throw();
|
|
463
|
+
void Trim()
|
|
464
|
+
{
|
|
465
|
+
TrimRight();
|
|
466
|
+
TrimLeft();
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
void InsertAtFront(char c);
|
|
470
|
+
// void Insert(unsigned index, char c);
|
|
471
|
+
void Insert(unsigned index, const char *s);
|
|
472
|
+
void Insert(unsigned index, const AString &s);
|
|
473
|
+
|
|
474
|
+
void RemoveChar(char ch) throw();
|
|
475
|
+
|
|
476
|
+
void Replace(char oldChar, char newChar) throw();
|
|
477
|
+
void Replace(const AString &oldString, const AString &newString);
|
|
478
|
+
|
|
479
|
+
void Delete(unsigned index) throw();
|
|
480
|
+
void Delete(unsigned index, unsigned count) throw();
|
|
481
|
+
void DeleteFrontal(unsigned num) throw();
|
|
482
|
+
void DeleteBack() { _chars[--_len] = 0; }
|
|
483
|
+
void DeleteFrom(unsigned index)
|
|
484
|
+
{
|
|
485
|
+
if (index < _len)
|
|
486
|
+
{
|
|
487
|
+
_len = index;
|
|
488
|
+
_chars[index] = 0;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
void DeleteFrom(int index)
|
|
492
|
+
{
|
|
493
|
+
DeleteFrom((unsigned)index);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
void Wipe_and_Empty()
|
|
498
|
+
{
|
|
499
|
+
if (_chars)
|
|
500
|
+
{
|
|
501
|
+
memset(_chars, 0, (_limit + 1) * sizeof(*_chars));
|
|
502
|
+
_len = 0;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
class AString_Wipe: public AString
|
|
509
|
+
{
|
|
510
|
+
Z7_CLASS_NO_COPY(AString_Wipe)
|
|
511
|
+
public:
|
|
512
|
+
AString_Wipe(): AString() {}
|
|
513
|
+
// AString_Wipe(const AString &s): AString(s) {}
|
|
514
|
+
// AString_Wipe &operator=(const AString &s) { AString::operator=(s); return *this; }
|
|
515
|
+
// AString_Wipe &operator=(const char *s) { AString::operator=(s); return *this; }
|
|
516
|
+
~AString_Wipe() { Wipe_and_Empty(); }
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
bool operator<(const AString &s1, const AString &s2);
|
|
521
|
+
bool operator>(const AString &s1, const AString &s2);
|
|
522
|
+
|
|
523
|
+
/*
|
|
524
|
+
bool operator==(const AString &s1, const AString &s2);
|
|
525
|
+
bool operator==(const AString &s1, const char *s2);
|
|
526
|
+
bool operator==(const char *s1, const AString &s2);
|
|
527
|
+
|
|
528
|
+
bool operator!=(const AString &s1, const AString &s2);
|
|
529
|
+
bool operator!=(const AString &s1, const char *s2);
|
|
530
|
+
bool operator!=(const char *s1, const AString &s2);
|
|
531
|
+
*/
|
|
532
|
+
|
|
533
|
+
inline bool operator==(const AString &s1, const AString &s2) { return s1.Len() == s2.Len() && strcmp(s1, s2) == 0; }
|
|
534
|
+
inline bool operator==(const AString &s1, const char *s2) { return strcmp(s1, s2) == 0; }
|
|
535
|
+
inline bool operator==(const char *s1, const AString &s2) { return strcmp(s1, s2) == 0; }
|
|
536
|
+
|
|
537
|
+
inline bool operator!=(const AString &s1, const AString &s2) { return s1.Len() != s2.Len() || strcmp(s1, s2) != 0; }
|
|
538
|
+
inline bool operator!=(const AString &s1, const char *s2) { return strcmp(s1, s2) != 0; }
|
|
539
|
+
inline bool operator!=(const char *s1, const AString &s2) { return strcmp(s1, s2) != 0; }
|
|
540
|
+
|
|
541
|
+
// ---------- forbidden functions ----------
|
|
542
|
+
|
|
543
|
+
void operator==(char c1, const AString &s2);
|
|
544
|
+
void operator==(const AString &s1, char c2);
|
|
545
|
+
|
|
546
|
+
void operator+(char c, const AString &s); // this function can be OK, but we don't use it
|
|
547
|
+
|
|
548
|
+
void operator+(const AString &s, int c);
|
|
549
|
+
void operator+(const AString &s, unsigned c);
|
|
550
|
+
void operator+(int c, const AString &s);
|
|
551
|
+
void operator+(unsigned c, const AString &s);
|
|
552
|
+
void operator-(const AString &s, int c);
|
|
553
|
+
void operator-(const AString &s, unsigned c);
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
class UString
|
|
557
|
+
{
|
|
558
|
+
wchar_t *_chars;
|
|
559
|
+
unsigned _len;
|
|
560
|
+
unsigned _limit;
|
|
561
|
+
|
|
562
|
+
void MoveItems(unsigned dest, unsigned src)
|
|
563
|
+
{
|
|
564
|
+
memmove(_chars + dest, _chars + src, (size_t)(_len - src + 1) * sizeof(wchar_t));
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
void InsertSpace(unsigned index, unsigned size);
|
|
568
|
+
|
|
569
|
+
void ReAlloc(unsigned newLimit);
|
|
570
|
+
void ReAlloc2(unsigned newLimit);
|
|
571
|
+
void SetStartLen(unsigned len);
|
|
572
|
+
void Grow_1();
|
|
573
|
+
void Grow(unsigned n);
|
|
574
|
+
|
|
575
|
+
UString(unsigned num, const wchar_t *s); // for Mid
|
|
576
|
+
UString(unsigned num, const UString &s); // for Left
|
|
577
|
+
UString(const UString &s, wchar_t c); // it's for String + char
|
|
578
|
+
UString(const wchar_t *s1, unsigned num1, const wchar_t *s2, unsigned num2);
|
|
579
|
+
|
|
580
|
+
friend UString operator+(const UString &s, wchar_t c) { return UString(s, c); }
|
|
581
|
+
// friend UString operator+(wchar_t c, const UString &s); // is not supported
|
|
582
|
+
|
|
583
|
+
friend UString operator+(const UString &s1, const UString &s2);
|
|
584
|
+
friend UString operator+(const UString &s1, const wchar_t *s2);
|
|
585
|
+
friend UString operator+(const wchar_t *s1, const UString &s2);
|
|
586
|
+
|
|
587
|
+
// ---------- forbidden functions ----------
|
|
588
|
+
|
|
589
|
+
FORBID_STRING_OPS_UString(signed char)
|
|
590
|
+
FORBID_STRING_OPS_UString(unsigned char)
|
|
591
|
+
FORBID_STRING_OPS_UString(short)
|
|
592
|
+
|
|
593
|
+
#ifdef MY_NATIVE_WCHAR_T_DEFINED
|
|
594
|
+
FORBID_STRING_OPS_UString(unsigned short)
|
|
595
|
+
#endif
|
|
596
|
+
|
|
597
|
+
FORBID_STRING_OPS_UString(int)
|
|
598
|
+
FORBID_STRING_OPS_UString(unsigned)
|
|
599
|
+
FORBID_STRING_OPS_UString(long)
|
|
600
|
+
FORBID_STRING_OPS_UString(unsigned long)
|
|
601
|
+
|
|
602
|
+
FORBID_STRING_OPS_2(UString, char)
|
|
603
|
+
|
|
604
|
+
#ifdef DEBUG_FSTRING_INHERITS_ASTRING
|
|
605
|
+
UString(const FString &s);
|
|
606
|
+
UString &operator=(const FString &s);
|
|
607
|
+
UString &operator+=(const FString &s);
|
|
608
|
+
#endif
|
|
609
|
+
|
|
610
|
+
public:
|
|
611
|
+
UString();
|
|
612
|
+
explicit UString(wchar_t c);
|
|
613
|
+
explicit UString(char c);
|
|
614
|
+
explicit UString(const char *s);
|
|
615
|
+
explicit UString(const AString &s);
|
|
616
|
+
UString(const wchar_t *s);
|
|
617
|
+
UString(const UString &s);
|
|
618
|
+
~UString() { MY_STRING_DELETE(_chars) }
|
|
619
|
+
|
|
620
|
+
unsigned Len() const { return _len; }
|
|
621
|
+
bool IsEmpty() const { return _len == 0; }
|
|
622
|
+
void Empty() { _len = 0; _chars[0] = 0; }
|
|
623
|
+
|
|
624
|
+
operator const wchar_t *() const { return _chars; }
|
|
625
|
+
wchar_t *Ptr_non_const() const { return _chars; }
|
|
626
|
+
const wchar_t *Ptr() const { return _chars; }
|
|
627
|
+
const wchar_t *Ptr(int pos) const { return _chars + (unsigned)pos; }
|
|
628
|
+
const wchar_t *Ptr(unsigned pos) const { return _chars + pos; }
|
|
629
|
+
const wchar_t *RightPtr(unsigned num) const { return _chars + _len - num; }
|
|
630
|
+
wchar_t Back() const { return _chars[(size_t)_len - 1]; }
|
|
631
|
+
|
|
632
|
+
void ReplaceOneCharAtPos(unsigned pos, wchar_t c) { _chars[pos] = c; }
|
|
633
|
+
|
|
634
|
+
wchar_t *GetBuf() { return _chars; }
|
|
635
|
+
|
|
636
|
+
/*
|
|
637
|
+
wchar_t *GetBuf_GetMaxAvail(unsigned &availBufLen)
|
|
638
|
+
{
|
|
639
|
+
availBufLen = _limit;
|
|
640
|
+
return _chars;
|
|
641
|
+
}
|
|
642
|
+
*/
|
|
643
|
+
|
|
644
|
+
wchar_t *GetBuf(unsigned minLen)
|
|
645
|
+
{
|
|
646
|
+
if (minLen > _limit)
|
|
647
|
+
ReAlloc2(minLen);
|
|
648
|
+
return _chars;
|
|
649
|
+
}
|
|
650
|
+
wchar_t *GetBuf_SetEnd(unsigned minLen)
|
|
651
|
+
{
|
|
652
|
+
if (minLen > _limit)
|
|
653
|
+
ReAlloc2(minLen);
|
|
654
|
+
wchar_t *chars = _chars;
|
|
655
|
+
chars[minLen] = 0;
|
|
656
|
+
_len = minLen;
|
|
657
|
+
return chars;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
void ReleaseBuf_SetLen(unsigned newLen) { _len = newLen; }
|
|
661
|
+
void ReleaseBuf_SetEnd(unsigned newLen) { _len = newLen; _chars[newLen] = 0; }
|
|
662
|
+
void ReleaseBuf_CalcLen(unsigned maxLen)
|
|
663
|
+
{
|
|
664
|
+
wchar_t *chars = _chars;
|
|
665
|
+
chars[maxLen] = 0;
|
|
666
|
+
_len = MyStringLen(chars);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
UString &operator=(wchar_t c);
|
|
670
|
+
UString &operator=(char c) { return (*this)=((wchar_t)(unsigned char)c); }
|
|
671
|
+
UString &operator=(const wchar_t *s);
|
|
672
|
+
UString &operator=(const UString &s);
|
|
673
|
+
void SetFrom(const wchar_t *s, unsigned len); // no check
|
|
674
|
+
void SetFromBstr(LPCOLESTR s);
|
|
675
|
+
UString &operator=(const char *s);
|
|
676
|
+
UString &operator=(const AString &s) { return operator=(s.Ptr()); }
|
|
677
|
+
|
|
678
|
+
// private:
|
|
679
|
+
Z7_FORCE_INLINE
|
|
680
|
+
UString &operator+=(wchar_t c)
|
|
681
|
+
{
|
|
682
|
+
if (_limit == _len)
|
|
683
|
+
Grow_1();
|
|
684
|
+
unsigned len = _len;
|
|
685
|
+
wchar_t *chars = _chars;
|
|
686
|
+
chars[len++] = c;
|
|
687
|
+
chars[len] = 0;
|
|
688
|
+
_len = len;
|
|
689
|
+
return *this;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
private:
|
|
693
|
+
UString &operator+=(char c); // { return (*this)+=((wchar_t)(unsigned char)c); }
|
|
694
|
+
public:
|
|
695
|
+
void Add_Char(char c);
|
|
696
|
+
// void Add_WChar(wchar_t c);
|
|
697
|
+
void Add_Space();
|
|
698
|
+
void Add_Space_if_NotEmpty();
|
|
699
|
+
void Add_LF();
|
|
700
|
+
void Add_Dot();
|
|
701
|
+
void Add_Minus();
|
|
702
|
+
void Add_Colon();
|
|
703
|
+
void Add_PathSepar() { operator+=(WCHAR_PATH_SEPARATOR); }
|
|
704
|
+
|
|
705
|
+
UString &operator+=(const wchar_t *s);
|
|
706
|
+
UString &operator+=(const UString &s);
|
|
707
|
+
UString &operator+=(const char *s);
|
|
708
|
+
UString &operator+=(const AString &s) { return operator+=(s.Ptr()); }
|
|
709
|
+
|
|
710
|
+
void Add_UInt32(UInt32 v);
|
|
711
|
+
void Add_UInt64(UInt64 v);
|
|
712
|
+
|
|
713
|
+
UString Mid(unsigned startIndex, unsigned count) const { return UString(count, _chars + startIndex); }
|
|
714
|
+
UString Left(unsigned count) const { return UString(count, *this); }
|
|
715
|
+
UString Left(int count) const { return Left((unsigned)count); }
|
|
716
|
+
|
|
717
|
+
// void MakeUpper() { MyStringUpper(_chars); }
|
|
718
|
+
// void MakeUpper() { MyStringUpper_Ascii(_chars); }
|
|
719
|
+
// void MakeUpper_Ascii() { MyStringUpper_Ascii(_chars); }
|
|
720
|
+
void MakeLower_Ascii() { MyStringLower_Ascii(_chars); }
|
|
721
|
+
|
|
722
|
+
bool IsEqualTo(const char *s) const { return StringsAreEqual_Ascii(_chars, s); }
|
|
723
|
+
bool IsEqualTo_NoCase(const wchar_t *s) const { return StringsAreEqualNoCase(_chars, s); }
|
|
724
|
+
bool IsEqualTo_Ascii_NoCase(const char *s) const { return StringsAreEqualNoCase_Ascii(_chars, s); }
|
|
725
|
+
int Compare(const wchar_t *s) const { return wcscmp(_chars, s); }
|
|
726
|
+
// int Compare(const UString &s) const { return MyStringCompare(_chars, s._chars); }
|
|
727
|
+
// int CompareNoCase(const wchar_t *s) const { return MyStringCompareNoCase(_chars, s); }
|
|
728
|
+
// int CompareNoCase(const UString &s) const { return MyStringCompareNoCase(_chars, s._chars); }
|
|
729
|
+
bool IsPrefixedBy(const wchar_t *s) const { return IsString1PrefixedByString2(_chars, s); }
|
|
730
|
+
bool IsPrefixedBy(const char *s) const { return IsString1PrefixedByString2(_chars, s); }
|
|
731
|
+
bool IsPrefixedBy_NoCase(const wchar_t *s) const { return IsString1PrefixedByString2_NoCase(_chars, s); }
|
|
732
|
+
bool IsPrefixedBy_Ascii_NoCase(const char *s) const { return IsString1PrefixedByString2_NoCase_Ascii(_chars, s); }
|
|
733
|
+
|
|
734
|
+
bool IsAscii() const
|
|
735
|
+
{
|
|
736
|
+
const unsigned len = Len();
|
|
737
|
+
const wchar_t *s = _chars;
|
|
738
|
+
for (unsigned i = 0; i < len; i++)
|
|
739
|
+
if ((unsigned)(int)s[i] >= 0x80)
|
|
740
|
+
return false;
|
|
741
|
+
return true;
|
|
742
|
+
}
|
|
743
|
+
int Find(wchar_t c) const { return FindCharPosInString(_chars, c); }
|
|
744
|
+
int Find(wchar_t c, unsigned startIndex) const
|
|
745
|
+
{
|
|
746
|
+
const int pos = FindCharPosInString(_chars + startIndex, c);
|
|
747
|
+
return pos < 0 ? -1 : (int)startIndex + pos;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
int ReverseFind(wchar_t c) const throw();
|
|
751
|
+
int ReverseFind_Dot() const throw() { return ReverseFind(L'.'); }
|
|
752
|
+
int ReverseFind_PathSepar() const throw();
|
|
753
|
+
|
|
754
|
+
int Find(const wchar_t *s) const { return Find(s, 0); }
|
|
755
|
+
int Find(const wchar_t *s, unsigned startIndex) const throw();
|
|
756
|
+
|
|
757
|
+
void TrimLeft() throw();
|
|
758
|
+
void TrimRight() throw();
|
|
759
|
+
void Trim()
|
|
760
|
+
{
|
|
761
|
+
TrimRight();
|
|
762
|
+
TrimLeft();
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
void InsertAtFront(wchar_t c);
|
|
766
|
+
// void Insert_wchar_t(unsigned index, wchar_t c);
|
|
767
|
+
void Insert(unsigned index, const wchar_t *s);
|
|
768
|
+
void Insert(unsigned index, const UString &s);
|
|
769
|
+
|
|
770
|
+
void RemoveChar(wchar_t ch) throw();
|
|
771
|
+
|
|
772
|
+
void Replace(wchar_t oldChar, wchar_t newChar) throw();
|
|
773
|
+
void Replace(const UString &oldString, const UString &newString);
|
|
774
|
+
|
|
775
|
+
void Delete(int index) throw() { Delete((unsigned)index); }
|
|
776
|
+
void Delete(unsigned index) throw();
|
|
777
|
+
void Delete(unsigned index, unsigned count) throw();
|
|
778
|
+
void DeleteFrontal(unsigned num) throw();
|
|
779
|
+
void DeleteBack() { _chars[--_len] = 0; }
|
|
780
|
+
void DeleteFrom(int index) { DeleteFrom((unsigned)index); }
|
|
781
|
+
void DeleteFrom(unsigned index)
|
|
782
|
+
{
|
|
783
|
+
if (index < _len)
|
|
784
|
+
{
|
|
785
|
+
_len = index;
|
|
786
|
+
_chars[index] = 0;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
void Wipe_and_Empty()
|
|
791
|
+
{
|
|
792
|
+
if (_chars)
|
|
793
|
+
{
|
|
794
|
+
memset(_chars, 0, (_limit + 1) * sizeof(*_chars));
|
|
795
|
+
_len = 0;
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
class UString_Wipe: public UString
|
|
802
|
+
{
|
|
803
|
+
Z7_CLASS_NO_COPY(UString_Wipe)
|
|
804
|
+
public:
|
|
805
|
+
UString_Wipe(): UString() {}
|
|
806
|
+
// UString_Wipe(const UString &s): UString(s) {}
|
|
807
|
+
// UString_Wipe &operator=(const UString &s) { UString::operator=(s); return *this; }
|
|
808
|
+
// UString_Wipe &operator=(const wchar_t *s) { UString::operator=(s); return *this; }
|
|
809
|
+
~UString_Wipe() { Wipe_and_Empty(); }
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
bool operator<(const UString &s1, const UString &s2);
|
|
814
|
+
bool operator>(const UString &s1, const UString &s2);
|
|
815
|
+
|
|
816
|
+
inline bool operator==(const UString &s1, const UString &s2) { return s1.Len() == s2.Len() && wcscmp(s1, s2) == 0; }
|
|
817
|
+
inline bool operator==(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) == 0; }
|
|
818
|
+
inline bool operator==(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) == 0; }
|
|
819
|
+
|
|
820
|
+
inline bool operator!=(const UString &s1, const UString &s2) { return s1.Len() != s2.Len() || wcscmp(s1, s2) != 0; }
|
|
821
|
+
inline bool operator!=(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) != 0; }
|
|
822
|
+
inline bool operator!=(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) != 0; }
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
// ---------- forbidden functions ----------
|
|
826
|
+
|
|
827
|
+
void operator==(wchar_t c1, const UString &s2);
|
|
828
|
+
void operator==(const UString &s1, wchar_t c2);
|
|
829
|
+
|
|
830
|
+
void operator+(wchar_t c, const UString &s); // this function can be OK, but we don't use it
|
|
831
|
+
|
|
832
|
+
void operator+(const AString &s1, const UString &s2);
|
|
833
|
+
void operator+(const UString &s1, const AString &s2);
|
|
834
|
+
|
|
835
|
+
void operator+(const UString &s1, const char *s2);
|
|
836
|
+
void operator+(const char *s1, const UString &s2);
|
|
837
|
+
|
|
838
|
+
void operator+(const UString &s, char c);
|
|
839
|
+
void operator+(const UString &s, unsigned char c);
|
|
840
|
+
void operator+(char c, const UString &s);
|
|
841
|
+
void operator+(unsigned char c, const UString &s);
|
|
842
|
+
void operator-(const UString &s1, wchar_t c);
|
|
843
|
+
|
|
844
|
+
#ifdef _WIN32
|
|
845
|
+
// can we forbid these functions, if wchar_t is 32-bit ?
|
|
846
|
+
void operator+(const UString &s, int c);
|
|
847
|
+
void operator+(const UString &s, unsigned c);
|
|
848
|
+
void operator+(int c, const UString &s);
|
|
849
|
+
void operator+(unsigned c, const UString &s);
|
|
850
|
+
void operator-(const UString &s1, int c);
|
|
851
|
+
void operator-(const UString &s1, unsigned c);
|
|
852
|
+
#endif
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
class UString2
|
|
861
|
+
{
|
|
862
|
+
wchar_t *_chars;
|
|
863
|
+
unsigned _len;
|
|
864
|
+
|
|
865
|
+
void ReAlloc2(unsigned newLimit);
|
|
866
|
+
void SetStartLen(unsigned len);
|
|
867
|
+
|
|
868
|
+
// ---------- forbidden functions ----------
|
|
869
|
+
|
|
870
|
+
FORBID_STRING_OPS_UString2(char)
|
|
871
|
+
FORBID_STRING_OPS_UString2(signed char)
|
|
872
|
+
FORBID_STRING_OPS_UString2(unsigned char)
|
|
873
|
+
FORBID_STRING_OPS_UString2(short)
|
|
874
|
+
|
|
875
|
+
UString2 &operator=(wchar_t c);
|
|
876
|
+
|
|
877
|
+
UString2(const AString &s);
|
|
878
|
+
UString2 &operator=(const AString &s);
|
|
879
|
+
UString2 &operator+=(const AString &s);
|
|
880
|
+
|
|
881
|
+
#ifdef DEBUG_FSTRING_INHERITS_ASTRING
|
|
882
|
+
UString2(const FString &s);
|
|
883
|
+
UString2 &operator=(const FString &s);
|
|
884
|
+
UString2 &operator+=(const FString &s);
|
|
885
|
+
#endif
|
|
886
|
+
|
|
887
|
+
public:
|
|
888
|
+
UString2(): _chars(NULL), _len(0) {}
|
|
889
|
+
UString2(const wchar_t *s);
|
|
890
|
+
UString2(const UString2 &s);
|
|
891
|
+
~UString2() { if (_chars) { MY_STRING_DELETE(_chars) } }
|
|
892
|
+
|
|
893
|
+
unsigned Len() const { return _len; }
|
|
894
|
+
bool IsEmpty() const { return _len == 0; }
|
|
895
|
+
// void Empty() { _len = 0; _chars[0] = 0; }
|
|
896
|
+
|
|
897
|
+
// operator const wchar_t *() const { return _chars; }
|
|
898
|
+
const wchar_t *GetRawPtr() const { return _chars; }
|
|
899
|
+
|
|
900
|
+
int Compare(const wchar_t *s) const { return wcscmp(_chars, s); }
|
|
901
|
+
|
|
902
|
+
wchar_t *GetBuf(unsigned minLen)
|
|
903
|
+
{
|
|
904
|
+
if (!_chars || minLen > _len)
|
|
905
|
+
ReAlloc2(minLen);
|
|
906
|
+
return _chars;
|
|
907
|
+
}
|
|
908
|
+
void ReleaseBuf_SetLen(unsigned newLen) { _len = newLen; }
|
|
909
|
+
|
|
910
|
+
UString2 &operator=(const wchar_t *s);
|
|
911
|
+
UString2 &operator=(const UString2 &s);
|
|
912
|
+
void SetFromAscii(const char *s);
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
bool operator==(const UString2 &s1, const UString2 &s2);
|
|
916
|
+
bool operator==(const UString2 &s1, const wchar_t *s2);
|
|
917
|
+
bool operator==(const wchar_t *s1, const UString2 &s2);
|
|
918
|
+
|
|
919
|
+
inline bool operator!=(const UString2 &s1, const UString2 &s2) { return !(s1 == s2); }
|
|
920
|
+
inline bool operator!=(const UString2 &s1, const wchar_t *s2) { return !(s1 == s2); }
|
|
921
|
+
inline bool operator!=(const wchar_t *s1, const UString2 &s2) { return !(s1 == s2); }
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
// ---------- forbidden functions ----------
|
|
925
|
+
|
|
926
|
+
void operator==(wchar_t c1, const UString2 &s2);
|
|
927
|
+
void operator==(const UString2 &s1, wchar_t c2);
|
|
928
|
+
bool operator<(const UString2 &s1, const UString2 &s2);
|
|
929
|
+
bool operator>(const UString2 &s1, const UString2 &s2);
|
|
930
|
+
|
|
931
|
+
void operator+(const UString2 &s1, const UString2 &s2);
|
|
932
|
+
void operator+(const UString2 &s1, const wchar_t *s2);
|
|
933
|
+
void operator+(const wchar_t *s1, const UString2 &s2);
|
|
934
|
+
void operator+(wchar_t c, const UString2 &s);
|
|
935
|
+
void operator+(const UString2 &s, wchar_t c);
|
|
936
|
+
void operator+(const UString2 &s, char c);
|
|
937
|
+
void operator+(const UString2 &s, unsigned char c);
|
|
938
|
+
void operator+(char c, const UString2 &s);
|
|
939
|
+
void operator+(unsigned char c, const UString2 &s);
|
|
940
|
+
void operator-(const UString2 &s1, wchar_t c);
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
typedef CObjectVector<AString> AStringVector;
|
|
948
|
+
typedef CObjectVector<UString> UStringVector;
|
|
949
|
+
|
|
950
|
+
#ifdef _UNICODE
|
|
951
|
+
typedef UString CSysString;
|
|
952
|
+
#else
|
|
953
|
+
typedef AString CSysString;
|
|
954
|
+
#endif
|
|
955
|
+
|
|
956
|
+
typedef CObjectVector<CSysString> CSysStringVector;
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
// ---------- FString ----------
|
|
960
|
+
|
|
961
|
+
#ifndef DEBUG_FSTRING_INHERITS_ASTRING
|
|
962
|
+
#ifdef _WIN32
|
|
963
|
+
#define USE_UNICODE_FSTRING
|
|
964
|
+
#endif
|
|
965
|
+
#endif
|
|
966
|
+
|
|
967
|
+
#ifdef USE_UNICODE_FSTRING
|
|
968
|
+
|
|
969
|
+
#define MY_FTEXT(quote) L##quote
|
|
970
|
+
|
|
971
|
+
typedef wchar_t FChar;
|
|
972
|
+
typedef UString FString;
|
|
973
|
+
|
|
974
|
+
#define fs2us(_x_) (_x_)
|
|
975
|
+
#define us2fs(_x_) (_x_)
|
|
976
|
+
FString fas2fs(const char *s);
|
|
977
|
+
FString fas2fs(const AString &s);
|
|
978
|
+
AString fs2fas(const FChar *s);
|
|
979
|
+
|
|
980
|
+
#else // USE_UNICODE_FSTRING
|
|
981
|
+
|
|
982
|
+
#define MY_FTEXT(quote) quote
|
|
983
|
+
|
|
984
|
+
typedef char FChar;
|
|
985
|
+
|
|
986
|
+
#ifdef DEBUG_FSTRING_INHERITS_ASTRING
|
|
987
|
+
|
|
988
|
+
class FString: public AString
|
|
989
|
+
{
|
|
990
|
+
// FString &operator=(const char *s);
|
|
991
|
+
FString &operator=(const AString &s);
|
|
992
|
+
// FString &operator+=(const AString &s);
|
|
993
|
+
public:
|
|
994
|
+
FString(const AString &s): AString(s.Ptr()) {}
|
|
995
|
+
FString(const FString &s): AString(s.Ptr()) {}
|
|
996
|
+
FString(const char *s): AString(s) {}
|
|
997
|
+
FString() {}
|
|
998
|
+
FString &operator=(const FString &s) { AString::operator=((const AString &)s); return *this; }
|
|
999
|
+
FString &operator=(char c) { AString::operator=(c); return *this; }
|
|
1000
|
+
FString &operator+=(char c) { AString::operator+=(c); return *this; }
|
|
1001
|
+
FString &operator+=(const FString &s) { AString::operator+=((const AString &)s); return *this; }
|
|
1002
|
+
FString Left(unsigned count) const { return FString(AString::Left(count)); }
|
|
1003
|
+
};
|
|
1004
|
+
void operator+(const AString &s1, const FString &s2);
|
|
1005
|
+
void operator+(const FString &s1, const AString &s2);
|
|
1006
|
+
|
|
1007
|
+
inline FString operator+(const FString &s1, const FString &s2)
|
|
1008
|
+
{
|
|
1009
|
+
AString s =(const AString &)s1 + (const AString &)s2;
|
|
1010
|
+
return FString(s.Ptr());
|
|
1011
|
+
// return FString((const AString &)s1 + (const AString &)s2);
|
|
1012
|
+
}
|
|
1013
|
+
inline FString operator+(const FString &s1, const FChar *s2)
|
|
1014
|
+
{
|
|
1015
|
+
return s1 + (FString)s2;
|
|
1016
|
+
}
|
|
1017
|
+
/*
|
|
1018
|
+
inline FString operator+(const FChar *s1, const FString &s2)
|
|
1019
|
+
{
|
|
1020
|
+
return (FString)s1 + s2;
|
|
1021
|
+
}
|
|
1022
|
+
*/
|
|
1023
|
+
|
|
1024
|
+
inline FString fas2fs(const char *s) { return FString(s); }
|
|
1025
|
+
|
|
1026
|
+
#else // DEBUG_FSTRING_INHERITS_ASTRING
|
|
1027
|
+
typedef AString FString;
|
|
1028
|
+
#define fas2fs(_x_) (_x_)
|
|
1029
|
+
#endif // DEBUG_FSTRING_INHERITS_ASTRING
|
|
1030
|
+
|
|
1031
|
+
UString fs2us(const FChar *s);
|
|
1032
|
+
UString fs2us(const FString &s);
|
|
1033
|
+
FString us2fs(const wchar_t *s);
|
|
1034
|
+
#define fs2fas(_x_) (_x_)
|
|
1035
|
+
|
|
1036
|
+
#endif // USE_UNICODE_FSTRING
|
|
1037
|
+
|
|
1038
|
+
#define FTEXT(quote) MY_FTEXT(quote)
|
|
1039
|
+
|
|
1040
|
+
#define FCHAR_PATH_SEPARATOR FTEXT(CHAR_PATH_SEPARATOR)
|
|
1041
|
+
#define FSTRING_PATH_SEPARATOR FTEXT(STRING_PATH_SEPARATOR)
|
|
1042
|
+
|
|
1043
|
+
// #define FCHAR_ANY_MASK FTEXT('*')
|
|
1044
|
+
// #define FSTRING_ANY_MASK FTEXT("*")
|
|
1045
|
+
|
|
1046
|
+
typedef const FChar *CFSTR;
|
|
1047
|
+
|
|
1048
|
+
typedef CObjectVector<FString> FStringVector;
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
class CStringFinder
|
|
1052
|
+
{
|
|
1053
|
+
AString _temp;
|
|
1054
|
+
public:
|
|
1055
|
+
// list - is list of low case Ascii strings separated by space " ".
|
|
1056
|
+
// the function returns true, if it can find exact word (str) in (list).
|
|
1057
|
+
bool FindWord_In_LowCaseAsciiList_NoCase(const char *list, const wchar_t *str);
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
void SplitString(const UString &srcString, UStringVector &destStrings);
|
|
1061
|
+
|
|
1062
|
+
#endif
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
#if defined(_WIN32)
|
|
1067
|
+
// #include <wchar.h>
|
|
1068
|
+
// WCHAR_MAX is defined as ((wchar_t)-1)
|
|
1069
|
+
#define Z7_WCHART_IS_16BIT 1
|
|
1070
|
+
#elif (defined(WCHAR_MAX) && (WCHAR_MAX <= 0xffff)) \
|
|
1071
|
+
|| (defined(__SIZEOF_WCHAR_T__) && (__SIZEOF_WCHAR_T__ == 2))
|
|
1072
|
+
#define Z7_WCHART_IS_16BIT 1
|
|
1073
|
+
#endif
|
|
1074
|
+
|
|
1075
|
+
#if WCHAR_PATH_SEPARATOR == L'\\'
|
|
1076
|
+
// WSL scheme
|
|
1077
|
+
#define WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT ((wchar_t)((unsigned)(0xF000) + (unsigned)'\\'))
|
|
1078
|
+
// #define WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT '_'
|
|
1079
|
+
#endif
|