Home
last modified time | relevance | path

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

1234567

/external/webrtc/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/libcxx/test/libcxx/android/
Dadb.py5 def __init__(self, cmd, out, err, exit_code): argument
10 self.exit_code = exit_code
15 out, err, exit_code = lit.util.executeCommand(cmd)
16 if exit_code != 0:
17 raise AdbError(cmd, out, err, exit_code)
22 out, err, exit_code = lit.util.executeCommand(cmd)
23 if exit_code != 0:
24 raise AdbError(cmd, out, err, exit_code)
/external/libchrome/base/process/
Dkill_posix.cc29 int* exit_code) { in GetTerminationStatusImpl() argument
35 if (exit_code) in GetTerminationStatusImpl()
36 *exit_code = 0; in GetTerminationStatusImpl()
40 if (exit_code) in GetTerminationStatusImpl()
41 *exit_code = 0; in GetTerminationStatusImpl()
45 if (exit_code) in GetTerminationStatusImpl()
46 *exit_code = status; in GetTerminationStatusImpl()
87 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { in GetTerminationStatus() argument
88 return GetTerminationStatusImpl(handle, false /* can_block */, exit_code); in GetTerminationStatus()
92 int* exit_code) { in GetKnownDeadTerminationStatus() argument
[all …]
Dprocess_posix.cc182 int* exit_code, in WaitForExitWithTimeoutImpl() argument
200 if (exit_code) in WaitForExitWithTimeoutImpl()
201 *exit_code = -1; in WaitForExitWithTimeoutImpl()
205 if (exit_code) in WaitForExitWithTimeoutImpl()
206 *exit_code = WEXITSTATUS(status); in WaitForExitWithTimeoutImpl()
347 bool Process::WaitForExit(int* exit_code) { in WaitForExit() argument
348 return WaitForExitWithTimeout(TimeDelta::Max(), exit_code); in WaitForExit()
351 bool Process::WaitForExitWithTimeout(TimeDelta timeout, int* exit_code) { in WaitForExitWithTimeout() argument
352 return WaitForExitWithTimeoutImpl(Handle(), exit_code, timeout); in WaitForExitWithTimeout()
Dkill.h51 int exit_code,
69 int* exit_code);
88 ProcessHandle handle, int* exit_code);
108 int exit_code,
Dlaunch_posix.cc545 int* exit_code) { in GetAppOutputInternal() argument
549 DCHECK(exit_code); in GetAppOutputInternal()
550 *exit_code = EXIT_FAILURE; in GetAppOutputInternal()
641 bool success = process.WaitForExit(exit_code); in GetAppOutputInternal()
660 int exit_code; in GetAppOutput() local
663 &exit_code); in GetAppOutput()
664 return result == EXECUTE_SUCCESS && exit_code == EXIT_SUCCESS; in GetAppOutput()
669 int exit_code; in GetAppOutputAndError() local
672 true, &exit_code); in GetAppOutputAndError()
673 return result == EXECUTE_SUCCESS && exit_code == EXIT_SUCCESS; in GetAppOutputAndError()
[all …]
/external/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/google-breakpad/src/testing/test/
Dgmock_leak_test.py51 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL).exit_code)
54 gmock_test_utils.Subprocess(TEST_WITH_ON_CALL).exit_code)
60 ['--gmock_catch_leaked_mocks=0']).exit_code)
64 ['--gmock_catch_leaked_mocks=0']).exit_code)
70 ['--gmock_catch_leaked_mocks']).exit_code)
74 ['--gmock_catch_leaked_mocks']).exit_code)
80 ['--gmock_catch_leaked_mocks=1']).exit_code)
86 ['--gmock_catch_leaked_mocks']).exit_code)
Dgmock_test_utils.py76 def GetExitStatus(exit_code): argument
86 return exit_code
90 if os.WIFEXITED(exit_code):
91 return os.WEXITSTATUS(exit_code)
/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/gmock/test/
Dgmock_leak_test.py62 env=environ).exit_code)
66 env=environ).exit_code)
73 env=environ).exit_code)
78 env=environ).exit_code)
85 env=environ).exit_code)
90 env=environ).exit_code)
97 env=environ).exit_code)
104 env=environ).exit_code)
Dgmock_test_utils.py76 def GetExitStatus(exit_code): argument
86 return exit_code
90 if os.WIFEXITED(exit_code):
91 return os.WEXITSTATUS(exit_code)
/external/libbrillo/brillo/daemons/
Ddbus_daemon.cc22 int exit_code = Daemon::OnInit(); in OnInit() local
23 if (exit_code != EX_OK) in OnInit()
24 return exit_code; in OnInit()
29 return exit_code; in OnInit()
49 int exit_code = DBusDaemon::OnInit(); in OnInit() local
50 if (exit_code != EX_OK) in OnInit()
51 return exit_code; in OnInit()
Ddaemon.cc25 int exit_code = OnInit(); in Run() local
26 if (exit_code != EX_OK) in Run()
27 return exit_code; in Run()
45 void Daemon::QuitWithExitCode(int exit_code) { in QuitWithExitCode() argument
46 exit_code_ = exit_code; in QuitWithExitCode()
/external/libchrome/sandbox/linux/services/
Dscoped_process_unittest.cc32 void ExitWithCode(int exit_code) { _exit(exit_code); } in ExitWithCode() argument
43 int exit_code = process.WaitForExit(&got_signaled); in TEST() local
45 EXPECT_EQ(kCustomExitCode, exit_code); in TEST()
60 int exit_code = process.WaitForExit(&got_signaled); in TEST() local
62 EXPECT_EQ(SIGABRT, exit_code); in TEST()
69 int exit_code = process.WaitForExit(&got_signaled); in TEST() local
71 EXPECT_EQ(SIGKILL, exit_code); in TEST()
/external/autotest/server/cros/
Dtelemetry_runner_unittest.py47 exit_code=0, stdout=self.SAMPLE_RESULT_LINES)
59 result = telemetry_runner.TelemetryResult(exit_code=2, stdout=stdout,
76 result = telemetry_runner.TelemetryResult(exit_code=2, stdout=stdout,
89 result = telemetry_runner.TelemetryResult(exit_code=1, stdout=stdout,
103 result = telemetry_runner.TelemetryResult(exit_code=0, stdout=stdout,
118 result = telemetry_runner.TelemetryResult(exit_code=0, stdout=stdout,
132 result = telemetry_runner.TelemetryResult(exit_code=0, stdout=stdout,
159 result = telemetry_runner.TelemetryResult(exit_code=0, stdout=stdout,
/external/autotest/client/bin/
Dautotestd_monitor49 exit_code = exit_code_file.read() variable
50 if len(exit_code) != 4:
51 exit_code = -signal.SIGKILL # autotestd was nuked variable
53 exit_code = int(exit_code) variable
69 sys.exit(exit_code)
/external/v8/tools/
Dfuzz-harness.sh86 exit_code=$(cat w* | grep " looking good" -c)
87 exit_code=$((100-exit_code))
93 echo "Total failures: $exit_code"
94 exit $exit_code
/external/chromium-trace/catapult/devil/devil/android/
Dforwarder.py98 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
106 if exit_code != 0:
116 exit_code, '\n'.join(output)))
233 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
235 if exit_code != 0:
238 instance._host_forwarder_path, exit_code, '\n'.join(output))
314 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
316 if exit_code != 0:
317 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
319 if exit_code != 0:
[all …]
/external/autotest/cli/
Datest_unittest.py28 outputs = self.run_cmd(argv + [help], exit_code=0,
62 self.run_cmd(['atest'], exit_code=1,
69 self.run_cmd(['atest', 'bad_topic'], exit_code=1,
76 self.run_cmd(['atest', 'host', 'bad_action'], exit_code=1,
/external/autotest/server/site_tests/telemetry_Crosperf/
Dtelemetry_Crosperf.py125 exit_code = result.exit_status
128 exit_code = e.result_obj.exit_status
140 '\nstdout:%s\nstderr:%s', exit_code,
143 '\nstdout:%s\nstderr:%s', exit_code,
146 result = telemetry_runner.TelemetryResult(exit_code=exit_code,
/external/protobuf/gtest/test/
Dgtest_help_test.py93 return child.exit_code, child.output
109 exit_code, output = RunWithFlag(flag)
110 self.assertEquals(0, exit_code)
132 exit_code, output = RunWithFlag(flag)
133 self.assert_(exit_code != 0)
/external/chromium-trace/catapult/catapult_build/
Dtest_runner.py43 exit_code = 0
48 exit_code |= new_exit_code
52 if exit_code:
58 sys.exit(exit_code)
/external/google-breakpad/src/testing/gtest/test/
Dgtest_help_test.py95 return child.exit_code, child.output
111 exit_code, output = RunWithFlag(flag)
112 self.assertEquals(0, exit_code)
135 exit_code, output = RunWithFlag(flag)
136 self.assert_(exit_code != 0)
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_help_test.py95 return child.exit_code, child.output
111 exit_code, output = RunWithFlag(flag)
112 self.assertEquals(0, exit_code)
135 exit_code, output = RunWithFlag(flag)
136 self.assert_(exit_code != 0)

1234567