Lines Matching defs:arg
204 void formatAndAppend(const Format* formatter, const Formattable& arg, UErrorCode& ec) {
206 formatter->format(arg, s, ec);
211 void formatAndAppend(const Format* formatter, const Formattable& arg,
218 formatAndAppend(formatter, arg, ec);
995 /** -1 if REPLACE_NUMBER, 0 arg not found, >0 ARG_START index */
1051 const Formattable* arg;
1057 arg = arguments + argNumber;
1059 arg = nullptr;
1063 arg = getArgFromListByName(arguments, argumentNames, cnt, argName);
1064 if (arg == nullptr) {
1074 } else if (arg == nullptr) {
1087 appendTo.formatAndAppend(pluralNumber.formatter, *arg, success);
1098 formatter->format(*arg, subMsgString, success);
1108 appendTo.formatAndAppend(formatter, *arg, success);
1114 if (arg->isNumeric()) {
1116 appendTo.formatAndAppend(nf, *arg, success);
1117 } else if (arg->getType() == Formattable::kDate) {
1119 appendTo.formatAndAppend(df, *arg, success);
1121 appendTo.append(arg->getString(success));
1124 if (!arg->isNumeric()) {
1130 const double number = arg->getDouble(success);
1135 if (!arg->isNumeric()) {
1144 PluralSelectorContext context(i, argName, *arg, offset, success);
1146 msgPattern, i, selector, &context, arg->getDouble(success), success);
1150 int32_t subMsgStart = SelectFormat::findSubMessage(msgPattern, i, arg->getString(success), success);
1158 ignore = updateMetaData(appendTo, prevDestLength, ignore, arg);