Home
last modified time | relevance | path

Searched refs:sbuf (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DObjectStreamField.java171 static StringBuilder appendClassSignature(StringBuilder sbuf, Class<?> cl) { in appendClassSignature() argument
173 sbuf.append('['); in appendClassSignature()
178 sbuf.append(getPrimitiveSignature(cl)); in appendClassSignature()
180 sbuf.append('L').append(cl.getName().replace('.', '/')).append(';'); in appendClassSignature()
183 return sbuf; in appendClassSignature()
DObjectStreamClass.java1609 StringBuilder sbuf = new StringBuilder(); in getClassSignature() local
1611 sbuf.append('['); in getClassSignature()
1616 sbuf.append('I'); in getClassSignature()
1618 sbuf.append('B'); in getClassSignature()
1620 sbuf.append('J'); in getClassSignature()
1622 sbuf.append('F'); in getClassSignature()
1624 sbuf.append('D'); in getClassSignature()
1626 sbuf.append('S'); in getClassSignature()
1628 sbuf.append('C'); in getClassSignature()
1630 sbuf.append('Z'); in getClassSignature()
[all …]
DObjectInputStream.java3419 StringBuilder sbuf = new StringBuilder(); in readUTFBody() local
3427 utflen -= readUTFSpan(sbuf, utflen); in readUTFBody()
3431 utflen -= readUTFChar(sbuf, utflen); in readUTFBody()
3444 return sbuf.toString(); in readUTFBody()
3453 private long readUTFSpan(StringBuilder sbuf, long utflen) in readUTFSpan() argument
3519 sbuf.append(cbuf, 0, cpos); in readUTFSpan()
3530 private int readUTFChar(StringBuilder sbuf, long utflen) in readUTFChar() argument
3544 sbuf.append((char) b1); in readUTFChar()
3556 sbuf.append((char) (((b1 & 0x1F) << 6) | in readUTFChar()
3572 sbuf.append((char) (((b1 & 0x0F) << 12) | in readUTFChar()
/libcore/luni/src/test/java/libcore/java/io/
DOldInputStreamReaderTest.java221 char[] sbuf = new char[100]; in test_read$CII() local
222 fileString.getChars(0, 100, sbuf, 0); in test_read$CII()
225 assertTrue("returned incorrect chars", rbuf[i] == sbuf[i]); in test_read$CII()
/libcore/ojluni/src/main/java/sun/security/x509/
DAlgorithmId.java319 StringBuilder sbuf = new StringBuilder(); in hashCode() local
320 sbuf.append(algid.toString()); in hashCode()
321 sbuf.append(paramsToString()); in hashCode()
322 return sbuf.toString().hashCode(); in hashCode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamReaderTest.java435 char[] sbuf = new char[100]; in test_read$CII() local
436 fileString.getChars(0, 100, sbuf, 0); in test_read$CII()
439 assertTrue("returned incorrect chars", rbuf[i] == sbuf[i]); in test_read$CII()
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java1549 byte[] sbuf = new byte[4]; in findEND()
1554 readFullyAt(sbuf, 0, sbuf.length, cenpos) != 4 || in findEND()
1555 GETSIG(sbuf) != CENSIG || in findEND()
1556 readFullyAt(sbuf, 0, sbuf.length, locpos) != 4 || in findEND()
1557 GETSIG(sbuf) != LOCSIG) { in findEND()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectInputStream.java504 private long readUTFSpan(java.lang.StringBuilder sbuf, long utflen) in readUTFSpan() argument
509 private int readUTFChar(java.lang.StringBuilder sbuf, long utflen) in readUTFChar() argument