/libcore/ojluni/src/main/java/java/net/ |
D | DatagramPacket.java | 67 byte[] buf; field in DatagramPacket 87 public DatagramPacket(byte buf[], int offset, int length) { in DatagramPacket() 103 public DatagramPacket(byte buf[], int length) { in DatagramPacket() 123 public DatagramPacket(byte buf[], int offset, int length, in DatagramPacket() 152 public DatagramPacket(byte buf[], int offset, int length, SocketAddress address) { in DatagramPacket() 175 public DatagramPacket(byte buf[], int length, in DatagramPacket() 193 public DatagramPacket(byte buf[], int length, SocketAddress address) { in DatagramPacket() 278 public synchronized void setData(byte[] buf, int offset, int length) { in setData() 373 public synchronized void setData(byte[] buf) { in setData()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | StringReaderTest.java | 45 char[] buf = new char[10]; in test_close() local 63 char[] buf = new char[10]; in test_markI() local 97 char[] buf = new char[testString.length()]; in test_read$CII() local 131 char[] buf = new char[10]; in test_reset() local 144 char[] buf = new char[10]; in test_skipJ() local
|
D | FileWriterTest.java | 49 char[] buf = new char[100]; in test_ConstructorLjava_io_File() local 103 char[] buf = new char[100]; in test_ConstructorLjava_io_FileDescriptor() local 122 char[] buf = new char[100]; in test_ConstructorLjava_lang_String() local 140 char[] buf = new char[100]; in test_ConstructorLjava_lang_StringZ() local
|
D | FileReaderTest.java | 47 char[] buf = new char[100]; in test_ConstructorLjava_io_File() local 63 char[] buf = new char[100]; in test_ConstructorLjava_io_FileDescriptor() local 79 char[] buf = new char[100]; in test_ConstructorLjava_lang_String() local
|
D | PipedWriterTest.java | 29 public char[] buf = new char[10]; field in PipedWriterTest.PReader 77 char[] buf = new char[10]; in test_ConstructorLjava_io_PipedReader() local 95 char[] buf = new char[10]; in test_close() local 114 char[] buf = new char[10]; in test_connectLjava_io_PipedReader() local 133 char[] buf = new char[10]; in test_flush() local 178 char[] buf = new char[10]; in test_write$CII() local 399 char[] buf = new char[10]; in test_write_$CII_MultiThread() local
|
D | BufferedReaderTest.java | 106 char[] buf = null; in test_markI() local 210 char[] buf = new char[14]; in test_read() local 289 char[] buf = new char[testString.length()]; in test_read$CII() local 510 char[] buf = new char[testString.length()]; in test_reset() local 565 char[] buf = new char[testString.length()]; in test_skipJ() local
|
D | BufferedInputStreamTest.java | 148 static byte[] buf; field in BufferedInputStreamTest.MockBufferedInputStream 191 BufferedInputStream buf = new BufferedInputStream(null, 5); in test_close() local 275 BufferedInputStream buf = new BufferedInputStream( in test_markI() local 531 BufferedInputStream buf = new BufferedInputStream(null, 5); in test_skipJ() local 543 BufferedInputStream buf = new BufferedInputStream(null, 5); in test_skip_NullInputStream() local
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | GZIPOutputStream.java | 142 public synchronized void write(byte[] buf, int off, int len) in write() 200 private void writeTrailer(byte[] buf, int offset) throws IOException { in writeTrailer() 201 writeInt((int)crc.getValue(), buf, offset); // CRC-32 of uncompr. data in writeTrailer() local 202 writeInt(def.getTotalIn(), buf, offset + 4); // Number of uncompr. bytes in writeTrailer() local 209 private void writeInt(int i, byte[] buf, int offset) throws IOException { in writeInt() 218 private void writeShort(int s, byte[] buf, int offset) throws IOException { in writeShort()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Util.java | 100 private static boolean isBufferTooLarge(ByteBuffer buf) { in isBufferTooLarge() 139 ByteBuffer buf = buffers[start]; in get() local 169 boolean offerFirst(ByteBuffer buf) { in offerFirst() 183 boolean offerLast(ByteBuffer buf) { in offerLast() 203 ByteBuffer buf = buffers[start]; in removeFirst() local 225 ByteBuffer buf = cache.get(size); in getTemporaryDirectBuffer() local 243 public static void releaseTemporaryDirectBuffer(ByteBuffer buf) { in releaseTemporaryDirectBuffer() 252 static void offerFirstTemporaryDirectBuffer(ByteBuffer buf) { in offerFirstTemporaryDirectBuffer() 274 static void offerLastTemporaryDirectBuffer(ByteBuffer buf) { in offerLastTemporaryDirectBuffer() 293 private static void free(ByteBuffer buf) { in free()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldReaderTest.java | 36 CharBuffer buf = CharBuffer.allocate(4); in test_Reader_CharBufferChar() local 54 char[] buf = new char[4]; in test_Read_$C() local 98 char[] buf = new char[4]; in test_skip() local 116 @Override public int read(char[] buf, int offset, int count) { in read()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DoubleBufferTest.java | 36 protected DoubleBuffer buf; field in DoubleBufferTest 639 void loadTestData1(DoubleBuffer buf) { in loadTestData1() 646 void loadTestData2(DoubleBuffer buf) { in loadTestData2() 653 private void assertContentEquals(DoubleBuffer buf, double array[], in assertContentEquals() 660 private void assertContentEquals(DoubleBuffer buf, DoubleBuffer other) { in assertContentEquals() 667 private void assertContentLikeTestData1(DoubleBuffer buf, int startIndex, in assertContentLikeTestData1()
|
D | LongBufferTest.java | 37 protected LongBuffer buf; field in LongBufferTest 621 void loadTestData1(LongBuffer buf) { in loadTestData1() 628 void loadTestData2(LongBuffer buf) { in loadTestData2() 635 void assertContentEquals(LongBuffer buf, long array[], in assertContentEquals() 642 void assertContentEquals(LongBuffer buf, LongBuffer other) { in assertContentEquals() 649 void assertContentLikeTestData1(LongBuffer buf, in assertContentLikeTestData1()
|
D | FloatBufferTest.java | 37 protected FloatBuffer buf; field in FloatBufferTest 638 void loadTestData1(FloatBuffer buf) { in loadTestData1() 645 void loadTestData2(FloatBuffer buf) { in loadTestData2() 652 void assertContentEquals(FloatBuffer buf, float array[], in assertContentEquals() 659 void assertContentEquals(FloatBuffer buf, FloatBuffer other) { in assertContentEquals() 666 void assertContentLikeTestData1(FloatBuffer buf, in assertContentLikeTestData1()
|
D | IntBufferTest.java | 37 protected IntBuffer buf; field in IntBufferTest 614 void loadTestData1(IntBuffer buf) { in loadTestData1() 621 void loadTestData2(IntBuffer buf) { in loadTestData2() 628 void assertContentEquals(IntBuffer buf, int array[], in assertContentEquals() 635 void assertContentEquals(IntBuffer buf, IntBuffer other) { in assertContentEquals() 642 void assertContentLikeTestData1(IntBuffer buf, in assertContentLikeTestData1()
|
D | ShortBufferTest.java | 36 protected ShortBuffer buf; field in ShortBufferTest 601 void loadTestData1(ShortBuffer buf) { in loadTestData1() 608 void loadTestData2(ShortBuffer buf) { in loadTestData2() 615 void assertContentEquals(ShortBuffer buf, short array[], in assertContentEquals() 622 void assertContentEquals(ShortBuffer buf, ShortBuffer other) { in assertContentEquals() 629 void assertContentLikeTestData1(ShortBuffer buf, in assertContentLikeTestData1()
|
/libcore/ojluni/src/main/native/ |
D | CRC32.c | 42 Bytef buf[1]; in CRC32_update() local 52 Bytef *buf = (*env)->GetPrimitiveArrayCritical(env, b, 0); in CRC32_updateBytes() local 61 ZIP_CRC32(jint crc, const jbyte *buf, jint len) in ZIP_CRC32() 70 Bytef *buf = (Bytef *)jlong_to_ptr(address); in CRC32_updateByteBuffer() local
|
D | Adler32.c | 44 Bytef buf[1]; in Java_java_util_zip_Adler32_update() local 54 Bytef *buf = (*env)->GetPrimitiveArrayCritical(env, b, 0); in Java_java_util_zip_Adler32_updateBytes() local 66 Bytef *buf = (Bytef *)jlong_to_ptr(address); in Java_java_util_zip_Adler32_updateByteBuffer() local
|
/libcore/ojluni/src/main/java/java/io/ |
D | ByteArrayInputStream.java | 54 protected byte buf[]; field in ByteArrayInputStream 103 public ByteArrayInputStream(byte buf[]) { in ByteArrayInputStream() 123 public ByteArrayInputStream(byte buf[], int offset, int length) { in ByteArrayInputStream()
|
D | CharArrayReader.java | 37 protected char buf[]; field in CharArrayReader 55 public CharArrayReader(char buf[]) { in CharArrayReader() 78 public CharArrayReader(char buf[], int offset, int length) { in CharArrayReader()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTestIncompatibleException.java | 52 StringBuffer buf = new StringBuffer( in incompatibleFeature() local 63 StringBuffer buf = new StringBuffer( in incompatibleLoad() local
|
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapShortBuffer.java | 53 HeapShortBuffer(short[] buf, int off, int len) { // package-private in HeapShortBuffer() 57 HeapShortBuffer(short[] buf, int off, int len, boolean isReadOnly) { // package-private in HeapShortBuffer() 62 protected HeapShortBuffer(short[] buf, in HeapShortBuffer() 68 protected HeapShortBuffer(short[] buf, in HeapShortBuffer()
|
D | HeapDoubleBuffer.java | 48 HeapDoubleBuffer(double[] buf, int off, int len) { // package-private in HeapDoubleBuffer() 52 protected HeapDoubleBuffer(double[] buf, in HeapDoubleBuffer() 63 HeapDoubleBuffer(double[] buf, int off, int len, boolean isReadOnly) { // package-private in HeapDoubleBuffer() 68 protected HeapDoubleBuffer(double[] buf, in HeapDoubleBuffer()
|
D | HeapFloatBuffer.java | 53 HeapFloatBuffer(float[] buf, int off, int len) { // package-private in HeapFloatBuffer() 57 HeapFloatBuffer(float[] buf, int off, int len, boolean isReadOnly) { // package-private in HeapFloatBuffer() 62 protected HeapFloatBuffer(float[] buf, in HeapFloatBuffer() 68 protected HeapFloatBuffer(float[] buf, in HeapFloatBuffer()
|
D | HeapLongBuffer.java | 54 HeapLongBuffer(long[] buf, int off, int len) { // package-private in HeapLongBuffer() 58 HeapLongBuffer(long[] buf, int off, int len, boolean isReadOnly) { // package-private in HeapLongBuffer() 63 protected HeapLongBuffer(long[] buf, in HeapLongBuffer() 69 protected HeapLongBuffer(long[] buf, in HeapLongBuffer()
|
D | HeapIntBuffer.java | 53 HeapIntBuffer(int[] buf, int off, int len) { // package-private in HeapIntBuffer() 57 HeapIntBuffer(int[] buf, int off, int len, boolean isReadOnly) { // package-private in HeapIntBuffer() 62 protected HeapIntBuffer(int[] buf, in HeapIntBuffer() 68 protected HeapIntBuffer(int[] buf, in HeapIntBuffer()
|