/cts/suite/audio_quality/lib/src/audio/ |
AudioRecordingLocal.cpp | 73 int toRead = mSizes; 75 toRead = buffer->amountToHandle(); 77 LOGD("recording will read %d", toRead); 79 while (toRead > 0) { 80 int readSize = (toRead > mBufferSize) ? mBufferSize : toRead; 86 toRead -= readSize;
|
/libcore/luni/src/main/java/java/io/ |
Reader.java | 209 int toRead = charCount < 512 ? (int) charCount : 512; 210 char[] charsSkipped = new char[toRead]; 212 int read = read(charsSkipped, 0, toRead); 217 if (read < toRead) { 220 if (charCount - skipped < toRead) { 221 toRead = (int) (charCount - skipped);
|
/frameworks/base/libs/androidfw/ |
StreamingZipInflater.cpp | 137 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition)); 138 while (toRead > 0) { 140 size_t deliverable = min_of(toRead, mOutLastDecoded - mOutDeliverable); 147 toRead -= deliverable; 151 if (toRead > 0) { 209 size_t toRead = min_of(mInBufSize, mInTotalSize - mInNextChunkOffset); 210 if (toRead > 0) { 211 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead)); 212 //ALOGV("Reading input chunk, size %08x didread %08x", toRead, didRead);
|
BackupHelpers.cpp | 684 size_t toRead = (toWrite < BUFSIZE) ? toWrite : BUFSIZE; 685 ssize_t nRead = read(fd, buf, toRead); [all...] |
/cts/suite/audio_quality/lib/src/ |
ClientSocket.cpp | 97 int toRead = len; 98 while (toRead > 0) { 117 read = recv(mSocket, (void*)data, toRead, 0); 119 toRead -= read;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
FileDisk.java | 113 int toRead = dest.remaining(); 114 if ((devOffset + toRead) > getSize()) throw new IOException( 117 while (toRead > 0) { 120 toRead -= read;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DefiniteLengthInputStream.java | 73 int toRead = Math.min(len, _remaining); 74 int numRead = _in.read(buf, off, toRead);
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipInputStream.java | 314 int toRead = byteCount > (len - lastRead) ? len - lastRead : byteCount; 315 if ((csize - inRead) < toRead) { 316 toRead = csize - inRead; 318 System.arraycopy(buf, lastRead, buffer, byteOffset, toRead); 319 lastRead += toRead; 320 inRead += toRead; 321 crc.update(buffer, byteOffset, toRead); 322 return toRead;
|
/hardware/invensense/60xx/mlsdk/mllite/ |
mlFIFOHW.c | 116 uint_fast16_t toRead; 119 toRead = length - FIFO_FOOTER_SIZE + fifo_objHW.fifoCount; 121 if (length > MAX_FIFO_LENGTH || toRead > length || NULL == buffer) { 140 0 ? buffer : buffer + FIFO_FOOTER_SIZE, toRead); 169 for (kk = 0; kk < (int)toRead; kk++) {
|
/external/srec/shared/src/ |
CircularBuffer.c | 80 int toRead = bufSize - nbRead; 81 memcpy(((unsigned char *) data) + nbRead, bufferData + buffer->readIdx, toRead); 82 buffer->size -= toRead; 83 buffer->readIdx += toRead;
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
SavableSerializer.java | 96 int toRead = len > input.remaining() ? input.remaining() : len; 98 return toRead;
|
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 157 int toRead = (int) Math.min(byteCount - skipped, buffer.length); 158 int read = in.read(buffer, 0, toRead); 163 if (read < toRead) {
|
/frameworks/base/core/java/android/app/backup/ |
FullBackup.java | 124 int toRead = (size > buffer.length) ? buffer.length : (int)size; 125 int got = in.read(buffer, 0, toRead);
|
/frameworks/base/core/java/android/os/ |
RecoverySystem.java | 274 long toRead = fileLen - commentSize - 2; 279 while (soFar < toRead) { 283 if (soFar + size > toRead) { 284 size = (int)(toRead - soFar); 292 int p = (int)(soFar * 100 / toRead);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
BufferedInputStreamTest.java | 360 int toRead = len; 361 if (toRead > available()) { 362 toRead = available(); 364 System.arraycopy(contents, pos, buf, off, toRead); 365 pos += toRead; 366 return toRead;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/io/ |
BufferedReaderTest.java | 312 int toRead = len; 313 if (toRead > (size - pos)) 314 toRead = size - pos; 315 System.arraycopy(contents, pos, buf, off, toRead); 316 pos += toRead; 317 return toRead;
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
HttpZipLocator.java | 130 int toRead = Math.min(len - read, byteBuf.capacity()); 132 boolean endOfInput = toRead < byteBuf.capacity(); 134 // read 'toRead' bytes into byteBuf 135 byteBuf.put(b, off + read, toRead); 162 read += toRead;
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Util.java | 273 int toRead = (int) Math.min(byteCount - skipped, buffer.length); 274 int read = in.read(buffer, 0, toRead); 279 if (read < toRead) {
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 187 private long copyBackupToFile(BackupDataInput data, File file, int toRead) 195 while (toRead > 0) { 199 toRead -= numRead;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
AudioGroup.cpp | 877 int toRead = (mode == MUTED) ? 0 : sampleCount; 880 while (--chances > 0 && (toWrite > 0 || toRead > 0)) { 897 if (toRead > 0) { 899 buffer.frameCount = toRead; 903 int offset = sampleCount - toRead; 905 toRead -= buffer.frameCount;
|
/prebuilts/devtools/tools/lib/ |
jobb.jar | |
fat32lib.jar | |
commons-compress-1.0.jar | |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLSocketTest.java | [all...] |
/frameworks/base/services/java/com/android/server/ |
BackupManagerService.java | [all...] |