Home
last modified time | relevance | path

Searched refs:UString (Results 1 – 25 of 154) sorted by relevance

1234567

/external/lzma/CPP/Common/
DStringConvert.h9 UString MultiByteToUnicodeString(const AString &src, UINT codePage = CP_ACP);
10 UString MultiByteToUnicodeString(const char *src, UINT codePage = CP_ACP);
13 void MultiByteToUnicodeString2(UString &dest, const AString &src, UINT codePage = CP_ACP);
15 void UnicodeStringToMultiByte2(AString &dest, const UString &src, UINT codePage);
17 AString UnicodeStringToMultiByte(const UString &src, UINT codePage, char defaultChar, bool &default…
18 AString UnicodeStringToMultiByte(const UString &src, UINT codePage = CP_ACP);
21 inline const UString& GetUnicodeString(const UString &u) { return u; } in GetUnicodeString()
23 inline UString GetUnicodeString(const AString &a) { return MultiByteToUnicodeString(a); } in GetUnicodeString()
24 inline UString GetUnicodeString(const char *a) { return MultiByteToUnicodeString(a); } in GetUnicodeString()
26 inline UString GetUnicodeString(const AString &a, UINT codePage) in GetUnicodeString()
[all …]
DWildcard.h15 void SplitPathToParts(const UString &path, UStringVector &pathParts);
16 void SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name);
17 void SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name); // ignores dir…
19 UString ExtractDirPrefixFromPath(const UString &path);
20 UString ExtractFileNameFromPath(const UString &path);
22 bool DoesNameContainWildcard(const UString &path);
23 bool DoesWildcardMatchName(const UString &mask, const UString &name);
64 CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { }; in CCensorNode()
66 UString Name; // WIN32 doesn't support wildcards in file names
73 int FindSubNode(const UString &path) const;
[all …]
DMyString.h242 #define FORBID_STRING_OPS_UString(t) FORBID_STRING_OPS(UString, t)
479 class UString
498 UString(unsigned num, const wchar_t *s); // for Mid
499 UString(unsigned num, const UString &s); // for Left
500 UString(const UString &s, wchar_t c); // it's for String + char
501 UString(const wchar_t *s1, unsigned num1, const wchar_t *s2, unsigned num2);
503 friend UString operator+(const UString &s, wchar_t c) { return UString(s, c); } ;
506 friend UString operator+(const UString &s1, const UString &s2);
507 friend UString operator+(const UString &s1, const wchar_t *s2);
508 friend UString operator+(const wchar_t *s1, const UString &s2);
[all …]
DMyString.cpp226 bool UString::IsPrefixedBy_Ascii_NoCase(const char *s) const throw() in IsPrefixedBy_Ascii_NoCase()
941 void UString::InsertSpace(unsigned index, unsigned size) in InsertSpace()
947 void UString::ReAlloc(unsigned newLimit) in ReAlloc()
958 void UString::ReAlloc2(unsigned newLimit) in ReAlloc2()
969 void UString::SetStartLen(unsigned len) in SetStartLen()
977 void UString::Grow_1() in Grow_1()
986 void UString::Grow(unsigned n) in Grow()
1000 UString::UString(unsigned num, const wchar_t *s) in UString() function in UString
1011 UString::UString(unsigned num, const UString &s) in UString() function in UString
1020 UString::UString(const UString &s, wchar_t c) in UString() function in UString
[all …]
DWildcard.cpp32 const UString u1 = fs2us(s1); in CompareFileNames()
33 const UString u2 = fs2us(s2); in CompareFileNames()
79 void SplitPathToParts(const UString &path, UStringVector &pathParts) in SplitPathToParts()
85 UString name; in SplitPathToParts()
98 void SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name) in SplitPathToParts_2()
109 void SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name) in SplitPathToParts_Smart()
132 UString ExtractFileNameFromPath(const UString &path) in ExtractFileNameFromPath()
134 return UString(path.Ptr(path.ReverseFind_PathSepar() + 1)); in ExtractFileNameFromPath()
138 bool DoesWildcardMatchName(const UString &mask, const UString &name) in DoesWildcardMatchName()
143 bool DoesNameContainWildcard(const UString &path) in DoesNameContainWildcard()
[all …]
DStringConvert.cpp42 void MultiByteToUnicodeString2(UString &dest, const AString &src, UINT codePage) in MultiByteToUnicodeString2()
108 static void UnicodeStringToMultiByte2(AString &dest, const UString &src, UINT codePage, char defaul… in UnicodeStringToMultiByte2()
218 void MultiByteToUnicodeString2(UString &dest, const AString &src, UINT /* codePage */) in MultiByteToUnicodeString2()
248 static void UnicodeStringToMultiByte2(AString &dest, const UString &src, UINT /* codePage */, char … in UnicodeStringToMultiByte2()
287 UString MultiByteToUnicodeString(const AString &src, UINT codePage) in MultiByteToUnicodeString()
289 UString dest; in MultiByteToUnicodeString()
294 UString MultiByteToUnicodeString(const char *src, UINT codePage) in MultiByteToUnicodeString()
300 void UnicodeStringToMultiByte2(AString &dest, const UString &src, UINT codePage) in UnicodeStringToMultiByte2()
306 AString UnicodeStringToMultiByte(const UString &src, UINT codePage, char defaultChar, bool &default… in UnicodeStringToMultiByte()
313 AString UnicodeStringToMultiByte(const UString &src, UINT codePage) in UnicodeStringToMultiByte()
DStdOutStream.h54 void PrintUString(const UString &s, AString &temp);
56 void Normalize_UString__LF_Allowed(UString &s);
57 void Normalize_UString(UString &s);
59 void NormalizePrint_UString(const UString &s, UString &tempU, AString &tempA);
60 void NormalizePrint_UString(const UString &s);
69 void StdOut_Convert_UString_to_AString(const UString &s, AString &temp);
/external/lzma/CPP/7zip/UI/Common/
DUpdate.h26 UString OriginalPath;
28 UString Prefix; // path(folder) prefix including slash
29 UString Name; // base name
30 UString BaseExtension; // archive type extension or "exe" extension
31 UString VolExtension; // archive type extension for volumes
39 void ParseFromPath(const UString &path, EArcNameMode mode);
40 UString GetPathWithoutExt() const { return Prefix + Name; } in GetPathWithoutExt()
41 UString GetFinalPath() const;
42 UString GetFinalVolPath() const;
48 UString UserArchivePath;
[all …]
DDefaultName.cpp7 static UString GetDefaultName3(const UString &fileName, in GetDefaultName3()
8 const UString &extension, const UString &addSubExtension) in GetDefaultName3()
31 UString GetDefaultName2(const UString &fileName, in GetDefaultName2()
32 const UString &extension, const UString &addSubExtension) in GetDefaultName2()
34 UString name = GetDefaultName3(fileName, extension, addSubExtension); in GetDefaultName2()
DExtractingFilePath.cpp20 static void ReplaceIncorrectChars(UString &s) in ReplaceIncorrectChars()
82 void Correct_AltStream_Name(UString &s) in Correct_AltStream_Name()
109 static bool IsSupportedName(const UString &name) in IsSupportedName()
138 static void CorrectUnsupportedName(UString &name) in CorrectUnsupportedName()
146 static void Correct_PathPart(UString &s) in Correct_PathPart()
163 UString Get_Correct_FsFile_Name(const UString &name) in Get_Correct_FsFile_Name()
165 UString res = name; in Get_Correct_FsFile_Name()
217 UString &ds = parts[i - 1]; in Correct_FsPath()
232 UString &s = parts[i]; in Correct_FsPath()
260 parts.Add((UString)k_EmptyReplaceName); in Correct_FsPath()
[all …]
DLoadCodecs.h85 UString Ext;
86 UString AddExt;
89 CArcExtInfo(const UString &ext): Ext(ext) {} in CArcExtInfo()
90 CArcExtInfo(const UString &ext, const UString &addExt): Ext(ext), AddExt(addExt) {} in CArcExtInfo()
101 UString Name;
136 UString GetMainExt() const in GetMainExt()
139 return UString(); in GetMainExt()
142 int FindExtension(const UString &ext) const;
158 void AddExts(const UString &ext, const UString &addExt);
186 UString Ext;
[all …]
DArchiveName.cpp16 static UString CreateArchiveName(const NFind::CFileInfo &fi, bool keepName) in CreateArchiveName()
78 UString CreateArchiveName(const UStringVector &paths, const NFind::CFileInfo *fi) in CreateArchiveName()
91 UString name; in CreateArchiveName()
102 UString postfix; in CreateArchiveName()
109 const UString name2 = name + postfix; in CreateArchiveName()
110 const UString name2_zip = name2 + L".zip"; in CreateArchiveName()
111 const UString name2_7z = name2 + L".7z"; in CreateArchiveName()
112 const UString name2_tar = name2 + L".tar"; in CreateArchiveName()
113 const UString name2_wim = name2 + L".wim"; in CreateArchiveName()
119 const UString &fn = paths[i]; in CreateArchiveName()
[all …]
DOpenArchive.h129 UString filePath;
163 UString ErrorMessage;
164 UString WarningMessage;
227 UString Path; // Path from root (including alt stream name, if alt stream)
231 UString MainPath;
234 UString AltStreamName;
285 UString Path;
286 UString filePath;
287 UString DefaultName;
344 HRESULT GetItemPath(UInt32 index, UString &result) const;
[all …]
/external/icu/icu4c/source/tools/genrb/
Dustr.h54 struct UString { struct
60 U_CFUNC void ustr_init(struct UString *s); argument
63 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status);
65 U_CFUNC void ustr_deinit(struct UString *s);
67 U_CFUNC void ustr_setlen(struct UString *s, int32_t len, UErrorCode *status);
69 U_CFUNC void ustr_cpy(struct UString *dst, const struct UString *src,
72 U_CFUNC void ustr_cat(struct UString *dst, const struct UString *src,
75 U_CFUNC void ustr_ncat(struct UString *dst, const struct UString *src,
78 U_CFUNC void ustr_ucat(struct UString *dst, UChar c, UErrorCode *status);
79 U_CFUNC void ustr_u32cat(struct UString *dst, UChar32 c, UErrorCode *status);
[all …]
Dustr.c28 static void ustr_resize(struct UString *s, int32_t len, UErrorCode *status);
34 ustr_init(struct UString *s) in ustr_init()
41 ustr_initChars(struct UString *s, const char* source, int32_t length, UErrorCode *status) in ustr_initChars()
72 ustr_deinit(struct UString *s) in ustr_deinit()
82 ustr_cpy(struct UString *dst, in ustr_cpy()
83 const struct UString *src, in ustr_cpy()
103 ustr_setlen(struct UString *s, in ustr_setlen()
121 ustr_cat(struct UString *dst, in ustr_cat()
122 const struct UString *src, in ustr_cat()
129 ustr_ncat(struct UString *dst, in ustr_ncat()
[all …]
Dreslist.h71 SRBRoot(const UString *comment, UBool isPoolBundle, UErrorCode &errorCode);
144 TableResource *table_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, U…
146 ArrayResource *array_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, U…
148 … *bundle, const char *tag, const UChar *value, int32_t len, const struct UString* comment, UErrorC…
150 …RBRoot *bundle, const char *tag, UChar *value, int32_t len, const struct UString* comment, UErrorC…
152 IntVectorResource *intvector_open(struct SRBRoot *bundle, const char *tag, const struct UString* c…
154 …pen(struct SRBRoot *bundle, const char *tag, int32_t value, const struct UString* comment, UErrorC…
156 …*tag, uint32_t length, uint8_t *data, const char* fileName, const struct UString* comment, UErrorC…
162 SResource(SRBRoot *bundle, const char *tag, int8_t type, const UString* comment,
223 struct UString fComment;
[all …]
/external/lzma/CPP/7zip/Archive/Common/
DItemNameUtils.cpp15 (UString &name) in ReplaceSlashes_OsToUnix()
20 (UString &) {}
24 UString GetOsPath(const UString &name) in GetOsPath()
27 UString newName = name; in GetOsPath()
36 UString GetOsPath_Remove_TailSlash(const UString &name) in GetOsPath_Remove_TailSlash()
39 return UString(); in GetOsPath_Remove_TailSlash()
40 UString newName = GetOsPath(name); in GetOsPath_Remove_TailSlash()
47 void ReplaceToOsSlashes_Remove_TailSlash(UString &name) in ReplaceToOsSlashes_Remove_TailSlash()
80 UString WinPathToOsPath(const UString &name) in WinPathToOsPath()
82 UString newName = name; in WinPathToOsPath()
DItemNameUtils.h11 void ReplaceSlashes_OsToUnix(UString &name);
13 UString GetOsPath(const UString &name);
14 UString GetOsPath_Remove_TailSlash(const UString &name);
16 void ReplaceToOsSlashes_Remove_TailSlash(UString &name);
21 inline UString WinPathToOsPath(const UString &name) { return name; } in WinPathToOsPath()
23 UString WinPathToOsPath(const UString &name);
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.h20 UString Title;
21 UString Message;
46 UString _titleFileName;
47 UString _status;
48 UString _filePath;
92 void Set_TitleFileName(const UString &fileName);
93 void Set_Status(const UString &s);
94 HRESULT Set_Status2(const UString &s, const wchar_t *path, bool isDir = false);
106 UString _titleFileName;
107 UString _filePath;
[all …]
DBrowseDialog.cpp72 extern UString HResultToMessage(HRESULT errorCode);
81 UString s = HResultToMessage(errorCode); in MessageBox_HResError()
102 UString _topDirPrefix; // we don't open parent of that folder
103 UString DirPrefix;
115 bool GetParentPath(const UString &path, UString &parentPrefix, UString &name);
117 HRESULT Reload(const UString &pathPrefix, const UString &selectedName);
136 UString Title;
137 UString FilePath; // input/ result path
140 UString FilterDescription;
143 void SetFilter(const UString &s);
[all …]
DFormatUtils.cpp11 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()
DLangUtils.h10 extern UString g_LangID;
27 UString LangString(UInt32 langID);
28 void AddLangString(UString &s, UInt32 langID);
29 void LangString(UInt32 langID, UString &dest);
30 void LangString_OnlyFromLangFile(UInt32 langID, UString &dest);
34 inline UString LangString(UInt32 langID) { return NWindows::MyLoadString(langID); } in LangString()
35 inline void LangString(UInt32 langID, UString &dest) { NWindows::MyLoadString(langID, dest); } in LangString()
36 inline void AddLangString(UString &s, UInt32 langID) { s += NWindows::MyLoadString(langID); } in AddLangString()
DFormatUtils.h9 UString NumberToString(UInt64 number);
11 UString MyFormatNew(const UString &format, const UString &argument);
12 UString MyFormatNew(UINT resourceID, const UString &argument);
DBrowseDialog.h8 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);
/external/lzma/CPP/7zip/Common/
DMethodProps.cpp37 unsigned ParseStringToUInt32(const UString &srcString, UInt32 &number) in ParseStringToUInt32()
45 static unsigned ParseStringToUInt64(const UString &srcString, UInt64 &number) in ParseStringToUInt64()
53 HRESULT ParsePropToUInt32(const UString &name, const PROPVARIANT &prop, UInt32 &resValue) in ParsePropToUInt32()
77 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 … in ParseMtProp()
102 static HRESULT StringToDictSize(const UString &s, NCOM::CPropVariant &destProp) in StringToDictSize()
156 UString s; in PROPVARIANT_to_DictSize()
285 static int FindPropIdExact(const UString &name) in FindPropIdExact()
323 static void SplitParams(const UString &srcString, UStringVector &subStrings) in SplitParams()
326 UString s; in SplitParams()
344 static void SplitParam(const UString &param, UString &name, UString &value) in SplitParam()
[all …]

1234567