| /external/icu4c/common/ |
| normlzr.cpp | 31 Normalizer::Normalizer(const UnicodeString& str, UNormalizationMode mode) : 121 Normalizer::normalize(const UnicodeString& source, 123 UnicodeString& result, 131 UnicodeString localDest; 132 UnicodeString *dest; 156 Normalizer::compose(const UnicodeString& source, 158 UnicodeString& result, 164 Normalizer::decompose(const UnicodeString& source, 166 UnicodeString& result, 172 Normalizer::quickCheck(const UnicodeString& source [all...] |
| cpputils.h | 68 * Copy an array of UnicodeString OBJECTS (not pointers). 72 uprv_arrayCopy(const U_NAMESPACE_QUALIFIER UnicodeString *src, U_NAMESPACE_QUALIFIER UnicodeString *dst, int32_t count) 76 * Copy an array of UnicodeString OBJECTS (not pointers). 80 uprv_arrayCopy(const U_NAMESPACE_QUALIFIER UnicodeString *src, int32_t srcStart, 81 U_NAMESPACE_QUALIFIER UnicodeString *dst, int32_t dstStart, int32_t count) 89 uprv_checkCanGetBuffer(const U_NAMESPACE_QUALIFIER UnicodeString &s, UErrorCode &errorCode) {
|
| ruleiter.cpp | 22 RuleCharacterIterator::RuleCharacterIterator(const UnicodeString& theText, const SymbolTable* theSym, 47 UnicodeString name = sym->parseReference(text, pos, text.length()); 72 UnicodeString tempEscape; 111 UnicodeString& RuleCharacterIterator::lookahead(UnicodeString& result, int32_t maxLookAhead) const { 128 UnicodeString& RuleCharacterIterator::toString(UnicodeString& result) const {
|
| /external/icu4c/test/intltest/ |
| tscoll.cpp | 140 IntlTestCollator::doTestVariant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result) 254 doTest(col, UnicodeString(source), UnicodeString(target), result); 258 IntlTestCollator::doTest(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result) 282 IntlTestCollator::reportCResult( const UnicodeString &source, const UnicodeString &target, 304 UnicodeString msg1(ok1 ? "Ok: compare(" : "FAIL: compare("); 305 UnicodeString msg2(", "), msg3(") returned "), msg4("; expected ") [all...] |
| trnserr.cpp | 52 UnicodeString trans="Latin-Greek"; 53 UnicodeString bogusID="LATINGREEK-GREEKLATIN"; 54 UnicodeString newID="Bogus-Latin"; 55 UnicodeString newIDRules="zzz > Z; f <> ph"; 56 UnicodeString bogusRules="a } [b-g m-p "; 59 UnicodeString testString="A quick fox jumped over the lazy dog."; 60 UnicodeString insertString="cats and dogs"; 168 UnicodeString badPattern="[[:L:]-[0x0300-0x0400]"; 171 UnicodeString result; 214 UnicodeString rules="ab>y" [all...] |
| caltest.cpp | 27 UnicodeString CalendarTest::calToStr(const Calendar & cal) 29 UnicodeString out; 34 out += (UnicodeString("") + fieldName((UCalendarDateFields)i) + "=" + cal.get((UCalendarDateFields)i, status) + UnicodeString(" ")); 36 out += "[" + UnicodeString(cal.getType()) + "]"; 39 out += UnicodeString(" (in DST), zone="); 42 out += UnicodeString(", zone="); 45 UnicodeString str2; 48 out += UnicodeString(" :","") + d; 238 UnicodeString CalendarTest::fieldName(UCalendarDateFields f) [all...] |
| itutil.cpp | 225 LocalPointer<UnicodeString> s(new UnicodeString((UChar32)0x50005)); 236 s.adoptInstead(new UnicodeString((UChar)0xfffc)); 240 UnicodeString *orphan=s.orphan(); 246 s.adoptInstead(new UnicodeString()); 255 LocalArray<UnicodeString> a(new UnicodeString[2]); 263 a.adoptInstead(new UnicodeString[4]); 324 UnicodeString hello=UNICODE_STRING_SIMPLE("Hello {0}!"); 361 UnicodeString pattern=UNICODE_STRING_SIMPLE("abc|xy+z") [all...] |
| tfsmalls.cpp | 102 UnicodeString buf; 105 UnicodeString res = fmt->format(doubleNum[i], buf, pos); 110 it_logln(UnicodeString("FP ") + UnicodeString(temp) + res); 227 UnicodeString res; 247 UnicodeString ucs = "unicode-string"; 248 UnicodeString* ucs_ptr = new UnicodeString("pointed-to-unicode-string"); 260 UnicodeString temp; 292 it_errln(UnicodeString("*** FT getArray count res_cnt=") + res_cnt + UnicodeString("ft_cnt=") + ft_cnt) [all...] |
| tzoffloc.cpp | 194 SimpleDateFormat df(UnicodeString("yyyy-MM-dd HH:mm:ss"), status); 199 UnicodeString dateStr; 209 errln((UnicodeString)"getOffset(era,year,month,day,dayOfWeek,millis,status) failed for TESTZONES[" + i + "]"); 213 dataerrln((UnicodeString)"Bad offset returned by TESTZONES[" + i + "] at " 226 errln((UnicodeString)"getOffset(date,local,rawOfset,dstOffset,ec) failed for TESTZONES[" + i + "]"); 230 dataerrln((UnicodeString)"Bad offset returned by TESTZONES[" + i + "] at " 247 errln((UnicodeString)"getOffsetFromLocal with kStandard/kStandard failed for TESTZONES[" + i + "]"); 251 dataerrln((UnicodeString)"Bad offset returned by TESTZONES[" + i + "] at " 268 errln((UnicodeString)"getOffsetFromLocal with kDaylight/kDaylight failed for TESTZONES[" + i + "]"); 272 dataerrln((UnicodeString)"Bad offset returned by TESTZONES[" + i + "] at [all...] |
| nmfmapts.cpp | 122 UnicodeString res1, res2, res3, res4, res5, res6; 126 logln( (UnicodeString) "" + (int32_t) d + " formatted to " + res1); 129 logln((UnicodeString) "" + (int32_t) l + " formatted to " + res2); 132 logln( (UnicodeString) "" + (int32_t) d + " formatted to " + res3); 135 logln((UnicodeString) "" + (int32_t) l + " formatted to " + res4); 142 logln((UnicodeString) "" + (int32_t) fD.getDouble() + " formatted to " + res5); 149 logln((UnicodeString) "" + fL.getLong() + " formatted to " + res6); 158 UnicodeString text("-10,456.0037"); 191 logln((UnicodeString) "Got " + count + " locales" ); 193 UnicodeString name(locales[i].getName(),"") [all...] |
| /external/icu4c/i18n/ |
| decimfmt.cpp | 78 UnicodeString negPrefixPatternForCurrency; 80 UnicodeString negSuffixPatternForCurrency; 82 UnicodeString posPrefixPatternForCurrency; 84 UnicodeString posSuffixPatternForCurrency; 87 AffixPatternsForCurrency(const UnicodeString& negPrefix, 88 const UnicodeString& negSuffix, 89 const UnicodeString& posPrefix, 90 const UnicodeString& posSuffix, 106 UnicodeString negPrefixForCurrency; 108 UnicodeString negSuffixForCurrency [all...] |
| nfsubs.cpp | 52 const UnicodeString& description, 75 const UnicodeString& description, 131 const UnicodeString& description, 145 virtual void doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t pos) const; 146 virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos) const; 151 virtual UBool doParse(const UnicodeString& text, 178 const UnicodeString& description, 201 const UnicodeString& description, 206 virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos) const; 207 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/) const { [all...] |
| plurrule.cpp | 110 PluralRules::createRules(const UnicodeString& description, UErrorCode& status) { 118 newRules->parseDescription((UnicodeString &)description, rules, status); 147 UnicodeString locRule = newObj->getRuleFromResource(locale, status); 157 UnicodeString defRule = UnicodeString(PLURAL_DEFAULT_RULE); 165 UnicodeString 175 UnicodeString 196 PluralRules::isKeyword(const UnicodeString& keyword) const { 210 UnicodeString 219 const UnicodeString *ptrKeyword [all...] |
| datefmt.cpp | 109 UnicodeString& 111 UnicodeString& appendTo, 144 UnicodeString& 146 UnicodeString& appendTo, 180 UnicodeString& 182 UnicodeString& appendTo, 193 UnicodeString& 194 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPosition& fieldPosition) const { 208 UnicodeString& 209 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPositionIterator* posIter [all...] |
| coll.cpp | 103 UnicodeString& 106 UnicodeString& result) 115 ICUCollatorFactory(): ICUResourceBundleFactory(UnicodeString(U_ICUDATA_COLL, -1, US_INV)) { } 150 virtual UObject* handleDefault(const ICUServiceKey& key, UnicodeString* actualID, UErrorCode& status) const { 163 virtual UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& status) const { 164 UnicodeString ar; 408 Collator::EComparisonResult Collator::compare(const UnicodeString& source, 409 const UnicodeString& target) const 416 Collator::EComparisonResult Collator::compare(const UnicodeString& source, 417 const UnicodeString& target [all...] |
| reldtfmt.cpp | 115 UnicodeString& RelativeDateFormat::format( Calendar& cal, 116 UnicodeString& appendTo, 121 UnicodeString dateString(&emptyStr); 144 UnicodeString timeString(&emptyStr); 166 UnicodeString& 168 UnicodeString& appendTo, 180 void RelativeDateFormat::parse( const UnicodeString& text, 221 RelativeDateFormat::parse( const UnicodeString& text, 229 RelativeDateFormat::parse(const UnicodeString& text, UErrorCode& status) const 258 UnicodeString [all...] |
| rbt.cpp | 30 void RuleBasedTransliterator::_construct(const UnicodeString& rules, 70 const UnicodeString& id, 71 const UnicodeString& rules, 91 const UnicodeString& id, 92 const UnicodeString& rules, 105 const UnicodeString& id, 106 const UnicodeString& rules, 118 const UnicodeString& id, 119 const UnicodeString& rules, 130 const UnicodeString& id [all...] |
| tblcoll.cpp | 90 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules, 100 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules, 110 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules, 121 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules, 157 RuleBasedCollator::construct(const UnicodeString& rules, 253 (const UnicodeString& source) const 288 * later be passed to the constructor that takes a UnicodeString argument, 293 const UnicodeString& RuleBasedCollator::getRules() const 298 void RuleBasedCollator::getRules(UColRuleOption delta, UnicodeString &buffer) 335 const UnicodeString& source [all...] |
| zstrfmt.cpp | 244 TextTrieMap::put(const UnicodeString &key, void *value, ZSFStringPool &sp, UErrorCode &status) { 262 TextTrieMap::putImpl(const UnicodeString &key, void *value, UErrorCode &status) { 270 UnicodeString foldedKey; 385 UnicodeString keyString(TRUE, key, -1); // Aliasing UnicodeString constructor. 396 TextTrieMap::search(const UnicodeString &text, int32_t start, 411 TextTrieMap::search(CharacterNode *node, const UnicodeString &text, int32_t start, 427 UnicodeString tmp(c); 447 ZoneStringInfo::ZoneStringInfo(const UnicodeString &id, const UnicodeString &str [all...] |
| rbt_set.cpp | 43 static UnicodeString& _formatInput(UnicodeString &appendTo, 44 const UnicodeString& input, 55 UnicodeString a, b, c, d, e; 66 //appendTo.append((UnicodeString)"INVALID UTransPosition {cs=" + 75 UnicodeString& _appendHex(uint32_t number, 77 UnicodeString& target) { 89 UnicodeString& _escape(const UnicodeString &source, 90 UnicodeString &target) [all...] |
| /external/icu4c/test/perf/DateFmtPerf/ |
| DateFmtPerf.h | 105 void printUnicodeString(const UnicodeString &s) { 117 UnicodeString s; 119 //printUnicodeString(UnicodeString(s, start, end-start)); 125 void uprintf(const UnicodeString &str) { 164 UnicodeString str; 211 void uprintf(const UnicodeString &str) { 265 UnicodeString str("9876543210.123"); 295 UnicodeString formattableToString(const Formattable& f) { 304 return UnicodeString(buf, ""); 311 return UnicodeString(buf, "") [all...] |
| /external/icu4c/common/unicode/ |
| brkiter.h | 171 * @param text The UnicodeString used to change the text. 174 virtual void setText(const UnicodeString &text) = 0; 420 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 422 UnicodeString& name); 432 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale, 433 UnicodeString& name);
|
| /external/icu4c/i18n/unicode/ |
| colldata.h | 62 * <code>UnicodeString</code> 82 CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status); 162 * This object holds a list of <code>UnicodeString</code> objects. 197 void add(const UnicodeString *string, UErrorCode &status); 215 * @return a pointer to the <code>UnicodeString</code> or <code>NULL</code> 220 const UnicodeString *get(int32_t index) const; 243 UnicodeString *strings; 341 const CEList *getCEList(const UnicodeString *string) const;
|
| /external/icu4c/tools/gennorm2/ |
| n2builder.h | 60 void setOneWayMapping(UChar32 c, const UnicodeString &m); 61 void setRoundTripMapping(UChar32 c, const UnicodeString &m); 93 void writeMapping(UChar32 c, const Norm *p, UnicodeString &dataString); 94 void writeCompositions(UChar32 c, const Norm *p, UnicodeString &dataString); 113 UnicodeString extraData;
|
| /external/icu4c/tools/ctestfw/ |
| datamap.cpp | 18 DataMap::utoi(const UnicodeString &s) const 75 fData->put(UnicodeString(ures_getKey(t), -1, US_INV), new ResourceBundle(t, status), status); 91 fData->put(UnicodeString(key, keyLen), new ResourceBundle(t, status), status); 106 UnicodeString hashKey(key, -1, US_INV); 116 const UnicodeString RBDataMap::getString(const char* key, UErrorCode &status) const 122 return UnicodeString(); 170 UnicodeString r = this->getString(key, status); 178 const UnicodeString* RBDataMap::getStringArray(int32_t& count, const char* key, UErrorCode &status) const 189 UnicodeString *result = new UnicodeString[count] [all...] |