/external/lzma/CPP/Common/ |
D | Wildcard.h | 8 int CompareFileNames(const UString &s1, const UString &s2); 10 void SplitPathToParts(const UString &path, UStringVector &pathParts); 11 void SplitPathToParts(const UString &path, UString &dirPrefix, UString &name); 12 UString ExtractDirPrefixFromPath(const UString &path); 13 UString ExtractFileNameFromPath(const UString &path); 14 bool DoesNameContainWildCard(const UString &path); 15 bool CompareWildCardWithName(const UString &mask, const UString &name); 36 CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { }; in CCensorNode() 37 UString Name; 42 int FindSubNode(const UString &path) const; [all …]
|
D | StringConvert.h | 10 UString MultiByteToUnicodeString(const AString &srcString, UINT codePage = CP_ACP); 11 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage, char defaultChar, bool &d… 12 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage = CP_ACP); 17 inline const UString& GetUnicodeString(const UString &unicodeString) in GetUnicodeString() 19 inline UString GetUnicodeString(const AString &ansiString) in GetUnicodeString() 21 inline UString GetUnicodeString(const AString &multiByteString, UINT codePage) in GetUnicodeString() 25 inline const UString& GetUnicodeString(const UString &unicodeString, UINT) in GetUnicodeString() 32 inline AString GetAnsiString(const UString &unicodeString) in GetAnsiString() 39 inline AString GetOemString(const UString &unicodeString) in GetOemString() 46 inline const UString& GetSystemString(const UString &unicodeString) in GetSystemString() [all …]
|
D | Wildcard.cpp | 24 static const UString kWildCardCharSet = L"?*"; 26 static const UString kIllegalWildCardFileNameChars= 41 int CompareFileNames(const UString &s1, const UString &s2) in CompareFileNames() 87 void SplitPathToParts(const UString &path, UStringVector &pathParts) in SplitPathToParts() 90 UString name; in SplitPathToParts() 108 void SplitPathToParts(const UString &path, UString &dirPrefix, UString &name) in SplitPathToParts() 118 UString ExtractDirPrefixFromPath(const UString &path) in ExtractDirPrefixFromPath() 127 UString ExtractFileNameFromPath(const UString &path) in ExtractFileNameFromPath() 137 bool CompareWildCardWithName(const UString &mask, const UString &name) in CompareWildCardWithName() 142 bool DoesNameContainWildCard(const UString &path) in DoesNameContainWildCard() [all …]
|
D | CommandLineParser.cpp | 9 bool SplitCommandLine(const UString &src, UString &dest1, UString &dest2) in SplitCommandLine() 31 void SplitCommandLine(const UString &s, UStringVector &parts) in SplitCommandLine() 33 UString sTemp = s; in SplitCommandLine() 38 UString s1, s2; in SplitCommandLine() 77 const UString &s = commandStrings[i]; in ParseStrings() 91 bool CParser::ParseString(const UString &s, const CSwitchForm *switchForms) in ParseString() 112 UString temp = s + pos; in ParseString() 149 UString set = switchForm.PostCharSet; in ParseString() 178 UString stringSwitch = s.Mid(pos, minLen); in ParseString() 206 const UString &commandString, UString &postString) in ParseCommand() [all …]
|
D | CommandLineParser.h | 10 bool SplitCommandLine(const UString &src, UString &dest1, UString &dest2); 11 void SplitCommandLine(const UString &s, UStringVector &parts); 47 bool ParseString(const UString &s, const CSwitchForm *switchForms); 68 const UString &commandString, UString &postString);
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Update.h | 16 UString OriginalPath; 18 UString Prefix; // path(folder) prefix including slash 19 UString Name; // base name 20 UString BaseExtension; // archive type extension or "exe" extension 21 UString VolExtension; // archive type extension for volumes 24 UString TempPrefix; // path(folder) for temp location 25 UString TempPostfix; 29 void ParseFromPath(const UString &path) in ParseFromPath() 52 UString GetPathWithoutExt() const in GetPathWithoutExt() 57 UString GetFinalPath() const in GetFinalPath() [all …]
|
D | ExtractingFilePath.cpp | 11 static UString ReplaceIncorrectChars(const UString &s) in ReplaceIncorrectChars() 14 UString res; in ReplaceIncorrectChars() 37 static bool CheckTail(const UString &name, int len) in CheckTail() 42 UString s = name.Left(dotPos); in CheckTail() 47 static bool CheckNameNum(const UString &name, const wchar_t *reservedName) in CheckNameNum() 60 static bool IsSupportedName(const UString &name) in IsSupportedName() 79 static UString GetCorrectFileName(const UString &path) in GetCorrectFileName() 82 return UString(); in GetCorrectFileName() 90 UString &s = pathParts[i]; in MakeCorrectPath() 98 s = (UString)L"_" + s; in MakeCorrectPath() [all …]
|
D | LoadCodecs.h | 33 UString Ext; 34 UString AddExt; 36 CArcExtInfo(const UString &ext): Ext(ext) {} in CArcExtInfo() 37 CArcExtInfo(const UString &ext, const UString &addExt): Ext(ext), AddExt(addExt) {} in CArcExtInfo() 51 UString Name; 61 UString GetMainExt() const in GetMainExt() 64 return UString(); in GetMainExt() 67 int FindExtension(const UString &ext) const in FindExtension() 74 UString GetAllExtensions() const in GetAllExtensions() 76 UString s; in GetAllExtensions() [all …]
|
D | DefaultName.cpp | 7 static UString GetDefaultName3(const UString &fileName, in GetDefaultName3() 8 const UString &extension, const UString &addSubExtension) in GetDefaultName3() 29 UString GetDefaultName2(const UString &fileName, in GetDefaultName2() 30 const UString &extension, const UString &addSubExtension) in GetDefaultName2() 32 UString name = GetDefaultName3(fileName, extension, addSubExtension); in GetDefaultName2()
|
D | DirItem.h | 16 UString Name; 31 UString GetPrefixesPath(const CIntVector &parents, int index, const UString &name) const; 36 UString GetPhyPath(int index) const; 37 UString GetLogPath(int index) const; 39 int AddPrefix(int phyParent, int logParent, const UString &prefix); 42 void EnumerateDirectory(int phyParent, int logParent, const UString &phyPrefix, 46 const UString &phyPrefix, 47 const UString &logPrefix, 58 UString Name;
|
D | EnumDirItems.cpp | 26 UString CDirItems::GetPrefixesPath(const CIntVector &parents, int index, const UString &name) const in GetPrefixesPath() 28 UString path; in GetPrefixesPath() 40 const UString &s = Prefixes[i]; in GetPrefixesPath() 48 UString CDirItems::GetPhyPath(int index) const in GetPhyPath() 54 UString CDirItems::GetLogPath(int index) const in GetLogPath() 68 int CDirItems::AddPrefix(int phyParent, int logParent, const UString &prefix) in AddPrefix() 82 void CDirItems::EnumerateDirectory(int phyParent, int logParent, const UString &phyPrefix, in EnumerateDirectory() 101 const UString name2 = fi.Name + (wchar_t)kDirDelimiter; in EnumerateDirectory() 108 void CDirItems::EnumerateDirItems2(const UString &phyPrefix, const UString &logPrefix, in EnumerateDirItems2() 116 const UString &filePath = filePaths[i]; in EnumerateDirItems2() [all …]
|
D | ArchiveName.cpp | 12 static UString CreateArchiveName2(const UString &srcName, bool fromPrev, bool keepName) in CreateArchiveName2() 14 UString resultName = L"Archive"; in CreateArchiveName2() 17 UString dirPrefix; in CreateArchiveName2() 42 UString archiveName2 = resultName.Left(dotPos); in CreateArchiveName2() 51 UString CreateArchiveName(const UString &srcName, bool fromPrev, bool keepName) in CreateArchiveName()
|
D | ExtractingFilePath.h | 8 UString MakePathNameFromParts(const UStringVector &parts); 10 UString GetCorrectFsPath(const UString &path); 11 UString GetCorrectFullFsPath(const UString &path);
|
D | OpenArchive.h | 21 UString Path; 22 UString DefaultName; 27 UString ErrorMessage; 31 HRESULT GetItemPath(UInt32 index, UString &result) const; 70 const UString &filePath, 78 const UString &filePath, 83 const UString &filePath,
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
D | ustr.h | 39 struct UString { struct 45 void ustr_init(struct UString *s); argument 48 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status); 50 void ustr_deinit(struct UString *s); 52 void ustr_setlen(struct UString *s, int32_t len, UErrorCode *status); 54 void ustr_cpy(struct UString *dst, const struct UString *src, 57 void ustr_cat(struct UString *dst, const struct UString *src, 60 void ustr_ncat(struct UString *dst, const struct UString *src, 63 void ustr_ucat(struct UString *dst, UChar c, UErrorCode *status); 64 void ustr_u32cat(struct UString *dst, UChar32 c, UErrorCode *status); [all …]
|
D | ustr.c | 25 static void ustr_resize(struct UString *s, int32_t len, UErrorCode *status); 31 ustr_init(struct UString *s) in ustr_init() 38 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status) in ustr_initChars() 69 ustr_deinit(struct UString *s) in ustr_deinit() 79 ustr_cpy(struct UString *dst, in ustr_cpy() 80 const struct UString *src, in ustr_cpy() 100 ustr_setlen(struct UString *s, in ustr_setlen() 118 ustr_cat(struct UString *dst, in ustr_cat() 119 const struct UString *src, in ustr_cat() 126 ustr_ncat(struct UString *dst, in ustr_ncat() [all …]
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | ItemNameUtils.cpp | 15 UString MakeLegalName(const UString &name) in MakeLegalName() 17 UString zipName = name; in MakeLegalName() 22 UString GetOSName(const UString &name) in GetOSName() 24 UString newName = name; in GetOSName() 29 UString GetOSName2(const UString &name) in GetOSName2() 32 return UString(); in GetOSName2() 33 UString newName = GetOSName(name); in GetOSName2() 53 UString WinNameToOSName(const UString &name) in WinNameToOSName() 55 UString newName = name; in WinNameToOSName()
|
D | ItemNameUtils.h | 11 UString MakeLegalName(const UString &name); 12 UString GetOSName(const UString &name); 13 UString GetOSName2(const UString &name); 17 inline UString WinNameToOSName(const UString &name) { return name; } in WinNameToOSName() 19 UString WinNameToOSName(const UString &name);
|
D | ParseProperties.h | 9 HRESULT ParsePropValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue); 10 HRESULT ParsePropDictionaryValue(const UString &srcStringSpec, UInt32 &dicSize); 11 HRESULT ParsePropDictionaryValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue); 13 bool StringToBool(const UString &s, bool &res); 15 int ParseStringToUInt32(const UString &srcString, UInt32 &number); 16 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 …
|
/external/icu/icu4c/source/tools/genrb/ |
D | ustr.h | 52 struct UString { struct 58 U_CFUNC void ustr_init(struct UString *s); argument 61 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status); 63 U_CFUNC void ustr_deinit(struct UString *s); 65 U_CFUNC void ustr_setlen(struct UString *s, int32_t len, UErrorCode *status); 67 U_CFUNC void ustr_cpy(struct UString *dst, const struct UString *src, 70 U_CFUNC void ustr_cat(struct UString *dst, const struct UString *src, 73 U_CFUNC void ustr_ncat(struct UString *dst, const struct UString *src, 76 U_CFUNC void ustr_ucat(struct UString *dst, UChar c, UErrorCode *status); 77 U_CFUNC void ustr_u32cat(struct UString *dst, UChar32 c, UErrorCode *status); [all …]
|
D | ustr.c | 26 static void ustr_resize(struct UString *s, int32_t len, UErrorCode *status); 32 ustr_init(struct UString *s) in ustr_init() 39 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status) in ustr_initChars() 70 ustr_deinit(struct UString *s) in ustr_deinit() 80 ustr_cpy(struct UString *dst, in ustr_cpy() 81 const struct UString *src, in ustr_cpy() 101 ustr_setlen(struct UString *s, in ustr_setlen() 119 ustr_cat(struct UString *dst, in ustr_cat() 120 const struct UString *src, in ustr_cat() 127 ustr_ncat(struct UString *dst, in ustr_ncat() [all …]
|
/external/lzma/CPP/Windows/ |
D | FileDir.h | 14 bool GetLongPaths(LPCWSTR s1, LPCWSTR s2, UString &d1, UString &d2); 20 bool MyGetWindowsDirectory(UString &path); 21 bool MyGetSystemDirectory(UString &path); 41 bool RemoveDirectoryWithSubItems(const UString &path); 47 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath); 48 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath, int &fileNamePartStartIndex); 55 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath, 57 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath); 58 bool GetOnlyName(LPCWSTR fileName, UString &resultName); 59 bool GetOnlyDirPrefix(LPCWSTR fileName, UString &resultName); [all …]
|
D | FileDir.cpp | 27 bool GetLongPathBase(LPCWSTR fileName, UString &res); 28 bool GetLongPath(LPCWSTR fileName, UString &res); 35 static UString GetUnicodePath(const CSysString &sysPath) in GetUnicodePath() 60 bool MyGetWindowsDirectory(UString &path) in MyGetWindowsDirectory() 75 bool MyGetSystemDirectory(UString &path) in MyGetSystemDirectory() 106 UString longPath; in SetDirTime() 128 UString longPath; in MySetFileAttributes() 140 UString longPath; in MyRemoveDirectory() 148 bool GetLongPaths(LPCWSTR s1, LPCWSTR s2, UString &d1, UString &d2) in GetLongPaths() 164 UString d1, d2; in MyMoveFile() [all …]
|
D | FileName.h | 19 void NormalizeDirPathPrefix(UString &dirPath); // ensures that it ended with '\\' 22 void SplitNameToPureNameAndExtension(const UString &fullName, 23 UString &pureName, UString &extensionDelimiter, UString &extension);
|
/external/lzma/CPP/7zip/UI/Client7z/ |
D | Client7z.cpp | 51 void PrintString(const UString &s) in PrintString() 119 UString Password; 184 UString _directoryPath; // Output directory 185 UString _filePath; // name inside arcvhive 186 UString _diskFilePath; // full path to file on disk 201 void Init(IInArchive *archiveHandler, const UString &directoryPath); 205 UString Password; 210 void CArchiveExtractCallback::Init(IInArchive *archiveHandler, const UString &directoryPath) in Init() 239 UString fullPath; in GetStream() 311 UString fullProcessedPath = _directoryPath + _filePath; in GetStream() [all …]
|