Searched defs:szTmpPath (Results 1 - 6 of 6) sorted by relevance
/vbox/src/VBox/Runtime/common/path/ |
H A D | RTPathAbsEx.cpp | 78 char szTmpPath[RTPATH_MAX]; local 83 if (cchVolSpec + cchPath + 1 > sizeof(szTmpPath)) 85 memcpy(szTmpPath, pszBase, cchVolSpec); 86 memcpy(&szTmpPath[cchVolSpec], pszPath, cchPath + 1); 92 if (cchBase + 1 + cchPath + 1 > sizeof(szTmpPath)) 94 memcpy(szTmpPath, pszBase, cchBase); 95 szTmpPath[cchBase] = RTPATH_DELIMITER; 96 memcpy(&szTmpPath[cchBase + 1], pszPath, cchPath + 1); 98 return RTPathAbs(szTmpPath, pszAbsPath, cchAbsPath);
|
/vbox/src/VBox/Runtime/r3/darwin/ |
H A D | rtProcInitExePath-darwin.cpp | 54 char szTmpPath[PATH_MAX + 1]; local 55 const char *psz = realpath(pszImageName, szTmpPath); 58 rc = rtPathFromNativeCopy(pszPath, cchPath, szTmpPath, NULL);
|
/vbox/src/VBox/Runtime/generic/ |
H A D | RTPathAbs-generic.cpp | 169 char szTmpPath[RTPATH_MAX]; local 170 memcpy(szTmpPath, pszPath, cchPath + 1); 171 size_t cchTmpPath = fsCleanPath(szTmpPath); 176 if (szTmpPath[0] == '.') 179 || (cchTmpPath == 2 && szTmpPath[1] == RTPATH_SLASH)) 211 if ( !(szTmpPath[0] && RTPATH_IS_VOLSEP(szTmpPath[1]) && szTmpPath[2] == RTPATH_SLASH) 213 && !(szTmpPath[0] == RTPATH_SLASH && szTmpPath[ [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | path-posix.cpp | 67 char szTmpPath[PATH_MAX + 1]; local 68 const char *psz = realpath(pszNativePath, szTmpPath); 70 rc = rtPathFromNativeCopy(pszRealPath, cchRealPath, szTmpPath, NULL);
|
/vbox/src/VBox/Main/src-helper-apps/ |
H A D | VBoxExtPackHelperApp.cpp | 685 char szTmpPath[RTPATH_MAX]; local 686 rc = RTPathJoin(szTmpPath, sizeof(szTmpPath) - 64, pszBaseDir, pszMangledName); 689 size_t cchTmpPath = strlen(szTmpPath); 690 RTStrPrintf(&szTmpPath[cchTmpPath], sizeof(szTmpPath) - cchTmpPath, "-_-inst-%u", (uint32_t)RTProcSelf()); 713 rc = RTPathQueryInfoEx(szTmpPath, &ObjInfo, RTFSOBJATTRADD_NOTHING, RTPATH_F_ON_LINK); 732 rc = RTDirCreate(szTmpPath, 0700, 0); 734 return RTMsgErrorExit(RTEXITCODE_FAILURE, "Failed to create temporary directory: %Rrc ('%s')", rc, szTmpPath); 739 rcExit = UnpackExtPack(hTarballFile, szTmpPath, hValidManifes [all...] |
/vbox/src/VBox/ValidationKit/utils/TestExecServ/ |
H A D | TestExecService.cpp | 3048 char szTmpPath[RTPATH_MAX]; local 3049 rc = RTPathJoin(szTmpPath, sizeof(szTmpPath), g_szScratchPath, RTPathFilename(szOrgPath)); 3052 RTFileDelete(szTmpPath); /* shouldn't hurt. */ 3055 rc = RTFileOpen(&hFile, szTmpPath, 3070 papszArgs[0] = szTmpPath; 3077 RTMsgInfo("Launching intermediate automatic upgrade stage: \"%s\"\n", szTmpPath); 3079 rc = RTProcCreate(szTmpPath, papszArgs, RTENV_DEFAULT, 0 /*fFlags*/, &hProc); 3083 RTMsgError("RTProcCreate(\"%s\"): %Rrc (upgrade stage 1)\n", szTmpPath, rc); 3090 RTMsgError("RTFileWrite(%s,,%zu): %Rrc\n", szTmpPath, UpgradeInf [all...] |
Completed in 89 milliseconds