Lines Matching refs:mRemaining
172 private long mRemaining;
177 mRemaining = (int)fd.getLength();
182 return mRemaining >= 0
183 ? (mRemaining < 0x7fffffff ? (int)mRemaining : 0x7fffffff)
196 if (mRemaining >= 0) {
197 if (mRemaining == 0) return -1;
198 if (count > mRemaining) count = (int)mRemaining;
200 if (res >= 0) mRemaining -= res;
214 if (mRemaining >= 0) {
215 if (mRemaining == 0) return -1;
216 if (count > mRemaining) count = mRemaining;
218 if (res >= 0) mRemaining -= res;
227 if (mRemaining >= 0) {
236 if (mRemaining >= 0) {
244 if (mRemaining >= 0) {
259 private long mRemaining;
266 mRemaining = (int)fd.getLength();
271 if (mRemaining >= 0) {
272 if (mRemaining == 0) return;
273 if (count > mRemaining) count = (int)mRemaining;
275 mRemaining -= count;
284 if (mRemaining >= 0) {
285 if (mRemaining == 0) return;
287 if (count > mRemaining) count = (int)mRemaining;
289 mRemaining -= count;
298 if (mRemaining >= 0) {
299 if (mRemaining == 0) return;
301 mRemaining--;