Lines Matching full:resultpath
467 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath)
469 resultPath = fileName;
473 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath, int &fileNamePartStartIndex)
475 resultPath = fileName;
477 fileNamePartStartIndex = resultPath.ReverseFind(WCHAR_PATH_SEPARATOR);
523 bool MyGetFullPathName(LPCTSTR fileName, CSysString &resultPath, int &fileNamePartStartIndex)
525 resultPath.Empty();
527 LPTSTR buffer = resultPath.GetBuffer(MAX_PATH);
529 resultPath.ReleaseBuffer();
536 buffer = resultPath.GetBuffer(needLength + 1);
538 resultPath.ReleaseBuffer();
549 AddTrailingDots(fileName, resultPath);
556 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath, int &fileNamePartStartIndex)
558 resultPath.Empty();
562 LPWSTR buffer = resultPath.GetBuffer(MAX_PATH);
564 resultPath.ReleaseBuffer();
571 buffer = resultPath.GetBuffer(needLength + 1);
573 resultPath.ReleaseBuffer();
583 AddTrailingDots(fileName, resultPath);
594 resultPath = resultPath1 + resultPath2;
668 CSysString &resultPath, UINT32 &filePart)
672 MAX_PATH, resultPath.GetBuffer(MAX_PATH + 1), &filePartPointer);
673 filePart = (UINT32)(filePartPointer - (LPCTSTR)resultPath);
674 resultPath.ReleaseBuffer();
681 UString &resultPath, UINT32 &filePart)
687 MAX_PATH, resultPath.GetBuffer(MAX_PATH + 1), &filePartPointer);
688 filePart = (UINT32)(filePartPointer - (LPCWSTR)resultPath);
689 resultPath.ReleaseBuffer();
703 resultPath = resultPath1 + resultPath2;
759 UINT CTempFile::Create(LPCTSTR dirPath, LPCTSTR prefix, CSysString &resultPath)
762 UINT number = MyGetTempFileName(dirPath, prefix, resultPath);
765 _fileName = resultPath;
771 bool CTempFile::Create(LPCTSTR prefix, CSysString &resultPath)
776 if (Create(tempPath, prefix, resultPath) != 0)
783 return (Create(tempPath, prefix, resultPath) != 0);
797 UINT CTempFileW::Create(LPCWSTR dirPath, LPCWSTR prefix, UString &resultPath)
800 UINT number = MyGetTempFileName(dirPath, prefix, resultPath);
803 _fileName = resultPath;
809 bool CTempFileW::Create(LPCWSTR prefix, UString &resultPath)
814 if (Create(tempPath, prefix, resultPath) != 0)
818 return (Create(tempPath, prefix, resultPath) != 0);