/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTProcIsRunningByName.cpp | 50 char szExecPath[RTPATH_MAX] = { "vbox-5b05e1ff-6ae2-4d10-885a-7d25018c4c5b" }; local 51 if (!RTProcIsRunningByName(szExecPath)) 52 RTPrintf("tstRTProcIsRunningByName: Process '%s' is not running (expected).\n", szExecPath); 55 RTPrintf("tstRTProcIsRunningByName: FAILURE - '%s' is running! (test 1)\n", szExecPath); 62 strcpy(szExecPath, "/bin/vbox-5b05e1ff-6ae2-4d10-885a-7d25018c4c5b"); 63 if (!RTProcIsRunningByName(szExecPath)) 64 RTPrintf("tstRTProcIsRunningByName: Process '%s' is not running (expected).\n", szExecPath); 67 RTPrintf("tstRTProcIsRunningByName: FAILURE - '%s' is running! (test 1)\n", szExecPath); 74 if (RTProcGetExecutablePath(szExecPath, RTPATH_MAX)) 77 char *pszFilename = RTPathFilename(szExecPath); [all...] |
H A D | tstRTProcCreatePrf.cpp | 51 char szExecPath[RTPATH_MAX]; local 52 if (!RTProcGetExecutablePath(szExecPath, sizeof(szExecPath))) 53 RTStrCopy(szExecPath, sizeof(szExecPath), argv[0]); 55 const char *apszArgs[4] = { szExecPath, "child", "process", NULL }; 66 RTTEST_CHECK_RC_BREAK(hTest, RTProcCreate(szExecPath, apszArgs, RTENV_DEFAULT, 0 /* fFlags*/, &hProc), VINF_SUCCESS);
|
H A D | tstRTLocalIpc.cpp | 593 char szExecPath[RTPATH_MAX]; local 594 if (!RTProcGetExecutablePath(szExecPath, sizeof(szExecPath))) 595 RTStrCopy(szExecPath, sizeof(szExecPath), argv[0]); 633 RTTESTI_CHECK_RC_RET(testServerListenAndCancel(hTest, szExecPath), VINF_SUCCESS, 1); 634 RTTESTI_CHECK_RC_RET(testSessionConnection(hTest, szExecPath), VINF_SUCCESS, 1); 635 RTTESTI_CHECK_RC_RET(testSessionWait(hTest, szExecPath), VINF_SUCCESS, 1); 636 RTTESTI_CHECK_RC_RET(testSessionData(hTest, szExecPath), VINF_SUCCESS, 1);
|
H A D | tstRTCoreDump.h | 96 char szExecPath[PATH_MAX]; /* Path of the executable */ member in struct:VBOXPROCESS
|
/vbox/src/VBox/Runtime/generic/ |
H A D | RTProcDaemonize-generic.cpp | 50 char szExecPath[RTPATH_MAX]; local 51 AssertReturn(RTProcGetExecutablePath(szExecPath, sizeof(szExecPath)) == szExecPath, VERR_WRONG_ORDER); 83 rc = RTProcCreateEx(szExecPath, papszNewArgs, RTENV_DEFAULT,
|
/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | VBoxAboutDlg.cpp | 53 char szExecPath[1024]; local 54 RTPathExecDir(szExecPath, 1024); 55 QString strTmpPath = QString("%1/%2").arg(szExecPath).arg(strSplash);
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPSvc-win.cpp | 347 char szExecPath[MAX_PATH]; local 348 if (GetModuleFileName(NULL /* the executable */, szExecPath, sizeof(szExecPath))) 352 SUPSVC_SERVICE_NAME, szExecPath); /* yea, the binary name isn't UTF-8, but wtf. */ 361 szExecPath, /* lpBinaryPathName */
|
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | coredumper-solaris.h | 102 char szExecPath[PATH_MAX]; /**< Path of the executable */ member in struct:RTSOLCOREPROCESS
|
H A D | coredumper-solaris.cpp | 1944 RTProcGetExecutablePath(pSolProc->szExecPath, sizeof(pSolProc->szExecPath)); /* this gets full path not just name */ 1945 pSolProc->pszExecName = RTPathFilename(pSolProc->szExecPath);
|
/vbox/src/VBox/Frontends/VBoxAutostart/ |
H A D | VBoxAutostart-win.cpp | 458 char szExecPath[MAX_PATH]; local 459 if (GetModuleFileNameA(NULL /* the executable */, szExecPath, sizeof(szExecPath))) 463 AUTOSTART_SERVICE_NAME, szExecPath); /* yea, the binary name isn't UTF-8, but wtf. */ 472 szExecPath, /* lpBinaryPathName */
|
/vbox/src/VBox/Main/src-helper-apps/ |
H A D | VBoxExtPackHelperApp.cpp | 1569 char szExecPath[RTPATH_MAX]; local 1570 if (!RTProcGetExecutablePath(szExecPath,sizeof(szExecPath))) 1628 rcExit = RelaunchElevatedNative(szExecPath, papszArgs, cSuArgs, cArgs, iCmd, pszDisplayInfoHack); 1759 char szExecPath[RTPATH_MAX]; 1760 if (RTProcGetExecutablePath(szExecPath, sizeof(szExecPath)) == NULL) 1764 int rc = RTPathQueryInfoEx(szExecPath, &ObjInfo, RTFSOBJATTRADD_UNIX, RTPATH_F_ON_LINK);
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPLib.cpp | 1549 char szExecPath[RTPATH_MAX]; local 1550 if (!RTProcGetExecutablePath(szExecPath, sizeof(szExecPath))) 1560 if (RTPathCompare(pszArgv0, szExecPath) != 0) 1562 "argv[0] does not match the executable image path: '%s' != '%s'", pszArgv0, szExecPath); 1574 if ( cchAppPrivateArch >= strlen(szExecPath) 1575 || !RTPATH_IS_SLASH(szExecPath[cchAppPrivateArch])) 1578 szExecPath[cchAppPrivateArch] = '\0'; 1579 if (RTPathCompare(szExecPath, szAppPrivateArch) != 0) 1582 szExecPath[cchAppPrivateArc [all...] |