Home
last modified time | relevance | path

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

123456789

/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/ltp/testcases/commands/at/
Dat_allow01124 exit_code=1
125 test -e "${tmpfile}" && exit_code=0
126 if [ ${exit_code} -eq 1 ]; then
133 exit ${exit_code}
149 exit_code=1
150 test -e "${tmpfile}" || exit_code=0
151 if [ ${exit_code} -eq 1 ]; then
158 exit ${exit_code}
172 exit_code=1
174 exit_code=1
[all …]
Dat_deny01132 exit_code=1
133 test -e "${tmpfile}" && exit_code=0
134 if [ ${exit_code} -eq 1 ]; then
141 exit ${exit_code}
157 exit_code=1
158 test -e "${tmpfile}" || exit_code=0
159 if [ ${exit_code} -eq 1 ]; then
166 exit ${exit_code}
179 exit_code=1
181 exit_code=1
[all …]
/external/clang/tools/scan-build-py/tests/functional/cases/
Dtest_from_cdb.py41 exit_code, reportdir = run_analyzer(tmpdir, cdb, [])
47 exit_code, reportdir = run_analyzer(tmpdir, cdb, [])
53 exit_code, reportdir = run_analyzer(tmpdir, cdb, ['--keep-empty'])
61 exit_code, __ = run_analyzer(tmpdir, cdb, [])
62 self.assertFalse(exit_code)
67 exit_code, __ = run_analyzer(tmpdir, cdb, [])
68 self.assertFalse(exit_code)
73 exit_code, __ = run_analyzer(tmpdir, cdb, ['--status-bugs'])
74 self.assertTrue(exit_code)
79 exit_code, __ = run_analyzer(tmpdir, cdb, ['--status-bugs'])
[all …]
/external/libcxx/utils/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 …]
/external/v8/tools/testrunner/objects/
Doutput.py35 def __init__(self, exit_code, timed_out, stdout, stderr, pid): argument
36 self.exit_code = exit_code
44 return 0x80000000 & self.exit_code and not (0x3FFFFF00 & self.exit_code)
49 return (self.exit_code < 0 and
50 self.exit_code != -signal.SIGABRT)
56 return [self.exit_code, self.timed_out, self.stdout, self.stderr, self.pid]
/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/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)
/external/ltp/testcases/kernel/security/cap_bound/
Drun_capbounds.sh29 exit_code=0
34 exit_code=$tmp
41 exit_code=$tmp
48 exit_code=$tmp
54 exit_code=$tmp;
59 exit_code=$tmp;
62 exit $exit_code
/external/ltp/testcases/commands/su/
Dsu01_s1142 set exit_code [lindex $codes 3]
171 if { ($i_am_root==1) && ($exit_code==0) && ($pid>0) && ($i_have_env==1) } {
205 set exit_code [lindex $codes 3]
210 send_user "\nexit_code=$exit_code"
213 if { ($displayed_error==1) && ($exit_code!=0) && ($pid>0) } {
244 set exit_code [lindex $codes 3]
267 if { ($i_am_root==1) && ($exit_code==0) && ($pid>0) && ($i_have_env==0) } {
299 set exit_code [lindex $codes 3]
300 if { ($displayed_error==1) && ($exit_code!=0) && ($pid>0) } {
332 set exit_code [lindex $codes 3]
[all …]
/external/googletest/googlemock/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)
/external/v8/testing/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)
/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/ltp/testcases/kernel/security/filecaps/
Dfilecapstest.sh31 exit_code=0
36 exit_code=$tmp
43 exit_code=$tmp
50 exit_code=$tmp
54 exit $exit_code
/external/linux-kselftest/tools/testing/selftests/ptrace/
Dpeeksiginfo.c46 int ret, exit_code = -1; in check_error_paths() local
98 exit_code = 0; in check_error_paths()
101 return exit_code; in check_error_paths()
107 int i, j, ret, exit_code = -1; in check_direct_path() local
146 exit_code = 0; in check_direct_path()
148 return exit_code; in check_direct_path()
154 int i, exit_code = 1; in main() local
210 exit_code = 0; in main()
217 return exit_code; in main()
/external/chromium-trace/catapult/devil/devil/android/
Dforwarder.py143 (exit_code, output) = cmd_helper.GetCmdStatusAndOutputWithTimeout(
154 if exit_code != 0:
169 exit_code,
212 exit_code, output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
217 if exit_code != 0:
219 '`%s` exited with %d' % (' '.join(unmap_all_cmd), exit_code)]
316 (exit_code, output) = cmd_helper.GetCmdStatusAndOutputWithTimeout(
321 if exit_code != 0:
325 exit_code,
414 (exit_code, _o) = cmd_helper.GetCmdStatusAndOutputWithTimeout(
[all …]
/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/jsfunfuzz/
Dfuzz-harness.sh71 exit_code=$(cat w* | grep " looking good" -c)
72 exit_code=$((100-exit_code))
83 echo "Total failures: $exit_code"
84 exit $exit_code
/external/v8/tools/
Dfuzz-harness.sh93 exit_code=$(cat w* | grep " looking good" -c)
94 exit_code=$((100-exit_code))
105 echo "Total failures: $exit_code"
106 exit $exit_code
/external/ltp/testcases/kernel/containers/utsname/
Drunutstests_noltp.sh23 exit_code=0
29 exit_code=$?
37 exit_code=$?
41 exit $exit_code
/external/libmojo/third_party/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/ltp/testcases/kernel/syscalls/syslog/
Dsyslog-lib.sh40 exit_code=$1
49 if [ $exit_code -ne $? ]; then
50 exit_code=1
53 exit_code=1
57 exit $exit_code

123456789