Home
last modified time | relevance | path

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

12345678910

/external/cronet/third_party/icu/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.cpp29 CharString::CharString(CharString&& src) U_NOEXCEPT in CharString() function in CharString
34 CharString& CharString::operator=(CharString&& src) U_NOEXCEPT { in operator =()
41 char *CharString::cloneData(UErrorCode &errorCode) const { in cloneData()
52 int32_t CharString::extract(char *dest, int32_t capacity, UErrorCode &errorCode) const { in extract()
65 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { in copyFrom()
73 int32_t CharString::lastIndexOf(char c) const { in lastIndexOf()
82 bool CharString::contains(StringPiece s) const { in contains()
94 CharString &CharString::truncate(int32_t newLength) { in truncate()
104 CharString &CharString::append(char c, UErrorCode &errorCode) { in append()
112 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append()
[all …]
Drestrace.cpp26 CharString filePath; in trace()
29 CharString resPath; in trace()
34 CharString format; in trace()
53 CharString filePath; in traceOpen()
59 CharString& ResourceTracer::getFilePath(CharString& output, UErrorCode& status) const { in getFilePath()
74 CharString& ResourceTracer::getResPath(CharString& output, UErrorCode& status) const { in getResPath()
110 CharString filePath; in traceOpenDataFile()
126 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 …]
Dlocid.cpp185 CharString localeNameBuf; in locale_set_default_internal()
317 CharString togo(newLanguage, lsize, status); // start with newLanguage in Locale()
658 CharString* strings) in AliasData()
678 CharString* strings;
1079 const Locale& locale, CharString& out, UErrorCode& status);
1126 CharString& outputToString(CharString& out, UErrorCode status);
1129 CharString& generateKey(const char* language, const char* region,
1130 const char* variant, CharString& out,
1158 CharString& output, UErrorCode& status);
1162 CharString& transformedExtensions, CharString& output, UErrorCode& status);
[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;
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()
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 …]
/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.h40 CharString sourceUnit;
41 CharString baseUnit;
42 CharString factor;
43 CharString offset;
99 CharString unit;
127 CharString category;
131 CharString usage;
134 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;
/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.cpp29 CharString::CharString(CharString&& src) U_NOEXCEPT in CharString() function in CharString
34 CharString& CharString::operator=(CharString&& src) U_NOEXCEPT { in operator =()
41 char *CharString::cloneData(UErrorCode &errorCode) const { in cloneData()
52 int32_t CharString::extract(char *dest, int32_t capacity, UErrorCode &errorCode) const { in extract()
65 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { in copyFrom()
73 int32_t CharString::lastIndexOf(char c) const { in lastIndexOf()
82 bool CharString::contains(StringPiece s) const { in contains()
94 CharString &CharString::truncate(int32_t newLength) { in truncate()
104 CharString &CharString::append(char c, UErrorCode &errorCode) { in append()
112 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()
70 CharString& ResourceTracer::getResPath(CharString& output, UErrorCode& status) const { in getResPath()
106 CharString filePath; in traceOpenDataFile()
121 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 …]
Dlocid.cpp185 CharString localeNameBuf; in locale_set_default_internal()
317 CharString togo(newLanguage, lsize, status); // start with newLanguage in Locale()
658 CharString* strings) in AliasData()
678 CharString* strings;
1079 const Locale& locale, CharString& out, UErrorCode& status);
1126 CharString& outputToString(CharString& out, UErrorCode status);
1129 CharString& generateKey(const char* language, const char* region,
1130 const char* variant, CharString& out,
1158 CharString& output, UErrorCode& status);
1162 CharString& transformedExtensions, CharString& output, UErrorCode& status);
[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;
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()
/external/icu/icu4c/source/i18n/
Dunits_data.h40 CharString sourceUnit;
41 CharString baseUnit;
42 CharString factor;
43 CharString offset;
99 CharString unit;
127 CharString category;
131 CharString usage;
134 CharString region;
Dunits_data.cpp28 void trimSpaces(CharString& factor, UErrorCode& status){ in trimSpaces()
29 CharString trimmed; in trimSpaces()
213 CharString geq; in put()
392 CharString getKeyWordValue(const Locale &locale, StringPiece kw, UErrorCode &status) { in getKeyWordValue()
393 CharString result; in getKeyWordValue()
415 CharString localeUnitCharString = getKeyWordValue(locale, "mu", internalMuStatus); in getPreferencesFor()
419 localeUnitCharString = CharString("fahrenheit", status); in getPreferencesFor()
434 CharString region(locale.getCountry(), status); in getPreferencesFor()
438 CharString localeSystem = getKeyWordValue(locale, "measure", internalMeasureTagStatus); in getPreferencesFor()
459 CharString localeRegion = getKeyWordValue(locale, "rg", internalRgTagStatus); in getPreferencesFor()
/external/cronet/third_party/icu/source/i18n/
Dunits_data.h40 CharString sourceUnit;
41 CharString baseUnit;
42 CharString factor;
43 CharString offset;
99 CharString unit;
127 CharString category;
131 CharString usage;
134 CharString region;
Dunits_data.cpp28 void trimSpaces(CharString& factor, UErrorCode& status){ in trimSpaces()
29 CharString trimmed; in trimSpaces()
213 CharString geq; in put()
392 CharString getKeyWordValue(const Locale &locale, StringPiece kw, UErrorCode &status) { in getKeyWordValue()
393 CharString result; in getKeyWordValue()
414 CharString localeUnitCharString = getKeyWordValue(locale, "mu", internalMuStatus); in getPreferencesFor()
429 CharString region(locale.getCountry(), status); in getPreferencesFor()
433 CharString localeSystem = getKeyWordValue(locale, "measure", internalMeasureTagStatus); in getPreferencesFor()
454 CharString localeRegion = getKeyWordValue(locale, "rg", internalRgTagStatus); in getPreferencesFor()

12345678910