/external/lzma/CPP/Common/ |
D | Wildcard.h | 24 void SplitPathToParts(const UString &path, UStringVector &pathParts); 25 void SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name); 26 void SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name); // ignores dir… 28 UString ExtractDirPrefixFromPath(const UString &path); 29 UString ExtractFileNameFromPath(const UString &path); 31 bool DoesNameContainWildcard(const UString &path); 32 bool DoesWildcardMatchName(const UString &mask, const UString &name); 72 CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { }; in CCensorNode() 74 UString Name; // wildcard is not allowed here 81 int FindSubNode(const UString &path) const; [all …]
|
D | StringConvert.h | 9 UString MultiByteToUnicodeString(const AString &srcString, UINT codePage = CP_ACP); 12 void MultiByteToUnicodeString2(UString &dest, const AString &srcString, UINT codePage = CP_ACP); 13 void UnicodeStringToMultiByte2(AString &dest, const UString &s, UINT codePage, char defaultChar, bo… 14 void UnicodeStringToMultiByte2(AString &dest, const UString &srcString, UINT codePage); 16 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage, char defaultChar, bool &d… 17 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage = CP_ACP); 21 inline const UString& GetUnicodeString(const UString &unicodeString) in GetUnicodeString() 23 inline UString GetUnicodeString(const AString &ansiString) in GetUnicodeString() 25 inline UString GetUnicodeString(const AString &multiByteString, UINT codePage) in GetUnicodeString() 29 inline const UString& GetUnicodeString(const UString &unicodeString, UINT) in GetUnicodeString() [all …]
|
D | MyString.h | 317 class UString 335 UString(unsigned num, const wchar_t *s); // for Mid 336 UString(unsigned num, const UString &s); // for Left 337 UString(const UString &s, wchar_t c); // it's for String + char 338 UString(const wchar_t *s1, unsigned num1, const wchar_t *s2, unsigned num2); 340 friend UString operator+(const UString &s, wchar_t c) { return UString(s, c); } ; 343 friend UString operator+(const UString &s1, const UString &s2); 344 friend UString operator+(const UString &s1, const wchar_t *s2); 345 friend UString operator+(const wchar_t *s1, const UString &s2); 348 UString(); [all …]
|
D | MyString.cpp | 199 bool UString::IsPrefixedBy_Ascii_NoCase(const char *s) const throw() in IsPrefixedBy_Ascii_NoCase() 748 void UString::InsertSpace(unsigned index, unsigned size) in InsertSpace() 754 void UString::ReAlloc(unsigned newLimit) in ReAlloc() 766 void UString::SetStartLen(unsigned len) in SetStartLen() 774 void UString::Grow_1() in Grow_1() 783 void UString::Grow(unsigned n) in Grow() 797 UString::UString(unsigned num, const wchar_t *s) in UString() function in UString 808 UString::UString(unsigned num, const UString &s) in UString() function in UString 817 UString::UString(const UString &s, wchar_t c) in UString() function in UString 827 UString::UString(const wchar_t *s1, unsigned num1, const wchar_t *s2, unsigned num2) in UString() function in UString [all …]
|
D | Wildcard.cpp | 91 void SplitPathToParts(const UString &path, UStringVector &pathParts) in SplitPathToParts() 97 UString name; in SplitPathToParts() 110 void SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name) in SplitPathToParts_2() 121 void SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name) in SplitPathToParts_Smart() 137 UString ExtractDirPrefixFromPath(const UString &path) in ExtractDirPrefixFromPath() 147 UString ExtractFileNameFromPath(const UString &path) in ExtractFileNameFromPath() 158 bool DoesWildcardMatchName(const UString &mask, const UString &name) in DoesWildcardMatchName() 163 bool DoesNameContainWildcard(const UString &path) in DoesNameContainWildcard() 273 int CCensorNode::FindSubNode(const UString &name) const in FindSubNode() 301 const UString &front = item.PathParts.Front(); in AddItem() [all …]
|
D | StringConvert.cpp | 12 UString MultiByteToUnicodeString(const AString &srcString, UINT codePage) in MultiByteToUnicodeString() 14 UString resultString; in MultiByteToUnicodeString() 27 void MultiByteToUnicodeString2(UString &dest, const AString &srcString, UINT codePage) in MultiByteToUnicodeString2() 56 void UnicodeStringToMultiByte2(AString &dest, const UString &s, UINT codePage, char defaultChar, bo… in UnicodeStringToMultiByte2() 89 void UnicodeStringToMultiByte2(AString &dest, const UString &srcString, UINT codePage) in UnicodeStringToMultiByte2() 95 AString UnicodeStringToMultiByte(const UString &s, UINT codePage, char defaultChar, bool &defaultCh… in UnicodeStringToMultiByte() 114 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage) in UnicodeStringToMultiByte() 132 UString MultiByteToUnicodeString(const AString &srcString, UINT codePage) in MultiByteToUnicodeString() 134 UString resultString; in MultiByteToUnicodeString() 148 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage) in UnicodeStringToMultiByte()
|
D | CommandLineParser.h | 10 bool SplitCommandLine(const UString &src, UString &dest1, UString &dest2); 11 void SplitCommandLine(const UString &s, UStringVector &parts); 49 bool ParseString(const UString &s, const CSwitchForm *switchForms); 53 UString ErrorLine;
|
/external/lzma/CPP/7zip/UI/Common/ |
D | ExtractingFilePath.cpp | 11 static UString ReplaceIncorrectChars(const UString &s, bool repaceColon) in ReplaceIncorrectChars() 14 UString res; in ReplaceIncorrectChars() 56 static bool CheckTail(const UString &name, unsigned len) in CheckTail() 61 UString s = name.Left(dotPos); in CheckTail() 66 static bool CheckNameNum(const UString &name, const wchar_t *reservedName) in CheckNameNum() 79 static bool IsSupportedName(const UString &name) in IsSupportedName() 99 static UString GetCorrectFileName(const UString &path, bool repaceColon) in GetCorrectFileName() 102 return UString(); in GetCorrectFileName() 110 UString &s = pathParts[i]; in MakeCorrectPath() 115 UString s2 = s[0]; in MakeCorrectPath() [all …]
|
D | Update.h | 24 UString OriginalPath; 26 UString Prefix; // path(folder) prefix including slash 27 UString Name; // base name 28 UString BaseExtension; // archive type extension or "exe" extension 29 UString VolExtension; // archive type extension for volumes 37 void ParseFromPath(const UString &path, EArcNameMode mode); 38 UString GetPathWithoutExt() const { return Prefix + Name; } in GetPathWithoutExt() 39 UString GetFinalPath() const; 40 UString GetFinalVolPath() const; 46 UString UserArchivePath; [all …]
|
D | LoadCodecs.h | 37 UString Ext; 38 UString AddExt; 41 CArcExtInfo(const UString &ext): Ext(ext) {} in CArcExtInfo() 42 CArcExtInfo(const UString &ext, const UString &addExt): Ext(ext), AddExt(addExt) {} in CArcExtInfo() 53 UString Name; 88 UString GetMainExt() const in GetMainExt() 91 return UString(); in GetMainExt() 94 int FindExtension(const UString &ext) const; 110 void AddExts(const UString &ext, const UString &addExt); 139 UString Ext; [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 | 20 UString Name; 47 UString GetPrefixesPath(const CIntVector &parents, int index, const UString &name) const; 92 UString GetPhyPath(unsigned index) const; 93 UString GetLogPath(unsigned index) const; 95 unsigned AddPrefix(int phyParent, int logParent, const UString &prefix); 99 const UString &logPrefix, 114 UString Name;
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | ItemNameUtils.cpp | 28 UString MakeLegalName(const UString &name) in MakeLegalName() 30 UString zipName = name; in MakeLegalName() 35 UString GetOSName(const UString &name) in GetOSName() 37 UString newName = name; in GetOSName() 42 UString GetOSName2(const UString &name) in GetOSName2() 45 return UString(); in GetOSName2() 46 UString newName = GetOSName(name); in GetOSName2() 52 void ConvertToOSName2(UString &name) in ConvertToOSName2() 80 UString WinNameToOSName(const UString &name) in WinNameToOSName() 82 UString newName = name; in WinNameToOSName()
|
D | ItemNameUtils.h | 13 UString MakeLegalName(const UString &name); 14 UString GetOSName(const UString &name); 15 UString GetOSName2(const UString &name); 16 void ConvertToOSName2(UString &name); 20 inline UString WinNameToOSName(const UString &name) { return name; } in WinNameToOSName() 22 UString WinNameToOSName(const UString &name);
|
/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/7zip/UI/FileManager/ |
D | ProgressDialog2.h | 20 UString Title; 21 UString Message; 46 UString _titleFileName; 47 UString _status; 48 UString _filePath; 83 …HRESULT ScanProgress(UInt64 numFiles, UInt64 totalSize, const UString &fileName, bool isDir = fals… 92 void Set_TitleFileName(const UString &fileName); 93 void Set_Status(const UString &s); 94 void Set_FilePath(const UString &path, bool isDir = false); 105 UString _titleFileName; [all …]
|
D | BrowseDialog.cpp | 68 extern UString HResultToMessage(HRESULT errorCode); 77 UString s = HResultToMessage(errorCode); in MessageBox_HResError() 98 UString _topDirPrefix; // we don't open parent of that folder 99 UString DirPrefix; 111 bool GetParentPath(const UString &path, UString &parentPrefix, UString &name); 113 HRESULT Reload(const UString &pathPrefix, const UString &selectedName); 132 UString Title; 133 UString FilePath; // input/ result path 136 UString FilterDescription; 139 void SetFilter(const UString &s); [all …]
|
D | FormatUtils.cpp | 11 UString NumberToString(UInt64 number) in NumberToString() 18 UString MyFormatNew(const UString &format, const UString &argument) in MyFormatNew() 20 UString result = format; in MyFormatNew() 25 UString MyFormatNew(UINT resourceID, const UString &argument) in MyFormatNew()
|
D | FormatUtils.h | 9 UString NumberToString(UInt64 number); 11 UString MyFormatNew(const UString &format, const UString &argument); 12 UString MyFormatNew(UINT resourceID, const UString &argument);
|
D | BrowseDialog.h | 8 bool MyBrowseForFolder(HWND owner, LPCWSTR title, LPCWSTR path, UString &resultPath); 9 …wner, LPCWSTR title, LPCWSTR path, LPCWSTR filterDescription, LPCWSTR filter, UString &resultPath); 17 bool CorrectFsPath(const UString &relBase, const UString &path, UString &result); 19 bool Dlg_CreateFolder(HWND wnd, UString &destName);
|
D | LangUtils.h | 10 extern UString g_LangID; 27 UString LangString(UInt32 langID); 28 void LangString(UInt32 langID, UString &dest); 29 void LangString_OnlyFromLangFile(UInt32 langID, UString &dest); 33 inline UString LangString(UInt32 langID) { return NWindows::MyLoadString(langID); } in LangString() 34 inline void LangString(UInt32 langID, UString &dest) { NWindows::MyLoadString(langID, dest); } in LangString()
|
/external/lzma/CPP/7zip/Common/ |
D | MethodProps.cpp | 11 bool StringToBool(const UString &s, bool &res) in StringToBool() 37 unsigned ParseStringToUInt32(const UString &srcString, UInt32 &number) in ParseStringToUInt32() 45 HRESULT ParsePropToUInt32(const UString &name, const PROPVARIANT &prop, UInt32 &resValue) in ParsePropToUInt32() 69 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 … in ParseMtProp() 93 static HRESULT StringToDictSize(const UString &s, UInt32 &dicSize) in StringToDictSize() 244 static int FindPropIdExact(const UString &name) in FindPropIdExact() 275 static void SplitParams(const UString &srcString, UStringVector &subStrings) in SplitParams() 278 UString s; in SplitParams() 296 static void SplitParam(const UString ¶m, UString &name, UString &value) in SplitParam() 329 HRESULT CMethodProps::SetParam(const UString &name, const UString &value) in SetParam() [all …]
|
D | MethodProps.h | 12 bool StringToBool(const UString &s, bool &res); 14 unsigned ParseStringToUInt32(const UString &srcString, UInt32 &number); 15 HRESULT ParsePropToUInt32(const UString &name, const PROPVARIANT &prop, UInt32 &resValue); 17 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 … 57 HRESULT SetParam(const UString &name, const UString &value); 166 HRESULT ParseParamsFromString(const UString &srcString); 167 HRESULT ParseParamsFromPROPVARIANT(const UString &realName, const PROPVARIANT &value); 173 UString MethodName; 181 HRESULT ParseMethodFromPROPVARIANT(const UString &realName, const PROPVARIANT &value); 182 HRESULT ParseMethodFromString(const UString &s);
|
/external/lzma/CPP/Windows/ |
D | FileName.cpp | 25 void NormalizeDirPathPrefix(UString &dirPath) in NormalizeDirPathPrefix() 211 static bool GetCurDir(UString &path) in GetCurDir() 234 static bool ResolveDotsFolders(UString &s) in ResolveDotsFolders() 394 static bool GetSuperPathBase(CFSTR s, UString &res) in GetSuperPathBase() 416 UString temp = fs2us(s); in GetSuperPathBase() 421 UString rem = &temp[fixedSize]; in GetSuperPathBase() 438 UString temp = fs2us(s + 2); in GetSuperPathBase() 442 UString rem = &temp[fixedSize]; in GetSuperPathBase() 456 UString temp = fs2us(s); in GetSuperPathBase() 457 UString rem = &temp[kDrivePrefixSize]; in GetSuperPathBase() [all …]
|