Searched refs:soFar (Results 1 – 3 of 3) sorted by relevance
256 long soFar = 0; in verifyPackage()268 if (soFar >= toRead) { in verifyPackage()276 if (soFar + size > toRead) { in verifyPackage()277 size = (int)(toRead - soFar); in verifyPackage()280 soFar += read; in verifyPackage()284 int p = (int)(soFar * 100 / toRead); in verifyPackage()
6310 int soFar = 0; in readExactly() local6311 while (soFar < size) { in readExactly()6312 int nRead = in.read(buffer, offset + soFar, size - soFar); in readExactly()6314 … if (MORE_DEBUG) Slog.w(TAG, "- wanted exactly " + size + " but got only " + soFar); in readExactly()6317 soFar += nRead; in readExactly()6318 if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soFar)); in readExactly()6320 return soFar; in readExactly()7682 int soFar = 0; in readExactly() local7683 while (soFar < size) { in readExactly()7684 int nRead = in.read(buffer, offset + soFar, size - soFar); in readExactly()[all …]
2254 final int soFar = totalScrolled.get(); in consecutiveSmoothScroll()2255 scrollAmt.set(soFar); in consecutiveSmoothScroll()2256 rv.smoothScrollBy(0, 5000 - soFar); in consecutiveSmoothScroll()2262 final int soFar = totalScrolled.get(); in consecutiveSmoothScroll() local2263 assertEquals("second scroll should be competed properly", 5000, soFar); in consecutiveSmoothScroll()