Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/io/
DObjectStreamField.java287 StringBuilder sbuf = new StringBuilder(); in getClassSignature() local
289 sbuf.append('['); in getClassSignature()
294 sbuf.append('I'); in getClassSignature()
296 sbuf.append('B'); in getClassSignature()
298 sbuf.append('J'); in getClassSignature()
300 sbuf.append('F'); in getClassSignature()
302 sbuf.append('D'); in getClassSignature()
304 sbuf.append('S'); in getClassSignature()
306 sbuf.append('C'); in getClassSignature()
308 sbuf.append('Z'); in getClassSignature()
[all …]
DObjectStreamClass.java1469 StringBuilder sbuf = new StringBuilder(); in getClassSignature() local
1471 sbuf.append('['); in getClassSignature()
1476 sbuf.append('I'); in getClassSignature()
1478 sbuf.append('B'); in getClassSignature()
1480 sbuf.append('J'); in getClassSignature()
1482 sbuf.append('F'); in getClassSignature()
1484 sbuf.append('D'); in getClassSignature()
1486 sbuf.append('S'); in getClassSignature()
1488 sbuf.append('C'); in getClassSignature()
1490 sbuf.append('Z'); in getClassSignature()
[all …]
DObjectInputStream.java3049 StringBuilder sbuf = new StringBuilder(); in readUTFBody() local
3057 utflen -= readUTFSpan(sbuf, utflen); in readUTFBody()
3061 utflen -= readUTFChar(sbuf, utflen); in readUTFBody()
3074 return sbuf.toString(); in readUTFBody()
3083 private long readUTFSpan(StringBuilder sbuf, long utflen) in readUTFSpan() argument
3149 sbuf.append(cbuf, 0, cpos); in readUTFSpan()
3160 private int readUTFChar(StringBuilder sbuf, long utflen) in readUTFChar() argument
3174 sbuf.append((char) b1); in readUTFChar()
3186 sbuf.append((char) (((b1 & 0x1F) << 6) | in readUTFChar()
3202 sbuf.append((char) (((b1 & 0x0F) << 12) | in readUTFChar()
/libcore/ojluni/src/main/java/sun/net/www/
DHeaderParser.java223 StringBuffer sbuf = new StringBuffer(); in toString() local
224 sbuf.append ("{size="+asize+" nkeys="+nkeys+" "); in toString()
231 sbuf.append (" {"+key+(val==null?"":","+val)+"}"); in toString()
233 sbuf.append (","); in toString()
236 sbuf.append (" }"); in toString()
237 return new String (sbuf); in toString()
/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.java321 StringBuilder sbuf = new StringBuilder(); in hashCode() local
322 sbuf.append(algid.toString()); in hashCode()
323 sbuf.append(paramsToString()); in hashCode()
324 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()