/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | NodeBuilderTest.java | 73 Node.Builder<Integer> nb = m.apply(l.size()); in testIteration() local 74 nb.begin(l.size()); in testIteration() 76 nb.accept(i); in testIteration() 78 nb.end(); in testIteration() 80 Node<Integer> n = nb.build(); in testIteration() 118 Node.Builder.OfInt nb = m.apply(l.size()); in testIntIteration() local 119 nb.begin(l.size()); in testIntIteration() 121 nb.accept((int) i); in testIntIteration() 123 nb.end(); in testIntIteration() 125 Node.OfInt n = nb.build(); in testIntIteration() [all …]
|
D | IntNodeTest.java | 90 private Node.OfInt fill(int[] array, Node.Builder.OfInt nb) { in fill() argument 91 nb.begin(array.length); in fill() 93 nb.accept(i); in fill() 94 nb.end(); in fill() 95 return nb.build(); in fill()
|
D | NodeTest.java | 66 Node<Integer> fill(Integer[] array, Node.Builder<Integer> nb) { in fill() argument 67 nb.begin(array.length); in fill() 69 nb.accept(i); in fill() 71 nb.end(); in fill() 72 return nb.build(); in fill()
|
D | LongNodeTest.java | 90 private Node.OfLong fill(long[] array, Node.Builder.OfLong nb) { in fill() argument 91 nb.begin(array.length); in fill() 93 nb.accept(i); in fill() 94 nb.end(); in fill() 95 return nb.build(); in fill()
|
D | DoubleNodeTest.java | 90 private Node.OfDouble fill(double[] array, Node.Builder.OfDouble nb) { in fill() argument 91 nb.begin(array.length); in fill() 93 nb.accept(i); in fill() 94 nb.end(); in fill() 95 return nb.build(); in fill()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Buffer.java | 716 final int nextGetIndex(int nb) { // package-private 718 if (limit - p < nb) 720 position = p + nb; 739 final int nextPutIndex(int nb) { // package-private 741 if (limit - p < nb) 743 position = p + nb; 761 final int checkIndex(int i, int nb) { // package-private 762 if ((i < 0) || (nb > limit - i)) 765 "index=" + i + " out of bounds (limit=" + limit + ", nb=" + nb + ")");
|
D | X-Buffer.java.template | 2329 * expressions will be true for a new buffer {@code nb} and unit size 2332 * nb.alignmentOffset(0, unitSize) == 0 2333 * nb.alignmentOffset(nb.limit(), unitSize) == 0
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxUserDefinedFileAttributeView.java | 165 NativeBuffer nb; in read() local 168 nb = null; in read() 172 nb = NativeBuffers.getNativeBuffer(rem); in read() 173 address = nb.address(); in read() 189 if (nb != null) { in read() 208 if (nb != null) in read() 209 nb.release(); in read() 223 NativeBuffer nb; in write() local 226 nb = null; in write() 230 nb = NativeBuffers.getNativeBuffer(rem); in write() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | Buffer.java | 100 final int nextGetIndex(int nb) { in nextGetIndex() argument 108 final int nextPutIndex(int nb) { in nextPutIndex() argument 116 final int checkIndex(int i, int nb) { in checkIndex() argument
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SliceOps.java | 630 final Node.Builder<P_OUT> nb = op.makeNodeBuilder(sizeIfKnown, generator); 631 Sink<P_OUT> opSink = op.opWrapSink(helper.getStreamAndOpFlags(), nb); 635 return nb.build(); 638 final Node.Builder<P_OUT> nb = op.makeNodeBuilder(-1, generator); 640 Sink<P_OUT> opSink = op.opWrapSink(helper.getStreamAndOpFlags(), nb); 644 helper.wrapAndCopyInto(nb, spliterator); 646 Node<P_OUT> node = nb.build();
|
D | ForEachOps.java | 476 Node.Builder<T> nb = task.helper.makeNodeBuilder( in doCompute() local 479 task.node = task.helper.wrapAndCopyInto(nb, rightSplit).build(); in doCompute()
|
D | AbstractPipeline.java | 580 Node.Builder<E_OUT> nb = makeNodeBuilder( in evaluate() local 582 return wrapAndCopyInto(nb, spliterator).build(); in evaluate()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ByteTest.java | 398 Byte nb = new Byte("-128"); 400 && (nb.byteValue() == (byte) -128));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 342 Number nb = df.parse("" + Long.MIN_VALUE, pos); in test_parse_returnType() local 343 assertTrue(nb instanceof Long); in test_parse_returnType() 350 nb = df.parse("" + Long.MAX_VALUE, pos); in test_parse_returnType() 351 assertTrue(nb instanceof Long); in test_parse_returnType() 359 nb = df.parse("invalid", pos); in test_parse_returnType() 360 assertNull(nb); in test_parse_returnType()
|