Searched refs:totalBytesRead (Results 1 – 2 of 2) sorted by relevance
/trunk/main/scripting/java/com/sun/star/script/framework/io/ |
H A D | XInputStreamImpl.java | 42 int totalBytesRead = 0; in readBytes() local 47 …while ( ( nBytesToRead > 0 ) && ( bytesRead = is.read( aData[ 0 ], totalBytesRead, nBytesToRead ) … in readBytes() 49 totalBytesRead += bytesRead; in readBytes() 52 if ( totalBytesRead < aData[ 0 ].length ) in readBytes() 54 byte[] out = new byte[ totalBytesRead ]; in readBytes() 55 System.arraycopy( aData[ 0 ], 0, out, 0, totalBytesRead ); in readBytes() 67 return totalBytesRead; in readBytes()
|
/trunk/main/javaunohelper/com/sun/star/lib/uno/adapter/ |
H A D | InputStreamToXInputStreamAdapter.java | 84 int totalBytesRead = 0; in readBytes() local 92 while ((len > 0) && ((bytesRead = iIn.read(b[0], totalBytesRead, len)) > 0)) { in readBytes() 93 totalBytesRead += (int)bytesRead; in readBytes() 96 if (totalBytesRead < b[0].length) { in readBytes() 97 byte[] out = new byte[totalBytesRead]; in readBytes() 98 System.arraycopy(b[0], 0, out, 0, totalBytesRead); in readBytes() 101 return totalBytesRead; in readBytes()
|
Completed in 11 milliseconds