Lines Matching refs:rem
195 PRUint32 rem;
213 rem = size;
214 while ((nBytes = DrainInputBuffer(start, rem)) > 0) {
216 rem -= nBytes;
222 bytesToRead = (rem < FCOPY_BUFFER_SIZE) ? rem : FCOPY_BUFFER_SIZE;
223 while (rem > 0 && (nBytes = PR_Read(in, start, bytesToRead)) > 0) {
225 rem -= nBytes;
226 bytesToRead = (rem < FCOPY_BUFFER_SIZE) ? rem : FCOPY_BUFFER_SIZE;