Home
last modified time | relevance | path

Searched refs:fs2us (Results 1 – 25 of 29) sorted by relevance

12

/external/lzma/CPP/Windows/
DFileName.cpp221 path = fs2us(fas2fs(s)); in GetCurDir()
416 UString temp = fs2us(s); in GetSuperPathBase()
438 UString temp = fs2us(s + 2); in GetSuperPathBase()
456 UString temp = fs2us(s); in GetSuperPathBase()
505 temp = fs2us(s + 1); in GetSuperPathBase()
510 temp += fs2us(s); in GetSuperPathBase()
550 superPath = fs2us(path); in GetSuperPath()
564 if (d1.IsEmpty()) d1 = fs2us(s1); in GetSuperPaths()
565 if (d2.IsEmpty()) d2 = fs2us(s2); in GetSuperPaths()
603 UString rem = fs2us(s + prefixSize); in GetFullPath()
[all …]
DFileDir.cpp84 hDir = ::CreateFileW(fs2us(path), GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, in SetDirTime()
117 if (::SetFileAttributesW(fs2us(path), attrib)) in SetFileAttrib()
143 if (::RemoveDirectoryW(fs2us(path))) in RemoveDir()
169 if (::MoveFileW(fs2us(oldFile), fs2us(newFile))) in MyMoveFile()
213 if (my_CreateHardLinkW(fs2us(newFileName), fs2us(existFileName), NULL)) in MyCreateHardLink()
241 if (::CreateDirectoryW(fs2us(path), NULL)) in CreateDir()
316 if (::DeleteFileW(fs2us(path))) in DeleteFileAlways()
399 return BOOLToBool(::SetCurrentDirectoryW(fs2us(path))); in SetCurrentDir()
DFileSystem.cpp48 res = GetVolumeInformationW(fs2us(rootPath), in MyGetVolumeInformation()
68 return GetDriveTypeW(fs2us(pathName)); in MyGetDriveType()
113 …sizeIsDetected = BOOLToBool(pGetDiskFreeSpaceEx(fs2us(rootPath), &freeBytesToCaller2, &totalSize2,… in MyGetDiskFreeSpace()
117 …if (!::GetDiskFreeSpaceW(fs2us(rootPath), &numSectorsPerCluster, &bytesPerSector, &numFreeClusters… in MyGetDiskFreeSpace()
DDLL.cpp38 _module = ::LoadLibraryExW(fs2us(path), NULL, flags); in LoadEx()
55 _module = ::LoadLibraryW(fs2us(path)); in Load()
DFileFind.cpp136 _handle = ::FindFirstFileW(fs2us(path), &fd); in FindFirst()
222 _handle = g_FindFirstStreamW(fs2us(path), My_FindStreamInfoStandard, &sd, 0); in FindFirst()
355 UString streamName = fs2us(path + (unsigned)colonPos); in Find()
508 _handle = ::FindFirstChangeNotificationW(fs2us(path), BoolToBOOL(watchSubtree), notifyFilter); in FindFirst()
DFileIO.cpp69 _handle = ::CreateFileW(fs2us(path), desiredAccess, shareMode, in Create()
/external/lzma/CPP/7zip/UI/Common/
DEnumDirItems.cpp35 di.Name = fs2us(fi.Name); in AddDirFileInfo()
127 …BOOL res = ::GetFileSecurityW(fs2us(path), securInfo, (PSECURITY_DESCRIPTOR)(Byte *)TempSecureBuf,… in AddSecurityItem()
145 …res = ::GetFileSecurityW(fs2us(path), securInfo, (PSECURITY_DESCRIPTOR)(Byte *)TempSecureBuf, (DWO… in AddSecurityItem()
194 unsigned parent = AddPrefix(phyParent, logParent, fs2us(name2)); in EnumerateDir()
206 int phyParent = phyPrefix.IsEmpty() ? -1 : AddPrefix(-1, -1, fs2us(phyPrefix)); in EnumerateItems2()
228 phyParentCur = AddPrefix(phyParent, logParent, fs2us(phyPrefixCur)); in EnumerateItems2()
242 unsigned parent = AddPrefix(phyParentCur, logParent, fs2us(name2)); in EnumerateItems2()
272 unsigned parent = dirItems.AddPrefix(phyParent, logParent, fs2us(name2)); in EnumerateDirItems_Spec()
349 const UString name = fs2us(fi.Name); in EnumerateForItem()
456 …ress(dirItems.GetNumFolders(), dirItems.Items.Size(), dirItems.TotalSize, fs2us(phyPrefix), true)); in EnumerateDirItems()
[all …]
DArchiveName.cpp25 return GetCorrectFsPath(fs2us(resultName)); in CreateArchiveName()
69 return GetCorrectFsPath(fs2us(CreateArchiveName2(us2fs(srcName), fromPrev, keepName))); in CreateArchiveName()
DArchiveExtractCallback.cpp356 GetUnicodeString(message) + L": " + fs2us(path)); in SendMessageError()
363 GetUnicodeString(message) + UString(L": ") + fs2us(path1) + UString(L" : ") + fs2us(path2)); in SendMessageError2()
770 fs2us(realFullProcessedPath), &fileInfo.MTime, &fileInfo.Size, fullPath, in GetStream()
887 if (FillLinkData(data, fs2us(existPath), !isJunction)) in GetStream()
1062 ::SetFileSecurityW(fs2us(_diskFilePath), securInfo, (PSECURITY_DESCRIPTOR)(void *)data); in SetOperationResult()
DExtract.cpp63 SplitPathToParts_Smart(fs2us(outDir), dirPrefix, elimPrefix); in DecompressArchive()
134 errorMessage = ((UString)L"Can not create output directory ") + fs2us(outDir); in DecompressArchive()
DArchiveCommandLine.cpp585 name = fs2us(fi.Name); in ConvertToLongName()
908 errorPath = fs2us(dirItems.ErrorPaths[0]); in EnumerateDirItemsAndSort()
931 fullPaths.Add(fs2us(fullPath)); in EnumerateDirItemsAndSort()
DHashCalc.cpp236 RINOK(callback->CanNotFindError(fs2us(dirItems.ErrorPaths[i]), dirItems.ErrorCodes[i])); in HashCalc()
DUpdate.cpp1149 RINOK(callback->CanNotFindError(fs2us(dirItems.ErrorPaths[i]), dirItems.ErrorCodes[i])); in UpdateArchive()
1235 ap.Prefix = fs2us(tempDirPrefix); in UpdateArchive()
1397 UString arcPath = fs2us(fullPaths[i]); in UpdateArchive()
/external/lzma/CPP/7zip/UI/FileManager/
DBrowseDialog.cpp490 case 0: res = CompareFileNames(fs2us(f1.Name), fs2us(f2.Name)); break; in CompareItems()
563 if (DoesWildcardMatchName(Filters[i], fs2us(fi.Name))) in Reload()
613 const UString name = fs2us(fi.Name); in Reload()
676 selected = fs2us(_files[fileIndex].Name); in Reload()
713 _pathEdit.SetText(fs2us(file.Name) + WCHAR_PATH_SEPARATOR); in SetPathEditText()
716 _pathEdit.SetText(fs2us(file.Name)); in SetPathEditText()
741 MessageBox_HResError((HWND)*this, GetNormalizedError(), fs2us(destPath)); in OnCreateDir()
775 UString s = DirPrefix + fs2us(file.Name) + WCHAR_PATH_SEPARATOR; in OnItemEnter()
793 FilePath = fs2us(destPath); in FinishOnOK()
DExtractCallback.cpp197 ProgressDialog->Sync.AddError_Message_Name(GetUnicodeString(message), fs2us(path)); in MessageError()
594 destPathSpec += fs2us(destFileInfo.Name); in AskWrite()
624 destPathResultTemp = fs2us(destPathSys); in AskWrite()
DSysIconUtils.cpp80 DWORD_PTR res = ::MySHGetFileInfoW(fs2us(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractEngine.cpp53 options.filePath = fs2us(FileName); in Process2()
72 fs2us(dirPath)); in Process2()
DSfxSetup.cpp309 appLaunched.Replace(L"%%T" WSTRING_PATH_SEPARATOR, fs2us(s2)); in WinMain()
314 appLaunched.Replace(L"%%T", fs2us(tempDirPath)); in WinMain()
/external/lzma/CPP/7zip/Bundles/SFXWin/
DSfxWin.cpp174 v1.Add(fs2us(fullPath)); in WinMain2()
175 v2.Add(fs2us(fullPath)); in WinMain2()
/external/lzma/CPP/Common/
DWildcard.cpp47 return wcscmp(fs2us(s1), fs2us(s2)); in CompareFileNames()
48 return MyStringCompareNoCase(fs2us(s1), fs2us(s2)); in CompareFileNames()
DMyString.h496 #define fs2us(_x_) (_x_) macro
508 UString fs2us(const FString &s);
/external/lzma/CPP/7zip/Bundles/SFXCon/
DSfxCon.cpp351 v1.Add(fs2us(arcPath)); in Main2()
352 v2.Add(fs2us(arcPath)); in Main2()
/external/lzma/CPP/7zip/UI/GUI/
DExtractGUI.cpp189 dialog.DirPath = fs2us(outputDirFull); in ExtractGUI()
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp58 return GetOemString(fs2us(s)); in FStringToConsoleString()
763 di.Name = fs2us(name); in main()
/external/lzma/CPP/7zip/UI/Console/
DMain.cpp240 message += fs2us(errorInfo.FileName); in WarningsCheck()
245 message += fs2us(errorInfo.FileName2); in WarningsCheck()

12