Home
last modified time | relevance | path

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

123

/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()
64 CharString &copyFrom(const CharString &other, UErrorCode &errorCode);
77 CharString &clear() { len=0; buffer[0]=0; return *this; } in clear()
78 CharString &truncate(int32_t newLength);
80 CharString &append(char c, UErrorCode &errorCode);
[all …]
Dcharstr.cpp26 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { in copyFrom()
34 int32_t CharString::lastIndexOf(char c) const { in lastIndexOf()
43 CharString &CharString::truncate(int32_t newLength) { in truncate()
53 CharString &CharString::append(char c, UErrorCode &errorCode) { in append()
61 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append()
86 return append(CharString(s, sLength, errorCode), errorCode); in append()
95 char *CharString::getAppendBuffer(int32_t minCapacity, in getAppendBuffer()
116 CharString &CharString::appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode) { in appendInvariantChars()
130 UBool CharString::ensureCapacity(int32_t capacity, in ensureCapacity()
150 CharString &CharString::appendPathPart(StringPiece s, UErrorCode &errorCode) { in appendPathPart()
[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()
Dudata.cpp425 CharString itemPath; /* path passed in with item name */
426 CharString pathBuffer; /* output path for this it'ion */
427CharString packageStub; /* example: "/icudt28b". Will ignore that leaf in …
1167 CharString altSepPath; in doOpenChoice()
1183 CharString tocEntryName; /* entry name in tree format. ex: 'icudt28b/coll/ar.res' */ in doOpenChoice()
1184 CharString tocEntryPath; /* entry name in path format. ex: 'icudt28b\\coll\\ar.res' */ in doOpenChoice()
1186 CharString pkgName; in doOpenChoice()
1187 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()
Dbrkeng.cpp251 CharString dictnbuf; in loadDictionaryMatcherFor()
252 CharString ext; in loadDictionaryMatcherFor()
Dputil.cpp945 static CharString *gSearchTZFileResult = NULL;
958 CharString curpath(path, -1, status); in searchForTZFile()
969 gSearchTZFileResult = new CharString; in searchForTZFile()
981 CharString newpath(curpath, status); in searchForTZFile()
1235 static CharString *gTimeZoneFilesDirectory = NULL;
1467 gTimeZoneFilesDirectory = new CharString(); in TimeZoneDataDirInitFn()
/external/icu/icu4c/source/i18n/
Ddigitlst.h55 class CharString; variable
215 void getDecimal(CharString &str, UErrorCode &status);
395 void appendDigitsTo(CharString &str, UErrorCode &status) const;
Dfmtable.cpp264 fDecimalStr = new CharString(*source.fDecimalStr, status); in operator =()
707 CharString *decimalStr = internalGetCharString(status); in getDecimalNumber()
715 CharString *Formattable::internalGetCharString(UErrorCode &status) { in internalGetCharString()
746 fDecimalStr = new CharString; in internalGetCharString()
816 dnum->set(CharString(numberString, status).toStringPiece(), status); in setDecimalNumber()
1028 CharString *charString = obj->internalGetCharString(*status); in ufmt_getDecNumChars()
Ddtfmtsym.cpp1876 initField(UnicodeString **field, int32_t& length, CalendarDataSink &sink, CharString &key, UErrorCo… in initField()
1894 initField(UnicodeString **field, int32_t& length, CalendarDataSink &sink, CharString &key, int32_t … in initField()
1916 initLeapMonthPattern(UnicodeString *field, int32_t index, CalendarDataSink &sink, CharString &path,… in initLeapMonthPattern()
1935 static CharString
1936 &buildResourcePath(CharString &path, const char* segment1, UErrorCode &errorCode) { in buildResourcePath()
1940 static CharString
1941 &buildResourcePath(CharString &path, const char* segment1, const char* segment2, in buildResourcePath()
1947 static CharString
1948 &buildResourcePath(CharString &path, const char* segment1, const char* segment2, in buildResourcePath()
1954 static CharString
[all …]
Dvisibledigits.h74 CharString fDigits;
Dnumber_compact.cpp28 CharString &sb, UErrorCode &status) { in getResourceBundleKey()
70 CharString resourceKey; in populate()
/external/icu/icu4c/source/i18n/unicode/
Dfmtable.h35 class CharString; variable
677 CharString *internalGetCharString(UErrorCode &status);
707 CharString *fDecimalStr;
Ddtptngen.h31 class CharString; variable
538 void getCalendarTypeToUse(const Locale& locale, CharString& destination, UErrorCode& err);
/external/icu/icu4c/source/test/intltest/
Drbbimonkeytest.cpp226 CharString localeName; in setKeywordParameter()
522 CharString ruleName; in set()
569 CharString ccName; in dump()
571 CharString ruleName, secondRuleName; in dump()
629 CharString path; in openBreakRules()
896 CharString testNameFromParams; in testMonkey()
916 CharString unrecognizedParameters; in testMonkey()
969 CharString str; in getIntParam()
981 UBool RBBIMonkeyTest::getStringParam(UnicodeString name, UnicodeString &params, CharString &dest, U… in getStringParam()
Dnumberformattesttuple.cpp78 CharString cstr; in toEnum()
119 CharString localeStr; in strToLocale()
183 CharString buffer; in strToDouble()
409 CharString buffer; in getFieldByName()
Ditutil.cpp322 LocalPointer<CharString> csx(new CharString("some chars", errorCode), errorCode); in TestLocalPointer()
328 csx.adoptInsteadAndCheckErrorCode(new CharString("different chars", errorCode), errorCode); in TestLocalPointer()
335 csx.adoptInsteadAndCheckErrorCode(new CharString("unused", errorCode), errorCode); in TestLocalPointer()
351 LocalPointer<CharString> null(NULL, errorCode); in TestLocalPointer()
Dstrtest.cpp500 CharString chStr(longStr, errorCode); in TestCharString()
504 CharString test("Test", errorCode); in TestCharString()
505 CharString copy(test,errorCode); in TestCharString()
/external/icu/icu4c/source/common/unicode/
Dbytestriebuilder.h33 class CharString; variable
169 CharString *strings; // Pointer not object so we need not #include internal charstr.h.
Dbytestrie.h34 class CharString; variable
329 CharString *str_;
/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/
Dderb.cpp189 icu::CharString locale; in main()
204 icu::CharString infile; in main()
256 icu::CharString thefile; in main()
/external/icu/icu4c/source/tools/toolutil/
Dfiletools.cpp62 icu::CharString newpath(checkAgainst, -1, status); in isFileModTimeLater()

123