Home
last modified time | relevance | path

Searched refs:CharString (Results 1 – 25 of 125) sorted by relevance

12345

/external/icu/libicu/cts_headers/
Dcharstr.h41 class U_COMMON_API CharString : public UMemory {
43 CharString() : len(0) { buffer[0]=0; } in CharString() function
44 CharString(StringPiece s, UErrorCode &errorCode) : len(0) { in CharString() function
48 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { in CharString() function
52 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { in CharString() function
56 ~CharString() {} in ~CharString()
62 CharString(CharString &&src) U_NOEXCEPT;
68 CharString &operator=(CharString &&src) U_NOEXCEPT;
76 CharString &copyFrom(const CharString &other, UErrorCode &errorCode);
119 CharString &clear() { len=0; buffer[0]=0; return *this; } in clear()
[all …]
Dunits_data.h34 CharString U_I18N_API getUnitCategory(const char *baseUnitIdentifier, UErrorCode &status);
56 CharString sourceUnit;
57 CharString baseUnit;
58 CharString factor;
59 CharString offset;
115 CharString unit;
136 CharString category;
140 CharString usage;
143 CharString region;
Drestrace.h15 class CharString; variable
87 CharString& getFilePath(CharString& output, UErrorCode& status) const;
89 CharString& getResPath(CharString& output, UErrorCode& status) const;
Duniquecharstr.h32 strings = new CharString(); in UniqueCharStrings()
43 CharString *orphanCharStrings() { in orphanCharStrings()
44 CharString *result = strings; in orphanCharStrings()
92 CharString *strings;
Dbytesinkutil.h16 class CharString; variable
64 CharStringByteSink(CharString* dest);
80 CharString& dest_;
Dulocimp.h59 icu::CharString U_EXPORT2
64 icu::CharString U_EXPORT2
69 icu::CharString U_EXPORT2
Dnumber_decnum.h61 inline CharString toCharString(UErrorCode& status) const { in toCharString()
62 CharString cstr; in toCharString()
/external/icu/icu4c/source/common/
Dcharstr.h41 class U_COMMON_API CharString : public UMemory {
43 CharString() : len(0) { buffer[0]=0; } in CharString() function
44 CharString(StringPiece s, UErrorCode &errorCode) : len(0) { in CharString() function
48 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { in CharString() function
52 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { in CharString() function
56 ~CharString() {} in ~CharString()
62 CharString(CharString &&src) U_NOEXCEPT;
68 CharString &operator=(CharString &&src) U_NOEXCEPT;
76 CharString &copyFrom(const CharString &other, UErrorCode &errorCode);
119 CharString &clear() { len=0; buffer[0]=0; return *this; } in clear()
[all …]
Dcharstr.cpp27 CharString::CharString(CharString&& src) U_NOEXCEPT in CharString() function in CharString
32 CharString& CharString::operator=(CharString&& src) U_NOEXCEPT { in operator =()
39 char *CharString::cloneData(UErrorCode &errorCode) const { in cloneData()
50 int32_t CharString::extract(char *dest, int32_t capacity, UErrorCode &errorCode) const { in extract()
63 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { in copyFrom()
71 int32_t CharString::lastIndexOf(char c) const { in lastIndexOf()
80 bool CharString::contains(StringPiece s) const { in contains()
92 CharString &CharString::truncate(int32_t newLength) { in truncate()
102 CharString &CharString::append(char c, UErrorCode &errorCode) { in append()
110 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append()
[all …]
Drestrace.cpp25 CharString filePath; in trace()
28 CharString resPath; in trace()
33 CharString format; in trace()
50 CharString filePath; in traceOpen()
55 CharString& ResourceTracer::getFilePath(CharString& output, UErrorCode& status) const { in getFilePath()
67 CharString& ResourceTracer::getResPath(CharString& output, UErrorCode& status) const { in getResPath()
103 CharString filePath; in traceOpenDataFile()
118 CharString filePath; in traceOpenResFile()
Dlocalebuilder.cpp120 CharString* new_variant = new CharString(variant, status_); in setVariant()
172 CharString value; in _copyExtensions()
205 _setUnicodeExtensions(Locale& locale, const CharString& value, UErrorCode& errorCode) in _setUnicodeExtensions()
208 CharString locale_str("und-u-", errorCode); in _setUnicodeExtensions()
222 CharString value_str(value, status_); in setExtension()
275 CharString value_str(value, status_); in addUnicodeLocaleAttribute()
292 CharString attributes; in addUnicodeLocaleAttribute()
297 CharString new_attributes(value_str.data(), status_); in addUnicodeLocaleAttribute()
306 CharString new_attributes; in addUnicodeLocaleAttribute()
338 CharString value_str(value, status_); in removeUnicodeLocaleAttribute()
[all …]
Drestrace.h15 class CharString; variable
87 CharString& getFilePath(CharString& output, UErrorCode& status) const;
89 CharString& getResPath(CharString& output, UErrorCode& status) const;
Duniquecharstr.h32 strings = new CharString(); in UniqueCharStrings()
43 CharString *orphanCharStrings() { in orphanCharStrings()
44 CharString *result = strings; in orphanCharStrings()
92 CharString *strings;
Dlocid.cpp185 CharString localeNameBuf; in locale_set_default_internal()
319 CharString togo(newLanguage, lsize, status); // start with newLanguage in Locale()
661 CharString* strings) in AliasData()
679 CharString* strings;
1032 const Locale& locale, CharString& out, UErrorCode& status);
1079 CharString& outputToString(CharString& out, UErrorCode status);
1082 CharString& generateKey(const char* language, const char* region,
1083 const char* variant, CharString& out,
1110 CharString&
1113 CharString& out, UErrorCode status) in generateKey()
[all …]
Dbytestriebuilder.cpp40 void setTo(StringPiece s, int32_t val, CharString &strings, UErrorCode &errorCode);
42 StringPiece getString(const CharString &strings) const { in getString()
54 int32_t getStringLength(const CharString &strings) const { in getStringLength()
64 char charAt(int32_t index, const CharString &strings) const { return data(strings)[index]; } in charAt()
68 int32_t compareStringTo(const BytesTrieElement &o, const CharString &strings) const;
71 const char *data(const CharString &strings) const { in data()
92 CharString &strings, UErrorCode &errorCode) { in setTo()
114 BytesTrieElement::compareStringTo(const BytesTrieElement &other, const CharString &strings) const { in compareStringTo()
135 strings=new CharString(); in BytesTrieBuilder()
184 const CharString *strings=static_cast<const CharString *>(context); in compareElementStrings()
Dbytesinkutil.h16 class CharString; variable
64 CharStringByteSink(CharString* dest);
80 CharString& dest_;
Dloclikely.cpp65 icu::CharString und; in findLikelySubtags()
580 icu::CharString tagBuffer; in createLikelySubtagsString()
636 icu::CharString tagBuffer; in createLikelySubtagsString()
692 icu::CharString tagBuffer; in createLikelySubtagsString()
747 icu::CharString tagBuffer; in createLikelySubtagsString()
917 icu::CharString maximizedTagBuffer; in _uloc_minimizeSubtags()
967 icu::CharString base; in _uloc_minimizeSubtags()
1028 icu::CharString tagBuffer; in _uloc_minimizeSubtags()
1073 icu::CharString tagBuffer; in _uloc_minimizeSubtags()
1119 icu::CharString tagBuffer; in _uloc_minimizeSubtags()
[all …]
Dulocimp.h59 icu::CharString U_EXPORT2
64 icu::CharString U_EXPORT2
69 icu::CharString U_EXPORT2
Duloc_keytype.cpp49 static icu::MemoryPool<icu::CharString>* gKeyTypeStringPool = NULL;
99 gKeyTypeStringPool = new icu::MemoryPool<icu::CharString>; in initFromResourceBundle()
132 icu::CharString* bcpKeyIdBuf = gKeyTypeStringPool->create(); in initFromResourceBundle()
204 icu::CharString* legacyTypeIdBuf = in initFromResourceBundle()
229 icu::CharString* bcpTypeIdBuf = gKeyTypeStringPool->create(); in initFromResourceBundle()
280 icu::CharString* fromBuf = in initFromResourceBundle()
/external/icu/icu4c/source/i18n/
Dunits_data.h34 CharString U_I18N_API getUnitCategory(const char *baseUnitIdentifier, UErrorCode &status);
56 CharString sourceUnit;
57 CharString baseUnit;
58 CharString factor;
59 CharString offset;
115 CharString unit;
136 CharString category;
140 CharString usage;
143 CharString region;
Dnumber_decnum.h61 inline CharString toCharString(UErrorCode& status) const { in toCharString()
62 CharString cstr; in toCharString()
/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp737 CharString chStr(longStr, errorCode); in TestCharString()
741 CharString test("Test", errorCode); in TestCharString()
742 CharString copy(test,errorCode); in TestCharString()
793 CharString s1("Short string", errorCode); in TestCharString()
794 CharString s2(std::move(s1)); in TestCharString()
796 CharString s3("Dummy", errorCode); in TestCharString()
802 CharString s1("Long string over 40 characters to trigger heap allocation", errorCode); in TestCharString()
803 CharString s2(std::move(s1)); in TestCharString()
807 CharString s3("Dummy string with over 40 characters to trigger heap allocation", errorCode); in TestCharString()
817 CharString s("abc", errorCode); in TestCharString()
Dlocalematchertest.cpp31 CharString supported;
32 CharString def;
35 CharString desired;
36 CharString expMatch;
37 CharString expDesired;
38 CharString expCombined;
460 bool toInvariant(const UnicodeString &s, CharString &inv, ErrorCode &errorCode) { in toInvariant()
479 const UnicodeString &prefix, CharString &suffix, in getInvariantSuffixAfterPrefix()
550 Locale *getLocaleOrNull(const CharString &s, Locale &locale) { in getLocaleOrNull()
646 CharString path(getSourceTestData(errorCode), errorCode); in testDataDriven()
/external/icu/libicu/cts_headers/unicode/
Dlocalebuilder.h21 class CharString; variable
302 CharString *variant_; // Pointer not object so we need not #include internal charstr.h.
/external/icu/icu4c/source/common/unicode/
Dlocalebuilder.h21 class CharString; variable
302 CharString *variant_; // Pointer not object so we need not #include internal charstr.h.

12345