Searched refs:totalRead (Results 1 – 3 of 3) sorted by relevance
145 int totalRead = 0; in read() local146 while (totalRead < len) { in read()147 int readNow = in.read(buffer.array(), totalRead, len - totalRead); in read()152 totalRead += readNow; in read()365 int totalRead = 0; in handleStartRecording()366 while (totalRead < mRecordingLength) { in handleStartRecording()367 int lenRead = mRecord.read(data, 0, (mRecordingLength - totalRead)); in handleStartRecording()375 totalRead += lenRead; in handleStartRecording()
147 totalRead = 0148 while totalRead < length:149 raw = self.conn.recv(length - totalRead)153 totalRead += justRead
1117 int totalRead = 0; in convertDmToFl() local1121 numRead = dmStream.read(dmData, totalRead, dmData.length - totalRead); in convertDmToFl()1129 totalRead += numRead; in convertDmToFl()1130 if (totalRead == dmData.length) { in convertDmToFl()1135 byte[] fileData = Arrays.copyOf(dmData, totalRead); in convertDmToFl()