Home
last modified time | relevance | path

Searched refs:BufHandle (Results 1 – 23 of 23) sorted by relevance

/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Utils/
H A DBufHandle.hs15 module GHC.Utils.BufHandle (
16 BufHandle(..),
42 data BufHandle = BufHandle {-#UNPACK#-}!(Ptr Word8) type
46 newBufHandle :: Handle -> IO BufHandle
51 return (BufHandle ptr r hdl)
56 bPutChar :: BufHandle -> Char -> IO ()
57 bPutChar b@(BufHandle buf r hdl) !c = do
66 bPutStr :: BufHandle -> String -> IO ()
67 bPutStr (BufHandle buf r hdl) !str = do
140 bFlush :: BufHandle -> IO ()
[all …]
H A DPpr.hs116 import GHC.Utils.BufHandle
1082 bufLeftRender :: BufHandle -> Doc -> IO ()
1085 layLeft :: BufHandle -> Doc -> IO ()
H A DOutputable.hs105 import GHC.Utils.BufHandle (BufHandle)
511 bufLeftRenderSDoc :: SDocContext -> BufHandle -> SDoc -> IO ()
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Utils/
H A DBufHandle.hs15 module GHC.Utils.BufHandle (
16 BufHandle(..),
42 data BufHandle = BufHandle {-#UNPACK#-}!(Ptr Word8) type
46 newBufHandle :: Handle -> IO BufHandle
50 return (BufHandle ptr r hdl)
55 bPutChar :: BufHandle -> Char -> IO ()
56 bPutChar b@(BufHandle buf r hdl) !c = do
65 bPutStr :: BufHandle -> String -> IO ()
66 bPutStr (BufHandle buf r hdl) !str = do
139 bFlush :: BufHandle -> IO ()
[all …]
H A DPpr.hs116 import GHC.Utils.BufHandle
1124 bufLeftRender :: BufHandle -> Doc -> IO ()
1127 layLeft :: BufHandle -> Doc -> IO ()
H A DOutputable.hs110 import GHC.Utils.BufHandle (BufHandle)
569 bufLeftRenderSDoc :: SDocContext -> BufHandle -> SDoc -> IO ()
/dports/lang/ghc/ghc-8.10.7/compiler/utils/
H A DBufWrite.hs16 BufHandle(..),
42 data BufHandle = BufHandle {-#UNPACK#-}!(Ptr Word8) type
46 newBufHandle :: Handle -> IO BufHandle
51 return (BufHandle ptr r hdl)
56 bPutChar :: BufHandle -> Char -> IO ()
57 bPutChar b@(BufHandle buf r hdl) !c = do
66 bPutStr :: BufHandle -> String -> IO ()
67 bPutStr (BufHandle buf r hdl) !str = do
79 bPutFS :: BufHandle -> FastString -> IO ()
140 bFlush :: BufHandle -> IO ()
[all …]
H A DPretty.hs1082 bufLeftRender :: BufHandle -> Doc -> IO ()
1085 layLeft :: BufHandle -> Doc -> IO ()
H A DOutputable.hs100 import BufWrite (BufHandle)
482 bufLeftRenderSDoc :: DynFlags -> BufHandle -> PprStyle -> SDoc -> IO ()
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/utils/
H A DBufWrite.hs16 BufHandle(..),
42 data BufHandle = BufHandle {-#UNPACK#-}!(Ptr Word8) type
46 newBufHandle :: Handle -> IO BufHandle
51 return (BufHandle ptr r hdl)
56 bPutChar :: BufHandle -> Char -> IO ()
57 bPutChar b@(BufHandle buf r hdl) !c = do
66 bPutStr :: BufHandle -> String -> IO ()
67 bPutStr (BufHandle buf r hdl) !str = do
79 bPutFS :: BufHandle -> FastString -> IO ()
140 bFlush :: BufHandle -> IO ()
[all …]
H A DPretty.hs1082 bufLeftRender :: BufHandle -> Doc -> IO ()
1085 layLeft :: BufHandle -> Doc -> IO ()
H A DOutputable.hs100 import BufWrite (BufHandle)
482 bufLeftRenderSDoc :: DynFlags -> BufHandle -> PprStyle -> SDoc -> IO ()
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/ssh/src/
H A Dssh_sftp.erl232 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
255 read_buf(Pid, SftpHandle, BufHandle, Len, FileOpTimeout);
259 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
553 {reply, maps:find(BufHandle,I0), S};
556 {reply, ok, S#state{inf=maps:put(BufHandle,B,I0)}};
559 {reply, ok, S#state{inf=maps:remove(BufHandle,I0)}};
1329 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1334 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1393 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1461 BufHandle = make_ref(),
[all …]
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/ssh/src/
H A Dssh_sftp.erl328 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
351 read_buf(Pid, SftpHandle, BufHandle, Len, FileOpTimeout);
355 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
908 {reply, maps:find(BufHandle,I0), S};
911 {reply, ok, S#state{inf=maps:put(BufHandle,B,I0)}};
914 {reply, ok, S#state{inf=maps:remove(BufHandle,I0)}};
1699 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1704 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1763 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1831 BufHandle = make_ref(),
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/ssh/src/
H A Dssh_sftp.erl332 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
355 read_buf(Pid, SftpHandle, BufHandle, Len, FileOpTimeout);
359 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
912 {reply, maps:find(BufHandle,I0), S};
915 {reply, ok, S#state{inf=maps:put(BufHandle,B,I0)}};
918 {reply, ok, S#state{inf=maps:remove(BufHandle,I0)}};
1688 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1693 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1752 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1820 BufHandle = make_ref(),
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/ssh/src/
H A Dssh_sftp.erl330 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
353 read_buf(Pid, SftpHandle, BufHandle, Len, FileOpTimeout);
357 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
910 {reply, maps:find(BufHandle,I0), S};
913 {reply, ok, S#state{inf=maps:put(BufHandle,B,I0)}};
916 {reply, ok, S#state{inf=maps:remove(BufHandle,I0)}};
1701 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1706 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1765 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1833 BufHandle = make_ref(),
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/ssh/src/
H A Dssh_sftp.erl332 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
355 read_buf(Pid, SftpHandle, BufHandle, Len, FileOpTimeout);
359 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
912 {reply, maps:find(BufHandle,I0), S};
915 {reply, ok, S#state{inf=maps:put(BufHandle,B,I0)}};
918 {reply, ok, S#state{inf=maps:remove(BufHandle,I0)}};
1688 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1693 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1752 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1820 BufHandle = make_ref(),
[all …]
/dports/lang/erlang/otp-OTP-24.1.7/lib/ssh/src/
H A Dssh_sftp.erl332 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
355 read_buf(Pid, SftpHandle, BufHandle, Len, FileOpTimeout);
359 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
912 {reply, maps:find(BufHandle,I0), S};
915 {reply, ok, S#state{inf=maps:put(BufHandle,B,I0)}};
918 {reply, ok, S#state{inf=maps:remove(BufHandle,I0)}};
1688 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1693 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1752 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1820 BufHandle = make_ref(),
[all …]
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/ssh/src/
H A Dssh_sftp.erl332 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
355 read_buf(Pid, SftpHandle, BufHandle, Len, FileOpTimeout);
359 call(Pid, {erase_bufinf,BufHandle}, FileOpTimeout),
912 {reply, maps:find(BufHandle,I0), S};
915 {reply, ok, S#state{inf=maps:put(BufHandle,B,I0)}};
918 {reply, ok, S#state{inf=maps:remove(BufHandle,I0)}};
1688 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1693 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1752 call(Pid, {put_bufinf,BufHandle,B}, FileOpTimeout),
1820 BufHandle = make_ref(),
[all …]
/dports/lang/ghc/ghc-8.10.7/compiler/nativeGen/
H A DAsmCodeGen.hs333 -> BufHandle
337 finishNativeGen dflags modLoc bufh@(BufHandle _ _ h) us ngs
387 -> BufHandle
443 -> BufHandle
500 emitNativeCode :: DynFlags -> BufHandle -> SDoc -> IO ()
/dports/lang/ghc/ghc-8.10.7/compiler/llvmGen/LlvmCodeGen/
H A DBase.hs62 import BufWrite ( BufHandle )
312 , envOutput :: BufHandle -- ^ Output buffer
357 runLlvm :: DynFlags -> LlvmVersion -> BufHandle -> LlvmM a -> IO a
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/
H A Dghc-lib-parser.cabal340 GHC.Utils.BufHandle
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/
H A Dghc-lib-parser.cabal395 GHC.Utils.BufHandle