/third_party/gn/src/gn/ |
H A D | exec_process_unittest.cc | 27 int* exit_code) { in ExecPython() 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() 24 ExecPython(const std::string& command, std::string* std_out, std::string* std_err, int* exit_code) ExecPython() argument 71 int exit_code; TEST() local 81 int exit_code; TEST() local 104 int exit_code; TEST() local [all...] |
H A D | exec_process.cc | 42 int* exit_code) { in ExecProcess() 44 std_err, exit_code); in ExecProcess() 51 int* exit_code) { in ExecProcess() 138 *exit_code = static_cast<int>(dw_exit_code); in ExecProcess() 158 bool WaitForExit(int pid, int* exit_code) { 166 *exit_code = WEXITSTATUS(status); 180 int* exit_code) { 181 *exit_code = EXIT_FAILURE; 285 return WaitForExit(pid, exit_code); 38 ExecProcess(const base::CommandLine& cmdline, const base::FilePath& startup_dir, std::string* std_out, std::string* std_err, int* exit_code) ExecProcess() argument 47 ExecProcess(const std::u16string& cmdline_str, const base::FilePath& startup_dir, std::string* std_out, std::string* std_err, int* exit_code) ExecProcess() argument
|
H A D | invoke_python.cc | 37 int exit_code = 0; in InvokePython() local 39 &exit_code)) { in InvokePython() 51 if (exit_code != 0) { in InvokePython() 53 base::IntToString(exit_code) + "."); in InvokePython()
|
H A D | ninja_tools.cc | 34 int exit_code = 0; in RunNinja() local 36 &exit_code)) { in RunNinja() 43 if (exit_code != 0) { in RunNinja() 45 base::IntToString(exit_code) + "."); in RunNinja()
|
/third_party/icu/tools/scripts/ |
H A 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 ! [all...] |
/third_party/node/deps/v8/tools/testrunner/objects/ |
H A D | output.py | 37 def __init__(self, exit_code=0, timed_out=False, stdout=None, stderr=None, 39 self.exit_code = exit_code 55 return 0x80000000 & self.exit_code and not (0x3FFFFF00 & self.exit_code) 57 # Timed out tests will have exit_code -signal.SIGTERM. 60 return (self.exit_code < 0 and 61 self.exit_code != -signal.SIGABRT) 71 return "%d [%02X]" % (self.exit_code, self.exit_code [all...] |
/third_party/googletest/googlemock/test/ |
H A 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)
|
H A D | gmock_test_utils.py | 60 def GetExitStatus(exit_code): 64 exit_code: the result value of os.system(command). 70 return exit_code 74 if os.WIFEXITED(exit_code): 75 return os.WEXITSTATUS(exit_code)
|
/third_party/googletest/googletest/test/ |
H A 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)
|
H A D | gtest_test_utils.py | 176 def GetExitStatus(exit_code): 180 exit_code: the result value of os.system(command). 186 return exit_code 190 if os.WIFEXITED(exit_code): 191 return os.WEXITSTATUS(exit_code) 216 exit_code The code with which the child process exited. 240 self.exit_code = self._return_code
|
/third_party/node/tools/ |
H A D | v8-json-to-junit.py | 39 def IsExitCodeCrashing(exit_code): 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/node/src/ |
H A 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()
|
H A D | node.cc | 840 const int exit_code = ProcessGlobalArgs(&env_argv, in InitializeNodeWithArgs() local 844 if (exit_code != 0) return exit_code; in InitializeNodeWithArgs() 850 const int exit_code = ProcessGlobalArgs(argv, in InitializeNodeWithArgs() local 854 if (exit_code != 0) return exit_code; in InitializeNodeWithArgs() 930 if (result->exit_code() != 0) { in InitializeOncePerProcess() 1128 int exit_code = result->exit_code(); in GenerateAndWriteSnapshotData() local 1142 exit_code in GenerateAndWriteSnapshotData() 1182 int exit_code = result->exit_code(); LoadSnapshotDataAndRun() local [all...] |
/third_party/mbedtls/programs/test/ |
H A 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/mbedtls/programs/random/ |
H A 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()
|
H A 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/tools/snapshot/ |
H A 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/googletest/googletest/scripts/ |
H A D | run_with_path.py | 21 exit_code = subprocess.Popen(sys.argv[1:]).wait() 23 # exit_code is negative (-signal) if the process has been terminated by 26 if exit_code < 0: 27 exit_code = 100 29 sys.exit(exit_code)
|
/third_party/mbedtls/programs/hash/ |
H A 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/node/deps/v8/tools/jsfunfuzz/ |
H A 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/ltp/testcases/kernel/syscalls/syslog/ |
H A 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/mbedtls/programs/pkey/ |
H A D | pk_decrypt.c | 42 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 132 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 144 if (exit_code != MBEDTLS_EXIT_SUCCESS) { in main() 150 mbedtls_exit(exit_code); in main()
|
H A D | mpi_demo.c | 42 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 83 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 90 if (exit_code != MBEDTLS_EXIT_SUCCESS) { in main() 94 mbedtls_exit(exit_code); in main()
|
H A D | pk_sign.c | 40 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 134 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 145 if (exit_code != MBEDTLS_EXIT_SUCCESS) { in main() 151 mbedtls_exit(exit_code); in main()
|
H A D | pk_encrypt.c | 41 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local 133 exit_code = MBEDTLS_EXIT_SUCCESS; in main() 145 if (exit_code != MBEDTLS_EXIT_SUCCESS) { in main() 151 mbedtls_exit(exit_code); in main()
|