diff --git a/.gitattributes b/.gitattributes index bce2b7706d18c97b9c402d5d42c7aad5a963156c..ae1002c0b461d3483f8c3e6a95ea459546370df0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -203,3 +203,19 @@ miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/netlib.lib filter=lfs miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/windowscoreheadless.Lib filter=lfs diff=lfs merge=lfs -text miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/Uuid.Lib filter=lfs diff=lfs merge=lfs -text miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/WindowsApp.lib filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/ntstc_msvcrt.lib filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/xapobase.lib filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/windowscoreheadless_apiset.Lib filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/xapobase2_8.lib filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Redist/10.0.26100.0/ucrt/DLLs/x64/ucrtbase.dll filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/wsmsvc.lib filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Redist/D3D/x64/dxil.dll filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/ucrt/x64/libucrtd.lib filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Redist/D3D/x64/d3dcompiler_47.dll filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/um/x64/strmbase.lib filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Redist/D3D/x64/dxcompiler.dll filter=lfs diff=lfs merge=lfs -text +miniMSVC/Windows[[:space:]]Kits/10/Lib/10.0.26100.0/ucrt/x64/libucrt.lib filter=lfs diff=lfs merge=lfs -text +miniCUDA124/lib/x64/nvJitLink_static.lib filter=lfs diff=lfs merge=lfs -text +miniCUDA124/bin/cufft64_11.dll filter=lfs diff=lfs merge=lfs -text +miniCUDA124/bin/cublasLt64_12.dll filter=lfs diff=lfs merge=lfs -text +miniCUDA124/lib/x64/nvrtc_static.lib filter=lfs diff=lfs merge=lfs -text diff --git a/miniCUDA124/bin/cublasLt64_12.dll b/miniCUDA124/bin/cublasLt64_12.dll new file mode 100644 index 0000000000000000000000000000000000000000..f157e4bd451a2b7c9ff45a1f2edad9c976381edb --- /dev/null +++ b/miniCUDA124/bin/cublasLt64_12.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a896460bef60ed57ef32b0875812f355a6984e671d638bb632f5e8c1d7a831f +size 473551360 diff --git a/miniCUDA124/bin/cufft64_11.dll b/miniCUDA124/bin/cufft64_11.dll new file mode 100644 index 0000000000000000000000000000000000000000..044c41a3fbc12515f4700bfa4f6f85ec587a05ff --- /dev/null +++ b/miniCUDA124/bin/cufft64_11.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67f6fa9488c3b2bf15a126ddd3a823c5540764095c80aca4f2b165228c721f5e +size 291784192 diff --git a/miniCUDA124/lib/x64/nvJitLink_static.lib b/miniCUDA124/lib/x64/nvJitLink_static.lib new file mode 100644 index 0000000000000000000000000000000000000000..f427f98e96b117dfe344a5768435778d50321643 --- /dev/null +++ b/miniCUDA124/lib/x64/nvJitLink_static.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:304f6f5fd59bdb6aff01f95836549aebf5dd7c4a4942f25b8aba1b90188e17cd +size 329189146 diff --git a/miniCUDA124/lib/x64/nvrtc_static.lib b/miniCUDA124/lib/x64/nvrtc_static.lib new file mode 100644 index 0000000000000000000000000000000000000000..f54c2072d2b422c174be4d2a37d0bba440bdc350 --- /dev/null +++ b/miniCUDA124/lib/x64/nvrtc_static.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95e388597cc6641ac7113e274193dbc9797c795e42828b8f993a4be1ecb5c66a +size 341099798 diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/ucrt/x64/libucrt.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/ucrt/x64/libucrt.lib new file mode 100644 index 0000000000000000000000000000000000000000..1b9c4b0cfc9ed64bb428832fffc991139b773105 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/ucrt/x64/libucrt.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfcde5326615fc5c16fa66cc64187b0d6c83d1c14a285cebdc8c1e54ff7e3185 +size 42200464 diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/ucrt/x64/libucrtd.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/ucrt/x64/libucrtd.lib new file mode 100644 index 0000000000000000000000000000000000000000..e8621003d4e6f8acad4778420e9e0033eac29d4d --- /dev/null +++ b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/ucrt/x64/libucrtd.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d287945806715c9460ab493c231a8ea3da448ec1827a88dc08d1671fafa046b +size 42565758 diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSImg32.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSImg32.Lib new file mode 100644 index 0000000000000000000000000000000000000000..6ce4d4ad48327b6600e2dc7540176fe3635c61bf Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSImg32.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSRating.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSRating.Lib new file mode 100644 index 0000000000000000000000000000000000000000..7de62ed99faebc3a0bdbe7fa55e854f0607cc8e3 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSRating.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSTask.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSTask.Lib new file mode 100644 index 0000000000000000000000000000000000000000..c4e61df9f4624fef77dfb290370577a3a830ed25 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MSTask.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsWSock.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsWSock.Lib new file mode 100644 index 0000000000000000000000000000000000000000..1453a361ea440dd8c89ca294243d0f995224c361 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsWSock.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsXml.Tlb b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsXml.Tlb new file mode 100644 index 0000000000000000000000000000000000000000..e5e7147ac282a6967063d78812df1305e7920d78 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsXml.Tlb differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsXml2.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsXml2.Lib new file mode 100644 index 0000000000000000000000000000000000000000..cb67bc4027cc3087d5d61851e6cdf29ea7af167a Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/MsXml2.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Msi.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Msi.Lib new file mode 100644 index 0000000000000000000000000000000000000000..6c6806bc0a10ddd0296d631b411926ac5d718e45 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Msi.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Mtx.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Mtx.Lib new file mode 100644 index 0000000000000000000000000000000000000000..9fddd88dc7abcfc29918fcc20c05a48e314841c0 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Mtx.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetAPI32.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetAPI32.Lib new file mode 100644 index 0000000000000000000000000000000000000000..dc21d63c9511e7867e9ee92d4273d294d18c2ca1 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetAPI32.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetFW.TLB b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetFW.TLB new file mode 100644 index 0000000000000000000000000000000000000000..6628a0fad73078c88a3f0f5cb635ce844a7264cb Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetFW.TLB differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetSh.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetSh.Lib new file mode 100644 index 0000000000000000000000000000000000000000..53d4db220e0d75ea02d01638ea0d6c6ed4fd6ce8 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NetSh.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NtDsAPI.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NtDsAPI.Lib new file mode 100644 index 0000000000000000000000000000000000000000..a1972f0bbe7e6910d7b519bdeff3706f22b7a3b5 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NtDsAPI.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NtQuery.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NtQuery.Lib new file mode 100644 index 0000000000000000000000000000000000000000..c1bc2d6596b2e5a4e8a4c600e0e43c533eed1b36 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/NtQuery.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OemLicense.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OemLicense.lib new file mode 100644 index 0000000000000000000000000000000000000000..2e1ad8cbbef48f72da05d2e48796161719cc200e Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OemLicense.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Ole32.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Ole32.Lib new file mode 100644 index 0000000000000000000000000000000000000000..804cea655bf49b4f3090b57317fa5b9bb8fa0186 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/Ole32.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleAcc.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleAcc.Lib new file mode 100644 index 0000000000000000000000000000000000000000..374130bc7bfed6f76c296856dced688917c3c9fb Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleAcc.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleAut32.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleAut32.Lib new file mode 100644 index 0000000000000000000000000000000000000000..821afdb0aaee828dc5514f7bfd711c353f7890a3 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleAut32.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleDlg.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleDlg.Lib new file mode 100644 index 0000000000000000000000000000000000000000..7372b25c5df9724dbe5c46fd4de81d4337546f1b Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OleDlg.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OpenGL32.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OpenGL32.Lib new file mode 100644 index 0000000000000000000000000000000000000000..1b8b738497a4c9aa305e361dc931e460359551c1 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/OpenGL32.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdelta.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdelta.lib new file mode 100644 index 0000000000000000000000000000000000000000..2833fbf815569f930aee7b05603463e42c45fe0f Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdelta.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdmo.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdmo.lib new file mode 100644 index 0000000000000000000000000000000000000000..6303e73ccda22e894fd86abbe66932192f6dccfa Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdmo.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdrm.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdrm.lib new file mode 100644 index 0000000000000000000000000000000000000000..a6f08742541af4a77609b043477e661fa60ace5e Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msdrm.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msfeeds.tlb b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msfeeds.tlb new file mode 100644 index 0000000000000000000000000000000000000000..0e020ee3a17ddc631a9382ae5e084b826f9eb017 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msfeeds.tlb differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mspatcha.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mspatcha.lib new file mode 100644 index 0000000000000000000000000000000000000000..59731881b3d63880336ebd0e6f27494b18390528 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mspatcha.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mspatchc.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mspatchc.lib new file mode 100644 index 0000000000000000000000000000000000000000..550650e00be09693d1c99991c106384cfbdec4a0 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mspatchc.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msports.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msports.lib new file mode 100644 index 0000000000000000000000000000000000000000..61e114858f3d5e63fa28a5a7b2d6a04bc2557262 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msports.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msv1_0.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msv1_0.lib new file mode 100644 index 0000000000000000000000000000000000000000..06e02c4d0e92a62de1ba954e49a2978b99da7497 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msv1_0.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msvfw32.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msvfw32.Lib new file mode 100644 index 0000000000000000000000000000000000000000..b0436cd0dd0aa752a13953ba0fa7e6c27c3f15f0 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msvfw32.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msxml6.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msxml6.lib new file mode 100644 index 0000000000000000000000000000000000000000..78ca07d7920faff53047f4e050abb0b71345df36 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/msxml6.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mtxdm.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mtxdm.lib new file mode 100644 index 0000000000000000000000000000000000000000..d96f4bc3000efdca4d8c48b07d478911fab0ea51 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/mtxdm.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/muiload.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/muiload.lib new file mode 100644 index 0000000000000000000000000000000000000000..f0401c0efa588a4a3c24fa5eb0e15097af052780 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/muiload.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ncrypt.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ncrypt.lib new file mode 100644 index 0000000000000000000000000000000000000000..47b3b695b449a417ca9ea934f3044c59009b071b Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ncrypt.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/nddeapi.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/nddeapi.lib new file mode 100644 index 0000000000000000000000000000000000000000..f9a1e2b58342144a1b3302400e9d7a3e357e3259 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/nddeapi.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ndfapi.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ndfapi.lib new file mode 100644 index 0000000000000000000000000000000000000000..e13685b9e8ca6f2265ba30143289dd576d77aaca Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ndfapi.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ndproxystub.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ndproxystub.lib new file mode 100644 index 0000000000000000000000000000000000000000..3975dbd7d65b3d1bbfa6ffd69ea4961a46b58696 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ndproxystub.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/newdev.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/newdev.lib new file mode 100644 index 0000000000000000000000000000000000000000..b209448259d24cc444c0cd824c6533e7cd1e1e8c Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/newdev.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ninput.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ninput.lib new file mode 100644 index 0000000000000000000000000000000000000000..f9e2a9dfa905d5001db8967e75690b4acbdd3a2d Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ninput.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/normaliz.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/normaliz.lib new file mode 100644 index 0000000000000000000000000000000000000000..b80ce8c2265076961290ab2fe705149095066c4b Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/normaliz.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/nt.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/nt.lib new file mode 100644 index 0000000000000000000000000000000000000000..0c7f4a830bb60b1e74c4653d1f171bfe2e6c50ae Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/nt.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdll.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdll.lib new file mode 100644 index 0000000000000000000000000000000000000000..3efb24a6db7b28bffa7a827609304d202162ab18 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdll.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsa.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsa.lib new file mode 100644 index 0000000000000000000000000000000000000000..4768b714e815222687c1b9a3cbcc3a947ce2921d Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsa.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsatq.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsatq.lib new file mode 100644 index 0000000000000000000000000000000000000000..b9a0758fe023f3a82c320ec50a76d0663aa9ab8a Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsatq.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsetup.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsetup.lib new file mode 100644 index 0000000000000000000000000000000000000000..21a05586006a2012a7a6973642a35641010490d4 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntdsetup.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntfrsapi.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntfrsapi.lib new file mode 100644 index 0000000000000000000000000000000000000000..f7fcffd39d6ef465dbcc2639e7857851f12a358b Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntfrsapi.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntlanman.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntlanman.lib new file mode 100644 index 0000000000000000000000000000000000000000..a9742cfc60a4071906923bf5d68efe52ac727728 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntlanman.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntmarta.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntmarta.lib new file mode 100644 index 0000000000000000000000000000000000000000..ddb19ecc6ddbb328754c43f2031c9803000b12ce Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntmarta.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntstc_msvcrt.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntstc_msvcrt.lib new file mode 100644 index 0000000000000000000000000000000000000000..fb782d9f46f457c262dc05a04a3430128011fdd9 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ntstc_msvcrt.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7976444386fe16f9eaab51b59c14f4be621c32e278a6e2b4c110e01d6f1326c1 +size 12456300 diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/objsel.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/objsel.lib new file mode 100644 index 0000000000000000000000000000000000000000..dad46daa4aa6d57b7304b0334ac25a15fe928ba1 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/objsel.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbc32.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbc32.lib new file mode 100644 index 0000000000000000000000000000000000000000..2444fdad7657241dee1b6a3d5a836bd7db17da51 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbc32.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbcbcp.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbcbcp.lib new file mode 100644 index 0000000000000000000000000000000000000000..f2e94f37f5c8de02caf67c78f946f8fb34b11793 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbcbcp.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbccp32.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbccp32.lib new file mode 100644 index 0000000000000000000000000000000000000000..26e1e93f4d61cd618bffc85abf776ae2cd7fbf78 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbccp32.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/olecli32.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/olecli32.lib new file mode 100644 index 0000000000000000000000000000000000000000..7a9a942cbdab896a19cf191b382261ac54629d44 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/olecli32.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/oledb.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/oledb.lib new file mode 100644 index 0000000000000000000000000000000000000000..931a284f5ca2d707146310d60a6381901f3ca6f0 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/oledb.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/olesvr32.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/olesvr32.lib new file mode 100644 index 0000000000000000000000000000000000000000..f8410a5b4ec453194274d1657d4adf2c4e56e75f Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/olesvr32.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ondemandconnroutehelper.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ondemandconnroutehelper.lib new file mode 100644 index 0000000000000000000000000000000000000000..04d7f35b9981938ade67c18e4fbc781b9f388043 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/ondemandconnroutehelper.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/opmxbox.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/opmxbox.Lib new file mode 100644 index 0000000000000000000000000000000000000000..0ea4bcc27590cbef0895f905f3352de27ea350c6 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/opmxbox.Lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/osptk.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/osptk.lib new file mode 100644 index 0000000000000000000000000000000000000000..f0d65fff03160100ad56fa7db5eeac418eb7b706 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/osptk.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/pathcch.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/pathcch.lib new file mode 100644 index 0000000000000000000000000000000000000000..844a28c6ae5ac399810fe179fcc25fab265064d4 Binary files /dev/null and b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/pathcch.lib differ diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/strmbase.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/strmbase.lib new file mode 100644 index 0000000000000000000000000000000000000000..a0588f8a0f3165db2cb8768cf312e089ed55541f --- /dev/null +++ b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/strmbase.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd5766f01da40cc9d2143281c4fa6c5456472ea4cf3a73df4eb349fc1af85017 +size 5074962 diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/windowscoreheadless_apiset.Lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/windowscoreheadless_apiset.Lib new file mode 100644 index 0000000000000000000000000000000000000000..161cc3f3af0370807eb669f29e4082423edd4f02 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/windowscoreheadless_apiset.Lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c6be1f90e353d50a1b4503b0399dd2e47aef1cf3183b3e790ab8cadd03b207e +size 2330714 diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/wsmsvc.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/wsmsvc.lib new file mode 100644 index 0000000000000000000000000000000000000000..d6583513a76c6a10ebe4365db0f246aaeebcd5b0 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/wsmsvc.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4cf0f3b72290bd773c52279b9c05a17398cce1a6017def1a9a6274fcabf0631 +size 2051486 diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/xapobase.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/xapobase.lib new file mode 100644 index 0000000000000000000000000000000000000000..1d737d7d37e5c61dbc68db556c6f4675abe63dd5 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/xapobase.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de6cfb87189ebda1e1c1d8baa9122df3fc654b68839c46663b3583d3f853e504 +size 1006264 diff --git a/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/xapobase2_8.lib b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/xapobase2_8.lib new file mode 100644 index 0000000000000000000000000000000000000000..a6af07464431f99d6ca164575ade4d7c2d067fde --- /dev/null +++ b/miniMSVC/Windows Kits/10/Lib/10.0.26100.0/um/x64/xapobase2_8.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:503624adc6a8a10db55e5236eceeaf766ed8f4ead3d26b387c14a78daec9e549 +size 1006264 diff --git a/miniMSVC/Windows Kits/10/Redist/10.0.26100.0/ucrt/DLLs/x64/ucrtbase.dll b/miniMSVC/Windows Kits/10/Redist/10.0.26100.0/ucrt/DLLs/x64/ucrtbase.dll new file mode 100644 index 0000000000000000000000000000000000000000..e3711133c92c02740109ea2d7374b48ae1dba6e9 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Redist/10.0.26100.0/ucrt/DLLs/x64/ucrtbase.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e5fb14b7bf8540278f3614a12f0226e56a7cc9e64b81cbd976c6fcf2f71cbfb +size 1361448 diff --git a/miniMSVC/Windows Kits/10/Redist/D3D/x64/d3dcompiler_47.dll b/miniMSVC/Windows Kits/10/Redist/D3D/x64/d3dcompiler_47.dll new file mode 100644 index 0000000000000000000000000000000000000000..19eac9af7b773176d87e6293fe2e8963367c4fd0 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Redist/D3D/x64/d3dcompiler_47.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e64d99cde651491afb4cbdfbb2ba5fda38c7e70b211cf8d3f022b8cfee8f9b8 +size 4691496 diff --git a/miniMSVC/Windows Kits/10/Redist/D3D/x64/dxcompiler.dll b/miniMSVC/Windows Kits/10/Redist/D3D/x64/dxcompiler.dll new file mode 100644 index 0000000000000000000000000000000000000000..cee49d12bb0f3d5474107f8c410c3fd31690d95c --- /dev/null +++ b/miniMSVC/Windows Kits/10/Redist/D3D/x64/dxcompiler.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28192677cb871c3bf4c87f8ae0b620db5a651c38088f7a46d7d91cacdb76d9e0 +size 14019112 diff --git a/miniMSVC/Windows Kits/10/Redist/D3D/x64/dxil.dll b/miniMSVC/Windows Kits/10/Redist/D3D/x64/dxil.dll new file mode 100644 index 0000000000000000000000000000000000000000..00bf2950cfae1af9b1a5d0a023e9633b35b4ec66 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Redist/D3D/x64/dxil.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3f47d552d06c8a9749aeeebe9fda895fc7ee3375a36bc9b7cc11b5a2baec372 +size 1502784 diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strlen.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strlen.asm new file mode 100644 index 0000000000000000000000000000000000000000..fbd20be27953127d5dea9905bff71993858ee627 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strlen.asm @@ -0,0 +1 @@ +#include "..\arm64\strlen.asm" diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strlen_spec_unaligned.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strlen_spec_unaligned.asm new file mode 100644 index 0000000000000000000000000000000000000000..221a23115541147df849f40ca711324482226523 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strlen_spec_unaligned.asm @@ -0,0 +1 @@ +#include "..\arm64\strlen_spec_unaligned.asm" diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strncmp.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strncmp.asm new file mode 100644 index 0000000000000000000000000000000000000000..fda9fc3ad459bca763758f118c6f9ad985b66eff --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strncmp.asm @@ -0,0 +1 @@ +#include "..\arm64\strncmp.asm" diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strnlen.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strnlen.asm new file mode 100644 index 0000000000000000000000000000000000000000..b3bf3ac9ab21445b1ad2c5ee57f1191b5a1c9a38 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/strnlen.asm @@ -0,0 +1 @@ +#include "..\arm64\strnlen.asm" diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/wcscmp.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/wcscmp.asm new file mode 100644 index 0000000000000000000000000000000000000000..64e994baf5497ea24b6604f453ab876b3a7e148e --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/wcscmp.asm @@ -0,0 +1 @@ +#include "..\arm64\wcscmp.asm" diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/wcslen.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/wcslen.asm new file mode 100644 index 0000000000000000000000000000000000000000..07d30610f8d1c6db36818f1affc8b3c57bd077e7 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/arm64ec/wcslen.asm @@ -0,0 +1 @@ +#include "..\arm64\wcslen.asm" diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/_memicmp.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/_memicmp.asm new file mode 100644 index 0000000000000000000000000000000000000000..4beccabd8cfc703c4ed20ad6d1d1278882ef1297 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/_memicmp.asm @@ -0,0 +1,130 @@ + page ,132 + title memicmp - compare blocks of memory, ignore case +;*** +;memicmp.asm - compare memory, ignore case +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines __ascii_memicmp() - compare two blocks of memory for lexical +; order. Case is ignored in the comparison. +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;int __ascii_memicmp(first, last, count) - compare two blocks of memory, ignore case +; +;Purpose: +; Compares count bytes of the two blocks of memory stored at first +; and last. The characters are converted to lowercase before +; comparing (not permanently), so case is ignored in the search. +; +; Algorithm: +; int +; _memicmp (first, last, count) +; char *first, *last; +; unsigned count; +; { +; if (!count) +; return(0); +; while (--count && tolower(*first) == tolower(*last)) +; { +; first++; +; last++; +; } +; return(tolower(*first) - tolower(*last)); +; } +; +;Entry: +; char *first, *last - memory buffers to compare +; unsigned count - maximum length to compare +; +;Exit: +; returns <0 if first < last +; returns 0 if first == last +; returns >0 if first > last +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + + CODESEG + + public __ascii_memicmp +__ascii_memicmp proc \ + uses edi esi ebx, \ + first:ptr byte, \ + last:ptr byte, \ + count:IWORD + + mov ecx,[count] ; cx = count + or ecx,ecx + jz short toend ; if count=0, nothing to do + + mov esi,[first] ; si = first + mov edi,[last] ; di = last + + ; C locale + + mov bh,'A' + mov bl,'Z' + mov dh,'a'-'A' ; add to cap to make lower + + align 4 + +lupe: + mov ah,[esi] ; ah = *first + add esi,1 ; first++ + mov al,[edi] ; al = *last + add edi,1 ; last++ + + cmp ah,al ; test for equality BEFORE converting case + je short dolupe + + cmp ah,bh ; ah < 'A' ?? + jb short skip1 + + cmp ah,bl ; ah > 'Z' ?? + ja short skip1 + + add ah,dh ; make lower case + +skip1: + cmp al,bh ; al < 'A' ?? + jb short skip2 + + cmp al,bl ; al > 'Z' ?? + ja short skip2 + + add al,dh ; make lower case + +skip2: + cmp ah,al ; *first == *last ?? + jne short differ ; nope, found mismatched chars + +dolupe: + sub ecx,1 + jnz short lupe + + jmp short toend ; cx = 0, return 0 + +differ: + mov ecx,-1 ; assume last is bigger + ; *** can't use "or ecx,-1" due to flags *** + jb short toend ; last is, in fact, bigger (return -1) + neg ecx ; first is bigger (return 1) + +toend: + mov eax,ecx ; move return value to ax + + ret ; _cdecl return + +__ascii_memicmp endp + end diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/_strnicm.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/_strnicm.asm new file mode 100644 index 0000000000000000000000000000000000000000..312f49166dd855463a7af3d438a7f77f58f2f4a1 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/_strnicm.asm @@ -0,0 +1,143 @@ + page ,132 + title strnicmp - compare n chars of strings, ignore case +;*** +;strnicmp.asm - compare n chars of strings, ignoring case +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines __ascii_strnicmp() - Compares at most n characters of two +; strings, without regard to case. +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;int __ascii_strnicmp(first, last, count) - compares count char of strings, +; ignore case +; +;Purpose: +; Compare the two strings for lexical order. Stops the comparison +; when the following occurs: (1) strings differ, (2) the end of the +; strings is reached, or (3) count characters have been compared. +; For the purposes of the comparison, upper case characters are +; converted to lower case. +; +; Algorithm: +; int +; _strncmpi (first, last, count) +; char *first, *last; +; unsigned int count; +; { +; int f,l; +; int result = 0; +; +; if (count) { +; do { +; f = tolower(*first); +; l = tolower(*last); +; first++; +; last++; +; } while (--count && f && l && f == l); +; result = f - l; +; } +; return(result); +; } +; +;Entry: +; char *first, *last - strings to compare +; unsigned count - maximum number of characters to compare +; +;Exit: +; returns <0 if first < last +; returns 0 if first == last +; returns >0 if first > last +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + + CODESEG + + public __ascii_strnicmp +__ascii_strnicmp proc \ + uses edi esi ebx, \ + first:ptr byte, \ + last:ptr byte, \ + count:IWORD + + mov ecx,[count] ; cx = byte count + or ecx,ecx + jz toend ; if count = 0, we are done + + mov esi,[first] ; si = first string + mov edi,[last] ; di = last string + + mov bh,'A' + mov bl,'Z' + mov dh,'a'-'A' ; add to cap to make lower + + align 4 + +lupe: + mov ah,[esi] ; *first + + or ah,ah ; see if *first is null + + mov al,[edi] ; *last + + jz short eject ; jump if *first is null + + or al,al ; see if *last is null + jz short eject ; jump if so + + add esi,1 ; first++ + add edi,1 ; last++ + + cmp ah,bh ; 'A' + jb short skip1 + + cmp ah,bl ; 'Z' + ja short skip1 + + add ah,dh ; make lower case + +skip1: + cmp al,bh ; 'A' + jb short skip2 + + cmp al,bl ; 'Z' + ja short skip2 + + add al,dh ; make lower case + +skip2: + cmp ah,al ; *first == *last ?? + jne short differ + + sub ecx,1 + jnz short lupe + +eject: + xor ecx,ecx + cmp ah,al ; compare the (possibly) differing bytes + je short toend ; both zero; return 0 + +differ: + mov ecx,-1 ; assume last is bigger (* can't use 'or' *) + jb short toend ; last is, in fact, bigger (return -1) + neg ecx ; first is bigger (return 1) + +toend: + mov eax,ecx + + ret ; _cdecl return + +__ascii_strnicmp endp + end diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/memccpy.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/memccpy.asm new file mode 100644 index 0000000000000000000000000000000000000000..8b2df73a030bc8f6de38cd5c636b6f599aa7db58 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/memccpy.asm @@ -0,0 +1,135 @@ + page ,132 + title memccpy - copy bytes until character found +;*** +;memccpy.asm - copy bytes until a character is found +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines _memccpy() - copies bytes until a specifed character +; is found, or a maximum number of characters have been copied. +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;char *_memccpy(dest, src, _c, count) - copy bytes until character found +; +;Purpose: +; Copies bytes from src to dest until count bytes have been +; copied, or up to and including the character _c, whichever +; comes first. +; +; Algorithm: +; char * +; _memccpy (dest, src, _c, count) +; char *dest, *src, _c; +; unsigned int count; +; { +; while (count && (*dest++ = *src++) != _c) +; count--; +; +; return(count ? dest : NULL); +; } +; +;Entry: +; char *dest - pointer to memory to receive copy +; char *src - source of bytes +; char _c - character to stop copy at +; int count - max number of bytes to copy +; +;Exit: +; returns pointer to byte immediately after _c in dest; +; returns NULL if _c was never found +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + + CODESEG + + public _memccpy +_memccpy proc \ + dest:ptr byte, \ + src:ptr byte, \ + _c:byte, \ + count:DWORD + + OPTION PROLOGUE:NONE, EPILOGUE:NONE + + .FPO ( 0, 4, 0, 0, 0, 0 ) + + mov ecx,[esp + 10h] ; ecx = max byte count + push ebx ; save ebx + + test ecx,ecx ; if it's nothing to move + jz ret_zero_len ; restore ebx, and return NULL + + mov bh,[esp + 10h] ; bh = byte to look for + push esi ; save esi + + test ecx,1 ; test if counter is odd or even + + mov eax,[esp + 0ch] ; eax = dest , don't affect flags + mov esi,[esp + 10h] ; esi = source , don't affect flags + +; nop + jz lupe2 ; if counter is even, do double loop + ; else do one iteration, and drop into double loop + mov bl,[esi] ; get first byte into bl + add esi,1 ; kick src (esi points to src) + + mov [eax],bl ; store it in dest + add eax,1 ; kick dest + + cmp bl,bh ; see if we just moved the byte + je short toend + + sub ecx,1 ; decrement counter + jz retnull ; drop into double loop if nonzero + +lupe2: + mov bl,[esi] ; get first byte into bl + add esi,2 ; kick esi (src) + + cmp bl,bh ; check if we just moved the byte (from bl) + je toend_mov_inc ; store bl & exit + + mov [eax],bl ; store first byte from bl + mov bl,[esi - 1] ; get second byte into bl + + mov [eax + 1],bl ; store second byte from bl + add eax,2 ; kick eax (dest) + + cmp bl,bh ; see if we just moved the byte + je short toend ; end of string + + sub ecx,2 ; modify counter, and if nonzero continue + jnz lupe2 ; else drop out & return NULL + +retnull: + pop esi +ret_zero_len: + xor eax,eax ; null pointer + pop ebx + + ret ; _cdecl return + +toend_mov_inc: + mov [eax],bl ; store first byte from bl + add eax,1 ; eax points right after the value + +toend: pop esi + pop ebx + + ret ; _cdecl return + +_memccpy endp + + end diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcat.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcat.asm new file mode 100644 index 0000000000000000000000000000000000000000..15c4fffe36e00d41a6aa72c0fbc62990f2df8ef5 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcat.asm @@ -0,0 +1,231 @@ + page ,132 + title strcat - concatenate (append) one string to another +;*** +;strcat.asm - contains strcat() and strcpy() routines +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; STRCAT concatenates (appends) a copy of the source string to the +; end of the destination string, returning the destination string. +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + + +page +;*** +;char *strcat(dst, src) - concatenate (append) one string to another +; +;Purpose: +; Concatenates src onto the end of dest. Assumes enough +; space in dest. +; +; Algorithm: +; char * strcat (char * dst, char * src) +; { +; char * cp = dst; +; +; while( *cp ) +; ++cp; /* Find end of dst */ +; while( *cp++ = *src++ ) +; ; /* Copy src to end of dst */ +; return( dst ); +; } +; +;Entry: +; char *dst - string to which "src" is to be appended +; const char *src - string to be appended to the end of "dst" +; +;Exit: +; The address of "dst" in EAX +; +;Uses: +; EAX, ECX +; +;Exceptions: +; +;******************************************************************************* + +page +;*** +;char *strcpy(dst, src) - copy one string over another +; +;Purpose: +; Copies the string src into the spot specified by +; dest; assumes enough room. +; +; Algorithm: +; char * strcpy (char * dst, char * src) +; { +; char * cp = dst; +; +; while( *cp++ = *src++ ) +; ; /* Copy src over dst */ +; return( dst ); +; } +; +;Entry: +; char * dst - string over which "src" is to be copied +; const char * src - string to be copied over "dst" +; +;Exit: +; The address of "dst" in EAX +; +;Uses: +; EAX, ECX +; +;Exceptions: +;******************************************************************************* + + + CODESEG + +% public strcat, strcpy ; make both functions available +strcpy proc \ + dst:ptr byte, \ + src:ptr byte + + OPTION PROLOGUE:NONE, EPILOGUE:NONE + + push edi ; preserve edi + mov edi,[esp+8] ; edi points to dest string + jmp short copy_start + +strcpy endp + + align 16 + +strcat proc \ + dst:ptr byte, \ + src:ptr byte + + OPTION PROLOGUE:NONE, EPILOGUE:NONE + + .FPO ( 0, 2, 0, 0, 0, 0 ) + + mov ecx,[esp+4] ; ecx -> dest string + push edi ; preserve edi + test ecx,3 ; test if string is aligned on 32 bits + je short find_end_of_dest_string_loop + +dest_misaligned: ; simple byte loop until string is aligned + mov al,byte ptr [ecx] + add ecx,1 + test al,al + je short start_byte_3 + test ecx,3 + jne short dest_misaligned + + align 4 + +find_end_of_dest_string_loop: + mov eax,dword ptr [ecx] ; read 4 bytes + mov edx,7efefeffh + add edx,eax + xor eax,-1 + xor eax,edx + add ecx,4 + test eax,81010100h + je short find_end_of_dest_string_loop + ; found zero byte in the loop + mov eax,[ecx - 4] + test al,al ; is it byte 0 + je short start_byte_0 + test ah,ah ; is it byte 1 + je short start_byte_1 + test eax,00ff0000h ; is it byte 2 + je short start_byte_2 + test eax,0ff000000h ; is it byte 3 + je short start_byte_3 + jmp short find_end_of_dest_string_loop + ; taken if bits 24-30 are clear and bit + ; 31 is set +start_byte_3: + lea edi,[ecx - 1] + jmp short copy_start +start_byte_2: + lea edi,[ecx - 2] + jmp short copy_start +start_byte_1: + lea edi,[ecx - 3] + jmp short copy_start +start_byte_0: + lea edi,[ecx - 4] +; jmp short copy_start + +; edi points to the end of dest string. +copy_start:: + mov ecx,[esp+0ch] ; ecx -> sorc string + test ecx,3 ; test if string is aligned on 32 bits + je short main_loop_entrance + +src_misaligned: ; simple byte loop until string is aligned + mov dl,byte ptr [ecx] + add ecx,1 + test dl,dl + je short byte_0 + mov [edi],dl + add edi,1 + test ecx,3 + jne short src_misaligned + jmp short main_loop_entrance + +main_loop: ; edx contains first dword of sorc string + mov [edi],edx ; store one more dword + add edi,4 ; kick dest pointer +main_loop_entrance: + mov edx,7efefeffh + mov eax,dword ptr [ecx] ; read 4 bytes + + add edx,eax + xor eax,-1 + + xor eax,edx + mov edx,[ecx] ; it's in cache now + + add ecx,4 ; kick dest pointer + test eax,81010100h + + je short main_loop + ; found zero byte in the loop +; main_loop_end: + test dl,dl ; is it byte 0 + je short byte_0 + test dh,dh ; is it byte 1 + je short byte_1 + test edx,00ff0000h ; is it byte 2 + je short byte_2 + test edx,0ff000000h ; is it byte 3 + je short byte_3 + jmp short main_loop ; taken if bits 24-30 are clear and bit + ; 31 is set +byte_3: + mov [edi],edx + mov eax,[esp+8] ; return in eax pointer to dest string + pop edi + ret +byte_2: + mov [edi],dx + mov eax,[esp+8] ; return in eax pointer to dest string + mov byte ptr [edi+2],0 + pop edi + ret +byte_1: + mov [edi],dx + mov eax,[esp+8] ; return in eax pointer to dest string + pop edi + ret +byte_0: + mov [edi],dl + mov eax,[esp+8] ; return in eax pointer to dest string + pop edi + ret + +strcat endp + + end + diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcmp.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcmp.asm new file mode 100644 index 0000000000000000000000000000000000000000..3d7182da7fc67d1c9d7b0b237cc3a687425a11b9 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcmp.asm @@ -0,0 +1,154 @@ + page ,132 + title strcmp.asm - compare two strings +;*** +;strcmp.asm - routine to compare two strings (for equal, less, or greater) +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; STRCMP compares two strings and returns an integer +; to indicate whether the first is less than the second, the two are +; equal, or whether the first is greater than the second, respectively. +; Comparison is done byte by byte on an UNSIGNED basis, which is to +; say that Null (0) is less than any other character (1-255). +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;strcmp - compare two strings, returning less than, equal to, or greater than +; +;Purpose: +; Compares two string, determining their lexical order. Unsigned +; comparison is used. +; +; Base Algorithm: +; int strcmp ( const char *str1, const char *str2 ) +; { +; const unsigned char *src1 = (const unsigned char *)str1; +; const unsigned char *src2 = (const unsigned char *)str2; +; int ret = 0 ; +; +; while( ! (ret = *src1 - *src2) && *src2) +; ++src1, ++src2; +; +; if ( ret < 0 ) +; ret = -1 ; +; else if ( ret > 0 ) +; ret = 1 ; +; +; return( ret ); +; } +; +;Entry: +; const char * src1 - string for left-hand side of comparison +; const char * src2 - string for right-hand side of comparison +; +;Exit: +; EAX < 0, 0, or >0, indicating whether the first string is +; Less than, Equal to, or Greater than the second string. +; +;Uses: +; ECX, EDX +; +;Exceptions: +; +;******************************************************************************* + + CODESEG + + public strcmp +strcmp proc \ + str1:ptr byte, \ + str2:ptr byte + + OPTION PROLOGUE:NONE, EPILOGUE:NONE + +; .FPO (cdwLocals, cdwParams, cbProlog, cbRegs, fUseBP, cbFrame) + .FPO ( 0, 2, 0, 0, 0, 0 ) + + mov edx,[esp + 4] ; edx = src + mov ecx,[esp + 8] ; ecx = dst + + test edx,3 + jnz short dopartial + + align 4 +dodwords: + mov eax,[edx] + + cmp al,[ecx] + jne short donene + test al,al + jz short doneeq + cmp ah,[ecx + 1] + jne short donene + test ah,ah + jz short doneeq + + shr eax,16 + + cmp al,[ecx + 2] + jne short donene + test al,al + jz short doneeq + cmp ah,[ecx + 3] + jne short donene + add ecx,4 + add edx,4 + test ah,ah + jnz short dodwords + + align 4 +doneeq: + xor eax,eax + ret + + align 8 +donene: + ; The instructions below should place -1 in eax if src < dst, + ; and 1 in eax if src > dst. + + sbb eax,eax + or eax,1 + ret + + align 16 +dopartial: + test edx,1 + jz short doword + + mov al,[edx] + add edx,1 + cmp al,[ecx] + jne short donene + add ecx,1 + test al,al + jz short doneeq + + test edx,2 + jz short dodwords + + + align 4 +doword: + mov ax,[edx] + add edx,2 + cmp al,[ecx] + jne short donene + test al,al + jz short doneeq + cmp ah,[ecx + 1] + jne short donene + test ah,ah + jz short doneeq + add ecx,2 + jmp short dodwords + +strcmp endp + + end diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcspn.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcspn.asm new file mode 100644 index 0000000000000000000000000000000000000000..fedd116aafbd1bf9a03c9c47e0bcaf7e1b2c3869 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strcspn.asm @@ -0,0 +1,16 @@ +;*** +;strcspn.asm - +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines strcspn()- finds the length of the initial substring of +; a string consisting entirely of characters not in a control string. +; +; NOTE: This stub module scheme is compatible with NT build +; procedure. +; +;******************************************************************************* + +SSTRCSPN EQU 1 +INCLUDE STRSPN.ASM diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strncpy.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strncpy.asm new file mode 100644 index 0000000000000000000000000000000000000000..d6580549cd47c6af6f053460f6d7c6130f76b0a6 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strncpy.asm @@ -0,0 +1,239 @@ + page ,132 + title strncpy - copy at most n characters of string +;*** +;strncpy.asm - copy at most n characters of string +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines strncpy() - copy at most n characters of string +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;char *strncpy(dest, source, count) - copy at most n characters +; +;Purpose: +; Copies count characters from the source string to the +; destination. If count is less than the length of source, +; NO NULL CHARACTER is put onto the end of the copied string. +; If count is greater than the length of sources, dest is padded +; with null characters to length count. +; +; Algorithm: +; char * +; strncpy (dest, source, count) +; char *dest, *source; +; unsigned count; +; { +; char *start = dest; +; +; while (count && (*dest++ = *source++)) +; count--; +; if (count) +; while (--count) +; *dest++ = '\0'; +; return(start); +; } +; +;Entry: +; char *dest - pointer to spot to copy source, enough space +; is assumed. +; char *source - source string for copy +; unsigned count - characters to copy +; +;Exit: +; returns dest, with the character copied there. +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + + CODESEG + + public strncpy +strncpy proc \ + dest:ptr byte, \ + source:ptr byte, \ + count:dword + + OPTION PROLOGUE:NONE, EPILOGUE:NONE + + .FPO ( 0, 3, 0, 0, 0, 0 ) + + mov ecx,[esp + 0ch] ; ecx = count + push edi ; preserve edi + test ecx,ecx + jz finish ; leave if count is zero + + push esi ; preserve edi + push ebx ; preserve ebx + mov ebx,ecx ; store count for tail loop + mov esi,[esp + 14h] ; esi -> source string + test esi,3 ; test if source string is aligned on 32 bits + mov edi,[esp + 10h] ; edi -> dest string + jnz short src_misaligned ; (almost always source is aligned) + + shr ecx,2 ; convert ecx to dword count + jnz main_loop_entrance + jmp short copy_tail_loop ; 0 < count < 4 + +; simple byte loop until string is aligned + +src_misaligned: + mov al,byte ptr [esi] ; copy a byte from source to dest + add esi,1 + mov [edi],al + add edi,1 + sub ecx,1 + jz fill_tail_end1 ; if count == 0, leave + test al,al ; was last copied byte zero? + jz short align_dest ; if so, go align dest and pad it out + ; with zeros + test esi,3 ; esi already aligned ? + jne short src_misaligned + mov ebx,ecx ; store count for tail loop + shr ecx,2 + jnz short main_loop_entrance + +tail_loop_start: + and ebx,3 ; ebx = count_before_main_loop%4 + jz short fill_tail_end1 ; if ebx == 0 then leave without + ; appending a null byte + +; while ( EOS (end-of-string) not found and count > 0 ) copy bytes + +copy_tail_loop: + mov al,byte ptr [esi] ; load byte from source + add esi,1 + mov [edi],al ; store byte to dest + add edi,1 + test al,al ; EOS found? + je short fill_tail_zero_bytes ; '\0' was already copied + sub ebx,1 + jnz copy_tail_loop +fill_tail_end1: + mov eax,[esp + 10h] ; prepare return value + pop ebx + pop esi + pop edi + ret + +; EOS found. Pad with null characters to length count + +align_dest: + test edi,3 ; dest string aligned? + jz dest_align_loop_end +dest_align_loop: + mov [edi],al + add edi,1 + sub ecx,1 ; count == 0? + jz fill_tail_end ; if so, finished + test edi,3 ; is edi aligned ? + jnz dest_align_loop +dest_align_loop_end: + mov ebx,ecx ; ebx > 0 + shr ecx,2 ; convert ecx to count of dwords + jnz fill_dwords_with_EOS + ; pad tail bytes +finish_loop: ; 0 < ebx < 4 + mov [edi],al + add edi,1 +fill_tail_zero_bytes: + sub ebx,1 + jnz finish_loop + pop ebx + pop esi +finish: + mov eax,[esp + 8] ; return in eax pointer to dest string + pop edi + ret + +; copy (source) string to (dest). Also look for end of (source) string + +main_loop: ; edx contains first dword of source string + mov [edi],edx ; store one more dword + add edi,4 ; kick dest pointer + sub ecx,1 + jz tail_loop_start + +main_loop_entrance: + mov edx,7efefeffh + mov eax,dword ptr [esi] ; read 4 bytes (dword) + add edx,eax + xor eax,-1 + xor eax,edx + mov edx,[esi] ; it's in cache now + add esi,4 ; kick dest pointer + test eax,81010100h + je short main_loop + + ; may have found zero byte in the dword + + test dl,dl ; is it byte 0 + je short byte_0 + test dh,dh ; is it byte 1 + je short byte_1 + test edx,00ff0000h ; is it byte 2 + je short byte_2 + test edx,0ff000000h ; is it byte 3 + jne short main_loop ; taken if bits 24-30 are clear and bit + ; 31 is set + +; a null character was found, so dest needs to be padded out with null chars +; to count length. + + mov [edi],edx + jmp short fill_with_EOS_dwords + +byte_2: + and edx,0ffffh ; fill high 2 bytes with 0 + mov [edi],edx + jmp short fill_with_EOS_dwords + +byte_1: + and edx,0ffh ; fill high 3 bytes with 0 + mov [edi],edx + jmp short fill_with_EOS_dwords + +byte_0: + xor edx,edx ; fill whole dword with 0 + mov [edi],edx + +; End of string was found. Pad out dest string with dwords of 0 + +fill_with_EOS_dwords: ; ecx > 0 (ecx is dword counter) + add edi,4 + xor eax,eax ; it is instead of ??????????????????? + sub ecx,1 + jz fill_tail ; we filled all dwords + +fill_dwords_with_EOS: + xor eax,eax +fill_with_EOS_loop: + mov [edi],eax + add edi,4 + sub ecx,1 + jnz short fill_with_EOS_loop +fill_tail: ; let's pad tail bytes with zero + and ebx,3 ; ebx = ebx % 4 + jnz finish_loop ; taken, when there are some tail bytes +fill_tail_end: + mov eax,[esp + 10h] + pop ebx + pop esi + pop edi + ret + +strncpy endp + end + + + diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strnset.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strnset.asm new file mode 100644 index 0000000000000000000000000000000000000000..89fc24367bca163901a020ffd5835744afa41d47 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strnset.asm @@ -0,0 +1,89 @@ + page ,132 + title strnset - set first n characters to one char. +;*** +;strnset.asm - set first n characters to single character +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines _strnset() - sets at most the first n characters of a string +; to a given character. +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;char *_strnset(string, val, count) - set at most count characters to val +; +;Purpose: +; Sets the first count characters of string the character value. +; If the length of string is less than count, the length of +; string is used in place of n. +; +; Algorithm: +; char * +; _strnset (string, val, count) +; char *string,val; +; unsigned int count; +; { +; char *start = string; +; +; while (count-- && *string) +; *string++ = val; +; return(start); +; } +; +;Entry: +; char *string - string to set characters in +; char val - character to fill with +; unsigned count - count of characters to fill +; +;Exit: +; returns string, now filled with count copies of val. +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + + CODESEG + + public _strnset +_strnset proc \ + uses edi ebx, \ + string:ptr byte, \ + val:byte, \ + count:IWORD + + + mov edi,[string] ; di = string + mov edx,edi ; dx=string addr; save return value + mov ebx,[count] ; cx = max chars to set + xor eax,eax ; null byte + mov ecx,ebx + jecxz short done ; zero length specified + +repne scasb ; find null byte & count bytes in cx + jne short nonull ; null not found + add ecx,1 ; don't want the null + +nonull: + sub ebx,ecx ; bx=strlen (not null) + mov ecx,ebx ; cx=strlen (not null) + + mov edi,edx ; restore string pointer + mov al,val ; byte value +rep stosb ; fill 'er up + +done: + mov eax,edx ; return value: string addr + + ret ; _cdecl return + +_strnset endp + end diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strpbrk.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strpbrk.asm new file mode 100644 index 0000000000000000000000000000000000000000..48c7f1c469a98d0ea21971920ac35ed82a481a6c --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strpbrk.asm @@ -0,0 +1,16 @@ +;*** +;strpbrk.asm - +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines strpbrk()- finds the index of the first character in a string +; that is not in a control string +; +; NOTE: This stub module scheme is compatible with NT build +; procedure. +; +;******************************************************************************* + +SSTRPBRK EQU 1 +INCLUDE STRSPN.ASM diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strrev.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strrev.asm new file mode 100644 index 0000000000000000000000000000000000000000..038db8c431873610a7e9bab47d5adc3a8afbc549 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strrev.asm @@ -0,0 +1,105 @@ + page ,132 + title strrev - reverse a string in place +;*** +;strrev.asm - reverse a string in place +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines _strrev() - reverse a string in place (not including +; '\0' character) +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;char *_strrev(string) - reverse a string in place +; +;Purpose: +; Reverses the order of characters in the string. The terminating +; null character remains in place. +; +; Algorithm: +; char * +; _strrev (string) +; char *string; +; { +; char *start = string; +; char *left = string; +; char ch; +; +; while (*string++) +; ; +; string -= 2; +; while (left < string) +; { +; ch = *left; +; *left++ = *string; +; *string-- = ch; +; } +; return(start); +; } +; +; NOTE: There is a check for an empty string in the following code. +; Normally, this would fall out of the "cmp si,di" instruction in the +; loop portion of the routine. However, if the offset of the empty +; string is 0 (as it could be in large model), then the cmp does not +; catch the empty string and the routine essentially hangs (i.e., loops +; moving bytes one at a time FFFFh times). An explicit empty string +; check corrects this. +; +;Entry: +; char *string - string to reverse +; +;Exit: +; returns string - now with reversed characters +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + + CODESEG + + public _strrev +_strrev proc \ + uses edi esi, \ + string:ptr byte + + mov edi,[string] ; di = string + mov edx,edi ; dx=pointer to string; save return value + + mov esi,edi ; si=pointer to string + xor eax,eax ; search value (null) + or ecx,-1 ; cx = -1 +repne scasb ; find null + cmp ecx,-2 ; is string empty? (if offset value is 0, the + je short done ; cmp below will not catch it and we'll hang). + + sub edi,2 ; string is not empty, move di pointer back + ; di points to last non-null byte + +lupe: + cmp esi,edi ; see if pointers have crossed yet + jae short done ; exit when pointers meet (or cross) + + mov ah,[esi] ; get front byte... + mov al,[edi] ; and end byte + mov [esi],al ; put end byte in front... + mov [edi],ah ; and front byte at end + add esi,1 ; front moves up... + sub edi,1 ; and end moves down + jmp short lupe ; keep switching bytes + +done: + mov eax,edx ; return value: string addr + + ret ; _cdecl return + +_strrev endp + end diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strset.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strset.asm new file mode 100644 index 0000000000000000000000000000000000000000..107fb9a10e4153e90aa73c8ca3ab56a8b9bf8b96 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strset.asm @@ -0,0 +1,78 @@ + page ,132 + title strset - set all characters of string to character +;*** +;strset.asm - sets all charcaters of string to given character +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines _strset() - sets all of the characters in a string (except +; the '\0') equal to a given character. +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;char *_strset(string, val) - sets all of string to val +; +;Purpose: +; Sets all of characters in string (except the terminating '/0' +; character) equal to val. +; +; Algorithm: +; char * +; _strset (string, val) +; char *string; +; char val; +; { +; char *start = string; +; +; while (*string) +; *string++ = val; +; return(start); +; } +; +;Entry: +; char *string - string to modify +; char val - value to fill string with +; +;Exit: +; returns string -- now filled with val's +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + + CODESEG + + public _strset +_strset proc \ + uses edi, \ + string:ptr byte, \ + val:byte + + + mov edi,[string] ; di = string + mov edx,edi ; dx=string addr; save return value + + xor eax,eax ; ax = 0 + or ecx,-1 ; cx = -1 +repne scasb ; scan string & count bytes + add ecx,2 ; cx=-strlen + neg ecx ; cx=strlen + mov al,[val] ; al = byte value to store + mov edi,edx ; di=string addr +rep stosb + + mov eax,edx ; return value: string addr + + ret ; _cdecl return + +_strset endp + end diff --git a/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strspn.asm b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strspn.asm new file mode 100644 index 0000000000000000000000000000000000000000..9d9a4405b179274beba05a3ca80c3f4f75e0f052 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Source/10.0.26100.0/ucrt/string/i386/strspn.asm @@ -0,0 +1,262 @@ + page ,132 + title strspn - search for init substring of chars from control str +;*** +;strspn.asm - find length of initial substring of chars from a control string +; +; Copyright (c) Microsoft Corporation. All rights reserved. +; +;Purpose: +; defines strspn() - finds the length of the initial substring of +; a string consisting entirely of characters from a control string. +; +; defines strcspn()- finds the length of the initial substring of +; a string consisting entirely of characters not in a control string. +; +; defines strpbrk()- finds the index of the first character in a string +; that is not in a control string +; +;******************************************************************************* + + .xlist + include cruntime.inc + .list + +page +;*** +;int strspn(string, control) - find init substring of control chars +; +;Purpose: +; Finds the index of the first character in string that does belong +; to the set of characters specified by control. This is +; equivalent to the length of the initial substring of string that +; consists entirely of characters from control. The '\0' character +; that terminates control is not considered in the matching process. +; +; Algorithm: +; int +; strspn (string, control) +; unsigned char *string, *control; +; { +; unsigned char map[32]; +; int count; +; +; for (count = 0; count < 32; count++) +; map[count] = 0; +; while (*control) +; { +; map[*control >> 3] |= (1 << (*control & 7)); +; control++; +; } +; if (*string) +; { +; while (map[*string >> 3] & (1 << (*string & 7))) +; { +; count++; +; string++; +; } +; return(count); +; } +; return(0); +; } +; +;Entry: +; char *string - string to search +; char *control - string containing characters not to search for +; +;Exit: +; returns index of first char in string not in control +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + +;*** +;int strcspn(string, control) - search for init substring w/o control chars +; +;Purpose: +; returns the index of the first character in string that belongs +; to the set of characters specified by control. This is equivalent +; to the length of the length of the initial substring of string +; composed entirely of characters not in control. Null chars not +; considered. +; +; Algorithm: +; int +; strcspn (string, control) +; unsigned char *string, *control; +; { +; unsigned char map[32]; +; int count; +; +; for (count = 0; count < 32; count++) +; map[count] = 0; +; while (*control) +; { +; map[*control >> 3] |= (1 << (*control & 7)); +; control++; +; } +; map[0] |= 1; +; while (!(map[*string >> 3] & (1 << (*string & 7)))) +; { +; count++; +; string++; +; } +; return(count); +; } +; +;Entry: +; char *string - string to search +; char *control - set of characters not allowed in init substring +; +;Exit: +; returns the index of the first char in string +; that is in the set of characters specified by control. +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + +;*** +;char *strpbrk(string, control) - scans string for a character from control +; +;Purpose: +; Finds the first occurence in string of any character from +; the control string. +; +; Algorithm: +; char * +; strpbrk (string, control) +; unsigned char *string, *control; +; { +; unsigned char map[32]; +; int count; +; +; for (count = 0; count < 32; count++) +; map[count] = 0; +; while (*control) +; { +; map[*control >> 3] |= (1 << (*control & 7)); +; control++; +; } +; while (*string) +; { +; if (map[*string >> 3] & (1 << (*string & 7))) +; return(string); +; string++; +; } +; return(NULL); +; } +; +;Entry: +; char *string - string to search in +; char *control - string containing characters to search for +; +;Exit: +; returns a pointer to the first character from control found +; in string. +; returns NULL if string and control have no characters in common. +; +;Uses: +; +;Exceptions: +; +;******************************************************************************* + + +ifdef SSTRCSPN + + _STRSPN_ equ + +elseifdef SSTRPBRK + + _STRSPN_ equ + +else ; SSTRCSPN + +; Default is to build strspn() + + SSTRSPN equ 1 + _STRSPN_ equ + +endif ; SSTRCSPN + +% public _STRSPN_ + + CODESEG + +_STRSPN_ proc \ + uses esi, \ + string:ptr byte, \ + control:ptr byte + +; create and zero out char bit map + + xor eax,eax + push eax ; 32 + push eax + push eax + push eax ; 128 + push eax + push eax + push eax + push eax ; 256 + +map equ [esp] + +; Set control char bits in map + + mov edx,control ; si = control string + + align @WordSize +lab listnext ; init char bit map + mov al,[edx] + or al,al + jz short listdone + add edx,1 + bts map,eax + jmp short listnext + +lab listdone + +; Loop through comparing source string with control bits + + mov esi,string ; si = string + +_ifnd SSTRPBRK ; set ecx to -1 + + align @WordSize +lab dstnext + +_ifnd SSTRPBRK + + mov al,[esi] + or al,al + jz short dstdone + add esi,1 + bt map, eax + +ifdef SSTRSPN + jc short dstnext ; strspn: found char, continue +elseifdef SSTRCSPN + jnc short dstnext ; strcspn: did not find char, continue +elseifdef SSTRPBRK + jnc short dstnext ; strpbrk: did not find char, continue + lea eax,[esi - 1] ; found char, return address of it +endif ; SSTRSPN + +; Return code + +lab dstdone + +_ifnd SSTRPBRK ; strspn/strcspn: return index + + add esp,32 + + ret ; _cdecl return + +_STRSPN_ endp + end