Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/external/chromium_org/base/process/
Dkill_win.cc94 bool KillProcess(ProcessHandle process, int exit_code, bool wait) { in KillProcess() argument
95 bool result = (TerminateProcess(process, exit_code) != FALSE); in KillProcess()
109 bool KillProcessById(ProcessId process_id, int exit_code, bool wait) { in KillProcessById() argument
117 bool ret = KillProcess(process, exit_code, wait); in KillProcessById()
122 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { in GetTerminationStatus() argument
127 if (exit_code) { in GetTerminationStatus()
137 *exit_code = kNormalTerminationExitCode; in GetTerminationStatus()
146 if (exit_code) in GetTerminationStatus()
147 *exit_code = wait_result; in GetTerminationStatus()
163 if (exit_code) in GetTerminationStatus()
[all …]
Dkill_posix.cc89 int* exit_code) { in GetTerminationStatusImpl() argument
95 if (exit_code) in GetTerminationStatusImpl()
96 *exit_code = 0; in GetTerminationStatusImpl()
100 if (exit_code) in GetTerminationStatusImpl()
101 *exit_code = 0; in GetTerminationStatusImpl()
105 if (exit_code) in GetTerminationStatusImpl()
106 *exit_code = status; in GetTerminationStatusImpl()
136 bool KillProcess(ProcessHandle process_id, int exit_code, bool wait) { in KillProcess() argument
195 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { in GetTerminationStatus() argument
196 return GetTerminationStatusImpl(handle, false /* can_block */, exit_code); in GetTerminationStatus()
[all …]
Dkill.h44 int exit_code,
51 BASE_EXPORT bool KillProcess(ProcessHandle process, int exit_code, bool wait);
61 int exit_code,
74 int* exit_code);
93 ProcessHandle handle, int* exit_code);
100 BASE_EXPORT bool WaitForExitCode(ProcessHandle handle, int* exit_code);
109 int* exit_code,
135 int exit_code,
Dprocess_util_unittest.cc100 int* exit_code) { in WaitForChildTermination() argument
106 status = base::GetTerminationStatus(handle, exit_code); in WaitForChildTermination()
178 int exit_code = 42; in TEST_F() local
180 base::GetTerminationStatus(handle, &exit_code)); in TEST_F()
181 EXPECT_EQ(kExpectedStillRunningExitCode, exit_code); in TEST_F()
184 exit_code = 42; in TEST_F()
186 WaitForChildTermination(handle, &exit_code); in TEST_F()
188 EXPECT_EQ(0, exit_code); in TEST_F()
245 int exit_code = 42; in TEST_F() local
247 base::GetTerminationStatus(handle, &exit_code)); in TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/base/
Dposix.cc56 int exit_code = 0; in RunAsDaemon() local
58 exit_code |= EXIT_FLAG_CHDIR_ERRORS; in RunAsDaemon()
63 exit_code |= EXIT_FLAG_FDWALK_ERRORS; in RunAsDaemon()
66 exit_code |= EXIT_FLAG_CLOSE_ERRORS; in RunAsDaemon()
76 exit_code |= EXIT_FLAG_SECOND_FORK_FAILED; in RunAsDaemon()
77 _exit(exit_code); // if second fork failed in RunAsDaemon()
91 _exit(exit_code); in RunAsDaemon()
111 int exit_code = WEXITSTATUS(status); in RunAsDaemon() local
112 if (exit_code & EXIT_FLAG_CHDIR_ERRORS) { in RunAsDaemon()
116 if (exit_code & EXIT_FLAG_FDWALK_ERRORS) { in RunAsDaemon()
[all …]
/external/chromium_org/remoting/host/setup/
Ddaemon_controller_delegate_linux.cc78 int* exit_code) { in RunHostScriptWithTimeout() argument
79 DCHECK(exit_code); in RunHostScriptWithTimeout()
116 if (!base::WaitForExitCodeWithTimeout(process_handle, exit_code, timeout)) { in RunHostScriptWithTimeout()
126 bool RunHostScript(const std::vector<std::string>& args, int* exit_code) { in RunHostScript() argument
128 args, base::TimeDelta::FromMilliseconds(kDaemonTimeoutMs), exit_code); in RunHostScript()
148 int exit_code = 0; in GetState() local
150 base::GetAppOutputWithExitCode(command_line, &status, &exit_code); in GetState()
158 if (exit_code != 0) { in GetState()
160 << "\". Exit code: " << exit_code; in GetState()
213 int exit_code; in SetConfigAndStart() local
[all …]
/external/chromium_org/v8/tools/testrunner/objects/
Doutput.py35 def __init__(self, exit_code, timed_out, stdout, stderr): argument
36 self.exit_code = exit_code
43 return 0x80000000 & self.exit_code and not (0x3FFFFF00 & self.exit_code)
48 return (self.exit_code < 0 and
49 self.exit_code != -signal.SIGABRT)
55 return [self.exit_code, self.timed_out, self.stdout, self.stderr]
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/
DTest.pm90 if ($g_result->{exit_code} >> 8 != 0) {
99 if ($test_result->{exit_code} >> 8 != 0) {
124 my $exit_code = $?;
139 if ($exit_code < 0) {
140 $exit_value = $exit_code;
141 } elsif ($exit_code && 0xff) {
142 $exit_value = "[SIGNAL $exit_code]";
144 $exit_value = $exit_code >> 8;
148 exit_code => $exit_code,
/external/chromium_org/build/android/pylib/base/
Dtest_dispatcher_unittest.py147 results, exit_code = test_dispatcher._RunAllTests(
150 self.assertEqual(exit_code, 0)
160 results, exit_code = test_dispatcher._RunAllTests(
163 self.assertEqual(exit_code, constants.ERROR_EXIT_CODE)
179 results, exit_code = TestShard._RunShard(MockRunner)
181 self.assertEqual(exit_code, 0)
184 results, exit_code = TestShard._RunShard(MockRunnerFail)
187 self.assertEqual(exit_code, constants.ERROR_EXIT_CODE)
190 results, exit_code = test_dispatcher.RunTests(
193 self.assertEqual(exit_code, constants.ERROR_EXIT_CODE)
[all …]
/external/chromium_org/remoting/host/
Dhost_status_sender.cc71 void HostStatusSender::SendOfflineStatus(HostExitCodes exit_code) { in SendOfflineStatus() argument
72 SendHostStatus(OFFLINE, exit_code); in SendOfflineStatus()
80 HostExitCodes exit_code) { in SendHostStatus() argument
90 CreateHostStatusMessage(status, exit_code), in SendHostStatus()
101 HostStatus status, HostExitCodes exit_code) { in CreateHostStatusMessage() argument
113 ExitCodeToString(exit_code)); in CreateHostStatusMessage()
116 host_status->AddElement(CreateSignature(status, exit_code).release()); in CreateHostStatusMessage()
127 MakeLogEntryForHostStatus(status, exit_code)); in CreateHostStatusMessage()
135 HostStatus status, HostExitCodes exit_code) { in CreateSignature() argument
155 message += std::string(" ") + ExitCodeToString(exit_code); in CreateSignature()
/external/chromium_org/content/app/
Dcontent_main.cc15 int exit_code = main_runner->Initialize(params); in ContentMain() local
16 if (exit_code >= 0) in ContentMain()
17 return exit_code; in ContentMain()
19 exit_code = main_runner->Run(); in ContentMain()
23 return exit_code; in ContentMain()
/external/chromium_org/content/browser/
Dbrowser_main.cc22 int exit_code = main_runner->Initialize(parameters); in BrowserMain() local
23 if (exit_code >= 0) in BrowserMain()
24 return exit_code; in BrowserMain()
26 exit_code = main_runner->Run(); in BrowserMain()
32 return exit_code; in BrowserMain()
/external/chromium_org/sandbox/linux/services/
Dscoped_process_unittest.cc31 void ExitWithCode(int exit_code) { _exit(exit_code); } in ExitWithCode() argument
44 int exit_code = process.WaitForExit(&got_signaled); in TEST() local
46 EXPECT_EQ(kCustomExitCode, exit_code); in TEST()
61 int exit_code = process.WaitForExit(&got_signaled); in TEST() local
63 EXPECT_EQ(SIGABRT, exit_code); in TEST()
70 int exit_code = process.WaitForExit(&got_signaled); in TEST() local
72 EXPECT_EQ(SIGKILL, exit_code); in TEST()
/external/chromium_org/chrome/browser/component_updater/
Dsw_reporter_installer_win.cc130 void ReportAndClearExitCode(int exit_code, const std::string& version) { in ReportAndClearExitCode() argument
131 UMA_HISTOGRAM_SPARSE_SLOWLY("SoftwareReporter.ExitCode", exit_code); in ReportAndClearExitCode()
134 exit_code); in ReportAndClearExitCode()
137 if ((exit_code == kPostRebootCleanupNeeded || exit_code == kCleanupNeeded) && in ReportAndClearExitCode()
156 exit_code); in ReportAndClearExitCode()
211 int exit_code = -1; in LaunchAndWaitForExit() local
212 bool success = base::WaitForExitCode(scan_reporter_process, &exit_code); in LaunchAndWaitForExit()
219 base::Bind(&ReportAndClearExitCode, exit_code, version)); in LaunchAndWaitForExit()
255 DWORD exit_code; in ComponentReady() local
257 srt_key.ReadValueDW(kExitCodeRegistryValueName, &exit_code) == in ComponentReady()
[all …]
/external/chromium_org/chrome/browser/printing/cloud_print/test/
Dcloud_print_policy_browsertest.cc56 int exit_code = -100; in IN_PROC_BROWSER_TEST_F() local
58 base::WaitForExitCodeWithTimeout(handle, &exit_code, in IN_PROC_BROWSER_TEST_F()
62 EXPECT_EQ(chrome::RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED, exit_code); in IN_PROC_BROWSER_TEST_F()
84 int exit_code = -100; in IN_PROC_BROWSER_TEST_F() local
86 base::WaitForExitCodeWithTimeout(handle, &exit_code, in IN_PROC_BROWSER_TEST_F()
90 EXPECT_EQ(content::RESULT_CODE_NORMAL_EXIT, exit_code); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/v8/tools/testrunner/local/
Dcommands.py92 exit_code = None
94 while exit_code is None:
98 exit_code = process.wait()
101 exit_code = process.poll()
106 return (exit_code, timed_out)
135 (exit_code, timed_out) = RunProcess(
151 return output.Output(exit_code, timed_out, out, errors)
/external/chromium_org/sandbox/win/tests/integration_tests/
Dintegration_tests_test.cc175 DWORD exit_code; in TEST() local
176 ASSERT_TRUE(::GetExitCodeProcess(runner.process(), &exit_code)); in TEST()
177 ASSERT_EQ(STILL_ACTIVE, exit_code); in TEST()
199 DWORD exit_code; in TEST() local
202 ASSERT_TRUE(::GetExitCodeProcess(runner2.process(), &exit_code)); in TEST()
203 ASSERT_EQ(STILL_ACTIVE, exit_code); in TEST()
225 DWORD exit_code; in TEST() local
228 ASSERT_TRUE(::GetExitCodeProcess(runner2.process(), &exit_code)); in TEST()
229 ASSERT_EQ(STILL_ACTIVE, exit_code); in TEST()
253 DWORD exit_code; in TEST() local
[all …]
/external/chromium_org/build/android/pylib/
Dforwarder.py99 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
106 if exit_code != 0:
109 instance._host_forwarder_path, exit_code, '\n'.join(output)))
231 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
233 if exit_code != 0:
235 instance._host_forwarder_path, exit_code, '\n'.join(output)))
295 (exit_code, output) = device.old_interface.GetAndroidToolStatusAndOutput(
297 if exit_code != 0:
308 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
310 if exit_code != 0:
[all …]
/external/chromium_org/v8/tools/
Dfuzz-harness.sh86 exit_code=$(cat w* | grep " looking good" -c)
87 exit_code=$((100-exit_code))
91 echo "Total failures: $exit_code"
92 exit $exit_code
/external/chromium_org/chrome/installer/setup/
Dsetup_util.cc48 int* exit_code) { in LaunchAndWaitForExistingInstall() argument
49 DCHECK(exit_code); in LaunchAndWaitForExistingInstall()
79 if (!base::WaitForExitCode(handle, exit_code)) { in LaunchAndWaitForExistingInstall()
81 *exit_code = WAIT_FOR_EXISTING_FAILED; in LaunchAndWaitForExistingInstall()
83 VLOG(1) << "Existing installer returned exit code " << *exit_code; in LaunchAndWaitForExistingInstall()
111 const int exit_code = (patch_status != courgette::C_OK) ? in CourgettePatchFiles() local
114 LOG_IF(ERROR, exit_code) in CourgettePatchFiles()
117 << ". err=" << exit_code; in CourgettePatchFiles()
119 return exit_code; in CourgettePatchFiles()
133 const int exit_code = patch_status != OK ? in BsdiffPatchFiles() local
[all …]
/external/chromium_org/tools/metrics/histograms/
DPRESUBMIT.py18 exit_code = input_api.subprocess.call(
20 if exit_code != 0:
25 exit_code = input_api.subprocess.call(
27 if exit_code != 0:
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Dexecutive.py52 exit_code=None, argument
62 if exit_code:
63 message += " exit_code: %d" % exit_code
72 self.exit_code = exit_code
131 exit_code = self._run_command_with_teed_output(args, child_stdout, **kwargs)
141 if exit_code:
143 exit_code=exit_code,
403 exit_code = process.wait()
409 return exit_code
411 if exit_code:
[all …]
/external/protobuf/gtest/test/
Dgtest_help_test.py84 return child.exit_code, child.output
94 exit_code, output = RunWithFlag(flag)
95 self.assertEquals(0, exit_code)
120 exit_code, output = RunWithFlag(None)
121 self.assert_(exit_code != 0)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
Dmanager.py189 exit_code = self._port.check_build(self.needs_servers(test_names), self._printer)
190 if exit_code:
192 return exit_code
203 exit_code = self._port.check_sys_deps(self.needs_servers(test_names))
204 if exit_code:
206 return exit_code
229 return test_run_results.RunDetails(exit_code=test_run_results.NO_TESTS_EXIT_STATUS)
240 return test_run_results.RunDetails(exit_code=test_run_results.NO_TESTS_EXIT_STATUS)
242 exit_code = self._set_up_run(tests_to_run)
243 if exit_code:
[all …]
/external/chromium_org/chrome/installer/mini_installer/
Dmini_installer.cc278 ProcessExitCode* exit_code) { in RunProcessAndWait() argument
292 } else if (exit_code) { in RunProcessAndWait()
293 if (!::GetExitCodeProcess(pi.hProcess, exit_code)) in RunProcessAndWait()
432 ProcessExitCode exit_code = SUCCESS_EXIT_CODE; in UnpackBinaryResources() local
434 (!RunProcessAndWait(exe_path.get(), cmd_line.get(), &exit_code) || in UnpackBinaryResources()
435 exit_code != SUCCESS_EXIT_CODE)) { in UnpackBinaryResources()
494 const wchar_t* setup_path, ProcessExitCode* exit_code) { in RunSetup() argument
523 return RunProcessAndWait(NULL, cmd_line.get(), exit_code); in RunSetup()
722 ProcessExitCode* exit_code) { in ProcessNonInstallOperations() argument
729 *exit_code = SUCCESS_EXIT_CODE; in ProcessNonInstallOperations()
[all …]

12345678910>>...14