/third_party/gn/src/gn/ |
D | exec_process_unittest.cc | 27 int* exit_code) { in ExecPython() argument 41 std_err, exit_code); in ExecPython() 47 int exit_code; in TEST() local 50 ExecPython("import sys; sys.exit(0)", &std_out, &std_err, &exit_code)); in TEST() 51 EXPECT_EQ(0, exit_code); in TEST() 54 ExecPython("import sys; sys.exit(1)", &std_out, &std_err, &exit_code)); in TEST() 55 EXPECT_EQ(1, exit_code); in TEST() 58 ExecPython("import sys; sys.exit(253)", &std_out, &std_err, &exit_code)); in TEST() 59 EXPECT_EQ(253, exit_code); in TEST() 61 ASSERT_TRUE(ExecPython("throw Exception()", &std_out, &std_err, &exit_code)); in TEST() [all …]
|
D | exec_process.cc | 41 int* exit_code) { in ExecProcess() argument 43 std_err, exit_code); in ExecProcess() 50 int* exit_code) { in ExecProcess() argument 137 *exit_code = static_cast<int>(dw_exit_code); in ExecProcess() 157 bool WaitForExit(int pid, int* exit_code) { 165 *exit_code = WEXITSTATUS(status); 179 int* exit_code) { 180 *exit_code = EXIT_FAILURE; 282 return WaitForExit(pid, exit_code);
|
/third_party/icu/tools/scripts/ |
D | uconfig_vars_test.py | 106 conf_log, exit_code = RunCmd( 108 if exit_code != 0: 113 run_log, exit_code = RunCmd('make -j2 check') 114 test_results[uconfig_no]['unit_test'] = (exit_code == 0) 122 conf_log, exit_code = RunCmd( 124 if exit_code != 0: 129 run_log, exit_code = RunCmd('make -j2 check') 130 test_results['all_flags']['unit_test'] = (exit_code == 0) 150 conf_log, exit_code = RunCmd('./runConfigureICU Linux --prefix=/tmp/icu_cnfg') 151 if exit_code != 0: [all …]
|
/third_party/node/deps/v8/tools/testrunner/objects/ |
D | output.py | 37 def __init__(self, exit_code=0, timed_out=False, stdout=None, stderr=None, argument 39 self.exit_code = exit_code 55 return 0x80000000 & self.exit_code and not (0x3FFFFF00 & self.exit_code) 60 return (self.exit_code < 0 and 61 self.exit_code != -signal.SIGABRT) 71 return "%d [%02X]" % (self.exit_code, self.exit_code & 0xffffffff)
|
/third_party/ltp/testcases/kernel/security/cap_bound/ |
D | run_capbounds.sh | 23 exit_code=0 28 exit_code=$tmp 35 exit_code=$tmp 42 exit_code=$tmp 48 exit_code=$tmp; 53 exit_code=$tmp; 56 exit $exit_code
|
/third_party/googletest/googlemock/test/ |
D | gmock_leak_test.py | 58 env=environ).exit_code) 62 env=environ).exit_code) 69 env=environ).exit_code) 74 env=environ).exit_code) 81 env=environ).exit_code) 86 env=environ).exit_code) 93 env=environ).exit_code) 100 env=environ).exit_code)
|
D | gmock_test_utils.py | 60 def GetExitStatus(exit_code): argument 70 return exit_code 74 if os.WIFEXITED(exit_code): 75 return os.WEXITSTATUS(exit_code)
|
/third_party/node/tools/ |
D | v8-json-to-junit.py | 39 def IsExitCodeCrashing(exit_code): argument 41 return 0x80000000 & exit_code and not (0x3FFFFF00 & exit_code) 42 return exit_code < 0 and exit_code != -signal.SIGABRT 99 exit_code = failing_test["exit_code"] 102 elif IsExitCodeCrashing(exit_code): 103 failing_output.append("exit code: " + str(exit_code))
|
/third_party/googletest/googletest/test/ |
D | gtest_help_test.py | 97 return child.exit_code, child.output 113 exit_code, output = RunWithFlag(flag) 117 self.assertEqual(1, exit_code) 119 self.assertEqual(0, exit_code) 142 exit_code, output = RunWithFlag(flag) 143 self.assertEqual(1, exit_code) 156 exit_code, output = RunWithFlag(flag) 157 self.assertNotEqual(exit_code, 0)
|
D | gtest_test_utils.py | 176 def GetExitStatus(exit_code): argument 186 return exit_code 190 if os.WIFEXITED(exit_code): 191 return os.WEXITSTATUS(exit_code) 240 self.exit_code = self._return_code
|
/third_party/ltp/testcases/kernel/security/filecaps/ |
D | filecapstest.sh | 30 exit_code=0 35 exit_code=$tmp 42 exit_code=$tmp 49 exit_code=$tmp 53 exit $exit_code
|
/third_party/node/src/ |
D | node_main_instance.cc | 116 int exit_code = 0; in Run() local 118 CreateMainEnvironment(&exit_code); in Run() 122 Run(&exit_code, env.get()); in Run() 123 return exit_code; in Run() 126 void NodeMainInstance::Run(int* exit_code, Environment* env) { in Run() argument 127 if (*exit_code == 0) { in Run() 130 *exit_code = SpinEventLoop(env).FromMaybe(1); in Run() 139 NodeMainInstance::CreateMainEnvironment(int* exit_code) { in CreateMainEnvironment() argument 140 *exit_code = 0; // Reset the exit code to 0 in CreateMainEnvironment()
|
D | node.cc | 847 const int exit_code = ProcessGlobalArgs(&env_argv, in InitializeNodeWithArgs() local 851 if (exit_code != 0) return exit_code; in InitializeNodeWithArgs() 857 const int exit_code = ProcessGlobalArgs(argv, in InitializeNodeWithArgs() local 861 if (exit_code != 0) return exit_code; in InitializeNodeWithArgs() 937 if (result->exit_code() != 0) { in InitializeOncePerProcess() 1135 int exit_code = result->exit_code(); in GenerateAndWriteSnapshotData() local 1149 exit_code = 1; in GenerateAndWriteSnapshotData() 1150 return exit_code; in GenerateAndWriteSnapshotData() 1156 exit_code = node::SnapshotBuilder::Generate( in GenerateAndWriteSnapshotData() 1158 if (exit_code == 0) { in GenerateAndWriteSnapshotData() [all …]
|
/third_party/mbedtls/programs/test/ |
D | zeroize.c | 49 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 59 mbedtls_exit(exit_code); in main() 65 mbedtls_exit(exit_code); in main() 75 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 83 mbedtls_exit(exit_code); // GDB_BREAK_HERE -- don't remove this comment! in main()
|
/third_party/node/tools/snapshot/ |
D | node_mksnapshot.cc | 72 CHECK_EQ(result->exit_code(), 0); 87 int exit_code = 0; local 89 exit_code = node::SnapshotBuilder::Generate( 91 if (exit_code == 0) { 94 exit_code = 1; 100 return exit_code;
|
/third_party/mbedtls/programs/random/ |
D | gen_entropy.c | 43 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 49 mbedtls_exit(exit_code); in main() 54 mbedtls_exit(exit_code); in main() 77 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 85 mbedtls_exit(exit_code); in main()
|
D | gen_random_ctr_drbg.c | 46 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 55 mbedtls_exit(exit_code); in main() 60 mbedtls_exit(exit_code); in main() 108 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 117 mbedtls_exit(exit_code); in main()
|
/third_party/node/deps/v8/tools/ |
D | fuzz-harness.sh | 93 exit_code=$(cat w* | grep " looking good" -c) 94 exit_code=$((100-exit_code)) 105 echo "Total failures: $exit_code" 106 exit $exit_code
|
/third_party/ltp/testcases/kernel/containers/utsname/ |
D | runutstests_noltp.sh | 23 exit_code=0 29 exit_code=$? 37 exit_code=$? 41 exit $exit_code
|
/third_party/ltp/testcases/kernel/syscalls/syslog/ |
D | syslog-lib.sh | 40 exit_code=$1 49 if [ $exit_code -ne $? ]; then 50 exit_code=1 53 exit_code=1 57 exit $exit_code
|
/third_party/googletest/googletest/scripts/ |
D | run_with_path.py | 21 exit_code = subprocess.Popen(sys.argv[1:]).wait() 26 if exit_code < 0: 27 exit_code = 100 29 sys.exit(exit_code)
|
/third_party/node/deps/v8/tools/jsfunfuzz/ |
D | fuzz-harness.sh | 86 exit_code=$(cat w* | grep " looking good" -c) 87 exit_code=$((100-exit_code)) 98 echo "Total failures: $exit_code" 99 exit $exit_code
|
/third_party/mbedtls/programs/hash/ |
D | generic_sum.c | 166 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 186 mbedtls_exit(exit_code); in main() 195 mbedtls_exit(exit_code); in main() 199 mbedtls_exit(exit_code); in main() 213 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 219 mbedtls_exit(exit_code); in main()
|
/third_party/mbedtls/programs/pkey/ |
D | pk_verify.c | 48 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 112 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 118 if (exit_code != MBEDTLS_EXIT_SUCCESS) { in main() 124 mbedtls_exit(exit_code); in main()
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | runipctests_noltp.sh | 22 exit_code=0 28 exit_code=$? 31 exit $exit_code
|