/external/icu4c/test/intltest/ |
transapi.cpp | 28 int32_t getInt(UnicodeString str) 69 UnicodeString trans="Latin-Greek"; 70 UnicodeString ID; 86 ID = (UnicodeString) Transliterator::getAvailableID(i); 99 ID=(UnicodeString)Transliterator::getAvailableID(i); 100 if(ID != (UnicodeString)Transliterator::getAvailableID(0)){ 151 UnicodeString TransID[]={ 216 UnicodeString dispNames[]= { 232 UnicodeString name=""; 234 UnicodeString message [all...] |
jamotest.h | 45 virtual void expectAux(const UnicodeString& tag, 46 const UnicodeString& summary, UBool pass, 47 const UnicodeString& expectedResult); 54 UnicodeString nameToJamo(const UnicodeString& input); 55 UnicodeString jamoToName(const UnicodeString& input);
|
canittst.cpp | 29 logln((UnicodeString)""); \ 45 * Convert Java-style strings with \u Unicode escapes into UnicodeString objects 46 static UnicodeString str(const char *input) 48 UnicodeString str(input, ""); // Invariant conversion 79 UnicodeString s; 134 UnicodeString toPermute("ABC"); 153 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]); 157 //UnicodeString *result = new UnicodeString(it.next()); 158 UnicodeString result(it.next()) [all...] |
numrgts.cpp | 30 virtual UnicodeString& format( double number, 31 UnicodeString& toAppendTo, 39 virtual UnicodeString& format(const Formattable& obj, 40 UnicodeString& toAppendTo, 48 virtual UnicodeString& format( double /* number */, 49 UnicodeString& toAppendTo, 62 virtual void parse( const UnicodeString& /* text */, 69 virtual void parse( const UnicodeString& text, 78 virtual UnicodeString& format(int32_t, 79 UnicodeString& foo, [all...] |
incaltst.cpp | 21 dataerrln((UnicodeString(u_errorName(status)) + UnicodeString(" : " ) )+ msg); \ 26 static UnicodeString escape( const UnicodeString&src) 28 UnicodeString dst; 35 dst += UnicodeString("["); 38 dst += UnicodeString(buf); 39 dst += UnicodeString("]"); 64 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 129 logln(UnicodeString("Creating calendar of locale ") + locs[j]) [all...] |
csdetest.h | 36 void checkEncoding(const UnicodeString &testString, 37 const UnicodeString &encoding, const UnicodeString &id);
|
reptest.h | 36 void check( const UnicodeString& transliteratorName, 37 const UnicodeString& test, 38 const UnicodeString& shouldProduceStyles);
|
ustrtest.cpp | 75 UnicodeString test1("Now is the time for all men to come swiftly to the aid of the party.\n"); 76 UnicodeString expectedValue; 77 UnicodeString *c; 79 c=(UnicodeString *)test1.clone(); 104 UnicodeString test2(temp, 15); 120 UnicodeString test3; 123 errln((UnicodeString)"append failed for UChar32, expected \"\\\\ud841\\\\udc02\", got " + prettify(test3)); 130 errln((UnicodeString)"append failed for UChar32, expected \"\\\\uD841\\\\uDC02t\", got " + prettify(test3)); 133 errln((UnicodeString)"append or length failed for UChar32, expected 2, got " + test3.length()); 142 errln((UnicodeString)"simple UChar32 overloads for replace, insert, setTo or = failed") [all...] |
/external/icu4c/common/unicode/ |
listformatter.h | 31 UnicodeString twoPattern; 32 UnicodeString startPattern; 33 UnicodeString middlePattern; 34 UnicodeString endPattern; 36 ListFormatData(const UnicodeString& two, const UnicodeString& start, const UnicodeString& middle, const UnicodeString& end) : 99 UnicodeString& format(const UnicodeString items[], int32_t n_items [all...] |
unistr.h | 87 * Constant to be used in the UnicodeString(char *, int32_t, EInvariant) constructor 96 #define US_INV icu::UnicodeString::kInvariant 100 * Dependent on the platform properties, different UnicodeString 101 * constructors should be used to create a UnicodeString object from 116 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)U_DECLARE_UTF16(cs), _length) 118 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)L ## cs, _length) 120 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)cs, _length) 122 # define UNICODE_STRING(cs, _length) icu::UnicodeString(cs, _length, US_INV) 127 * Dependent on the platform properties, different UnicodeString 128 * constructors should be used to create a UnicodeString object fro [all...] |
schriter.h | 33 * characters (code units or code points) in a UnicodeString. 35 * iterator that iterates over an entire UnicodeString, but also to 36 * create one that iterates over only a subrange of a UnicodeString 37 * (iterators over different subranges of the same UnicodeString don't 46 * Create an iterator over the UnicodeString referred to by "textStr". 47 * The UnicodeString object is copied. 52 StringCharacterIterator(const UnicodeString& textStr); 55 * Create an iterator over the UnicodeString referred to by "textStr". 63 StringCharacterIterator(const UnicodeString& textStr, 67 * Create an iterator over the UnicodeString referred to by "textStr" [all...] |
/external/icu4c/common/ |
servslkf.cpp | 34 const UnicodeString& locale, 68 UnicodeString keyID; 79 //SimpleLocaleKeyFactory::isSupportedID(const UnicodeString& id, UErrorCode& /* status */) const 97 UnicodeString& 98 SimpleLocaleKeyFactory::debug(UnicodeString& result) const 108 UnicodeString& 109 SimpleLocaleKeyFactory::debugClass(UnicodeString& result) const
|
caniter.cpp | 68 CanonicalIterator::CanonicalIterator(const UnicodeString &sourceStr, UErrorCode &status) : 112 UnicodeString CanonicalIterator::getSource() { 130 UnicodeString CanonicalIterator::next() { 166 void CanonicalIterator::setSource(const UnicodeString &newSource, UErrorCode &status) { 171 UnicodeString *list = NULL; 183 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); 193 pieces[0] = new UnicodeString[1]; 203 list = new UnicodeString[source.length()]; 229 pieces = (UnicodeString **)uprv_malloc(list_length * sizeof(UnicodeString *)) [all...] |
servlkf.cpp | 36 LocaleKeyFactory::LocaleKeyFactory(int32_t coverage, const UnicodeString& name) 62 UnicodeString id; 78 const UnicodeString& id = *((const UnicodeString*)elem->key.pointer); 91 UnicodeString& 92 LocaleKeyFactory::getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString& result) const { 115 //LocaleKeyFactory::isSupportedID(const UnicodeString& id, UErrorCode& status) const { 126 UnicodeString& 127 LocaleKeyFactory::debug(UnicodeString& result) cons [all...] |
filterednormalizer2.cpp | 31 UnicodeString & 32 FilteredNormalizer2::normalize(const UnicodeString &src, 33 UnicodeString &dest, 55 UnicodeString & 56 FilteredNormalizer2::normalize(const UnicodeString &src, 57 UnicodeString &dest, 60 UnicodeString tempDest; // Don't throw away destination buffer between iterations. 86 UnicodeString & 87 FilteredNormalizer2::normalizeSecondAndAppend(UnicodeString &first, 88 const UnicodeString &second [all...] |
unistr_titlecase_brkiter.cpp | 56 UnicodeString & 57 UnicodeString::toTitle(BreakIterator *titleIter) { 61 UnicodeString & 62 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale) { 66 UnicodeString & 67 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale, uint32_t options) {
|
serv.cpp | 27 ICUServiceKey::ICUServiceKey(const UnicodeString& id) 35 const UnicodeString& 41 UnicodeString& 42 ICUServiceKey::canonicalID(UnicodeString& result) const 47 UnicodeString& 48 ICUServiceKey::currentID(UnicodeString& result) const 53 UnicodeString& 54 ICUServiceKey::currentDescriptor(UnicodeString& result) const 68 ICUServiceKey::isFallbackOf(const UnicodeString& id) const 73 UnicodeString& [all...] |
/external/icu4c/samples/datefmt/ |
util.cpp | 21 static UnicodeString& appendHex(uint32_t number, 23 UnicodeString& target) { 24 static const UnicodeString DIGIT_STRING("0123456789ABCDEF"); 32 UnicodeString escape(const UnicodeString &source) { 34 UnicodeString target; 50 void uprintf(const UnicodeString &str) {
|
/external/icu4c/samples/msgfmt/ |
util.cpp | 21 static UnicodeString& appendHex(uint32_t number, 23 UnicodeString& target) { 24 static const UnicodeString DIGIT_STRING("0123456789ABCDEF"); 32 UnicodeString escape(const UnicodeString &source) { 34 UnicodeString target; 50 void uprintf(const UnicodeString &str) {
|
/external/icu4c/samples/translit/ |
util.cpp | 21 static UnicodeString& appendHex(uint32_t number, 23 UnicodeString& target) { 24 static const UnicodeString DIGIT_STRING("0123456789ABCDEF"); 32 UnicodeString escape(const UnicodeString &source) { 34 UnicodeString target; 50 void uprintf(const UnicodeString &str) {
|
/external/icu4c/i18n/ |
udatpg.cpp | 79 UnicodeString skeletonString((UBool)(length<0), skeleton, length); 80 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *pErrorCode); 96 UnicodeString patternString((UBool)(length<0), pattern, length); 97 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getSkeleton(patternString, *pErrorCode); 113 UnicodeString patternString((UBool)(length<0), pattern, length); 114 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBaseSkeleton(patternString, *pErrorCode); 131 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength); 132 UnicodeString conflictingPatternString; 146 UnicodeString valueString((UBool)(length<0), value, length); 154 const UnicodeString &result=((const DateTimePatternGenerator *)dtpg)->getAppendItemFormat(field) [all...] |
transreg.h | 26 class UnicodeString; 47 TransliteratorAlias(const UnicodeString& aliasID, const UnicodeSet* compoundFilter); 52 TransliteratorAlias(const UnicodeString& ID, const UnicodeString& idBlocks, 59 TransliteratorAlias(const UnicodeString& theID, 60 const UnicodeString& rules, 110 UnicodeString ID; 111 UnicodeString aliasesOrRules; 175 Transliterator* get(const UnicodeString& ID, 194 Transliterator* reget(const UnicodeString& ID [all...] |
windtfmt.h | 53 UnicodeString &format(Calendar &cal, UnicodeString &appendTo, FieldPosition &pos) const; 55 UnicodeString& format(UDate date, UnicodeString& appendTo) const; 57 void parse(const UnicodeString& text, Calendar& cal, ParsePosition& pos) const; 115 void formatDate(const SYSTEMTIME *st, UnicodeString &appendTo) const; 116 void formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const; 118 UnicodeString setTimeZoneInfo(TIME_ZONE_INFORMATION *tzi, const TimeZone &zone) const; 119 UnicodeString* getTimeDateFormat(const Calendar *cal, const Locale *locale, UErrorCode &status) const; 121 UnicodeString *fDateTimeMsg [all...] |
nfrs.h | 33 NFRuleSet(UnicodeString* descriptions, int32_t index, UErrorCode& status); 34 void parseRules(UnicodeString& rules, const RuleBasedNumberFormat* owner, UErrorCode& status); 48 void getName(UnicodeString& result) const { result.setTo(name); } 49 UBool isNamed(const UnicodeString& _name) const { return this->name == _name; } 51 void format(int64_t number, UnicodeString& toAppendTo, int32_t pos) const; 52 void format(double number, UnicodeString& toAppendTo, int32_t pos) const; 54 UBool parse(const UnicodeString& text, ParsePosition& pos, double upperBound, Formattable& result) const; 56 void appendRules(UnicodeString& result) const; // toString 64 UnicodeString name;
|
tznames.cpp | 116 StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const; 117 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const; 118 UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const; 120 UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeString& name) const [all...] |