Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 131) sorted by relevance

123456

/libcore/luni/src/main/java/java/io/
DCharArrayReader.java31 protected char[] buf; field in CharArrayReader
56 public CharArrayReader(char[] buf) { in CharArrayReader()
76 public CharArrayReader(char[] buf, int offset, int length) { in CharArrayReader()
DByteArrayInputStream.java31 protected byte[] buf; field in ByteArrayInputStream
57 public ByteArrayInputStream(byte[] buf) { in ByteArrayInputStream()
75 public ByteArrayInputStream(byte[] buf, int offset, int length) { in ByteArrayInputStream()
DWriter.java93 public void write(char[] buf) throws IOException { in write()
113 public abstract void write(char[] buf, int offset, int count) throws IOException; in write()
164 char[] buf = new char[count]; in write() local
DReader.java144 public int read(char[] buf) throws IOException { in read()
166 public abstract int read(char[] buf, int offset, int count) throws IOException; in read()
/libcore/luni/src/main/java/java/lang/
DIntegralToString.java386 sb.append0(buf, cursor, bufLen - cursor); in sb.append0() argument
400 private static int intIntoCharArray(char[] buf, int cursor, int n) { in intIntoCharArray()
430 char[] buf = new char[bufLen]; in intToBinaryString() local
447 char[] buf = new char[bufLen]; in longToBinaryString() local
466 char[] buf = new char[2]; // We always want two digits. in byteToHexString() local
474 char[] buf = new char[bytes.length * 2]; in bytesToHexString() local
485 char[] buf = new char[bufLen]; in intToHexString() local
503 char[] buf = new char[bufLen]; in longToHexString() local
515 char[] buf = new char[bufLen]; in intToOctalString() local
531 char[] buf = new char[bufLen]; in longToOctalString() local
/libcore/luni/src/test/java/libcore/java/io/
DOldReaderTest.java36 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()
DOldBufferedReaderTest.java79 char[] buf = null; in test_markI() local
159 char[] buf = new char[14]; in test_read() local
270 char[] buf = new char[testString.length()]; in test_skipJ() local
DOldStringReaderTest.java39 char[] buf = new char[testString.length()]; in test_read$CII() local
DOldByteArrayInputStreamTest.java64 public static byte[] buf; field in OldByteArrayInputStreamTest.SubByteArrayInputStream
68 SubByteArrayInputStream(byte[] buf, int offset, int length) in SubByteArrayInputStream()
/libcore/luni/src/main/java/java/util/zip/
DAdler32.java64 public void update(byte[] buf) { in update()
72 public void update(byte[] buf, int offset, int byteCount) { in update()
77 private native long updateImpl(byte[] buf, int offset, int byteCount, long adler1); in updateImpl()
DCRC32.java65 public void update(byte[] buf) { in update()
73 public void update(byte[] buf, int offset, int byteCount) { in update()
79 private native long updateImpl(byte[] buf, int offset, int byteCount, long crc1); in updateImpl()
DDeflater.java201 public int deflate(byte[] buf) { in deflate()
211 public synchronized int deflate(byte[] buf, int offset, int byteCount) { in deflate()
228 public synchronized int deflate(byte[] buf, int offset, int byteCount, int flush) { in deflate()
235 private synchronized int deflateImpl(byte[] buf, int offset, int byteCount, int flush) { in deflateImpl()
244 … private native int deflateImpl(byte[] buf, int offset, int byteCount, long handle, int flushParm); in deflateImpl()
380 public synchronized void setDictionary(byte[] buf, int offset, int byteCount) { in setDictionary()
386 private native void setDictionaryImpl(byte[] buf, int offset, int byteCount, long handle); in setDictionaryImpl()
392 public void setInput(byte[] buf) { in setInput()
400 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
414 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
DInflater.java204 public int inflate(byte[] buf) throws DataFormatException { in inflate()
217 …public synchronized int inflate(byte[] buf, int offset, int byteCount) throws DataFormatException { in inflate()
235 private native int inflateImpl(byte[] buf, int offset, int byteCount, long handle); in inflateImpl()
294 public synchronized void setInput(byte[] buf) { in setInput()
302 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
310 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestIncompatibleException.java52 StringBuffer buf = new StringBuffer( in incompatibleFeature() local
63 StringBuffer buf = new StringBuffer( in incompatibleLoad() local
/libcore/luni/src/test/java/libcore/java/nio/
DNoArrayTest.java31 private void assertNoArray(ByteBuffer buf) { in assertNoArray()
/libcore/luni/src/main/native/
Dreadlink.cpp28 LocalArray<512> buf(bufSize); in readlink() local
/libcore/support/src/test/java/tests/support/
DSupport_StringWriter.java24 private StringBuffer buf; field in Support_StringWriter
113 public void write(char[] buf, int offset, int count) { in write()
/libcore/luni/src/main/java/org/apache/harmony/security/x501/
DAttributeValue.java137 StringBuilder buf = new StringBuilder(encoded.length * 2 + 1); in getHexString() local
190 StringBuilder buf = new StringBuilder(length * 2); in makeEscaped() local
235 StringBuilder buf = new StringBuilder(length * 2); in makeCanonical() local
/libcore/luni/src/main/java/java/util/jar/
DInitManifest.java29 private final byte[] buf; field in InitManifest
40 InitManifest(byte[] buf, Attributes main, Attributes.Name ver) throws IOException { in InitManifest()
/libcore/luni/src/main/java/java/nio/
DReadOnlyShortArrayBuffer.java35 ReadOnlyShortArrayBuffer buf = in copy() local
80 public ShortBuffer put(ShortBuffer buf) { in put()
DReadOnlyFloatArrayBuffer.java35 ReadOnlyFloatArrayBuffer buf = in copy() local
90 public FloatBuffer put(FloatBuffer buf) { in put()
DReadOnlyIntArrayBuffer.java35 ReadOnlyIntArrayBuffer buf = in copy() local
90 public IntBuffer put(IntBuffer buf) { in put()
DReadOnlyLongArrayBuffer.java35 ReadOnlyLongArrayBuffer buf = in copy() local
90 public LongBuffer put(LongBuffer buf) { in put()
DReadOnlyDoubleArrayBuffer.java35 ReadOnlyDoubleArrayBuffer buf = in copy() local
95 public final DoubleBuffer put(DoubleBuffer buf) { in put()
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunkHandler.java92 public static String getString(ByteBuffer buf, int len) { in getString()
102 public static void putString(ByteBuffer buf, String str) { in putString()

123456