Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DNodeBuilderTest.java73 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 …]
DNodeTest.java66 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()
DLongNodeTest.java90 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()
DIntNodeTest.java90 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()
DDoubleNodeTest.java90 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/
DBuffer.java519 final int nextGetIndex(int nb) { // package-private in nextGetIndex() argument
520 if (limit - position < nb) in nextGetIndex()
523 position += nb; in nextGetIndex()
540 final int nextPutIndex(int nb) { // package-private in nextPutIndex() argument
541 if (limit - position < nb) in nextPutIndex()
544 position += nb; in nextPutIndex()
561 final int checkIndex(int i, int nb) { // package-private in checkIndex() argument
562 if ((i < 0) || (nb > limit - i)) in checkIndex()
565 "index=" + i + " out of bounds (limit=" + limit + ", nb=" + nb + ")"); in checkIndex()
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxUserDefinedFileAttributeView.java165 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/
DBuffer.java100 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/
DForEachOps.java477 Node.Builder<T> nb = task.helper.makeNodeBuilder( in doCompute() local
480 task.node = task.helper.wrapAndCopyInto(nb, rightSplit).build(); in doCompute()
DAbstractPipeline.java550 Node.Builder<E_OUT> nb = makeNodeBuilder( in evaluate() local
552 return wrapAndCopyInto(nb, spliterator).build(); in evaluate()
DSliceOps.java616 final Node.Builder<P_OUT> nb = op.makeNodeBuilder(sizeIfKnown, generator);
617 Sink<P_OUT> opSink = op.opWrapSink(helper.getStreamAndOpFlags(), nb);
621 return nb.build();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DByteTest.java398 Byte nb = new Byte("-128");
400 && (nb.byteValue() == (byte) -128));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java341 Number nb = df.parse("" + Long.MIN_VALUE, pos); in test_parse_returnType() local
342 assertTrue(nb instanceof Long); in test_parse_returnType()
349 nb = df.parse("" + Long.MAX_VALUE, pos); in test_parse_returnType()
350 assertTrue(nb instanceof Long); in test_parse_returnType()
358 nb = df.parse("invalid", pos); in test_parse_returnType()
359 assertNull(nb); in test_parse_returnType()
/libcore/luni/src/main/java/libcore/net/
Dmime.types82 application/mathematica nb nbp