Searched refs:CharString (Results 1 - 25 of 44) sorted by relevance

12

/external/icu/icu4c/source/common/
H A Dcharstr.h39 class U_COMMON_API CharString : public UMemory { class in inherits:UMemory
41 CharString() : len(0) { buffer[0]=0; } function in class:CharString
42 CharString(const StringPiece &s, UErrorCode &errorCode) : len(0) { function in class:CharString
46 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { function in class:CharString
50 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { function in class:CharString
54 ~CharString() {}
58 * CharString does not support the standard copy constructor nor
62 CharString &copyFrom(const CharString
[all...]
H A Dcharstr.cpp22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) {
30 CharString &CharString::truncate(int32_t newLength) {
40 CharString &CharString::append(char c, UErrorCode &errorCode) {
48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) {
73 return append(CharString(
[all...]
H A Dbytestriebuilder.cpp38 void setTo(const StringPiece &s, int32_t val, CharString &strings, UErrorCode &errorCode);
40 StringPiece getString(const CharString &strings) const {
52 int32_t getStringLength(const CharString &strings) const {
62 char charAt(int32_t index, const CharString &strings) const { return data(strings)[index]; }
66 int32_t compareStringTo(const BytesTrieElement &o, const CharString &strings) const;
69 const char *data(const CharString &strings) const {
90 CharString &strings, UErrorCode &errorCode) {
112 BytesTrieElement::compareStringTo(const BytesTrieElement &other, const CharString &strings) const {
133 strings=new CharString();
182 const CharString *string
[all...]
H A Dbrkeng.cpp298 CharString dictnbuf;
299 CharString ext;
H A Dbytestrieiterator.cpp36 // via the CharString and UVector32 implementations, so this additional
38 str_=new CharString();
54 str_=new CharString();
H A Dudata.cpp413 CharString itemPath; /* path passed in with item name */
414 CharString pathBuffer; /* output path for this it'ion */
415 CharString packageStub; /* example: "/icudt28b". Will ignore that leaf in set paths. */
1139 CharString altSepPath;
1155 CharString tocEntryName; /* entry name in tree format. ex: 'icudt28b/coll/ar.res' */
1156 CharString tocEntryPath; /* entry name in path format. ex: 'icudt28b\\coll\\ar.res' */
1158 CharString pkgName;
1159 CharString treeName;
H A Dlocutil.cpp227 CharString cbundleID;
H A Dicuplug.cpp719 CharString plugin_dir;
741 CharString pluginFile;
H A Dbrkiter.cpp56 CharString actualLocale;
H A Dlistformatter.cpp133 CharString keyBuffer(locale.getName(), errorCode);
/external/icu/icu4c/source/common/unicode/
H A Dbytestriebuilder.h31 class CharString;
167 CharString *strings; // Pointer not object so we need not #include internal charstr.h.
H A Dbytestrie.h32 class CharString;
327 CharString *str_;
/external/icu/icu4c/source/i18n/
H A Ddigitlst.h53 class CharString;
212 void getDecimal(CharString &str, UErrorCode &status);
H A Dfmtable.cpp262 fDecimalStr = new CharString(*source.fDecimalStr, status);
702 CharString *decimalStr = internalGetCharString(status);
710 CharString *Formattable::internalGetCharString(UErrorCode &status) {
741 fDecimalStr = new CharString;
805 // CharString automatically adds the nul.
811 dnum->set(CharString(numberString, status).toStringPiece(), status);
1023 CharString *charString = obj->internalGetCharString(*status);
H A Dquantityformatter.cpp158 CharString buffer;
H A Dtransreg.cpp262 int32_t num = uscript_getCode(CharString().appendInvariantChars(theSpec, status).data(),
1086 CharString().appendInvariantChars(utag, status).data(), status));
1099 CharString().appendInvariantChars(variant, status).data(), status);
1324 //CharString ch(entry->stringArg);
H A Drbt_set.cpp123 CharString cbuf(esc);
/external/icu/icu4c/source/i18n/unicode/
H A Dfmtable.h33 class CharString;
670 * Internal function to return the CharString pointer.
672 * @return pointer to the CharString - may become invalid if the object is modified
675 CharString *internalGetCharString(UErrorCode &status);
705 CharString *fDecimalStr;
/external/icu/icu4c/source/test/intltest/
H A Ditutil.cpp305 LocalPointer<CharString> cs(new CharString("some chars", errorCode), errorCode);
311 cs.adoptInsteadAndCheckErrorCode(new CharString("different chars", errorCode), errorCode);
318 cs.adoptInsteadAndCheckErrorCode(new CharString("unused", errorCode), errorCode);
334 LocalPointer<CharString> null(NULL, errorCode);
H A Dstrtest.cpp479 "This is a long string that is meant to cause reallocation of the internal buffer of CharString.";
480 CharString chStr(longStr, errorCode);
482 errln("CharString(longStr) failed.");
484 CharString test("Test", errorCode);
485 CharString copy(test,errorCode);
488 errln("CharString.copyFrom() failed.");
498 errln("CharString(longStr).append(substring of self).append(self) failed.");
502 errln("CharString.clear().append(abc).append(defghij, 3) failed.");
505 "This is a long string that is meant to cause reallocation of the internal buffer of CharString."),
510 errln("CharString
[all...]
H A Dcollationtest.cpp112 CharString &dest, int32_t partSize,
1210 CharString name;
1290 CharString localeID;
1332 CharString &dest, int32_t partSize,
1412 CharString parts;
1822 CharString path(getSourceTestData(errorCode), errorCode);
/external/icu/icu4c/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp82 CharString filename(perf.getSourceDir(), errorCode);
171 CharString itemNames;
319 CharString itemNames;
490 CharString &str, UErrorCode &errorCode) {
510 CharString str;
/external/icu/icu4c/source/tools/gendict/
H A Dgendict.cpp156 void transform(const UnicodeString &word, CharString &buf, UErrorCode &errorCode) {
191 CharString buf;
/external/icu/icu4c/source/tools/toolutil/
H A Dppucd.cpp272 CharString pBuffer;
536 CharString scString;
/external/icu/icu4c/source/tools/gennorm2/
H A Dgennorm2.cpp157 CharString filename(options[SOURCEDIR].value, errorCode);

Completed in 606 milliseconds

12