Searched refs:tw (Results 1 – 1 of 1) sorted by relevance
604 long tw = 0; // Total bytes written in transferToArbitraryChannel() local608 while (tw < icount) { in transferToArbitraryChannel()609 bb.limit(Math.min((int)(icount - tw), TRANSFER_SIZE)); in transferToArbitraryChannel()617 tw += nw; in transferToArbitraryChannel()623 return tw; in transferToArbitraryChannel()625 if (tw > 0) in transferToArbitraryChannel()626 return tw; in transferToArbitraryChannel()714 long tw = 0; // Total bytes written in transferFromArbitraryChannel() local718 while (tw < count) { in transferFromArbitraryChannel()719 bb.limit((int)Math.min((count - tw), (long)TRANSFER_SIZE)); in transferFromArbitraryChannel()[all …]