Home | History | Annotate | Download | only in i18n

Lines Matching refs:success

219                              UErrorCode& success)
221 msgPattern(success),
236 applyPattern(pattern, success);
241 UErrorCode& success)
243 msgPattern(success),
258 applyPattern(pattern, success);
264 UErrorCode& success)
266 msgPattern(success),
281 applyPattern(pattern, parseError, success);
869 UErrorCode& success) const
871 return format(source, NULL, cnt, appendTo, &ignore, success);
884 UErrorCode& success)
886 MessageFormat temp(pattern, success);
887 return temp.format(arguments, NULL, cnt, appendTo, NULL, success);
899 UErrorCode& success) const
901 if (U_FAILURE(success))
904 success = U_ILLEGAL_ARGUMENT_ERROR;
909 return format(tmpPtr, NULL, cnt, appendTo, &ignore, success);
917 UErrorCode& success) const {
918 return format(arguments, argumentNames, count, appendTo, NULL, success);
959 UErrorCode& success) const {
960 if (U_FAILURE(success)) {
966 for (int32_t i = msgStart + 1; U_SUCCESS(success) ; ++i) {
976 const NumberFormat* nf = getDefaultNumberFormat(success);
977 appendTo.formatAndAppend(nf, Formattable(pluralNumber), success);
1028 formatter->format(*arg, subMsgString, success);
1032 MessageFormat subMsgFormat(subMsgString, fLocale, success);
1033 subMsgFormat.format(0, 0, arguments, argumentNames, cnt, appendTo, ignore, success);
1038 appendTo.formatAndAppend(formatter, *arg, success);
1045 const NumberFormat* nf = getDefaultNumberFormat(success);
1046 appendTo.formatAndAppend(nf, *arg, success);
1048 const DateFormat* df = getDefaultDateFormat(success);
1049 appendTo.formatAndAppend(df, *arg, success);
1051 appendTo.append(arg->getString(success));
1055 success = U_ILLEGAL_ARGUMENT_ERROR;
1060 const double number = arg->getDouble(success);
1063 cnt, appendTo, success);
1066 success = U_ILLEGAL_ARGUMENT_ERROR;
1073 double number = arg->getDouble(success);
1075 success);
1078 cnt, appendTo, success);
1080 int32_t subMsgStart = SelectFormat::findSubMessage(msgPattern, i, arg->getString(success), success);
1082 cnt, appendTo, success);
1085 success = U_INTERNAL_PROGRAM_ERROR;
1101 UErrorCode& success) const {
1102 if (U_FAILURE(success)) {
1107 format(msgStart, pluralNumber, arguments, argumentNames, cnt, appendTo, NULL, success);
1129 const NumberFormat* nf = getDefaultNumberFormat(success);
1130 sb.append(nf->format(pluralNumber, sb, success));
1144 MessageFormat subMsgFormat(emptyPattern, fLocale, success);
1145 subMsgFormat.applyPattern(sb, UMSGPAT_APOS_DOUBLE_REQUIRED, NULL, success);
1146 subMsgFormat.format(0, 0, arguments, argumentNames, cnt, appendTo, NULL, success);
1391 UErrorCode& success) const
1394 success = U_ARGUMENT_TYPE_MISMATCH;
1402 success = U_MESSAGE_PARSE_ERROR;