Home
last modified time | relevance | path

Searched refs:maybeDecompress (Results 1 – 25 of 40) sorted by relevance

12

/dports/lang/ghc/ghc-8.10.7/libraries/Cabal/cabal-install/tests/UnitTests/Distribution/Client/
H A DGZipUtils.hs15 import Distribution.Client.GZipUtils (maybeDecompress)
32 assertBool "decompress plain" (maybeDecompress original == original)
33 …>> assertBool "decompress zlib (with show)" (show (maybeDecompress compressedZlib) == show origina…
34 …>> assertBool "decompress gzip (with show)" (show (maybeDecompress compressedGZip) == show origina…
35 >> assertBool "decompress zlib" (maybeDecompress compressedZlib == original)
36 >> assertBool "decompress gzip" (maybeDecompress compressedGZip == original)
37 … "have no empty chunks" (all (not . BS.null) . BSL.toChunks . maybeDecompress $ compressedZ…
45 …runBrokenStream = try . void . evaluate . BSLL.length $ maybeDecompress (BSLL.init compressedZlib …
48 prop_maybeDecompress_zlib ws = property $ maybeDecompress compressedZlib === original
53 prop_maybeDecompress_gzip ws = property $ maybeDecompress compressedGZip === original
/dports/devel/hs-cabal-install/cabal-cabal-install-3.4.0.0/cabal-install/tests/UnitTests/Distribution/Client/
H A DGZipUtils.hs14 import Distribution.Client.GZipUtils (maybeDecompress)
31 assertBool "decompress plain" (maybeDecompress original == original)
32 …>> assertBool "decompress zlib (with show)" (show (maybeDecompress compressedZlib) == show origina…
33 …>> assertBool "decompress gzip (with show)" (show (maybeDecompress compressedGZip) == show origina…
34 >> assertBool "decompress zlib" (maybeDecompress compressedZlib == original)
35 >> assertBool "decompress gzip" (maybeDecompress compressedGZip == original)
36 … "have no empty chunks" (all (not . BS.null) . BSL.toChunks . maybeDecompress $ compressedZ…
44 …runBrokenStream = try . void . evaluate . BSLL.length $ maybeDecompress (BSLL.init compressedZlib …
47 prop_maybeDecompress_zlib ws = property $ maybeDecompress compressedZlib === original
52 prop_maybeDecompress_gzip ws = property $ maybeDecompress compressedGZip === original
/dports/lang/ghc/ghc-8.10.7/libraries/Cabal/cabal-install/Distribution/Client/
H A DGZipUtils.hs18 maybeDecompress,
42 maybeDecompress :: ByteString -> ByteString
44 maybeDecompress bytes = runST (go bytes decompressor) function
76 maybeDecompress bytes = foldStream $ decompressWithErrors gzipOrZlibFormat defaultDecompressParams … function
H A DUpdate.hs44 import Distribution.Client.GZipUtils (maybeDecompress)
84 writeFileAtomic (dropExtension indexPath) . maybeDecompress
H A DCmdUpdate.hs57 import Distribution.Client.GZipUtils (maybeDecompress)
199 writeFileAtomic (dropExtension indexPath) . maybeDecompress
H A DTar.hs57 . GZipUtils.maybeDecompress =<< BS.readFile tar
H A DIndexUtils.hs98 import Distribution.Client.GZipUtils (maybeDecompress)
719 bs <- maybeDecompress `fmap` BS.hGetContents h
H A DTargets.hs492 . GZipUtils.maybeDecompress
/dports/devel/hs-cabal-install/cabal-cabal-install-3.4.0.0/cabal-install/Distribution/Client/
H A DGZipUtils.hs18 maybeDecompress,
46 maybeDecompress :: ByteString -> ByteString
48 maybeDecompress bytes = runST (go bytes decompressor) function
80 maybeDecompress bytes = foldStream $ decompressWithErrors gzipOrZlibFormat defaultDecompressParams … function
H A DUpdate.hs46 import Distribution.Client.GZipUtils (maybeDecompress)
83 writeFileAtomic (dropExtension indexPath) . maybeDecompress
H A DCmdUpdate.hs59 import Distribution.Client.GZipUtils (maybeDecompress)
190 writeFileAtomic (dropExtension indexPath) . maybeDecompress
H A DTar.hs61 . GZipUtils.maybeDecompress =<< BS.readFile tar
H A DIndexUtils.hs98 import Distribution.Client.GZipUtils (maybeDecompress)
757 bs <- maybeDecompress `fmap` BS.hGetContents h
H A DTargets.hs469 . GZipUtils.maybeDecompress
/dports/devel/llvm70/llvm-7.0.1.src/tools/lld/ELF/
H A DGdbIndex.cpp37 Sec->maybeDecompress(); in LLDDwarfObj()
H A DInputSection.h175 void maybeDecompress();
/dports/devel/llvm70/llvm-7.0.1.src/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1311 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anonfd0ddbd00c11::DWARFObjInMemory
1369 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()
/dports/devel/llvm80/llvm-8.0.1.src/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1340 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anon8c6ae8120d11::DWARFObjInMemory
1408 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()
/dports/devel/llvm90/llvm-9.0.1.src/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1468 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anon1bc7f4540d11::DWARFObjInMemory
1542 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()
/dports/devel/binaryen/binaryen-version_98/third_party/llvm-project/
H A DDWARFContext.cpp1482 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anon9d13448b0c11::DWARFObjInMemory
1576 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()
/dports/devel/llvm10/llvm-10.0.1.src/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1537 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anon90b666140d11::DWARFObjInMemory
1624 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1537 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anonbdb5701f0d11::DWARFObjInMemory
1624 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1537 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anon93449e970d11::DWARFObjInMemory
1624 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1606 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anone36e06470f11::DWARFObjInMemory
1691 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1610 Error maybeDecompress(const object::SectionRef &Sec, StringRef Name, in maybeDecompress() function in __anonef22433c0e11::DWARFObjInMemory
1695 if (auto Err = maybeDecompress(Section, Name, Data)) { in DWARFObjInMemory()

12