Home
last modified time | relevance | path

Searched refs:totalBytesRead (Results 1 – 4 of 4) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java72 int totalBytesRead = 0; in timeGet() local
74 totalBytesRead += get(); in timeGet()
76 return totalBytesRead; in timeGet()
80 int totalBytesRead = 0; in get() local
86 totalBytesRead += count; in get()
88 return totalBytesRead; in get()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java1232 int totalBytesRead = 0; in test_sendUrgentDataI() local
1236 int bytesRead = theInput.read(myBytes, totalBytesRead, in test_sendUrgentDataI()
1237 myBytes.length - totalBytesRead); in test_sendUrgentDataI()
1241 totalBytesRead = totalBytesRead + bytesRead; in test_sendUrgentDataI()
1252 byte[] resultBytes = new byte[totalBytesRead]; in test_sendUrgentDataI()
1253 System.arraycopy(myBytes, 0, resultBytes, 0, totalBytesRead); in test_sendUrgentDataI()
1288 totalBytesRead = 0; in test_sendUrgentDataI()
1292 int bytesRead = theInput.read(myBytes, totalBytesRead, in test_sendUrgentDataI()
1293 myBytes.length - totalBytesRead); in test_sendUrgentDataI()
1297 totalBytesRead = totalBytesRead + bytesRead; in test_sendUrgentDataI()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java1875 int totalBytesRead = 0; in readShortString() local
1878 int bytesRead = theInput.read(myBytes, totalBytesRead, in readShortString()
1879 myBytes.length - totalBytesRead); in readShortString()
1880 totalBytesRead = totalBytesRead + bytesRead; in readShortString()
1883 return new String(myBytes, 0, totalBytesRead); in readShortString()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectInputStream.java838 private long totalBytesRead = 0; // 0x0 field in ObjectInputStream.PeekInputStream