Home
last modified time | relevance | path

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

1234

/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);
103 CharString &clear() { len=0; buffer[0]=0; return *this; } in clear()
[all …]
Dcharstr.cpp26 CharString::CharString(CharString&& src) U_NOEXCEPT in CharString() function in CharString
31 CharString& CharString::operator=(CharString&& src) U_NOEXCEPT { in operator =()
38 char *CharString::cloneData(UErrorCode &errorCode) const { in cloneData()
49 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { in copyFrom()
57 int32_t CharString::lastIndexOf(char c) const { in lastIndexOf()
66 bool CharString::contains(StringPiece s) const { in contains()
78 CharString &CharString::truncate(int32_t newLength) { in truncate()
88 CharString &CharString::append(char c, UErrorCode &errorCode) { in append()
96 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append()
121 return append(CharString(s, sLength, errorCode), 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;
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()
583 icu::CharString tagBuffer; in createLikelySubtagsString()
639 icu::CharString tagBuffer; in createLikelySubtagsString()
695 icu::CharString tagBuffer; in createLikelySubtagsString()
750 icu::CharString tagBuffer; in createLikelySubtagsString()
913 icu::CharString maximizedTagBuffer; in _uloc_minimizeSubtags()
962 icu::CharString base; in _uloc_minimizeSubtags()
996 icu::CharString tagBuffer; in _uloc_minimizeSubtags()
1040 icu::CharString tagBuffer; in _uloc_minimizeSubtags()
1085 icu::CharString tagBuffer; in _uloc_minimizeSubtags()
[all …]
Dbytesinkutil.h16 class CharString; variable
64 CharStringByteSink(CharString* dest);
80 CharString& dest_;
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()
Dlocid.cpp321 CharString togo(newLanguage, lsize, status); // start with newLanguage in Locale()
743 CharString maximizedLocaleID; in addLikelySubtags()
765 CharString minimizedLocaleID; in minimizeSubtags()
800 CharString localeID; in forLanguageTag()
1253 const CharString keywordName_nul(keywordName, status); in getKeywordValue()
1307 const CharString keywordName_nul(keywordName, status); in getUnicodeKeywordValue()
1319 CharString legacy_value; in getUnicodeKeywordValue()
1379 const CharString keywordName_nul(keywordName, status); in setKeywordValue()
1380 const CharString keywordValue_nul(keywordValue, status); in setKeywordValue()
1389 const CharString keywordName_nul(keywordName, status); in setUnicodeKeywordValue()
[all …]
Dudata.cpp428 CharString itemPath; /* path passed in with item name */
429 CharString pathBuffer; /* output path for this it'ion */
430CharString packageStub; /* example: "/icudt28b". Will ignore that leaf in …
1190 CharString altSepPath; in doOpenChoice()
1206 CharString tocEntryName; /* entry name in tree format. ex: 'icudt28b/coll/ar.res' */ in doOpenChoice()
1207 CharString tocEntryPath; /* entry name in path format. ex: 'icudt28b\\coll\\ar.res' */ in doOpenChoice()
1209 CharString pkgName; in doOpenChoice()
1210 CharString treeName; in doOpenChoice()
Dcstr.h53 CharString s;
Dbytestrieiterator.cpp40 str_=new CharString(); in Iterator()
56 str_=new CharString(); in Iterator()
Dpluralmap.cpp30 CharString cCategory; in toCategory()
Duloc_tag.cpp1234 icu::MemoryPool<icu::CharString> strPool; in _appendKeywordsToLanguageTag()
1248 icu::MemoryPool<icu::CharString> extBufPool; in _appendKeywordsToLanguageTag()
1255 icu::CharString buf; in _appendKeywordsToLanguageTag()
1334 icu::CharString* attrValue = in _appendKeywordsToLanguageTag()
1382 icu::CharString* extBuf = extBufPool.create(); in _appendKeywordsToLanguageTag()
1429 icu::CharString* extBuf = in _appendKeywordsToLanguageTag()
1509 …To, icu::MemoryPool<ExtensionListEntry>& extPool, icu::MemoryPool<icu::CharString>& kwdBuf, UBool … in _appendLDMLExtensionAsKeywords()
1581 icu::CharString* value = kwdBuf.create(); in _appendLDMLExtensionAsKeywords()
1690 icu::CharString* key = kwdBuf.create(bcpKeyBuf, bcpKeyLen, *status); in _appendLDMLExtensionAsKeywords()
1725 icu::CharString* type = kwdBuf.create(bcpTypeBuf, bcpTypeLen, *status); in _appendLDMLExtensionAsKeywords()
[all …]
Dbrkeng.cpp239 CharString dictnbuf; in loadDictionaryMatcherFor()
240 CharString ext; in loadDictionaryMatcherFor()
/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp600 CharString chStr(longStr, errorCode); in TestCharString()
604 CharString test("Test", errorCode); in TestCharString()
605 CharString copy(test,errorCode); in TestCharString()
656 CharString s1("Short string", errorCode); in TestCharString()
657 CharString s2(std::move(s1)); in TestCharString()
659 CharString s3("Dummy", errorCode); in TestCharString()
665 CharString s1("Long string over 40 characters to trigger heap allocation", errorCode); in TestCharString()
666 CharString s2(std::move(s1)); in TestCharString()
670 CharString s3("Dummy string with over 40 characters to trigger heap allocation", errorCode); in TestCharString()
Dlocalematchertest.cpp30 CharString supported;
31 CharString def;
34 CharString desired;
35 CharString expMatch;
36 CharString expDesired;
37 CharString expCombined;
370 bool toInvariant(const UnicodeString &s, CharString &inv, ErrorCode &errorCode) { in toInvariant()
389 const UnicodeString &prefix, CharString &suffix, in getInvariantSuffixAfterPrefix()
460 Locale *getLocaleOrNull(const CharString &s, Locale &locale) { in getLocaleOrNull()
556 CharString path(getSourceTestData(errorCode), errorCode); in testDataDriven()
Drbbimonkeytest.cpp234 CharString localeName; in setKeywordParameter()
538 CharString ruleName; in set()
585 CharString ccName; in dump()
587 CharString ruleName, secondRuleName; in dump()
645 CharString path; in openBreakRules()
912 CharString testNameFromParams; in testMonkey()
932 CharString unrecognizedParameters; in testMonkey()
985 CharString str; in getIntParam()
997 UBool RBBIMonkeyTest::getStringParam(UnicodeString name, UnicodeString &params, CharString &dest, U… in getStringParam()
Dnumberformattesttuple.cpp77 CharString cstr; in toEnum()
118 CharString localeStr; in strToLocale()
180 CharString buffer; in strToDouble()
407 CharString buffer; in getFieldByName()
/external/icu/icu4c/source/common/unicode/
Dlocalebuilder.h22 class CharString; variable
304 CharString *variant_; // Pointer not object so we need not #include internal charstr.h.
Dbytestriebuilder.h36 class CharString; variable
171 CharString *strings; // Pointer not object so we need not #include internal charstr.h.
/external/icu/icu4c/source/i18n/unicode/
Dfmtable.h37 class CharString; variable
674 CharString *internalGetCharString(UErrorCode &status);
704 CharString *fDecimalStr;
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp86 CharString filename(perf.getSourceDir(), errorCode); in PackageLookup()
175 CharString itemNames;
323 CharString itemNames;
494 CharString &str, UErrorCode &errorCode) { in thaiWordToBytes()
514 CharString str; in BytesTrieDictLookup()
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp344 CharString poolFileName; in main()
531 CharString theCurrentFileName; in main()
584 CharString openFileName; in processFile()
585 CharString inputDirBuf; in processFile()
668 CharString filterFileName(filterDir, status); in processFile()

1234