Home
last modified time | relevance | path

Searched refs:pipeh (Results 1 – 19 of 19) sorted by relevance

/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgp_msprn.c154 int pipeh[2]; in mswin_printer_fopen() local
173 if (_pipe(pipeh, 4096, _O_BINARY) != 0) in mswin_printer_fopen()
176 *pfile = fdopen(pipeh[1], (char *)access); in mswin_printer_fopen()
178 close(pipeh[0]); in mswin_printer_fopen()
179 close(pipeh[1]); in mswin_printer_fopen()
184 *ptid = _beginthread(&mswin_printer_thread, 32768, pipeh[0]); in mswin_printer_fopen()
187 close(pipeh[0]); in mswin_printer_fopen()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgp_msprn.c154 int pipeh[2]; in mswin_printer_fopen() local
173 if (_pipe(pipeh, 4096, _O_BINARY) != 0) in mswin_printer_fopen()
176 *pfile = fdopen(pipeh[1], (char *)access); in mswin_printer_fopen()
178 close(pipeh[0]); in mswin_printer_fopen()
179 close(pipeh[1]); in mswin_printer_fopen()
184 *ptid = _beginthread(&mswin_printer_thread, 32768, pipeh[0]); in mswin_printer_fopen()
187 close(pipeh[0]); in mswin_printer_fopen()
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgp_msprn.c154 int pipeh[2]; in mswin_printer_fopen() local
171 if (_pipe(pipeh, 4096, _O_BINARY) != 0) in mswin_printer_fopen()
174 *pfile = fdopen(pipeh[1], (char *)access); in mswin_printer_fopen()
176 close(pipeh[0]); in mswin_printer_fopen()
177 close(pipeh[1]); in mswin_printer_fopen()
182 tid = _beginthread(&mswin_printer_thread, 32768, (void *)(pipeh[0])); in mswin_printer_fopen()
185 close(pipeh[0]); in mswin_printer_fopen()
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgp_msprn.c153 int pipeh[2]; in mswin_printer_fopen() local
170 if (_pipe(pipeh, 4096, _O_BINARY) != 0) in mswin_printer_fopen()
173 *pfile = fdopen(pipeh[1], (char *)access); in mswin_printer_fopen()
175 close(pipeh[0]); in mswin_printer_fopen()
176 close(pipeh[1]); in mswin_printer_fopen()
181 tid = _beginthread(&mswin_printer_thread, 32768, (void *)(pipeh[0])); in mswin_printer_fopen()
184 close(pipeh[0]); in mswin_printer_fopen()
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgp_msprn.c153 int pipeh[2]; in mswin_printer_fopen() local
170 if (_pipe(pipeh, 4096, _O_BINARY) != 0) in mswin_printer_fopen()
173 *pfile = fdopen(pipeh[1], (char *)access); in mswin_printer_fopen()
175 close(pipeh[0]); in mswin_printer_fopen()
176 close(pipeh[1]); in mswin_printer_fopen()
181 tid = _beginthread(&mswin_printer_thread, 32768, (void *)(pipeh[0])); in mswin_printer_fopen()
184 close(pipeh[0]); in mswin_printer_fopen()
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgp_msprn.c154 int pipeh[2]; in mswin_printer_fopen() local
171 if (_pipe(pipeh, 4096, _O_BINARY) != 0) in mswin_printer_fopen()
174 *pfile = fdopen(pipeh[1], (char *)access); in mswin_printer_fopen()
176 close(pipeh[0]); in mswin_printer_fopen()
177 close(pipeh[1]); in mswin_printer_fopen()
182 tid = _beginthread(&mswin_printer_thread, 32768, (void *)(pipeh[0])); in mswin_printer_fopen()
185 close(pipeh[0]); in mswin_printer_fopen()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgp_msprn.c164 int pipeh[2]; in mswin_printer_fopen() local
213 if (_pipe(pipeh, 4096, _O_BINARY) != 0) { in mswin_printer_fopen()
219 if (gp_file_FILE_set(*pfile, fdopen(pipeh[1], (char *)access), NULL)) { in mswin_printer_fopen()
221 close(pipeh[0]); in mswin_printer_fopen()
222 close(pipeh[1]); in mswin_printer_fopen()
227 tid = _beginthread(&mswin_printer_thread, 32768, (void *)(pipeh[0])); in mswin_printer_fopen()
231 close(pipeh[0]); in mswin_printer_fopen()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgp_msprn.c164 int pipeh[2]; in mswin_printer_fopen() local
213 if (_pipe(pipeh, 4096, _O_BINARY) != 0) { in mswin_printer_fopen()
219 if (gp_file_FILE_set(*pfile, fdopen(pipeh[1], (char *)access), NULL)) { in mswin_printer_fopen()
221 close(pipeh[0]); in mswin_printer_fopen()
222 close(pipeh[1]); in mswin_printer_fopen()
227 tid = _beginthread(&mswin_printer_thread, 32768, (void *)(pipeh[0])); in mswin_printer_fopen()
231 close(pipeh[0]); in mswin_printer_fopen()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/usb/
H A Dugen.c102 struct usbd_pipe *pipeh; member
492 usbd_close_pipe(sce->pipeh); in ugenopen()
493 sce->pipeh = NULL; in ugenopen()
539 if (sce->pipeh == NULL) in ugenclose()
544 usbd_abort_pipe(sce->pipeh); in ugenclose()
569 usbd_close_pipe(sce->pipeh); in ugenclose()
570 sce->pipeh = NULL; in ugenclose()
603 if (sce->pipeh == NULL) { in ugen_do_read()
846 if (sce->pipeh == NULL) { in ugen_do_write()
1045 if (sce->pipeh) in ugen_detach()
[all …]
H A Dif_runvar.h94 struct usbd_pipe * pipeh; member
102 struct usbd_pipe * pipeh; member
H A Dif_run.c754 if (rxq->pipeh != NULL) { in run_free_rx_ring()
755 usbd_abort_pipe(rxq->pipeh); in run_free_rx_ring()
762 if (rxq->pipeh != NULL) { in run_free_rx_ring()
763 usbd_close_pipe(rxq->pipeh); in run_free_rx_ring()
764 rxq->pipeh = NULL; in run_free_rx_ring()
807 if (txq->pipeh != NULL) { in run_free_tx_ring()
808 usbd_abort_pipe(txq->pipeh); in run_free_tx_ring()
809 usbd_close_pipe(txq->pipeh); in run_free_tx_ring()
810 txq->pipeh = NULL; in run_free_tx_ring()
2154 usbd_clear_endpoint_stall_async(sc->rxq.pipeh); in run_rxeof()
[all …]
H A Dif_upgt.c2357 struct usbd_pipe *pipeh, uint32_t *size, int flags) in upgt_bulk_xmit() argument
2361 status = usbd_bulk_transfer(data->xfer, pipeh, flags, UPGT_USB_TIMEOUT, in upgt_bulk_xmit()
/dports/audio/carla/Carla-2.4.1/source/utils/
H A DCarlaLogThread.hpp209 ssize_t read(const HANDLE pipeh, void* const buf, DWORD numBytes) in read() argument
211 if (ReadFile(pipeh, buf, numBytes, &numBytes, nullptr) != FALSE) in read()
H A DCarlaPipeUtils.cpp121 ssize_t ReadFileWin32(const HANDLE pipeh, const HANDLE event, void* const buf, const std::size_t nu… in ReadFileWin32() argument
126 if (::PeekNamedPipe(pipeh, nullptr, 0, nullptr, &available, nullptr) == FALSE || available == 0) in ReadFileWin32()
133 if (::ReadFile(pipeh, buf, dsize, nullptr, &ov)) in ReadFileWin32()
135 if (! ::GetOverlappedResult(pipeh, &ov, &dw, FALSE)) in ReadFileWin32()
154 if (! ::GetOverlappedResult(pipeh, &ov, &dw, FALSE)) in ReadFileWin32()
168 ssize_t WriteFileWin32(const HANDLE pipeh, const HANDLE event, const void* const buf, const std::si… in WriteFileWin32() argument
176 if (::WriteFile(pipeh, buf, dsize, nullptr, &ov)) in WriteFileWin32()
178 if (! ::GetOverlappedResult(pipeh, &ov, &dw, FALSE)) in WriteFileWin32()
197 if (! ::GetOverlappedResult(pipeh, &ov, &dw, FALSE)) in WriteFileWin32()
/dports/games/netwalk/netwalk-cb6b089/
H A Dmain.c636 int pipew, pipeh; variable
1029 pipeh = cellh / 2 + pipet / 2; in init_tileimg()
1051 rect.h = pipeh; in init_tileimg()
1063 rect.h = pipeh; in init_tileimg()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Efi/
H A Dedk2module.c2680 HFILE pipeh[2]; in popen() local
2696 if ((rc = DosCreatePipe(&pipeh[0], &pipeh[1], pipesize)) != NO_ERROR) { in popen()
2707 if (dup2(pipeh[tgtfd], tgtfd) == 0) { in popen()
2708 DosClose(pipeh[tgtfd]); in popen()
2721 return fdopen(pipeh[1 - tgtfd], mode); in popen()
2723 DosClose(pipeh[1 - tgtfd]); in popen()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dposixmodule.c4270 HFILE pipeh[2]; in popen() local
4286 if ((rc = DosCreatePipe(&pipeh[0], &pipeh[1], pipesize)) != NO_ERROR) { in popen()
4297 if (dup2(pipeh[tgtfd], tgtfd) == 0) { in popen()
4298 DosClose(pipeh[tgtfd]); in popen()
4311 return fdopen(pipeh[1 - tgtfd], mode); in popen()
4313 DosClose(pipeh[1 - tgtfd]); in popen()
/dports/lang/python27/Python-2.7.18/Modules/
H A Dposixmodule.c4550 HFILE pipeh[2]; in popen() local
4566 if ((rc = DosCreatePipe(&pipeh[0], &pipeh[1], pipesize)) != NO_ERROR) { in popen()
4577 if (dup2(pipeh[tgtfd], tgtfd) == 0) { in popen()
4578 DosClose(pipeh[tgtfd]); in popen()
4591 return fdopen(pipeh[1 - tgtfd], mode); in popen()
4593 DosClose(pipeh[1 - tgtfd]); in popen()
/dports/lang/python-legacy/Python-2.7.18/Modules/
H A Dposixmodule.c4550 HFILE pipeh[2]; in popen() local
4566 if ((rc = DosCreatePipe(&pipeh[0], &pipeh[1], pipesize)) != NO_ERROR) { in popen()
4577 if (dup2(pipeh[tgtfd], tgtfd) == 0) { in popen()
4578 DosClose(pipeh[tgtfd]); in popen()
4591 return fdopen(pipeh[1 - tgtfd], mode); in popen()
4593 DosClose(pipeh[1 - tgtfd]); in popen()