/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | unistd--.h | 26 #undef pipe macro 27 #define pipe pipe_safer macro
|
H A D | pipe-safer.c | 1 /* Invoke pipe, but avoid some glitches. 26 /* Like pipe, but ensure that neither of the file descriptors is 28 platforms that lack pipe. */ 34 if (pipe (fd) == 0)
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | unistd--.h | 26 #undef pipe macro 27 #define pipe pipe_safer macro
|
H A D | pipe-safer.c | 1 /* Invoke pipe, but avoid some glitches. 26 /* Like pipe, but ensure that neither of the file descriptors is 28 platforms that lack pipe. */ 34 if (pipe (fd) == 0)
|
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | pipe.c | 14 pipe(int streams[2]) function
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/usb/ |
H A D | usb.cpp | 34 // check if we support debug transfers for this pipe (only on UHCI for now) 90 "Gets the config for a USB pipe"); 297 queue_interrupt(usb_pipe pipe, void *data, size_t dataLength, argument 301 pipe, data, dataLength, callback, callbackCookie); 302 Object *object = gUSBStack->GetObject(pipe); 312 queue_bulk(usb_pipe pipe, void *data, size_t dataLength, argument 316 pipe, data, dataLength, callback, callbackCookie); 317 Object *object = gUSBStack->GetObject(pipe); 327 queue_bulk_v(usb_pipe pipe, iovec *vector, size_t vectorCount, argument 331 pipe, vecto 342 queue_bulk_v_physical(usb_pipe pipe, iovec *vector, size_t vectorCount, usb_callback_func callback, void *callbackCookie) argument 357 queue_isochronous(usb_pipe pipe, void *data, size_t dataLength, usb_iso_packet_descriptor *packetDesc, uint32 packetCount, uint32 *startingFrameNumber, uint32 flags, usb_callback_func callback, void *callbackCookie) argument 377 set_pipe_policy(usb_pipe pipe, uint8 maxQueuedPackets, uint16 maxBufferDurationMS, uint16 sampleSize) argument 392 cancel_queued_transfers(usb_pipe pipe) argument 657 queue_interrupt_v2(const void *pipe, void *data, size_t dataLength, usb_callback_func callback, void *callbackCookie) argument 666 queue_bulk_v2(const void *pipe, void *data, size_t dataLength, usb_callback_func callback, void *callbackCookie) argument 675 queue_isochronous_v2(const void *pipe, void *data, size_t dataLength, rlea *rleArray, uint16 bufferDurationMS, usb_callback_func callback, void *callbackCookie) argument 688 set_pipe_policy_v2(const void *pipe, uint8 maxQueuedPackets, uint16 maxBufferDurationMS, uint16 sampleSize) argument 697 cancel_queued_transfers_v2(const void *pipe) argument [all...] |
H A D | BusManager.cpp | 131 TRACE_ERROR("error getting the default pipe for speed %d\n", speed); 166 // Create a temporary pipe with the new address 167 ControlPipe pipe(fRootObject); 168 pipe.InitCommon(deviceAddress, 0, speed, Pipe::Default, 8, 0, hubAddress, 179 pipe.SendRequest( 276 BusManager::CancelQueuedTransfers(Pipe *pipe, bool force) argument 284 BusManager::NotifyPipeChange(Pipe *pipe, usb_change change) argument 303 TRACE_ERROR("failed to allocate default pipe for speed %d\n", speed);
|
/haiku-fatelf/headers/os/drivers/ |
H A D | USB3.h | 48 usb_pipe handle; /* of this endpoint/pipe */ 175 status_t (*queue_interrupt)(usb_pipe pipe, 180 status_t (*queue_bulk)(usb_pipe pipe, 185 status_t (*queue_bulk_v)(usb_pipe pipe, 190 status_t (*queue_isochronous)(usb_pipe pipe, 206 status_t (*set_pipe_policy)(usb_pipe pipe, 211 /* Cancel all pending async requests in a pipe */ 212 status_t (*cancel_queued_transfers)(usb_pipe pipe);
|
H A D | USB2.h | 48 usb_pipe *handle; /* of this endpoint/pipe */ 167 status_t (*queue_interrupt)(const usb_pipe *pipe, 172 status_t (*queue_bulk)(const usb_pipe *pipe, 177 status_t (*queue_isochronous)(const usb_pipe *pipe, 192 status_t (*set_pipe_policy)(const usb_pipe *pipe, 197 /* Cancel all pending async requests in a pipe */ 198 status_t (*cancel_queued_transfers)(const usb_pipe *pipe);
|
/haiku-fatelf/src/bin/gzip/ |
H A D | znew | 5 pipe=0 70 *P*) pipe=1; opt=`echo "$opt" | sed 's/P//g'` 83 if test $pipe -eq 1; then 123 if test $pipe -eq 1; then 136 test $pipe -eq 0 && mv "$n.$$" "$n.Z" 141 elif test $pipe -eq 1; then
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fsync/ |
H A D | 7-1.c | 12 * 1. Create a pipe; 13 * 2. fsync on the pipe, should fail with EINVAL; 35 if (pipe(fd) == -1) 37 printf(TNAME " Test UNRESOLVED: Error at pipe: %s\n", 44 printf("Got EINVAL when fsync on pipe\n");
|
/haiku-fatelf/src/system/kernel/debug/ |
H A D | debug_commands.cpp | 61 static int invoke_pipe_segment(debugger_command_pipe* pipe, int32 index, 71 PipeDebugOutputFilter(debugger_command_pipe* pipe, int32 segment, argument 74 fPipe(pipe), 182 invoke_pipe_segment(debugger_command_pipe* pipe, int32 index, char* argument) argument 186 index == pipe->segment_count - 1 191 debugger_command_pipe_segment& segment = pipe->segments[index]; 209 pipe->broken = true; 211 // Abort the previous pipe segment execution. The complete pipe is 346 /*! Aborts the currently executed debugger command (in fact the complete pipe), 361 invoke_debugger_command_pipe(debugger_command_pipe* pipe) argument [all...] |
H A D | debug_commands.h | 55 int invoke_debugger_command_pipe(debugger_command_pipe* pipe);
|
/haiku-fatelf/src/add-ons/kernel/busses/usb/ |
H A D | ohci.h | 41 virtual status_t CancelQueuedTransfers(Pipe *pipe, 44 virtual status_t NotifyPipeChange(Pipe *pipe, 73 Pipe *pipe, bool force); 95 status_t _InsertEndpointForPipe(Pipe *pipe); 96 status_t _RemoveEndpointForPipe(Pipe *pipe);
|
H A D | uhci.cpp | 30 DebugTransfer(Pipe *pipe) argument 32 Transfer(pipe) 51 Pipe *pipe = (Pipe *)get_debug_variable("_usbPipe", 0); local 52 if (pipe == NULL) 56 if (pipe->GetBusManager()->TypeName()[0] != 'u') 71 UHCI *bus = (UHCI *)pipe->GetBusManager(); 90 transfer = new(transferBuffer) DebugTransfer(pipe); 692 Pipe *pipe = transfer->TransferPipe(); local 693 if (pipe->DeviceAddress() == fRootHubAddress) 696 TRACE("submit transfer called for device %d\n", pipe 831 CancelQueuedTransfers(Pipe *pipe, bool force) argument 895 CancelQueuedIsochronousTransfers(Pipe *pipe, bool force) argument 926 Pipe *pipe = transfer->TransferPipe(); local 1087 Pipe *pipe = transfer->TransferPipe(); local 1999 Pipe *pipe = transfer->TransferPipe(); local 2060 CreateDescriptor(Pipe *pipe, uint8 direction, size_t bufferSize) argument 2114 CreateDescriptorChain(Pipe *pipe, uhci_td **_firstDescriptor, uhci_td **_lastDescriptor, uint8 direction, size_t bufferSize) argument [all...] |
H A D | ohci.cpp | 439 TRACE_ERROR("tried to submit transfer for unknown pipe type %" B_PRIu32 "\n", 446 OHCI::CancelQueuedTransfers(Pipe *pipe, bool force) argument 448 if (pipe->Type() & USB_OBJECT_ISO_PIPE) 449 return _CancelQueuedIsochronousTransfers(pipe, force); 462 if (current->transfer && current->transfer->TransferPipe() == pipe) { 504 while (fProcessingPipe == pipe) 514 OHCI::NotifyPipeChange(Pipe *pipe, usb_change change) argument 516 TRACE("pipe change %d for pipe %p\n", change, pipe); 903 _CancelQueuedIsochronousTransfers(Pipe *pipe, bool force) argument 1239 Pipe *pipe = transfer->TransferPipe(); local 1423 _InsertEndpointForPipe(Pipe *pipe) argument 1537 _RemoveEndpointForPipe(Pipe *pipe) argument [all...] |
H A D | ehci.h | 57 virtual status_t CancelQueuedTransfers(Pipe *pipe, bool force); 58 status_t CancelQueuedIsochronousTransfers(Pipe *pipe, bool force); 61 virtual status_t NotifyPipeChange(Pipe *pipe, 121 Pipe *pipe); 126 Pipe *pipe); 147 status_t CreateDescriptorChain(Pipe *pipe,
|
H A D | xhci.cpp | 482 Pipe *pipe = transfer->TransferPipe(); local 483 if ((pipe->Type() & USB_OBJECT_ISO_PIPE) != 0) 485 if ((pipe->Type() & USB_OBJECT_CONTROL_PIPE) != 0) 494 Pipe *pipe = transfer->TransferPipe(); local 537 xhci_endpoint *endpoint = (xhci_endpoint *)pipe->ControllerCookie(); 538 uint8 id = XHCI_ENDPOINT_ID(pipe); 556 Pipe *pipe = transfer->TransferPipe(); local 557 uint8 id = XHCI_ENDPOINT_ID(pipe); 560 bool directionIn = (pipe->Direction() == Pipe::In); 587 xhci_endpoint *endpoint = (xhci_endpoint *)pipe 600 CancelQueuedTransfers(Pipe *pipe, bool force) argument 607 NotifyPipeChange(Pipe *pipe, usb_change change) argument 1137 _InsertEndpointForPipe(Pipe *pipe) argument 1233 _RemoveEndpointForPipe(Pipe *pipe) argument [all...] |
/haiku-fatelf/src/add-ons/print/drivers/postscript/ |
H A D | FilterIO.cpp | 107 // Create new pipe FDs as stdin, stdout, stderr 108 pipe(filedes); dup2(filedes[0], 0); close(filedes[0]); 110 pipe(filedes); dup2(filedes[1], 1); close(filedes[1]); 112 pipe(filedes); dup2(filedes[1], 2); close(filedes[1]);
|
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/ |
H A D | port.h | 36 #define pipe(XX) DosCreatePipe(&XX[0], &XX[1], 8 * 1024) macro
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mmap/ |
H A D | 23-1.c | 11 * 1. Create pipe; 12 * 2. mmap the pipe fd to memory, should get ENODEV; 43 if (pipe(pipe_fd) == -1) 45 printf("Test Unresolved: " TNAME " Error at pipe(): %s\n", 54 printf("Test Pass: " TNAME " Get ENODEV when mmap a pipe fd\n");
|
/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/ |
H A D | proto_common.c | 57 usb_pipe pipe = (dir == eDirIn) ? udi->pipe_in : udi->pipe_out; local 59 status = (*udi->usb_m->queue_bulk_v)(pipe, sg_data, sg_count, bulk_callback, udi); 65 status_t st=(*udi->usb_m->clear_feature)(pipe, USB_FEATURE_ENDPOINT_HALT); 70 (*udi->usb_m->cancel_queued_transfers)(pipe);
|
/haiku-fatelf/src/tests/system/benchmarks/libMicro/ |
H A D | Makefile.benchmarks | 80 pipe \
|
H A D | bench | 460 pipe $OPTS -N "pipe_pst1" -s 1 -I 1000 -x pipe -m st 461 pipe $OPTS -N "pipe_pmt1" -s 1 -I 8000 -x pipe -m mt 462 pipe $OPTS -N "pipe_pmp1" -s 1 -I 8000 -x pipe -m mp 463 pipe $OPTS -N "pipe_pst4k" -s 4k -I 1000 -x pipe -m st 464 pipe $OPTS -N "pipe_pmt4k" -s 4k -I 8000 -x pipe [all...] |
/haiku-fatelf/src/tests/kits/app/common/ |
H A D | PipedAppRunner.cpp | 151 FILE *pipe = fPipe; local 153 while (!feof(pipe)) { 154 size_t bytes = fread(buffer, 1, sizeof(buffer), pipe);
|