Home
last modified time | relevance | path

Searched refs:fieldPosition (Results 1 – 25 of 35) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java788 public StringBuffer format(double number, StringBuffer result, FieldPosition fieldPosition) { in format() argument
789 return format(number, result, fieldPosition, false); in format()
835 private StringBuffer format(double number, StringBuffer result, FieldPosition fieldPosition, in format() argument
837 fieldPosition.setBeginIndex(0); in format()
838 fieldPosition.setEndIndex(0); in format()
841 if (fieldPosition.getField() == NumberFormat.INTEGER_FIELD) { in format()
842 fieldPosition.setBeginIndex(result.length()); in format()
843 } else if (fieldPosition.getFieldAttribute() == NumberFormat.Field.INTEGER) { in format()
844 fieldPosition.setBeginIndex(result.length()); in format()
857 if (fieldPosition.getField() == NumberFormat.INTEGER_FIELD) { in format()
[all …]
DCurrencyFormat.java90 StringBuilder appendTo, FieldPosition fieldPosition, Measure... measures) { in formatMeasures() argument
91 return mf.formatMeasures(appendTo, fieldPosition, measures); in formatMeasures()
DMeasureFormat.java537 StringBuilder appendTo, FieldPosition fieldPosition, Measure... measures) { in formatMeasures() argument
543 return formatMeasure(measures[0], numberFormat, appendTo, fieldPosition); in formatMeasures()
557 if (fieldPosition != DontCareFieldPosition.INSTANCE) { in formatMeasures()
558 return formatMeasuresSlowTrack(listFormatter, appendTo, fieldPosition, measures); in formatMeasures()
1076 FieldPosition fieldPosition) { in formatMeasure() argument
1084 fieldPosition)); in formatMeasure()
1089 n, nf.nf, rules, formattedNumber, fieldPosition); in formatMeasure()
1091 return QuantityFormatter.format(formatter, formattedNumber, appendTo, fieldPosition); in formatMeasure()
1191 FieldPosition fieldPosition, in formatMeasuresSlowTrack() argument
1197 fieldPosition.getFieldAttribute(), fieldPosition.getField()); in formatMeasuresSlowTrack()
[all …]
DDateFormat.java596 FieldPosition fieldPosition) in format() argument
599 return format( (Calendar)obj, toAppendTo, fieldPosition ); in format()
601 return format( (Date)obj, toAppendTo, fieldPosition ); in format()
604 toAppendTo, fieldPosition ); in format()
638 FieldPosition fieldPosition); in format() argument
664 FieldPosition fieldPosition) { in format() argument
667 return format(calendar, toAppendTo, fieldPosition); in format()
DDateIntervalFormat.java612 format(Object obj, StringBuffer appendTo, FieldPosition fieldPosition) in format() argument
615 return format( (DateInterval)obj, appendTo, fieldPosition); in format()
638 FieldPosition fieldPosition) in format() argument
642 return format(fFromCalendar, fToCalendar, appendTo, fieldPosition); in format()
DTimeUnitFormat.java580 StringBuilder appendTo, FieldPosition fieldPosition, Measure... measures) { in formatMeasures() argument
581 return mf.formatMeasures(appendTo, fieldPosition, measures); in formatMeasures()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java783 public StringBuffer format(double number, StringBuffer result, FieldPosition fieldPosition) { in format() argument
784 return format(number, result, fieldPosition, false); in format()
830 private StringBuffer format(double number, StringBuffer result, FieldPosition fieldPosition, in format() argument
832 fieldPosition.setBeginIndex(0); in format()
833 fieldPosition.setEndIndex(0); in format()
836 if (fieldPosition.getField() == NumberFormat.INTEGER_FIELD) { in format()
837 fieldPosition.setBeginIndex(result.length()); in format()
838 } else if (fieldPosition.getFieldAttribute() == NumberFormat.Field.INTEGER) { in format()
839 fieldPosition.setBeginIndex(result.length()); in format()
852 if (fieldPosition.getField() == NumberFormat.INTEGER_FIELD) { in format()
[all …]
DCurrencyFormat.java91 StringBuilder appendTo, FieldPosition fieldPosition, Measure... measures) { in formatMeasures() argument
92 return mf.formatMeasures(appendTo, fieldPosition, measures); in formatMeasures()
DMeasureFormat.java518 StringBuilder appendTo, FieldPosition fieldPosition, Measure... measures) { in formatMeasures() argument
524 return formatMeasure(measures[0], numberFormat, appendTo, fieldPosition); in formatMeasures()
538 if (fieldPosition != DontCareFieldPosition.INSTANCE) { in formatMeasures()
539 return formatMeasuresSlowTrack(listFormatter, appendTo, fieldPosition, measures); in formatMeasures()
1048 FieldPosition fieldPosition) { in formatMeasure() argument
1056 fieldPosition)); in formatMeasure()
1061 n, nf.nf, rules, formattedNumber, fieldPosition); in formatMeasure()
1063 return QuantityFormatter.format(formatter, formattedNumber, appendTo, fieldPosition); in formatMeasure()
1163 FieldPosition fieldPosition, in formatMeasuresSlowTrack() argument
1169 fieldPosition.getFieldAttribute(), fieldPosition.getField()); in formatMeasuresSlowTrack()
[all …]
DDateFormat.java551 FieldPosition fieldPosition) in format() argument
554 return format( (Calendar)obj, toAppendTo, fieldPosition ); in format()
556 return format( (Date)obj, toAppendTo, fieldPosition ); in format()
559 toAppendTo, fieldPosition ); in format()
592 FieldPosition fieldPosition); in format() argument
617 FieldPosition fieldPosition) { in format() argument
620 return format(calendar, toAppendTo, fieldPosition); in format()
DDateIntervalFormat.java604 format(Object obj, StringBuffer appendTo, FieldPosition fieldPosition) in format() argument
607 return format( (DateInterval)obj, appendTo, fieldPosition); in format()
629 FieldPosition fieldPosition) in format() argument
633 return format(fFromCalendar, fToCalendar, appendTo, fieldPosition); in format()
DTimeUnitFormat.java582 StringBuilder appendTo, FieldPosition fieldPosition, Measure... measures) { in formatMeasures() argument
583 return mf.formatMeasures(appendTo, fieldPosition, measures); in formatMeasures()
DRelativeDateTimeFormatter.java468 DontCareFieldPosition fieldPosition = DontCareFieldPosition.INSTANCE; in format() local
470 numberFormat, pluralRules, formatStr, fieldPosition); in format()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDecimalFormat.java715 public StringBuffer format(double number, StringBuffer result, FieldPosition fieldPosition) { in format() argument
716 return super.format(number, result, fieldPosition); in format()
723 public StringBuffer format(long number, StringBuffer result, FieldPosition fieldPosition) { in format() argument
724 return super.format(number, result, fieldPosition); in format()
733 FieldPosition fieldPosition) { in format() argument
734 return super.format(number, result, fieldPosition); in format()
743 FieldPosition fieldPosition) { in format() argument
744 return super.format(number, result, fieldPosition); in format()
753 FieldPosition fieldPosition) { in format() argument
754 return super.format(number, result, fieldPosition); in format()
DDateFormat.java410 FieldPosition fieldPosition) in format() argument
413 return format((Calendar)obj, toAppendTo, fieldPosition); in format()
415 return format((Date)obj, toAppendTo, fieldPosition); in format()
417 return format(new Date(((Number)obj).longValue()), toAppendTo, fieldPosition ); in format()
452 FieldPosition fieldPosition) { in format() argument
453 return format(cal.getTime(), toAppendTo, fieldPosition); in format()
480 FieldPosition fieldPosition) { in format() argument
481 FieldPosition jdkPos = toJDKFieldPosition(fieldPosition); in format()
484 fieldPosition.setBeginIndex(jdkPos.getBeginIndex()); in format()
485 fieldPosition.setEndIndex(jdkPos.getEndIndex()); in format()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/csv/
DDelimitedWriter.java42 private int fieldPosition = 0; field in DelimitedWriter
93 if (fieldPosition != 0) { in write()
97 fieldPosition++; in write()
135 fieldPosition = 0; in nextLine()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h403 FieldPosition& fieldPosition,
425 FieldPosition& fieldPosition,
455 FieldPosition& fieldPosition,
994 FieldPosition& fieldPosition,
Ddatefmt.h301 FieldPosition& fieldPosition) const = 0;
354 FieldPosition& fieldPosition) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelativeDateFormat.java109 FieldPosition fieldPosition) { in format() argument
149 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
156 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
167 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
175 fDateFormat.format(cal, toAppendTo, fieldPosition); in format()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelativeDateFormat.java111 FieldPosition fieldPosition) { in format() argument
151 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
158 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
169 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
177 fDateFormat.format(cal, toAppendTo, fieldPosition); in format()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DDecimalFormatICU.java75 public StringBuffer format(double number, StringBuffer result, FieldPosition fieldPosition) { in format() argument
76 return fIcuDecfmt.format(number, result, fieldPosition); in format()
80 public StringBuffer format(long number, StringBuffer result, FieldPosition fieldPosition) { in format() argument
81 return fIcuDecfmt.format(number, result, fieldPosition); in format()
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp199 FieldPosition& fieldPosition, in format() argument
226 return format(date, appendTo, fieldPosition); in format()
281 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPosition& fieldPosition) const { in format()
289 format(*calClone, appendTo, fieldPosition); in format()
Ddecimfmt.cpp758 FieldPosition& fieldPosition) const in format()
761 return fImpl->format(number, appendTo, fieldPosition, status); in format()
767 FieldPosition& fieldPosition, in format() argument
770 return fImpl->format(number, appendTo, fieldPosition, status); in format()
788 FieldPosition& fieldPosition) const in format()
791 return fImpl->format(number, appendTo, fieldPosition, status); in format()
797 FieldPosition& fieldPosition, in format() argument
800 return fImpl->format(number, appendTo, fieldPosition, status); in format()
817 FieldPosition& fieldPosition) const in format()
820 return fImpl->format(number, appendTo, fieldPosition, status); in format()
[all …]
Ddtitvfmt.cpp248 FieldPosition& fieldPosition, in format() argument
258 return format(interval, appendTo, fieldPosition, status); in format()
269 FieldPosition& fieldPosition, in format() argument
282 return formatImpl(*fFromCalendar, *fToCalendar, appendTo,fieldPosition, status); in format()
Dumsg.cpp474 FieldPosition fieldPosition(FieldPosition::DONT_CARE); in umsg_vformat() local
477 ((const MessageFormat*)fmt)->format(args,count,resultStr,fieldPosition,*status); in umsg_vformat()

12