Home
last modified time | relevance | path

Searched refs:CHAN_STDIN (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/platform/windows/
Dsubprocess.cc213 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()
228 if (i == CHAN_STDIN) { in Start()
254 if (child_pipe_[CHAN_STDIN]) { in Start()
255 si.hStdInput = child_pipe_[CHAN_STDIN]; in Start()
367 if (parent_pipe_[CHAN_STDIN] != nullptr) { in Communicate()
370 thread_params[thread_count].iohandle = parent_pipe_[CHAN_STDIN]; in Communicate()
371 parent_pipe_[CHAN_STDIN] = nullptr; in Communicate()
378 CloseHandle(parent_pipe_[CHAN_STDIN]); in Communicate()
379 parent_pipe_[CHAN_STDIN] = NULL; in Communicate()
/external/tensorflow/tensorflow/core/platform/
Dsubprocess_test.cc159 proc.SetChannelAction(CHAN_STDIN, ACTION_PIPE); in TEST_F()
171 proc.SetChannelAction(CHAN_STDIN, ACTION_PIPE); in TEST_F()
188 proc.SetChannelAction(CHAN_STDIN, ACTION_PIPE); in TEST_F()
207 proc.SetChannelAction(CHAN_STDIN, ACTION_PIPE); in TEST_F()
231 proc.SetChannelAction(CHAN_STDIN, ACTION_PIPE); in TEST_F()
Dsubprocess.h28 CHAN_STDIN = 0, enumerator
/external/tensorflow/tensorflow/core/platform/default/
Dsubprocess.cc392 case CHAN_STDIN: in Communicate()
460 if (close(parent_pipe_[CHAN_STDIN]) < 0) { in Communicate()
463 parent_pipe_[CHAN_STDIN] = -1; in Communicate()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dfilecheck.cc54 file_check_process.SetChannelAction(tensorflow::CHAN_STDIN, in RunFileCheckWithPatternFile()