Home
last modified time | relevance | path

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

/external/icu4c/common/
Dcharstr.h39 class U_COMMON_API CharString : public UMemory {
41 CharString() : len(0) { buffer[0]=0; } in CharString() function
42 CharString(const StringPiece &s, UErrorCode &errorCode) : len(0) { in CharString() function
46 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { in CharString() function
50 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { in CharString() function
54 ~CharString() {} in ~CharString()
62 CharString &copyFrom(const CharString &other, UErrorCode &errorCode);
72 CharString &clear() { len=0; buffer[0]=0; return *this; } in clear()
73 CharString &truncate(int32_t newLength);
75 CharString &append(char c, UErrorCode &errorCode);
[all …]
Dcharstr.cpp22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { in copyFrom()
30 CharString &CharString::truncate(int32_t newLength) { in truncate()
40 CharString &CharString::append(char c, UErrorCode &errorCode) { in append()
48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append()
73 return append(CharString(s, sLength, errorCode), errorCode); in append()
82 char *CharString::getAppendBuffer(int32_t minCapacity, in getAppendBuffer()
103 CharString &CharString::appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode) { in appendInvariantChars()
110 UBool CharString::ensureCapacity(int32_t capacity, in ensureCapacity()
Dbytestriebuilder.cpp37 void setTo(const StringPiece &s, int32_t val, CharString &strings, UErrorCode &errorCode);
39 StringPiece getString(const CharString &strings) const { in getString()
51 int32_t getStringLength(const CharString &strings) const { in getStringLength()
61 char charAt(int32_t index, const CharString &strings) const { return data(strings)[index]; } in charAt()
65 int32_t compareStringTo(const BytesTrieElement &o, const CharString &strings) const;
68 const char *data(const CharString &strings) const { in data()
89 CharString &strings, UErrorCode &errorCode) { in setTo()
111 BytesTrieElement::compareStringTo(const BytesTrieElement &other, const CharString &strings) const { in compareStringTo()
132 strings=new CharString(); in BytesTrieBuilder()
180 const CharString *strings=reinterpret_cast<const CharString *>(context); in compareElementStrings()
Dudata.cpp427 CharString itemPath; /* path passed in with item name */
428 CharString pathBuffer; /* output path for this it'ion */
429CharString packageStub; /* example: "/icudt28b". Will ignore that leaf in …
1142 CharString altSepPath; in doOpenChoice()
1158 CharString tocEntryName; /* entry name in tree format. ex: 'icudt28b/coll/ar.res' */ in doOpenChoice()
1159 CharString tocEntryPath; /* entry name in path format. ex: 'icudt28b\\coll\\ar.res' */ in doOpenChoice()
1161 CharString pkgName; in doOpenChoice()
1162 CharString treeName; in doOpenChoice()
Dbytestrieiterator.cpp38 str_=new CharString(); in Iterator()
54 str_=new CharString(); in Iterator()
Dlocutil.cpp228 CharString cbundleID; in getAvailableLocaleNames()
Duniset_props.cpp1052 CharString pname, vname; in applyPropertyAlias()
/external/icu4c/i18n/
Ddigitlst.h53 class CharString; variable
208 void getDecimal(CharString &str, UErrorCode &status);
Dfmtable.cpp259 fDecimalStr = new CharString(*source.fDecimalStr, status); in operator =()
721 fDecimalStr = new CharString; in getDecimalNumber()
773 dnum->set(CharString(numberString, status).toStringPiece(), status); in setDecimalNumber()
Dtransreg.cpp260 int32_t num = uscript_getCode(CharString().appendInvariantChars(theSpec, status).data(), in TransliteratorSpec()
1084 CharString().appendInvariantChars(utag, status).data(), status)); in findInBundle()
1097 CharString().appendInvariantChars(variant, status).data(), status); in findInBundle()
Drbt_set.cpp122 CharString cbuf(esc); in _debugOut()
Ddigitlst.cpp569 void DigitList::getDecimal(CharString &str, UErrorCode &status) { in getDecimal()
Dnumfmt.cpp1258 CharString nsLocID; in makeInstance()
Dtmutfmt.cpp579 CharString pluralCountChars; in checkConsistency()
Ddecimfmt.cpp1842 CharString parsedNum; in subparse()
3313 CharString pluralCountChar; in expandAffix()
/external/icu4c/common/unicode/
Dbytestriebuilder.h26 class CharString; variable
156 CharString *strings; // Pointer not object so we need not #include internal charstr.h.
Dbytestrie.h32 class CharString; variable
327 CharString *str_;
Durename.h1815 #define CharString U_ICU_ENTRY_POINT_RENAME(CharString) macro
/external/icu4c/i18n/unicode/
Dfmtable.h31 class CharString; variable
639 CharString *fDecimalStr;
/external/icu4c/test/perf/dicttrieperf/
Ddicttrieperf.cpp84 CharString filename(perf.getSourceDir(), errorCode); in PackageLookup()
173 CharString itemNames;
321 CharString itemNames;
542 CharString &str, UErrorCode &errorCode) { in thaiWordToBytes()
562 CharString str; in BytesTrieDictLookup()
/external/icu4c/test/intltest/
Dstrtest.cpp512 CharString chStr(longStr, errorCode); in TestCharString()
516 CharString test("Test", errorCode); in TestCharString()
517 CharString copy(test,errorCode); in TestCharString()
Dnumfmtst.cpp2165 loc = Locale::createFromName(CharString().appendInvariantChars(tok, ec).data()); in TestCases()
2233 CharString().appendInvariantChars(mloc, ec).data()), ec); in TestCases()
/external/icu4c/tools/gennorm2/
Dgennorm2.cpp155 CharString filename(options[SOURCEDIR].value, errorCode); in main()