/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/ |
H A D | TestUtility.java | 30 private static final String digits = "0123456789abcdef"; field in class:TestUtility 43 buf.append (digits.charAt ((bytes[i] >> 4) & 0x0f)); 44 buf.append (digits.charAt (bytes[i] & 0x0f));
|
/openjdk7/jdk/test/java/util/Currency/ |
H A D | Bug4512215.java | 50 int digits) { 51 testCurrencyDefined(currencyCode, digits); 60 private static void testCurrencyDefined(String currencyCode, int digits) { argument 62 if (currency.getDefaultFractionDigits() != digits) { 64 + "] expected: " + digits 49 testCountryCurrency(String country, String currencyCode, int digits) argument
|
H A D | ValidateISO4217.java | 185 int numericCode, int digits, int index) { 189 testCurrencyDefined(currencyCode, numericCode, digits); 214 static void testCurrencyDefined(String currencyCode, int numericCode, int digits) { argument 224 if (currency.getDefaultFractionDigits() != digits) { 226 digits + "; got: " + currency.getDefaultFractionDigits()); 184 testCountryCurrency(String country, String currencyCode, int numericCode, int digits, int index) argument
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/util/ |
H A D | Misc.java | 45 private static char[] digits = { '0', '1', '2', '3', '4', '5', '6', '7', field in class:Misc 52 buf[i++] = digits[(addr >> s) & 0xf];
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | BigInt.java | 53 * @param data a sequence of bytes, most significant bytes/digits 141 private static final String digits = "0123456789abcdef"; field in class:BigInt 149 buf.append(digits.charAt((places[i] >> 4) & 0x0f)); 150 buf.append(digits.charAt(places[i] & 0x0f));
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | UUID.java | 375 return (digits(mostSigBits >> 32, 8) + "-" + 376 digits(mostSigBits >> 16, 4) + "-" + 377 digits(mostSigBits, 4) + "-" + 378 digits(leastSigBits >> 48, 4) + "-" + 379 digits(leastSigBits, 12)); 382 /** Returns val represented by the specified number of hex digits. */ 383 private static String digits(long val, int digits) { argument 384 long hi = 1L << (digits * 4);
|
H A D | Scanner.java | 428 // A pattern for non-ASCII digits 463 private String digits = "0123456789abcdefghijklmnopqrstuvwxyz"; field in class:Scanner 467 String radixDigits = digits.substring(0, radix); 1897 * specific suffixes, then mapping non-ASCII digits into ASCII 1898 * digits via {@link Character#digit Character.digit}, prepending a 2003 * specific suffixes, then mapping non-ASCII digits into ASCII 2004 * digits via {@link Character#digit Character.digit}, prepending a 2081 * and suffixes, non ascii digits must be converted into ascii digits 2133 * specific suffixes, then mapping non-ASCII digits int [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/algorithm/ |
H A D | UUIDEncodingAlgorithm.java | 106 return (digits(msb >> 32, 8) + "-" + 107 digits(msb >> 16, 4) + "-" + 108 digits(msb, 4) + "-" + 109 digits(lsb >> 48, 4) + "-" + 110 digits(lsb, 12)); 113 final String digits(long val, int digits) { argument 114 long hi = 1L << (digits * 4);
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Integer.java | 76 final static char[] digits = { field in class:Integer 103 * character. The following ASCII characters are used as digits: 113 * are used as radix-<var>N</var> digits in the order shown. Thus, 114 * the digits for hexadecimal (radix 16) are 148 buf[charPos--] = digits[-(i % radix)]; 151 buf[charPos] = digits[-i]; 166 * argument. This value is converted to a string of ASCII digits 173 * hexadecimal digits: 204 * argument. This value is converted to a string of ASCII digits 212 * digits [all...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | DigitList.java | 56 * precision to represent all digits of a long. 59 * which are the digits radix 10, from '0' to '9'. It also has a radix 62 * derived by placing all the digits of the list to the right of the 75 * The maximum number of significant digits in an IEEE 754 double, that 76 * is, in a Java double. This must not be increased, or garbage digits 85 * digits[decimalAt]. If decimalAt is < 0, then leading zeros between 87 * is > count, then trailing zeros between the digits[count-1] and the 91 * f is a value 0.1 <= f < 1 arrived at by placing the digits in Digits to 97 * digits present in digits[] 104 public char[] digits = new char[MAX_COUNT]; field in class:DigitList [all...] |
H A D | DecimalFormat.java | 61 * locale, including support for Western, Arabic, and Indic digits. It also 134 * serves only to specify the negative prefix and suffix; the number of digits, 135 * minimal digits, and other characteristics are all the same as the positive 139 * <p>The prefixes, suffixes, and various symbols used for infinity, digits, 152 * of digits between the grouping characters, such as 3 for 100,000,000 or 4 for 263 * <li>The minimum and maximum number of integer digits are interpreted 267 * <li>If the maximum number of integer digits is greater than their minimum number 269 * number of integer digits, and the minimum number of integer digits to be 276 * <li>Otherwise, the minimum number of integer digits i 1404 subparse(String text, ParsePosition parsePosition, String positivePrefix, String negativePrefix, DigitList digits, boolean isExponent, boolean status[]) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngerror.c | 162 int count = 0; /* number of digits output */ 174 static const char digits[] = "0123456789ABCDEF"; local 179 /* Needs five digits (the fraction) */ 183 *--end = digits[number % 10]; 190 /* Expects at least 2 digits. */ 195 *--end = digits[number % 10]; 200 /* This format expects at least two digits */ 205 *--end = digits[number & 0xf]; 214 /* Keep track of the number of digits added */ 390 * to 63 bytes, the name characters are output as hex digits wrappe [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/corba/ |
H A D | TypeCodeImpl.java | 569 short digits, 575 //if (digits < 1 || digits > 31) 580 _digits = digits; 2248 static protected short digits(java.math.BigDecimal value) { method in class:TypeCodeImpl 567 TypeCodeImpl(ORB orb, int creationKind, short digits, short scale) argument
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDRInputStream.java | 406 public final java.math.BigDecimal read_fixed(short digits, short scale) { argument 407 return impl.read_fixed(digits, scale);
|
H A D | CDRInputStreamBase.java | 162 public abstract java.math.BigDecimal read_fixed(short digits, short scale); argument
|
H A D | CDROutputStreamBase.java | 158 public abstract void write_fixed(java.math.BigDecimal bigDecimal, short digits, short scale); argument
|
H A D | IDLJavaSerializationInputStream.java | 581 // Each octet contains (up to) two decimal digits. If the fixed type has 582 // an odd number of decimal digits, then the representation 930 public java.math.BigDecimal read_fixed(short digits, short scale) { argument 931 // digits isn't really needed here 933 if (digits != buffer.length()) 934 throw wrapper.badFixed( new Integer(digits), 936 buffer.insert(digits - scale, '.');
|
H A D | IDLJavaSerializationOutputStream.java | 425 // Each octet contains (up to) two decimal digits. 448 // If the fixed type has an odd number of decimal digits, then the 647 // digits and scale before it gets written to the stream. 649 short digits, short scale) { 674 stringBuffer = new StringBuffer(digits); 684 while (stringBuffer.length() < digits) { 648 write_fixed(java.math.BigDecimal bigDecimal, short digits, short scale) argument
|
H A D | CDROutputStream.java | 386 public final void write_fixed(java.math.BigDecimal bigDecimal, short digits, short scale) { argument 387 impl.write_fixed(bigDecimal, digits, scale);
|
H A D | CDRInputStream_1_0.java | 1811 public java.math.BigDecimal read_fixed(short digits, short scale) { argument 1812 // digits isn't really needed here 1814 if (digits != buffer.length()) 1815 throw wrapper.badFixed( new Integer(digits), 1817 buffer.insert(digits - scale, '.'); 1826 // Each octet contains (up to) two decimal digits. 1827 // If the fixed type has an odd number of decimal digits, then the representation
|
H A D | CDROutputStream_1_0.java | 1600 // digits and scale before it gets written to the stream. 1601 public void write_fixed(java.math.BigDecimal bigDecimal, short digits, short scale) { argument 1626 stringBuffer = new StringBuffer(digits); 1636 while (stringBuffer.length() < digits) { 1645 // Right now the scale and digits information of the type code is lost. 1654 // Each octet contains (up to) two decimal digits 1675 // If the fixed type has an odd number of decimal digits,
|
/openjdk7/corba/src/share/classes/org/omg/CORBA/ |
H A D | ORB.java | 922 * @param digits specifies the total number of decimal digits in the number 927 public org.omg.CORBA.TypeCode create_fixed_tc(short digits, short scale) argument
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | FloatingDecimal.java | 37 char digits[]; field in class:FloatingDecimal 45 private FloatingDecimal( boolean negSign, int decExponent, char []digits, int n, boolean e ) argument 50 this.digits = digits; 296 * The only reason that we develop the digits here, rather than 303 char digits[]; 329 digits = (char[])(perThreadBuffer.get()); 339 digits[digitno--] = (char)(c+'0'); 344 digits[digitno] = (char)(c+'0'); 349 digits [all...] |
H A D | FormattedFloatingDecimal.java | 38 char digits[]; field in class:FormattedFloatingDecimal 45 int precision; // number of digits to the right of decimal 51 private FormattedFloatingDecimal( boolean negSign, int decExponent, char []digits, int n, boolean e, int precision, Form form ) argument 56 this.digits = digits; 304 * The only reason that we develop the digits here, rather than 311 char digits[]; 337 digits = (char[])(perThreadBuffer.get()); 347 digits[digitno--] = (char)(c+'0'); 352 digits[digitn [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orb/ |
H A D | ORBImpl.java | 1050 public synchronized org.omg.CORBA.TypeCode create_fixed_tc(short digits, short scale) argument 1053 return new TypeCodeImpl(this, TCKind._tk_fixed, digits, scale);
|