Searched refs:pipe (Results 1 - 9 of 9) sorted by relevance

/gem5/src/sim/
H A Dfd_entry.hh148 * allocated with the pipe() system calls and its variants.
164 PipeFDEntry(PipeFDEntry const& pipe, bool close_on_exec = false) argument
165 : HBFDEntry(pipe._flags, pipe._simFD, close_on_exec),
166 _pipeReadSource(pipe._pipeReadSource),
167 _pipeEndType(pipe._pipeEndType)
H A Dfd_array.cc223 /* Need to reconnect pipe ends. */
226 * Check which end of the pipe we are looking at; we only want
227 * to setup the pipe once so we arbitrarily choose the read
228 * end to be the end that sets up the pipe.
233 /* Setup the pipe or fatal out of the simulation. */
235 if (pipe(fd_pair) < 0)
236 fatal("Unable to create new pipe");
239 * Reconstruct the ends of the pipe by reassigning the pipe
254 /* Hook up the write end back to the right side of the pipe
[all...]
H A Dsyscall_emul.cc885 int pipe_retval = pipe(sim_fds);
901 * as the write end of the pipe.
906 * Alpha Linux convention for pipe() is that fd[0] is returned as
980 // call pipeImpl since the only difference between pipe and pipe2 is
/gem5/ext/testlib/
H A Dsandbox.py64 self.stdout_rp, self.stdout_wp = os.pipe()
65 self.stderr_rp, self.stderr_wp = os.pipe()
101 def _log_output(pipe, log_callback):
102 with os.fdopen(pipe, 'r') as pipe:
103 # Read iteractively, don't allow input to fill the pipe.
104 for line in iter(pipe.readline, ''):
H A Dhelper.py81 def log_output(log_callback, pipe, redirects=tuple()):
82 # Read iteractively, don't allow input to fill the pipe.
83 for line in iter(pipe.readline, ''):
/gem5/util/batch/
H A Dbatch.py36 p2c_read, p2c_write = os.pipe()
51 c2p_read, c2p_write = os.pipe()
/gem5/util/pbs/
H A Dpbs.py36 p2c_read, p2c_write = os.pipe()
51 c2p_read, c2p_write = os.pipe()
/gem5/src/dev/virtio/
H A Dfs9p.cc350 if (pipe(pipe_rfd) == -1 || pipe(pipe_wfd) == -1)
/gem5/ext/googletest/googletest/src/
H A Dgtest-death-test.cc321 // severity. On Windows, the message is read from a pipe handle. On other
404 // test child process via a pipe, interprets it to set the outcome_
422 // Descriptor to the read end of the pipe to the child process. It is
424 // pipe in write_fd_.
426 // Descriptor to the child's write end of the pipe to the parent process.
428 // pipe in read_fd_.
433 // test child process via a pipe, interprets it to set the outcome_
441 // failure of the death test) or until the pipe is closed (signifying
483 // it finds any data in our pipe. So, here we write a single flag byte
484 // to the pipe, the
[all...]

Completed in 28 milliseconds