Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/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);
75 CharString &clear() { len=0; buffer[0]=0; return *this; } in clear()
76 CharString &truncate(int32_t newLength);
78 CharString &append(char c, UErrorCode &errorCode);
[all …]
Dcharstr.cpp23 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { in copyFrom()
31 int32_t CharString::lastIndexOf(char c) const { in lastIndexOf()
40 CharString &CharString::truncate(int32_t newLength) { in truncate()
50 CharString &CharString::append(char c, UErrorCode &errorCode) { in append()
58 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append()
83 return append(CharString(s, sLength, errorCode), errorCode); in append()
92 char *CharString::getAppendBuffer(int32_t minCapacity, in getAppendBuffer()
113 CharString &CharString::appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode) { in appendInvariantChars()
127 UBool CharString::ensureCapacity(int32_t capacity, in ensureCapacity()
147 CharString &CharString::appendPathPart(const StringPiece &s, UErrorCode &errorCode) { in appendPathPart()
[all …]
Dbytestriebuilder.cpp38 void setTo(const StringPiece &s, int32_t val, CharString &strings, UErrorCode &errorCode);
40 StringPiece getString(const CharString &strings) const { in getString()
52 int32_t getStringLength(const CharString &strings) const { in getStringLength()
62 char charAt(int32_t index, const CharString &strings) const { return data(strings)[index]; } in charAt()
66 int32_t compareStringTo(const BytesTrieElement &o, const CharString &strings) const;
69 const char *data(const CharString &strings) const { in data()
90 CharString &strings, UErrorCode &errorCode) { in setTo()
112 BytesTrieElement::compareStringTo(const BytesTrieElement &other, const CharString &strings) const { in compareStringTo()
133 strings=new CharString(); in BytesTrieBuilder()
182 const CharString *strings=static_cast<const CharString *>(context); in compareElementStrings()
Dudata.cpp417 CharString itemPath; /* path passed in with item name */
418 CharString pathBuffer; /* output path for this it'ion */
419CharString packageStub; /* example: "/icudt28b". Will ignore that leaf in …
1150 CharString altSepPath; in doOpenChoice()
1166 CharString tocEntryName; /* entry name in tree format. ex: 'icudt28b/coll/ar.res' */ in doOpenChoice()
1167 CharString tocEntryPath; /* entry name in path format. ex: 'icudt28b\\coll\\ar.res' */ in doOpenChoice()
1169 CharString pkgName; in doOpenChoice()
1170 CharString treeName; in doOpenChoice()
Dcstr.h48 CharString s;
Dbytestrieiterator.cpp38 str_=new CharString(); in Iterator()
54 str_=new CharString(); in Iterator()
Dpluralmap.cpp28 CharString cCategory; in toCategory()
Dbrkeng.cpp255 CharString dictnbuf; in loadDictionaryMatcherFor()
256 CharString ext; in loadDictionaryMatcherFor()
Dlocutil.cpp227 CharString cbundleID; in getAvailableLocaleNames()
/external/icu/icu4c/source/i18n/
Ddigitlst.h53 class CharString; variable
213 void getDecimal(CharString &str, UErrorCode &status);
393 void appendDigitsTo(CharString &str, UErrorCode &status) const;
Dfmtable.cpp262 fDecimalStr = new CharString(*source.fDecimalStr, status); in operator =()
702 CharString *decimalStr = internalGetCharString(status); in getDecimalNumber()
710 CharString *Formattable::internalGetCharString(UErrorCode &status) { in internalGetCharString()
741 fDecimalStr = new CharString; in internalGetCharString()
811 dnum->set(CharString(numberString, status).toStringPiece(), status); in setDecimalNumber()
1023 CharString *charString = obj->internalGetCharString(*status); in ufmt_getDecNumChars()
Dvisibledigits.h72 CharString fDigits;
/external/icu/icu4c/source/i18n/unicode/
Dfmtable.h33 class CharString; variable
675 CharString *internalGetCharString(UErrorCode &status);
705 CharString *fDecimalStr;
/external/icu/icu4c/source/common/unicode/
Dbytestriebuilder.h31 class CharString; variable
167 CharString *strings; // Pointer not object so we need not #include internal charstr.h.
Dbytestrie.h32 class CharString; variable
327 CharString *str_;
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp82 CharString filename(perf.getSourceDir(), errorCode); in PackageLookup()
171 CharString itemNames;
319 CharString itemNames;
490 CharString &str, UErrorCode &errorCode) { in thaiWordToBytes()
510 CharString str; in BytesTrieDictLookup()
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.cpp76 CharString cstr; in toEnum()
117 CharString localeStr; in strToLocale()
181 CharString buffer; in strToDouble()
406 CharString buffer; in getFieldByName()
Ditutil.cpp320 LocalPointer<CharString> cs(new CharString("some chars", errorCode), errorCode); in TestLocalPointer()
326 cs.adoptInsteadAndCheckErrorCode(new CharString("different chars", errorCode), errorCode); in TestLocalPointer()
333 cs.adoptInsteadAndCheckErrorCode(new CharString("unused", errorCode), errorCode); in TestLocalPointer()
349 LocalPointer<CharString> null(NULL, errorCode); in TestLocalPointer()
Dstrtest.cpp482 CharString chStr(longStr, errorCode); in TestCharString()
486 CharString test("Test", errorCode); in TestCharString()
487 CharString copy(test,errorCode); in TestCharString()
Dcollationtest.cpp109 CharString &dest, int32_t partSize,
1207 CharString name; in parseAndSetReorderCodes()
1287 CharString localeID; in setLocaleCollator()
1329 CharString &dest, int32_t partSize, in getSortKeyParts()
1409 CharString parts; in getCollationKey()
1819 CharString path(getSourceTestData(errorCode), errorCode); in TestDataDriven()
/external/icu/icu4c/source/tools/genrb/
Dderb.cpp187 icu::CharString locale; in main()
202 icu::CharString infile; in main()
254 icu::CharString thefile; in main()
Dparse.cpp77 using icu::CharString;
698 CharString filename(localeID, errorCode); in getRules()
708 CharString inputDirBuf; in getRules()
709 CharString openFileName; in getRules()
1585 CharString fullname; in parseImport()
/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp159 void transform(const UnicodeString &word, CharString &buf, UErrorCode &errorCode) { in transform()
194 CharString buf; in addWord()
/external/icu/icu4c/source/tools/toolutil/
Dppucd.cpp272 CharString pBuffer; in parseProperty()
536 CharString scString; in parseScriptExtensions()
/external/icu/icu4c/source/tools/gennorm2/
Dgennorm2.cpp157 CharString filename(options[SOURCEDIR].value, errorCode); in main()

123