Searched defs:number (Results 1 - 13 of 13) 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
284 * Returns the current position as a positive integer number of bytes from
297 * The argument is the number of bytes counted from the start of the file.
302 * the new position with the required number of (unspecified) byte values.
317 * The maximum number of bytes that will be read is the remaining number of
329 * @return the number of bytes actually read.
350 * remaining number of bytes in the buffer). The number of bytes actually
362 * @return the number o
453 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.java192 * Returns the number of name/value mappings in this object.
291 * depending on the number of calls to it.
708 * @param indentSpaces the number of spaces to indent for each level of
726 * Encodes the number as a JSON string.
728 * @param number a finite value. May not be {@link Double#isNaN() NaNs} or
731 public static String numberToString(Number number) throws JSONException { argument
732 if (number == null) {
736 double doubleValue = number.doubleValue();
740 if (number.equals(NEGATIVE_ZERO)) {
744 long longValue = 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/test/java/libcore/java/text/
H A DOldNumberFormatTest.java740 "Test1: NumberFormat.getInstance().parse(\"1234567890.1\") returned wrong number",
748 "Test2: NumberFormat.getInstance().parse(\"-1234567890.1\") returned wrong number",
764 "Test3: NumberFormat.getPercentInstance().parse(\"-123%\") returned wrong number",
773 "Test4: NumberFormat.getCurrencyInstance().parse(\"$123\") returned wrong number",
781 "Test4: NumberFormat.getCurrencyInstance().parse(\"$123abc\") returned wrong number",
790 "Test5: NumberFormat.getIntegerInstance().parse(\"-123.123\") returned wrong number",
812 public StringBuffer format(double number, StringBuffer toAppendTo, argument
823 public StringBuffer format(long number, StringBuffer toAppendTo, argument
/libcore/jsr166-tests/src/test/java/jsr166/
H A DForkJoinPoolTest.java104 final int number; field in class:ForkJoinPoolTest.FibTask
105 FibTask(int n) { number = n; }
107 int n = number;
126 final int number; field in class:ForkJoinPoolTest.LockingFibTask
130 number = n;
139 n = number;
211 * getPoolSize returns number of started workers.
H A DRecursiveActionTest.java167 final int number; field in class:RecursiveActionTest.FibAction
169 FibAction(int n) { number = n; }
171 int n = number;
185 final int number; field in class:RecursiveActionTest.FailingFibAction
187 FailingFibAction(int n) { number = n; }
189 int n = number;
H A DRecursiveTaskTest.java187 final int number; field in class:RecursiveTaskTest.FibTask
188 FibTask(int n) { number = n; }
190 int n = number;
205 final int number; field in class:RecursiveTaskTest.FailingFibTask
207 FailingFibTask(int n) { number = n; }
209 int n = number;
H A DCountedCompleterTest.java500 int number; field in class:CountedCompleterTest.CCF
505 this.number = n;
510 int n = number;
527 int n = number + rnumber;
529 p.number = n;
531 number = n;
541 int n = number + rnumber;
545 number = n;
551 int number; field in class:CountedCompleterTest.FailingCCF
556 this.number
[all...]
H A DForkJoinTaskTest.java320 int number; field in class:ForkJoinTaskTest.AsyncFib
322 this.number = n;
327 int n = f.number;
336 f.number = n;
343 number = ((AsyncFib)x).number + ((AsyncFib)y).number;
348 int number; field in class:ForkJoinTaskTest.FailingAsyncFib
350 this.number = n;
355 int n = f.number;
[all...]
/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
692 format(Object number, StringBuffer buffer, FieldPosition position) argument
[all...]
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 233 milliseconds