Lines Matching defs:context
1144 PluralSelectorContext context(i, argName, *arg, offset, success);
1146 msgPattern, i, selector, &context, arg->getDouble(success), success);
1147 formatComplexSubMessage(subMsgStart, &context, arguments, argumentNames,
1970 PluralSelectorContext &context = *static_cast<PluralSelectorContext *>(ctx);
1971 int32_t otherIndex = msgFormat.findOtherSubMessage(context.startIndex);
1972 context.numberArgIndex = msgFormat.findFirstPluralNumberArg(otherIndex, context.argName);
1973 if(context.numberArgIndex > 0 && msgFormat.cachedFormatters != nullptr) {
1974 context.formatter =
1975 (const Format*)uhash_iget(msgFormat.cachedFormatters, context.numberArgIndex);
1977 if(context.formatter == nullptr) {
1978 context.formatter = msgFormat.getDefaultNumberFormat(ec);
1979 context.forReplaceNumber = true;
1981 if (context.number.getDouble(ec) != number) {
1985 context.formatter->format(context.number, context.numberString, ec);
1986 auto* decFmt = dynamic_cast<const DecimalFormat *>(context.formatter);
1989 decFmt->formatToDecimalQuantity(context.number, dq, ec);