Home
last modified time | relevance | path

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

12

/third_party/ninja/src/
Dsubprocess_test.cc45 Subprocess* subproc = subprocs_.Add("cmd /c ninja_no_such_command"); in TEST_F()
46 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
59 Subprocess* subproc = subprocs_.Add("ninja_no_such_command"); in TEST_F()
60 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
78 Subprocess* subproc = subprocs_.Add("kill -INT $$"); in TEST_F()
79 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
89 Subprocess* subproc = subprocs_.Add("kill -INT $PPID ; sleep 1"); in TEST_F()
90 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
102 Subprocess* subproc = subprocs_.Add("kill -TERM $$"); in TEST_F()
103 ASSERT_NE((Subprocess *) 0, subproc); in TEST_F()
[all …]
Dsubprocess-win32.cc26 Subprocess::Subprocess(bool use_console) : child_(NULL) , overlapped_(), in Subprocess() function in Subprocess
31 Subprocess::~Subprocess() { in ~Subprocess()
41 HANDLE Subprocess::SetupPipe(HANDLE ioport) { in SetupPipe()
77 bool Subprocess::Start(SubprocessSet* set, const string& command) { in Start()
157 void Subprocess::OnPipeReady() { in OnPipeReady()
188 ExitStatus Subprocess::Finish() { in Finish()
206 bool Subprocess::Done() const { in Done()
210 const string& Subprocess::GetOutput() const { in GetOutput()
241 Subprocess *SubprocessSet::Add(const string& command, bool use_console) { in Add()
242 Subprocess *subprocess = new Subprocess(use_console); in Add()
[all …]
Dsubprocess-posix.cc39 Subprocess::Subprocess(bool use_console) : fd_(-1), pid_(-1), in Subprocess() function in Subprocess
43 Subprocess::~Subprocess() { in ~Subprocess()
51 bool Subprocess::Start(SubprocessSet* set, const string& command) { in Start()
137 void Subprocess::OnPipeReady() { in OnPipeReady()
150 ExitStatus Subprocess::Finish() { in Finish()
179 bool Subprocess::Done() const { in Done()
183 const string& Subprocess::GetOutput() const { in GetOutput()
241 Subprocess *SubprocessSet::Add(const string& command, bool use_console) { in Add()
242 Subprocess *subprocess = new Subprocess(use_console); in Add()
256 for (vector<Subprocess*>::iterator i = running_.begin(); in DoWork()
[all …]
Dsubprocess.h42 struct Subprocess { struct
43 ~Subprocess();
54 Subprocess(bool use_console);
86 Subprocess* Add(const std::string& command, bool use_console = false); argument
88 Subprocess* NextFinished();
91 std::vector<Subprocess*> running_;
92 std::queue<Subprocess*> finished_;
Dbuild.cc461 map<const Subprocess*, Edge*> subproc_to_edge_;
466 for (map<const Subprocess*, Edge*>::iterator e = subproc_to_edge_.begin(); in GetActiveEdges()
486 Subprocess* subproc = subprocs_.Add(command, edge->use_console()); in StartCommand()
495 Subprocess* subproc; in WaitForCommand()
505 map<const Subprocess*, Edge*>::iterator e = subproc_to_edge_.find(subproc); in WaitForCommand()
/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)
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)
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-failfast-unittest.py72 SUPPORTS_DEATH_TESTS = 'HasDeathTest' in gtest_test_utils.Subprocess(
107 txt_out = gtest_test_utils.Subprocess([COMMAND] + args, env=environ).output
Dgoogletest-env-var-test.py68 return gtest_test_utils.Subprocess(args, env=environ).output
/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