Lines Matching defs:pipe

103 // the input end of a pipe (allocated as a member of the pipe).
109 // since this class will be allocated as a member of the pipe, we do not
111 // of the entire pipe. this macro is just convenience since it does not
121 nsPipeInputStream(nsPipe *pipe)
122 : mPipe(pipe)
137 // synchronously wait for the pipe to become readable.
140 // these functions return true to indicate that the pipe's monitor should
153 // these variables can only be accessed while inside the pipe's monitor
162 // the output end of a pipe (allocated as a member of the pipe).
167 // since this class will be allocated as a member of the pipe, we do not
169 // of the entire pipe. this macro is just convenience since it does not
178 nsPipeOutputStream(nsPipe *pipe)
179 : mPipe(pipe)
191 // synchronously wait for the pipe to become writable.
194 // these functions return true to indicate that the pipe's monitor should
207 // these variables can only be accessed while inside the pipe's monitor
233 // methods below may only be called while inside the pipe's monitor
239 // methods below may be called while outside the pipe's monitor
464 // we've free'd up a segment, so notify output stream that pipe has
483 // pipe is full
539 // notify input stream that pipe now contains additional data
561 // an output-only exception applies to the input end if the pipe has
602 NS_ASSERTION(mBlocking, "wait on non-blocking pipe input stream");
607 LOG(("III pipe input: waiting for data\n"));
613 LOG(("III pipe input: woke up [pipe-status=%x available=%u]\n",
706 // return error if pipe closed
737 // pipe is empty
740 // wait for some data to be written to the pipe
961 NS_ASSERTION(mBlocking, "wait on non-blocking pipe output stream");
966 LOG(("OOO pipe output: waiting for space\n"));
970 LOG(("OOO pipe output: woke up [pipe-status=%x writable=%u]\n",
1074 // pipe is full
1081 // wait for the pipe to have an empty segment.
1256 nsPipe *pipe = new nsPipe();
1257 if (!pipe)
1260 rv = pipe->Init(nonBlockingInput,
1266 NS_ADDREF(pipe);
1267 NS_RELEASE(pipe);
1271 pipe->GetInputStream(pipeIn);
1272 pipe->GetOutputStream(pipeOut);