/vbox/src/VBox/Runtime/common/path/ |
H A D | RTPathAbsDup.cpp | 47 char szPath[RTPATH_MAX]; local 48 int rc = RTPathAbs(pszPath, szPath, sizeof(szPath)); 50 return RTStrDup(szPath);
|
H A D | RTPathRealDup.cpp | 48 char szPath[RTPATH_MAX]; local 49 int rc = RTPathReal(pszPath, szPath, sizeof(szPath)); 51 return RTStrDup(szPath);
|
H A D | RTPathAbsExDup.cpp | 51 char szPath[RTPATH_MAX]; local 52 int rc = RTPathAbsEx(pszBase, pszPath, szPath, sizeof(szPath)); 54 return RTStrDup(szPath);
|
H A D | RTPathRmCmd.cpp | 440 char szPath[RTPATH_MAX]; local 441 rc = RTPathAbs(pszPath, szPath, sizeof(szPath)); 451 return rtPathRmRecursive(pOpts, szPath, strlen(szPath), &DirEntry.Core);
|
/vbox/src/VBox/ExtPacks/BusMouseSample/ |
H A D | VBoxBusMouseMain.cpp | 85 char szPath[RTPATH_MAX]; local 86 int rc = g_pHlp->pfnFindModule(g_pHlp, "VBoxBusMouseR3", NULL, VBOXEXTPACKMODKIND_R3, szPath, sizeof(szPath), NULL); 99 rc = CFGMR3InsertString(pCfgMine, "Path", szPath); 106 rc = g_pHlp->pfnFindModule(g_pHlp, "VBoxBusMouseRC", NULL, VBOXEXTPACKMODKIND_RC, szPath, sizeof(szPath), NULL); 108 RTPathStripFilename(szPath); 109 rc = CFGMR3InsertString(pCfgMine, "RCSearchPath", szPath); 113 rc = g_pHlp->pfnFindModule(g_pHlp, "VBoxBusMouseR0", NULL, VBOXEXTPACKMODKIND_R0, szPath, sizeof(szPath), NUL [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTR0CommonDriver.h | 106 char szPath[RTPATH_MAX + sizeof(".r0")]; local 107 rc = RTPathExecDir(szPath, RTPATH_MAX); 109 rc = RTPathAppend(szPath, RTPATH_MAX, pszTestServiceName); 111 strcat(szPath, ".r0"); 124 rc = SUPR3LoadServiceModule(szPath, pszTestServiceName, szSrvReqHandler, &g_pvImageBase); 128 szPath, pszTestServiceName, szSrvReqHandler, rc);
|
H A D | tstLdr-4.cpp | 244 char szPath[RTPATH_MAX]; local 245 rc = RTPathExecDir(szPath, sizeof(szPath) - sizeof("/tstLdrObjR0.r0")); 248 strcat(szPath, "/tstLdrObjR0.r0"); 249 RTPrintf("tstLdr-4: TESTING '%s'...\n", szPath); 250 cErrors += testLdrOne(szPath);
|
H A D | tstRTPath.cpp | 197 char szPath[RTPATH_MAX]; local 238 RTTESTI_CHECK_RC(rc = RTPathExecDir(szPath, sizeof(szPath)), VINF_SUCCESS); 240 RTTestIPrintf(RTTESTLVL_INFO, "ExecDir={%s}\n", szPath); 243 if (RTProcGetExecutablePath(szPath, sizeof(szPath)) == szPath) 244 RTTestIPrintf(RTTESTLVL_INFO, "ExecutableName={%s}\n", szPath); 249 RTTESTI_CHECK_RC(rc = RTPathUserHome(szPath, sizeof(szPath)), VINF_SUCCES [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/switcher/ |
H A D | sw_common.c | 32 char szPath[MAX_PATH]; local 33 UINT cchPath = GetSystemDirectoryA(szPath, sizeof(szPath)); 35 if (cchPath + 1 + cbName > sizeof(szPath)) 37 szPath[cchPath] = '\\'; 38 memcpy(&szPath[cchPath + 1], pszName, cbName); 39 return LoadLibraryA(szPath);
|
/vbox/include/iprt/win/ |
H A D | lazy-dbghelp.h | 59 char szPath[RTPATH_MAX]; local 61 int rc = RTEnvGetEx(RTENV_DEFAULT, s_aLocations[i].pszEnv, szPath, sizeof(szPath), &cchPath); 64 rc = RTPathAppend(szPath, sizeof(szPath), s_aLocations[i].pszSubDir); 67 rc = RTLdrLoad(szPath, phMod);
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | ldrNative-win.cpp | 127 char szPath[RTPATH_MAX]; local 128 char *pszPath = szPath; 129 int rc = RTUtf16ToUtf8Ex(wszSysDir, RTSTR_MAX, &pszPath, sizeof(szPath), NULL); 132 rc = RTPathAppend(szPath, sizeof(szPath), pszFilename); 134 rc = RTStrCat(szPath, sizeof(szPath), pszExt); 137 if (RTFileExists(szPath)) 138 rc = RTLdrLoadEx(szPath, phLdrMod, fFlags, NULL);
|
/vbox/src/VBox/VMM/tools/ |
H A D | VBoxVMMPreload.cpp | 159 char szPath[RTPATH_MAX]; local 160 int rc = RTPathAppPrivateArch(szPath, sizeof(szPath)); 162 rc = RTPathAppend(szPath, sizeof(szPath), g_aModules[i].pszName); 167 rc = SUPR3LoadModule(szPath, g_aModules[i].pszName, &g_aModules[i].pvImageBase, &ErrInfo.Core); 170 g_aModules[i].pszName, szPath, ErrInfo.Core.pszMsg, rc); 172 RTMsgInfo("Loaded '%s' ('%s') at %p\n", szPath, g_aModules[i].pszName, g_aModules[i].pvImageBase);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/switcher/ |
H A D | sw_common.c | 32 char szPath[MAX_PATH]; local 33 UINT cchPath = GetSystemDirectoryA(szPath, sizeof(szPath)); 35 if (cchPath + 1 + cbName > sizeof(szPath)) 37 szPath[cchPath] = '\\'; 38 memcpy(&szPath[cchPath + 1], pszName, cbName); 39 return LoadLibraryA(szPath);
|
/vbox/src/VBox/Devices/Misc/ |
H A D | VirtualKD.cpp | 166 char szPath[RTPATH_MAX] = ""; local 167 CFGMR3QueryString(pCfg, "Path", szPath, sizeof(szPath)); 169 RTPathAppend(szPath, sizeof(szPath), 176 int rc = RTLdrLoad(szPath, &pThis->hLib); 180 N_("Failed to load VirtualKD library '%s'. Fast kernel-mode debugging will not work"), szPath); 191 N_("Failed to find entry point for VirtualKD library '%s'. Fast kernel-mode debugging will not work"), szPath); 201 N_("Failed to initialize VirtualKD library '%s'. Fast kernel-mode debugging will not work"), szPath);
|
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | VBoxGuestR3LibAdditions.cpp | 98 char szPath[255]; local 99 RTStrPrintf(szPath, sizeof(szPath), "SOFTWARE\\%s\\VirtualBox Guest Additions", VBOX_VENDOR_SHORT); 100 r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, szPath, 0, KEY_READ, phKey); 105 RTStrPrintf(szPath, sizeof(szPath), "SOFTWARE\\Wow6432Node\\%s\\VirtualBox Guest Additions", VBOX_VENDOR_SHORT); 106 r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, szPath, 0, KEY_READ, phKey);
|
/vbox/src/VBox/ValidationKit/utils/misc/ |
H A D | loadgenerator.cpp | 88 char szPath[RTPATH_MAX]; local 89 int rc = RTPathAppPrivateArchTop(szPath, sizeof(szPath) - sizeof("/loadgenerator.r0")); 92 strcat(szPath, "/loadgeneratorR0.r0"); 94 rc = SUPR3LoadServiceModule(szPath, "loadgeneratorR0", "LoadGenR0ServiceReqHandler", &pvImageBase); 100 Error("SUPR3LoadServiceModule(%s): %Rrc\n", szPath, rc);
|
/vbox/src/VBox/Main/src-server/freebsd/ |
H A D | HostHardwareFreeBSD.cpp | 290 char szPath[RTPATH_MAX]; local 293 RTStrPrintf(szPath, sizeof(szPath), "/dev/%s%d", 306 pList->push_back(DriveInfo(szPath, "", szDesc)); 356 char szPath[RTPATH_MAX], szReal[RTPATH_MAX]; local 359 RTStrPrintf(szPath, sizeof(szPath), "%.*s", 362 RTStrPrintf(szPath, sizeof(szPath), "%s", pcszCurrent); 363 if (RT_SUCCESS(RTPathReal(szPath, szRea [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/ |
H A D | VBoxDispD3DIf.cpp | 38 char szPath[MAX_PATH]; local 39 UINT cchPath = GetSystemDirectoryA(szPath, sizeof(szPath)); 41 if (cchPath + 1 + cbName > sizeof(szPath)) 46 szPath[cchPath] = '\\'; 47 memcpy(&szPath[cchPath + 1], pszName, cbName); 48 return LoadLibraryA(szPath);
|
H A D | VBoxDispKmt.cpp | 37 char szPath[MAX_PATH]; local 38 UINT cchPath = GetSystemDirectoryA(szPath, sizeof(szPath)); 40 if (cchPath + 1 + cbName > sizeof(szPath)) 42 szPath[cchPath] = '\\'; 43 memcpy(&szPath[cchPath + 1], pszName, cbName); 44 return LoadLibraryA(szPath);
|
/vbox/src/VBox/Runtime/r3/ |
H A D | dir.cpp | 698 char szPath[RTPATH_MAX]; local 699 int rc = RTStrCopy(szPath, sizeof(szPath), pszChild); 702 RTPathStripFilename(szPath); 703 rc = RTDirFlush(szPath);
|
/vbox/src/VBox/Runtime/r3/nt/ |
H A D | pathint-nt.cpp | 217 char szPath[RTPATH_MAX]; local 218 int rc = RTPathAbs(pszPath, &szPath[cchPrefix - cchSkip], sizeof(szPath) - (cchPrefix - cchSkip)); 225 memcpy(szPath, pszPrefix, cchPrefix); 226 return rtNtPathUtf8ToUniStr(pNtName, phRootDir, szPath);
|
/vbox/src/libs/xpcom18a4/xpcom/glue/standalone/ |
H A D | nsXPCOMGlue.cpp | 430 char szPath[MAXPATHLEN]; local 442 snprintf(szPath, sizeof(szPath), "%s", path); 443 path = szPath;
|
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | SpecialSystemDirectory.cpp | 728 char szPath[CCHMAXPATH + 1]; local 730 fSuccess = WinQueryActiveDesktopPathname (szPath, sizeof(szPath)); 731 int len = strlen (szPath); 734 szPath[len] = '\\'; 735 szPath[len + 1] = '\0'; 737 return NS_NewNativeLocalFile(nsDependentCString(szPath),
|
/vbox/src/VBox/Additions/WINNT/Installer/InstallHelper/ |
H A D | VBoxGuestInstallHelper.cpp | 204 char szPath[MAX_PATH]; local 205 UINT cchPath = GetSystemDirectoryA(szPath, sizeof(szPath)); 207 if (cchPath + 1 + cbName > sizeof(szPath)) 209 szPath[cchPath] = '\\'; 210 memcpy(&szPath[cchPath + 1], pszName, cbName); 211 return LoadLibraryA(szPath);
|
/vbox/src/libs/xpcom18a4/xpcom/obsolete/ |
H A D | nsSpecialSystemDirectory.cpp | 1075 char szPath[CCHMAXPATH + 1]; local 1077 fSuccess = WinQueryActiveDesktopPathname (szPath, sizeof(szPath)); 1078 int len = strlen (szPath); 1081 szPath[len] = '\\'; 1082 szPath[len + 1] = '\0'; 1085 printf ("Got OS2_DesktopDirectory: %s\n", szPath); 1087 printf ("Failed getting OS2_DesktopDirectory: %s\n", szPath);
|