Searched defs:digit (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/java/lang/
H A DCharacterData.java41 abstract int digit(int ch, int radix); method in class:CharacterData
H A DCharacter.java40 * a character's category (lowercase letter, digit, etc.) and for converting
128 * {@code digit} method, the {@code forDigit} method, and the
131 * @see Character#digit(char, int)
142 * {@code digit} method, the {@code forDigit} method, and the
145 * @see Character#digit(char, int)
5410 * Determines if the specified character is a digit.
5412 * A character is a digit if its general category type, provided
5438 * @return {@code true} if the character is a digit;
5440 * @see Character#digit(char, int)
5449 * Determines if the specified character (Unicode code point) is a digit
6320 public static int digit(char ch, int radix) { method in class:Character
6372 public static int digit(int codePoint, int radix) { method in class:Character
6761 forDigit(int digit, int radix) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DUCharacter.java83 * values '10' - '35'. UCharacter also does this in digit and
137 * - digit: isDigit(c) or getType(c)==DECIMAL_DIGIT_NUMBER
210 * Retrieves the numeric value of a decimal digit code point.
212 * <code>java.lang.Character.digit()</code>. Note that this
217 * digit value, and also treated numeric letters and other numbers as
220 * <br>A code point is a valid digit if and only if:
222 * <li>ch is a decimal digit or one of the european letters, and
228 * specified radix, or -1 if the code point is not a decimal digit
232 public static int digit(int ch, int radix) method in class:UCharacter
348 * Getting the digit value
[all...]
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dmplogic.c166 integer a, as long as bit lsbNum is in the high order digit of a.
172 mp_digit * digit = MP_DIGITS(a) + lsWndx; local
180 mask &= (digit[0] >> rshift);
182 mask &= ((digit[0] >> rshift) | (digit[1] << (MP_DIGIT_BIT - rshift)));
/openjdk7/jdk/src/share/bin/
H A Dversion_comp.c63 jint digit; local
66 digit = (jint)((int)(*s++) - (int)('0'));
67 sum = (sum * 10) + digit;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DDocCommentScanner.java107 /** Convert an ASCII digit from its base (8, 10, or 16)
110 private int digit(int base) { method in class:DocCommentScanner
112 int result = Character.digit(c, base);
131 int d = digit(16);
135 d = digit(16);
H A DScanner.java206 /** Convert an ASCII digit from its base (8, 10, or 16)
209 private int digit(int base) { method in class:Scanner
211 int result = Character.digit(c, base);
213 lexError(pos+1, "illegal.nonascii.digit");
231 int d = digit(16);
235 d = digit(16);
299 int oct = digit(8);
302 oct = oct * 8 + digit(8);
305 oct = oct * 8 + digit(8);
351 } while (digit(digitRadi
[all...]
/openjdk7/jdk/src/share/classes/sun/net/idn/
H A DPunycode.java147 private static char digitToBasic(int digit, boolean uppercase) { argument
150 if(digit<26) {
152 return (char)(CAPITAL_A+digit);
154 return (char)(SMALL_A+digit);
157 return (char)((ZERO-26)+digit);
335 int n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t,
397 digit=basicToDigit[(byte)src.charAt(in++)];
398 if(digit<0) {
401 if(digit>(0x7fffffff-i)/w) {
406 i+=digit*
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DDigitList.java86 * the decimal point and the first nonzero digit are implied. If decimalAt
142 * Appends a digit to the list, extending the list when necessary.
144 public void append(char digit) { argument
150 digits[count++] = digit;
154 * Utility routine to get the value of the digit list
172 * Utility routine to get the value of the digit list.
224 // then check the size. If the digit count is 18 or less, then
265 * Set the digit list to a representation of the given double value.
278 * Set the digit list to a representation of the given double value.
305 // Number of zeros between decimal point and first non-zero digit afte
[all...]
H A DDecimalFormatSymbols.java231 * Gets the character used for a digit in a pattern.
234 return digit;
238 * Sets the character used for a digit in a pattern.
240 public void setDigit(char digit) { argument
241 this.digit = digit;
499 digit == other.digit &&
552 digit = numberElements[5].charAt(0);
684 * Character used for a digit i
689 private char digit; field in class:DecimalFormatSymbols
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DFloatingDecimal.java376 // add one to the least significant digit.
380 // is only one digit, e.g. (float)1e-44 seems to do it.
719 assert q < 10 : q; // excessively large digit
728 * one digit after the . in either F- or E-form output.
729 * Thus we will need more than one digit if we're using
739 assert q < 10 : q; // excessively large digit
772 assert q < 10 : q; // excessively large digit
781 * one digit after the . in either F- or E-form output.
782 * Thus we will need more than one digit if we're using
792 assert q < 10 : q; // excessively large digit
2445 FDBigInt( long seed, char digit[], int nd0, int nd ) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DStyleSheet.java2412 * @param digit digit to format
2414 String formatRomanDigit(int level, int digit) { argument
2416 if (digit == 9) {
2420 } else if (digit == 4) {
2424 } else if (digit >= 5) {
2426 digit -= 5;
2429 for (int i = 0; i < digit; i++) {
/openjdk7/hotspot/src/share/vm/adlc/
H A Dadlparse.cpp4981 bool ADLParser::is_hex_digit(char digit) { argument
4982 return ((digit >= '0') && (digit <= '9'))
4983 ||((digit >= 'a') && (digit <= 'f'))
4984 ||((digit >= 'A') && (digit <= 'F'));

Completed in 1250 milliseconds