Searched defs:number (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DCRLNumber.java37 /** crl number value */
38 private final BigInteger number; field in class:CRLNumber
45 number = new BigInteger((byte[]) ASN1.decode(encoding));
52 return number;
60 encoding = ASN1.encode(number.toByteArray());
66 sb.append(prefix).append("CRL Number: [ ").append(number).append(" ]\n");
/libcore/luni/src/main/java/java/nio/channels/
H A DFileChannel.java46 * is the number of bytes that it currently contains. The size can be
286 * @return the current position as a positive integer number of bytes from
298 * The argument is the number of bytes counted from the start of the file.
303 * the new position with the required number of (unspecified) byte values.
320 * The maximum number of bytes that will be read is the remaining number of
332 * @return the number of bytes actually read.
353 * remaining number of bytes in the buffer). The number of bytes actually
365 * @return the number o
455 read(ByteBuffer[] buffers, int start, int number) argument
[all...]
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldLogManagerTest.java233 static int number = 0; field in class:OldLogManagerTest.MockHandler
240 number++;
248 number--;
/libcore/json/src/main/java/org/json/
H A DJSONObject.java190 * Returns the number of name/value mappings in this object.
655 * @param indentSpaces the number of spaces to indent for each level of
673 * Encodes the number as a JSON string.
675 * @param number a finite value. May not be {@link Double#isNaN() NaNs} or
678 public static String numberToString(Number number) throws JSONException { argument
679 if (number == null) {
683 double doubleValue = number.doubleValue();
687 if (number.equals(NEGATIVE_ZERO)) {
691 long longValue = number.longValue();
696 return number
[all...]
/libcore/luni/src/main/java/java/net/
H A DSocks4Message.java77 * Returns the request's port number.
84 * Set the request's port number.
138 * Returns the total number of bytes used for the request. This method
195 * Returns the SOCKS version number. Should always be 4.
212 * Set the SOCKS version number. This should always be 4.
214 private void setVersionNumber(int number) { argument
215 buffer[INDEX_VERSION] = (byte) number;
/libcore/luni/src/main/java/java/text/
H A DDecimalFormat.java67 * manipulate aspects of the pattern, such as the minimum number of integer
202 * suffix; the number of digits, minimal digits, and other characteristics are
220 * is the number of digits between the grouping separators, such as 3 for
227 * "#,##,##0", and the number 123456789 is formatted as "12,34,56,789". If a
241 * subpattern := prefix? number exponent? suffix?
242 * number := (integer ('.' fraction)?) | sigDigits
272 * they differ. For example, the pattern "#,##,###" formats the number
298 * <li>If the number of actual integer digits exceeds the
302 * <li>If the number of actual integer digits is less than the
305 * <li>If the number o
689 format(Object number, StringBuffer buffer, FieldPosition position) argument
[all...]
/libcore/luni/src/test/java/libcore/java/text/
H A DOldNumberFormatTest.java756 "Test1: NumberFormat.getInstance().parse(\"1234567890.1\") returned wrong number",
764 "Test2: NumberFormat.getInstance().parse(\"-1234567890.1\") returned wrong number",
780 "Test3: NumberFormat.getPercentInstance().parse(\"-123%\") returned wrong number",
789 "Test4: NumberFormat.getCurrencyInstance().parse(\"$123\") returned wrong number",
797 "Test4: NumberFormat.getCurrencyInstance().parse(\"$123abc\") returned wrong number",
806 "Test5: NumberFormat.getIntegerInstance().parse(\"-123.123\") returned wrong number",
828 public StringBuffer format(double number, StringBuffer toAppendTo, argument
839 public StringBuffer format(long number, StringBuffer toAppendTo, argument

Completed in 349 milliseconds