/system/extras/tests/net_test/ |
all_tests.sh | 35 exit_code=0 43 $test || exit_code=$(( exit_code + 1 )) 47 echo "$PREFIX $exit_code failed $(maybePlural $exit_code test tests)." 48 exit $exit_code
|
/external/libcxx/test/libcxx/android/ |
adb.py | 5 def __init__(self, cmd, out, err, exit_code): 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)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/android/ |
adb.py | 5 def __init__(self, cmd, out, err, exit_code): 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/v8/tools/testrunner/objects/ |
output.py | 35 def __init__(self, exit_code, timed_out, stdout, stderr): 36 self.exit_code = exit_code 43 return 0x80000000 & self.exit_code and not (0x3FFFFF00 & self.exit_code) 45 # Timed out tests will have exit_code -signal.SIGTERM. 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/webrtc/webrtc/base/ |
posix.cc | 56 int exit_code = 0; local 58 exit_code |= EXIT_FLAG_CHDIR_ERRORS; 63 exit_code |= EXIT_FLAG_FDWALK_ERRORS; 66 exit_code |= EXIT_FLAG_CLOSE_ERRORS; 76 exit_code |= EXIT_FLAG_SECOND_FORK_FAILED; 77 _exit(exit_code); // if second fork failed 91 _exit(exit_code); 111 int exit_code = WEXITSTATUS(status); local 112 if (exit_code & EXIT_FLAG_CHDIR_ERRORS) { 116 if (exit_code & EXIT_FLAG_FDWALK_ERRORS) [all...] |
/external/gmock/test/ |
gmock_leak_test.py | 62 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)
|
gmock_test_utils.py | 76 def GetExitStatus(exit_code): 80 exit_code: the result value of os.system(command). 86 return exit_code 90 if os.WIFEXITED(exit_code): 91 return os.WEXITSTATUS(exit_code)
|
/external/google-breakpad/src/testing/test/ |
gmock_leak_test.py | 51 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)
|
gmock_test_utils.py | 76 def GetExitStatus(exit_code): 80 exit_code: the result value of os.system(command). 86 return exit_code 90 if os.WIFEXITED(exit_code): 91 return os.WEXITSTATUS(exit_code)
|
/external/libchrome/base/process/ |
kill.cc | 12 int exit_code, 18 result &= process.Terminate(exit_code, true);
|
kill.h | 51 int exit_code, 61 // circumstances of the child process' death. |exit_code| is set to 63 // GetExitCodeProcess() on Windows. |exit_code| may be NULL if the 69 int* exit_code); 88 ProcessHandle handle, int* exit_code); 108 int exit_code,
|
kill_posix.cc | 29 int* exit_code) { 35 if (exit_code) 36 *exit_code = 0; 40 if (exit_code) 41 *exit_code = 0; 45 if (exit_code) 46 *exit_code = status; 87 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { 88 return GetTerminationStatusImpl(handle, false /* can_block */, exit_code); 92 int* exit_code) { [all...] |
process.h | 91 // Terminates the process with extreme prejudice. The given |exit_code| will 95 // NOTE: On POSIX |exit_code| is ignored. 96 bool Terminate(int exit_code, bool wait) const; 99 // On POSIX, if the process has been signaled then |exit_code| is set to -1. 102 // NOTE: |exit_code| is optional, nullptr can be passed if the exit code is 104 bool WaitForExit(int* exit_code); 107 // NOTE: |exit_code| is optional, nullptr can be passed if the exit code 109 bool WaitForExitWithTimeout(TimeDelta timeout, int* exit_code);
|
/external/libbrillo/brillo/daemons/ |
dbus_daemon.cc | 22 int exit_code = Daemon::OnInit(); local 23 if (exit_code != EX_OK) 24 return exit_code; 29 return exit_code; 49 int exit_code = DBusDaemon::OnInit(); local 50 if (exit_code != EX_OK) 51 return exit_code;
|
daemon.cc | 25 int exit_code = OnInit(); local 26 if (exit_code != EX_OK) 27 return exit_code; 45 void Daemon::QuitWithExitCode(int exit_code) { 46 exit_code_ = exit_code; 71 void Daemon::OnShutdown(int* /* exit_code */) {
|
/external/jemalloc/test/src/ |
thd.c | 18 DWORD exit_code; local 19 GetExitCodeThread(thd, (LPDWORD) &exit_code); 20 *ret = (void *)(uintptr_t)exit_code;
|
/external/v8/tools/ |
fuzz-harness.sh | 86 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/autotest/client/site_tests/kernel_AsyncDriverProbe/ |
kernel_AsyncDriverProbe.py | 49 exit_code = subprocess.call(["modprobe", "-n", "-q", module]) 50 if exit_code: 54 (module, exit_code))
|
/external/chromium-trace/catapult/catapult_base/bin/ |
run_tests | 17 exit_code = run_with_typ.Run(top_level_dir, path=[_CATAPULT_BASE_PATH]) 18 if exit_code: 19 sys.exit(exit_code)
|
/external/chromium-trace/catapult/perf_insights/bin/ |
run_py_tests | 16 exit_code = run_with_typ.Run(top_level_dir, path=[_PERF_INSIGHTS_PATH]) 17 if exit_code: 18 sys.exit(exit_code)
|
/system/media/camera/docs/ |
metadata-parser-sanity-check | 55 exit_code=$? 58 if [[ $exit_code -ne 0 ]] 65 exit $exit_code
|
/external/autotest/client/bin/ |
autotestd_monitor | 45 exit_code_file = open(os.path.join(logdir, 'exit_code')) 49 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)
|
autotest_client | 25 exit_code = subprocess.call(cmd, shell=True, stderr=subprocess.STDOUT, variable 27 sys.exit(exit_code) # pass on the exit status from autotest
|
/external/libchrome/sandbox/linux/services/ |
scoped_process_unittest.cc | 32 void ExitWithCode(int exit_code) { _exit(exit_code); } 43 int exit_code = process.WaitForExit(&got_signaled); local 45 EXPECT_EQ(kCustomExitCode, exit_code); 60 int exit_code = process.WaitForExit(&got_signaled); local 62 EXPECT_EQ(SIGABRT, exit_code); 69 int exit_code = process.WaitForExit(&got_signaled); local 71 EXPECT_EQ(SIGKILL, exit_code);
|
/external/autotest/cli/ |
atest_unittest.py | 28 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,
|