/vbox/src/VBox/Runtime/r3/linux/ |
H A D | RTSystemShutdown-linux.cpp | 50 const char *apszArgs[6]; local 52 RT_BZERO(apszArgs, sizeof(apszArgs)); 54 apszArgs[iArg++] = "/sbin/shutdown"; 58 apszArgs[iArg++] = "-h"; 59 apszArgs[iArg++] = "-H"; 62 apszArgs[iArg++] = "-r"; 66 apszArgs[iArg++] = "-h"; 67 apszArgs[iArg++] = "-P"; 76 apszArgs[iAr [all...] |
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | RTSystemShutdown-solaris.cpp | 50 const char *apszArgs[8]; local 52 RT_BZERO(apszArgs, sizeof(apszArgs)); 54 apszArgs[iArg++] = "/usr/sbin/shutdown"; 55 apszArgs[iArg++] = "-y"; /* Pre-answer confirmation question. */ 56 apszArgs[iArg++] = "-i"; /* Change to the following state. */ 60 apszArgs[iArg++] = "0"; 63 apszArgs[iArg++] = "6"; 67 apszArgs[iArg++] = "5"; 71 apszArgs[iAr [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTGetOptArgv.cpp | 45 const char * const apszArgs[5]; member in struct:__anon16730 70 int rc = RTGetOptArgvToString(&pszCmdLine, s_aMscCrtTests[i].apszArgs, RTGETOPTARGV_CNV_QUOTE_MS_CRT); 85 const char * const apszArgs[5]; member in struct:__anon16731 102 int rc = RTGetOptArgvToString(&pszCmdLine, s_aBournShTests[i].apszArgs, RTGETOPTARGV_CNV_QUOTE_BOURNE_SH); 118 int rc = RTGetOptArgvToString(&pszCmdLine, s_aBournShTests[i].apszArgs, RTGETOPTARGV_CNV_QUOTE_BOURNE_SH); 127 while (papszArgs[j] && s_aBournShTests[i].apszArgs[j]) 129 if (strcmp(papszArgs[j], s_aBournShTests[i].apszArgs[j])) 133 i, j, papszArgs[j], s_aBournShTests[i].apszArgs[j]); 139 RTTESTI_CHECK(s_aBournShTests[i].apszArgs[j] == NULL);
|
H A D | tstRTProcCreatePrf.cpp | 55 const char *apszArgs[4] = { szExecPath, "child", "process", NULL }; local 66 RTTEST_CHECK_RC_BREAK(hTest, RTProcCreate(szExecPath, apszArgs, RTENV_DEFAULT, 0 /* fFlags*/, &hProc), VINF_SUCCESS);
|
H A D | tstRTProcWait.cpp | 54 const char *apszArgs[3] = { pArgs->pszExe, "child", NULL }; local 55 return RTProcCreate(apszArgs[0], apszArgs, RTENV_DEFAULT, 0, &pArgs->Process);
|
H A D | tstRTProcCreateEx.cpp | 150 const char * apszArgs[3] = local 160 RTTESTI_CHECK_RC_RETV(RTProcCreateEx(g_szExecName, apszArgs, RTENV_DEFAULT, 0 /*fFlags*/, NULL, 163 RTTESTI_CHECK_RC_RETV(RTProcCreateEx("non-existing-app", apszArgs, RTENV_DEFAULT, 0 /*fFlags*/, NULL, 166 RTTESTI_CHECK_RC_RETV(RTProcCreateEx(g_szExecName, apszArgs, RTENV_DEFAULT, 0 /*fFlags*/, NULL, 232 const char * apszArgs[3] = local 242 RTTESTI_CHECK_RC_RETV(RTProcCreateEx(g_szExecName, apszArgs, RTENV_DEFAULT, 0 /*fFlags*/, NULL, 297 const char * apszArgs[3] = local 307 RTTESTI_CHECK_RC_RETV(RTProcCreateEx(g_szExecName, apszArgs, RTENV_DEFAULT, 0 /*fFlags*/, NULL, 363 const char * apszArgs[3] = local 373 RTTESTI_CHECK_RC_RETV(RTProcCreateEx(g_szExecName, apszArgs, RTENV_DEFAUL [all...] |
H A D | tstRTLocalIpc.cpp | 53 const char *apszArgs[4] = { pszExecPath, "child", "testServerListenAndCancel", NULL }; local 55 int rc = RTProcCreate(pszExecPath, apszArgs, RTENV_DEFAULT, 0 /* fFlags*/, &hProc); 173 const char *apszArgs[4] = { pszExecPath, "child", "tstRTLocalIpcSessionConnectionFork", NULL }; local 174 RTTEST_CHECK_RC_BREAK(hTest, RTProcCreate(pszExecPath, apszArgs, 197 const char *apszArgs[4] = { pszExecPath, "child", "tstRTLocalIpcSessionConnectionFork", NULL }; 198 RTTEST_CHECK_RC_BREAK(hTest, RTProcCreate(pszExecPath, apszArgs, 291 const char *apszArgs[4] = { pszExecPath, "child", "tstRTLocalIpcSessionWaitFork", NULL }; local 292 RTTEST_CHECK_RC_BREAK(hTest, RTProcCreate(pszExecPath, apszArgs, 526 const char *apszArgs[4] = { pszExecPath, "child", "tstRTLocalIpcSessionDataFork", NULL }; local 527 RTTEST_CHECK_RC_BREAK(hTest, RTProcCreate(pszExecPath, apszArgs, [all...] |
/vbox/src/VBox/Runtime/VBox/ |
H A D | RTAssertShouldPanic-vbox.cpp | 119 const char *apszArgs[] = local 127 int rc = RTProcCreate(apszArgs[0], &apszArgs[0], RTENV_DEFAULT, 0, &Process);
|
/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | tstSupSem-Zombie.cpp | 178 const char *apszArgs[3] = { argv0, "--child", NULL }; local 179 RTTESTI_CHECK_RC_OK(rc = RTProcCreate(argv0, apszArgs, RTENV_DEFAULT, 0 /*fFlags*/, &hProcess));
|
H A D | tstSupSem.cpp | 247 const char *apszArgs[3] = { argv[0], "child", NULL }; local 250 RTTESTI_CHECK_RC(RTProcCreate(apszArgs[0], apszArgs, RTENV_DEFAULT, 0, &Process), VINF_SUCCESS); 272 RTTESTI_CHECK_RC(RTProcCreate(apszArgs[0], apszArgs, RTENV_DEFAULT, 0, &Process), VINF_SUCCESS);
|
/vbox/src/VBox/Installer/linux/install_service/ |
H A D | generate_service_file.cpp | 215 int main(int cArgs, char **apszArgs) argument 217 int rc = RTR3InitExe(cArgs, &apszArgs, 0); 263 RTGetOptInit(&GetState, cArgs, apszArgs, s_aOptions, 270 showUsage(apszArgs[0]);
|
/vbox/src/bldprogs/ |
H A D | scmsubversion.cpp | 584 const char *apszArgs[] = { g_szSvnPath, "--version", "--quiet", NULL }; local 586 int rc = scmSvnRunAndGetOutput(pState, apszArgs, false, &pszVersion); 684 const char *apszArgs[] = { g_szSvnPath, "propget", "svn:no-such-property", pState->pszFilename, NULL }; local 686 int rc = scmSvnRunAndGetOutput(pState, apszArgs, true, &pszValue); 722 const char *apszArgs[] = { g_szSvnPath, "propget", "svn:no-such-property", pszDir, NULL }; local 724 int rc = scmSvnRunAndGetOutput(NULL, apszArgs, true, &pszValue); 898 const char *apszArgs[] = { g_szSvnPath, "propget", "--strict", pszName, pState->pszFilename, NULL }; local 900 rc = scmSvnRunAndGetOutput(pState, apszArgs, false, &pszValue);
|
H A D | VBoxTpG.cpp | 260 const char *apszArgs[64]; local 263 apszArgs[iArg++] = g_pszAssembler; 264 apszArgs[iArg++] = g_pszAssemblerFmtOpt; 265 apszArgs[iArg++] = g_pszAssemblerFmtVal; 266 apszArgs[iArg++] = g_pszAssemblerDefOpt; 268 apszArgs[iArg++] = "ASM_FORMAT_MACHO"; 270 apszArgs[iArg++] = "ASM_FORMAT_OMF"; 276 apszArgs[iArg++] = "ASM_FORMAT_PE"; 280 apszArgs[iArg++] = "ASM_FORMAT_ELF"; 283 apszArgs[iAr [all...] |
/vbox/src/VBox/Main/src-all/ |
H A D | ExtPackManagerImpl.cpp | 2157 const char *apszArgs[20]; local 2161 apszArgs[cArgs++] = &szExecName[0]; 2167 apszArgs[cArgs++] = "--display-info-hack"; 2168 apszArgs[cArgs++] = a_pstrDisplayInfo->c_str(); 2172 apszArgs[cArgs++] = a_pszCommand; 2179 AssertReturn(cArgs < RT_ELEMENTS(apszArgs) - 1, E_UNEXPECTED); 2184 apszArgs[cArgs++] = pszLastArg; 2189 apszArgs[cArgs] = NULL; 2207 apszArgs,
|
/vbox/src/VBox/ValidationKit/utils/TestExecServ/ |
H A D | TestExecService.cpp | 767 const char *apszArgs[7]; local 770 apszArgs[cArgs++] = "RTTar"; 771 apszArgs[cArgs++] = "--extract"; 773 apszArgs[cArgs++] = "--file"; 774 apszArgs[cArgs++] = pszFile; 776 apszArgs[cArgs++] = "--directory"; 777 apszArgs[cArgs++] = pszDirectory; 782 apszArgs[cArgs++] = "--gunzip"; 784 RTEXITCODE rcExit = RTZipTarCmd(cArgs, (char **)apszArgs);
|
/vbox/src/VBox/Main/src-server/ |
H A D | MachineImpl.cpp | 7571 const char *apszArgs[] = local 7583 apszArgs[iArg++] = "--separate"; 7584 apszArgs[iArg++] = pszSupStartupLogArg; 7586 vrc = RTProcCreate(szPath, apszArgs, env, 0, &pid); 7606 const char *apszArgs[] = local 7617 apszArgs[iArg++] = "--separate"; 7618 apszArgs[iArg++] = pszSupStartupLogArg; 7620 vrc = RTProcCreate(szPath, apszArgs, env, 0, &pid); 7647 const char *apszArgs[] = local 7659 apszArgs[iAr [all...] |