Home
last modified time | relevance | path

Searched refs:Subprocess (Results 1 – 25 of 47) sorted by relevance

12

/third_party/ninja/src/
Dsubprocess_test.cc43 Subprocess* subproc = subprocs_.Add("cmd /c ninja_no_such_command"); in TEST_F()
44 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
57 Subprocess* subproc = subprocs_.Add("ninja_no_such_command"); in TEST_F()
58 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
76 Subprocess* subproc = subprocs_.Add("kill -INT $$"); in TEST_F()
77 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
87 Subprocess* subproc = subprocs_.Add("kill -INT $PPID ; sleep 1"); in TEST_F()
88 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
100 Subprocess* subproc = subprocs_.Add("kill -TERM $$"); in TEST_F()
101 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
[all …]
Dsubprocess-win32.cc24 Subprocess::Subprocess(bool use_console) : child_(NULL) , overlapped_(), in Subprocess() function in Subprocess
29 Subprocess::~Subprocess() { in ~Subprocess()
39 HANDLE Subprocess::SetupPipe(HANDLE ioport) { in SetupPipe()
75 bool Subprocess::Start(SubprocessSet* set, const string& command) { in Start()
155 void Subprocess::OnPipeReady() { in OnPipeReady()
186 ExitStatus Subprocess::Finish() { in Finish()
204 bool Subprocess::Done() const { in Done()
208 const string& Subprocess::GetOutput() const { in GetOutput()
239 Subprocess *SubprocessSet::Add(const string& command, bool use_console) { in Add()
240 Subprocess *subprocess = new Subprocess(use_console); in Add()
[all …]
Dsubprocess-posix.cc37 Subprocess::Subprocess(bool use_console) : fd_(-1), pid_(-1), in Subprocess() function in Subprocess
41 Subprocess::~Subprocess() { in ~Subprocess()
49 bool Subprocess::Start(SubprocessSet* set, const string& command) { in Start()
135 void Subprocess::OnPipeReady() { in OnPipeReady()
148 ExitStatus Subprocess::Finish() { in Finish()
167 bool Subprocess::Done() const { in Done()
171 const string& Subprocess::GetOutput() const { in GetOutput()
229 Subprocess *SubprocessSet::Add(const string& command, bool use_console) { in Add()
230 Subprocess *subprocess = new Subprocess(use_console); in Add()
244 for (vector<Subprocess*>::iterator i = running_.begin(); in DoWork()
[all …]
Dsubprocess.h43 struct Subprocess { struct
44 ~Subprocess();
55 Subprocess(bool use_console);
87 Subprocess* Add(const string& command, bool use_console = false); argument
89 Subprocess* NextFinished();
92 vector<Subprocess*> running_;
93 queue<Subprocess*> finished_;
/third_party/googletest/googlemock/test/
Dgmock_leak_test.py57 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL,
61 gmock_test_utils.Subprocess(TEST_WITH_ON_CALL,
67 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL +
72 gmock_test_utils.Subprocess(TEST_WITH_ON_CALL +
79 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL +
84 gmock_test_utils.Subprocess(TEST_WITH_ON_CALL +
91 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL +
98 gmock_test_utils.Subprocess(TEST_MULTIPLE_LEAKS +
Dgmock_test_utils.py96 Subprocess = gtest_test_utils.Subprocess variable
/third_party/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc70 << Subprocess::Win32ErrorMessage(GetLastError()); in CloseHandleOrDie()
74 Subprocess::Subprocess() in Subprocess() function in google::protobuf::compiler::Subprocess
80 Subprocess::~Subprocess() { in ~Subprocess()
89 void Subprocess::Start(const std::string& program, SearchMode search_mode) { in Start()
161 bool Subprocess::Communicate(const Message& input, Message* output, in Communicate()
270 std::string Subprocess::Win32ErrorMessage(DWORD error_code) { in Win32ErrorMessage()
289 Subprocess::Subprocess() in Subprocess() function in google::protobuf::compiler::Subprocess
292 Subprocess::~Subprocess() { in ~Subprocess()
301 void Subprocess::Start(const std::string& program, SearchMode search_mode) { in Start()
361 bool Subprocess::Communicate(const Message& input, Message* output, in Communicate()
Dsubprocess.h59 class PROTOC_EXPORT Subprocess {
61 Subprocess();
62 ~Subprocess();
/third_party/googletest/googletest/test/
Dgoogletest-catch-exceptions-test.py66 TEST_LIST = gtest_test_utils.Subprocess(
72 BINARY_OUTPUT = gtest_test_utils.Subprocess([EXE_PATH], env=environ).output
74 EX_BINARY_OUTPUT = gtest_test_utils.Subprocess(
224 uncaught_exceptions_ex_binary_output = gtest_test_utils.Subprocess(
Dgtest_xml_output_unittest.py236 SUPPORTS_TYPED_TESTS = 'TypedTest' in gtest_test_utils.Subprocess(
305 p = gtest_test_utils.Subprocess(
326 p = gtest_test_utils.Subprocess(command)
380 p = gtest_test_utils.Subprocess(command, env=environ_copy)
Dgoogletest-filter-unittest.py62 child = gtest_test_utils.Subprocess(
77 child = gtest_test_utils.Subprocess(
121 SUPPORTS_DEATH_TESTS = 'HasDeathTest' in gtest_test_utils.Subprocess(
186 return gtest_test_utils.Subprocess([COMMAND] + (args or []),
193 p = gtest_test_utils.Subprocess([COMMAND] + (args or []), env=environ)
Dgtest_help_test.py60 SUPPORTS_DEATH_TESTS = "DeathTest" in gtest_test_utils.Subprocess(
94 child = gtest_test_utils.Subprocess(command)
Dgtest_skip_environment_check_output_test.py42 OUTPUT = gtest_test_utils.Subprocess([EXE_PATH]).output
Dgoogletest-setuptestsuite-test.py43 p = gtest_test_utils.Subprocess(COMMAND)
Dgoogletest-global-environment-unittest.py44 return gtest_test_utils.Subprocess([
Dgoogletest-param-test-invalid-name2-test.py49 p = gtest_test_utils.Subprocess(command)
Dgoogletest-param-test-invalid-name1-test.py49 p = gtest_test_utils.Subprocess(command)
Dgtest_skip_check_output_test.py43 OUTPUT = gtest_test_utils.Subprocess([EXE_PATH]).output
Dgoogletest-uninitialized-test.py55 p = gtest_test_utils.Subprocess(command)
Dgtest_testbridge_test.py53 p = gtest_test_utils.Subprocess(COMMAND, env=subprocess_env)
Dgoogletest-json-output-unittest.py672 SUPPORTS_TYPED_TESTS = 'TypedTest' in gtest_test_utils.Subprocess(
742 p = gtest_test_utils.Subprocess(
764 p = gtest_test_utils.Subprocess(command)
807 p = gtest_test_utils.Subprocess(command)
Dgoogletest-list-tests-unittest.py117 return gtest_test_utils.Subprocess([EXE_PATH] + args,
Dgoogletest-env-var-test.py68 return gtest_test_utils.Subprocess(args, env=environ).output
Dgtest_list_output_unittest.py258 p = gtest_test_utils.Subprocess(
/third_party/python/Doc/library/
Dasyncio-subprocess.rst119 used. See :ref:`Subprocess Support on Windows <asyncio-windows-subprocess>`
127 as well as the :ref:`Subprocess Transports <asyncio-subprocess-transports>`
128 and :ref:`Subprocess Protocols <asyncio-subprocess-protocols>`.
192 See also the :ref:`Subprocess and Threads <asyncio-subprocess-threads>`
309 Subprocess and Threads

12