Lines Matching defs:UnicodeString
171 * the given UnicodeString.
173 static UnicodeString& itos(int32_t i, UnicodeString& appendTo) {
187 void append(const UnicodeString& s) {
195 void append(const UnicodeString& s, int32_t start, int32_t length) {
199 UnicodeString s;
217 MessageFormat::MessageFormat(const UnicodeString& pattern,
237 MessageFormat::MessageFormat(const UnicodeString& pattern,
258 MessageFormat::MessageFormat(const UnicodeString& pattern,
452 MessageFormat::applyPattern(const UnicodeString& newPattern,
464 MessageFormat::applyPattern(const UnicodeString& pattern,
490 MessageFormat::applyPattern(const UnicodeString& pattern,
503 UnicodeString&
504 MessageFormat::toPattern(UnicodeString& appendTo) const {
551 UBool MessageFormat::argNameMatches(int32_t partIndex, const UnicodeString& argName, int32_t argNumber) {
677 MessageFormat::adoptFormat(const UnicodeString& formatName,
737 MessageFormat::getFormat(const UnicodeString& formatName, UErrorCode& status) {
757 MessageFormat::setFormat(const UnicodeString& formatName,
825 UnicodeString MessageFormat::getArgName(int32_t partIndex) {
830 UnicodeString temp;
847 fFormatNames->addElement(new UnicodeString(getArgName(partIndex)), status);
858 UnicodeString&
861 UnicodeString& appendTo,
873 UnicodeString&
874 MessageFormat::format( const UnicodeString& pattern,
877 UnicodeString& appendTo,
889 UnicodeString&
891 UnicodeString& appendTo,
906 UnicodeString&
907 MessageFormat::format(const UnicodeString* argumentNames,
910 UnicodeString& appendTo,
917 const UnicodeString *argumentNames,
918 int32_t cnt, UnicodeString& name) const {
928 UnicodeString&
930 const UnicodeString *argumentNames,
932 UnicodeString& appendTo,
949 const UnicodeString *argumentNames,
958 const UnicodeString& msgString = msgPattern.getPatternString();
981 UnicodeString noArg;
993 UnicodeString key;
1021 UnicodeString subMsgString;
1090 const UnicodeString *argumentNames,
1108 const UnicodeString& msgString = msgPattern.getPatternString();
1109 UnicodeString sb;
1135 UnicodeString emptyPattern; // gcc 3.3.3 fails with "UnicodeString()" as the first parameter.
1145 UnicodeString MessageFormat::getLiteralStringUntilNextArgument(int32_t from) const {
1146 const UnicodeString& msgString=msgPattern.getPatternString();
1148 UnicodeString b;
1237 const UnicodeString& source,
1253 const UnicodeString& msgString=msgPattern.getPatternString();
1289 UnicodeString key;
1314 UnicodeString stringAfterArgument = getLiteralStringUntilNextArgument(argLimit);
1325 UnicodeString strValue(source.tempSubString(sourceOffset, next - sourceOffset));
1326 UnicodeString compValue;
1368 MessageFormat::parse(const UnicodeString& source,
1381 MessageFormat::parse(const UnicodeString& source,
1405 MessageFormat::parseObject( const UnicodeString& source,
1415 UnicodeString
1416 MessageFormat::autoQuoteApostrophe(const UnicodeString& pattern, UErrorCode& status) {
1417 UnicodeString result;
1438 static Format* makeRBNF(URBNFRuleSetTag tag, const Locale& locale, const UnicodeString& defaultRuleSet, UErrorCode& ec) {
1512 UnicodeString explicitType = msgPattern.getSubstring(msgPattern.getPart(i++));
1513 UnicodeString style;
1545 Format* MessageFormat::createAppropriateFormat(UnicodeString& type, UnicodeString& style,
1628 int32_t MessageFormat::findKeyword(const UnicodeString& s,
1637 UnicodeString buffer(FALSE, ps, length);
1727 UnicodeString& MessageFormat::DummyFormat::format(const Formattable&,
1728 UnicodeString& appendTo,
1737 void MessageFormat::DummyFormat::parseObject(const UnicodeString&,
1748 const UnicodeString*
1751 return (const UnicodeString*)fFormatNames->elementAt(pos++);
1780 UnicodeString MessageFormat::PluralSelectorProvider::select(double number, UErrorCode& ec) const {
1782 return UnicodeString(FALSE, OTHER_STRING, 5);
1788 return UnicodeString(FALSE, OTHER_STRING, 5);