Searched refs:soFar (Results 1 – 3 of 3) sorted by relevance
278 long soFar = 0; in verifyPackage() local282 while (soFar < toRead) { in verifyPackage()286 if (soFar + size > toRead) { in verifyPackage()287 size = (int)(toRead - soFar); in verifyPackage()291 soFar += read; in verifyPackage()295 int p = (int)(soFar * 100 / toRead); in verifyPackage()
5682 int soFar = 0; in readExactly() local5683 while (soFar < size) { in readExactly()5684 int nRead = in.read(buffer, offset + soFar, size - soFar); in readExactly()5686 … if (MORE_DEBUG) Slog.w(TAG, "- wanted exactly " + size + " but got only " + soFar); in readExactly()5689 soFar += nRead; in readExactly()5690 if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soFar)); in readExactly()5692 return soFar; in readExactly()6973 int soFar = 0; in readExactly() local6974 while (soFar < size) { in readExactly()6975 int nRead = in.read(buffer, offset + soFar, size - soFar); in readExactly()[all …]
1453 final int soFar = totalScrolled.get(); in testConsecutiveSmoothScroll()1454 scrollAmt.set(soFar); in testConsecutiveSmoothScroll()1455 rv.smoothScrollBy(0, 5000 - soFar); in testConsecutiveSmoothScroll()1461 final int soFar = totalScrolled.get(); in testConsecutiveSmoothScroll() local1462 assertEquals("second scroll should be competed properly", 5000, soFar); in testConsecutiveSmoothScroll()