Home
last modified time | relevance | path

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

12345

/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.java207 public int deflate(byte[] buf) { in deflate()
217 public synchronized int deflate(byte[] buf, int offset, int byteCount) { in deflate()
234 public synchronized int deflate(byte[] buf, int offset, int byteCount, int flush) { in deflate()
241 private synchronized int deflateImpl(byte[] buf, int offset, int byteCount, int flush) { in deflateImpl()
250 … private native int deflateImpl(byte[] buf, int offset, int byteCount, long handle, int flushParm); in deflateImpl()
386 public synchronized void setDictionary(byte[] buf, int offset, int byteCount) { in setDictionary()
392 private native void setDictionaryImpl(byte[] buf, int offset, int byteCount, long handle); in setDictionaryImpl()
398 public void setInput(byte[] buf) { in setInput()
406 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
420 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()
DChecksum.java48 public void update(byte[] buf, int off, int nbytes); in update()
DCheckedOutputStream.java87 public void write(byte[] buf, int off, int nbytes) throws IOException { in write()
/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/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/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/native/
Dreadlink.cpp28 LocalArray<512> buf(bufSize); in readlink() local
DJniException.cpp21 char buf[BUFSIZ]; in jniThrowExceptionWithErrno() local
/libcore/luni/src/main/java/java/util/jar/
DInitManifest.java29 private final byte[] buf; field in InitManifest
40 InitManifest(byte[] buf, Attributes main) throws IOException { in InitManifest()
/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()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DMessageDigestSpiTest.java149 ByteBuffer buf = ByteBuffer.wrap(b, 0, b.length); in test_engineUpdateLjava_nio_ByteBuffer() local
200 protected int engineDigest(byte[] buf, int offset, int len) in engineDigest()
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DHandshakeProtocol.java347 protected void computerVerifyDataTLS(String label, byte[] buf) { in computerVerifyDataTLS()
379 protected void computerVerifyDataSSLv3(byte[] sender, byte[] buf) { in computerVerifyDataSSLv3()
399 System.arraycopy(md5.digest(b), 0, buf, 0, 16); in computerVerifyDataSSLv3() local
407 System.arraycopy(sha.digest(b), 0, buf, 16, 20); in computerVerifyDataSSLv3() local

12345