/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | IllegalFormatWidthExceptionTest.java | 32 int width = Integer.MAX_VALUE; in test_illegalFormatWidthException() local 34 width); in test_illegalFormatWidthException() 35 assertEquals(width, illegalFormatWidthException.getWidth()); in test_illegalFormatWidthException() 43 int width = 12345; in test_getWidth() local 45 width); in test_getWidth() 46 assertEquals(width, illegalFormatWidthException.getWidth()); in test_getWidth() 54 int width = 12345; in test_getMessage() local 56 width); in test_getMessage()
|
D | FormatterTest.java | 80 public void formatTo(Formatter formatter, int flags, int width, in formatTo() argument 84 + width + " PRECISION: " + precision); in formatTo() 87 + width + " precision: " + precision); in formatTo()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarUtils.java | 156 public static final StringBuilder sprintf0d(StringBuilder sb, int value, int width) { in sprintf0d() argument 161 --width; in sprintf0d() 164 for (int i = 2; i < width; i++) { in sprintf0d() 167 for (int i = 1; i < width && d < n; i++) { in sprintf0d() 175 public static final StringBuffer sprintf0d(StringBuffer sb, int value, int width) { in sprintf0d() argument 180 --width; in sprintf0d() 183 for (int i = 2; i < width; i++) { in sprintf0d() 186 for (int i = 1; i < width && d < n; i++) { in sprintf0d()
|
/libcore/luni/src/main/java/libcore/internal/ |
D | Java17LanguageFeatures.java | 44 return (r.length * r.width); in calculateApproximateArea() 67 public final int width; field in Java17LanguageFeatures.Rectangle 69 public Rectangle(int length, int width) { in Rectangle() argument 71 this.width = width; in Rectangle()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 2756 private String width; field in Formatter.FormatSpecifierParser 2777 width = nint; in FormatSpecifierParser() 2782 while (width == null && FLAGS.indexOf(peek()) >= 0) { in FormatSpecifierParser() 2786 if (width == null && nextIsInt()) { in FormatSpecifierParser() 2787 width = nextInt(); in FormatSpecifierParser() 2804 fs = new FormatSpecifier(index, flags, width, precision, tT, conv); in FormatSpecifierParser() 2906 private int width = -1; field in Formatter.FormatSpecifier 2967 private void width(String s) { in width() method in Formatter.FormatSpecifier 2968 width = -1; in width() 2973 width = Integer.parseInt(s); in width() [all …]
|
D | Formattable.java | 163 void formatTo(Formatter formatter, int flags, int width, int precision); in formatTo() argument
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 333 int width = toWidth(style); in getNames() local 337 return symbols.getMonths(context, width); in getNames() 339 switch (width) { in getNames() 347 throw new UnsupportedOperationException("Unknown width: " + width); in getNames() 350 return symbols.getWeekdays(context, width); in getNames()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | CalendarUtils.java | 80 java.lang.StringBuilder sb, int value, int width) { in sprintf0d() argument 85 java.lang.StringBuffer sb, int value, int width) { in sprintf0d() argument
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestReducedParser.java | 99 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) { in getFormatter0() argument 100 …return builder.appendValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalS… in getFormatter0() 121 …public void test_parse_error(TemporalField field, int width, int baseValue, String text, int pos, … in test_parse_error() argument 123 getFormatter0(field, width, baseValue).parseUnresolved(text, new ParsePosition(pos)); in test_parse_error() 186 …public void test_parseAllStrict(TemporalField field, int width, int baseValue, String input, int p… in test_parseAllStrict() argument 189 … TemporalAccessor parsed = getFormatter0(field, width, baseValue).parseUnresolved(input, ppos); in test_parseAllStrict() 200 …public void test_parseAllLenient(TemporalField field, int width, int baseValue, String input, int … in test_parseAllLenient() argument 203 … TemporalAccessor parsed = getFormatter0(field, width, baseValue).parseUnresolved(input, ppos); in test_parseAllLenient()
|
D | TestReducedPrinter.java | 83 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) { in getFormatter0() argument 84 …return builder.appendValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalS… in getFormatter0()
|
/libcore/dom/src/test/resources/ |
D | hc_nodtdstaff.svg | 1 <svg xmlns='http://www.w3.org/2000/svg'><rect x="0" y="0" width="100" height="100"/><head xmlns='ht…
|
D | staff2.dtd | 18 width CDATA #REQUIRED attribute
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldFormatterTest.java | 32 …public void formatTo(Formatter formatter, int flags, int width, int precision) throws IllegalForma… in test_Formattable() 41 …public void formatTo(Formatter formatter, int flags, int width, int precision) throws IllegalForma… in test_Formattable()
|
/libcore/ojluni/src/test/java/util/regex/ |
D | TestCases.txt | 973 // Zero width Positive lookahead 982 // Zero width Negative lookahead 991 // Zero width Positive lookbehind 1000 // Zero width Negative lookbehind
|
D | BMPTestCases.txt | 754 // Zero width Positive lookahead 763 // Zero width Negative lookahead 772 // Zero width Positive lookbehind 782 // Zero width Negative lookbehind
|
D | SupplementaryTestCases.txt | 927 // Zero width Positive lookahead 944 // Zero width Negative lookahead 961 // Zero width Positive lookbehind 966 // Zero width Negative lookbehind
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 468 public DateTimeFormatterBuilder appendValue(TemporalField field, int width) { in appendValue() argument 470 if (width < 1 || width > 19) { in appendValue() 471 … throw new IllegalArgumentException("The width must be from 1 to 19 inclusive but was " + width); in appendValue() 473 … NumberPrinterParser pp = new NumberPrinterParser(field, width, width, SignStyle.NOT_NEGATIVE); in appendValue() 571 int width, int maxWidth, int baseValue) { in appendValueReduced() argument 573 ReducedPrinterParser pp = new ReducedPrinterParser(field, width, maxWidth, baseValue, null); in appendValueReduced() 631 TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate) { in appendValueReduced() argument 634 ReducedPrinterParser pp = new ReducedPrinterParser(field, width, maxWidth, 0, baseDate); in appendValueReduced()
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | EqualsCompareTest.java | 702 int width = to - from; in ranges() local 703 switch (width) { in ranges()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArraysEqCmpTest.java | 976 int width = to - from; in ranges() local 977 switch (width) { in ranges()
|
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 2733 int width = pos.getIndex() - parseStart; in subParse() local 2734 final double divisor = Math.pow(10, width); in subParse()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | R.java | 2483 public static final int width = 0; field in R
|