Home
last modified time | relevance | path

Searched refs:child_pipe_ (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/platform/windows/
Dsubprocess.cc207 HANDLE child_pipe_[kNFds] TF_GUARDED_BY(data_mu_); in Start() local
213 if (!CreatePipe(i == CHAN_STDIN ? child_pipe_ + i : parent_pipe_ + i, in Start()
214 i == CHAN_STDIN ? parent_pipe_ + i : child_pipe_ + i, in Start()
229 child_pipe_[i] = GetStdHandle(STD_INPUT_HANDLE); in Start()
231 child_pipe_[i] = GetStdHandle(STD_OUTPUT_HANDLE); in Start()
233 child_pipe_[i] = GetStdHandle(STD_ERROR_HANDLE); in Start()
237 child_pipe_[i] = nullptr; in Start()
254 if (child_pipe_[CHAN_STDIN]) { in Start()
255 si.hStdInput = child_pipe_[CHAN_STDIN]; in Start()
257 if (child_pipe_[CHAN_STDOUT]) { in Start()
[all …]
/external/tensorflow/tensorflow/core/platform/default/
Dsubprocess.cc76 child_pipe_[i] = -1; in SubProcess()
110 if (child_pipe_[i] >= 0) { in ClosePipes()
111 if (close(child_pipe_[i]) < 0) { in ClosePipes()
114 child_pipe_[i] = -1; in ClosePipes()
187 child_pipe_[i] = pipe_fds[0]; in Start()
190 child_pipe_[i] = pipe_fds[1]; in Start()
221 if (child_pipe_[i] >= 0) { in Start()
222 if (close(child_pipe_[i]) < 0) { in Start()
225 child_pipe_[i] = -1; in Start()
248 while (dup2(child_pipe_[i], i) < 0) { in Start()
[all …]
Dsubprocess.h124 int child_pipe_[kNFds] TF_GUARDED_BY(data_mu_);