HomeSort by relevance Sort by last modified time
    Searched full:toread (Results 1 - 25 of 47) sorted by null

1 2

  /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;
  /frameworks/base/libs/androidfw/
StreamingZipInflater.cpp 120 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition));
121 while (toRead > 0) {
123 size_t deliverable = min_of(toRead, mOutLastDecoded - mOutDeliverable);
130 toRead -= deliverable;
134 if (toRead > 0) {
192 size_t toRead = min_of(mInBufSize, mInTotalSize - mInNextChunkOffset);
193 if (toRead > 0) {
194 ssize_t didRead = ::read(mFd, mInBuf, toRead);
195 //ALOGV("Reading input chunk, size %08x didread %08x", toRead, didRead);
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DefiniteLengthInputStream.java 73 int toRead = Math.min(len, _remaining);
74 int numRead = _in.read(buf, off, toRead);
  /external/grub/stage2/
fsys_xfs.c 336 int toread; local
388 toread = roundup8 (le16(dau->unused.length)) - 4;
389 xfs.blkoff += toread;
390 filepos += toread;
399 toread = roundup8 (namelen + 11) - 9;
400 xfs_read (dirbuf, toread);
402 xfs.blkoff += toread + 5;
492 int toread, startpos, endpos; local
509 toread = (endofcur >= endpos)
514 filepos - (offset << xfs.blklog), toread, buf)
    [all...]
fsys_jfs.c 233 int toread, startpos, endpos; local
244 toread = (endofcur >= endpos)
249 filepos - (offset << jfs.l2bsize), toread, buf);
252 buf += toread;
253 len -= toread;
254 filepos += toread;
256 toread = ((offset << jfs.l2bsize) >= endpos)
258 len -= toread;
259 filepos += toread;
260 for (; toread; 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;
  /libcore/luni/src/main/java/java/util/zip/
ZipInputStream.java 320 int toRead = byteCount > (len - lastRead) ? len - lastRead : byteCount;
321 if ((csize - inRead) < toRead) {
322 toRead = csize - inRead;
324 System.arraycopy(buf, lastRead, buffer, offset, toRead);
325 lastRead += toRead;
326 inRead += toRead;
327 crc.update(buffer, offset, toRead);
328 return toRead;
  /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;
  /hardware/invensense/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++) {
  /libcore/luni/src/main/java/java/io/
Reader.java 222 int toRead = charCount < 512 ? (int) charCount : 512;
223 char[] charsSkipped = new char[toRead];
225 int read = read(charsSkipped, 0, toRead);
230 if (read < toRead) {
233 if (charCount - skipped < toRead) {
234 toRead = (int) (charCount - skipped);
  /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) {
  /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/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;
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;
  /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/base/core/java/android/app/backup/
FullBackup.java 122 int toRead = (size > buffer.length) ? buffer.length : (int)size;
123 int got = in.read(buffer, 0, toRead);
  /frameworks/base/core/java/android/os/
RecoverySystem.java 268 long toRead = fileLen - commentSize - 2;
273 while (soFar < toRead) {
277 if (soFar + size > toRead) {
278 size = (int)(toRead - soFar);
286 int p = (int)(soFar * 100 / toRead);
  /packages/inputmethods/PinyinIME/jni/share/
userdict.cpp 1097 size_t readed, toread;
1158 toread = (dict_info.lemma_count << 2);
1160 while (readed < toread && !ferror(fp) && !feof(fp)) {
1161 readed += fread((((uint8*)offsets) + readed), 1, toread - readed, fp);
1163 if (readed < toread)
1167 toread = (dict_info.lemma_count << 2);
1169 while (readed < toread && !ferror(fp) && !feof(fp)) {
1170 readed += fread((((uint8*)predicts) + readed), 1, toread - readed, fp);
1172 if (readed < toread)
1177 while (readed < toread && !ferror(fp) && !feof(fp))
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
tar.h 81 #define TOREAD 00004
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/
tar.h 81 #define TOREAD 00004
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/
tar.h 81 #define TOREAD 00004
  /external/libmtp/src/
libusb-glue.c 813 unsigned long toread = 0; local
831 toread = size - curread;
833 if (readzero && FLAG_NO_ZERO_READS(ptp_usb) && toread % 64 == 0) {
834 toread += 1;
840 toread = CONTEXT_BLOCK_SIZE_1;
841 else if (toread == CONTEXT_BLOCK_SIZE_1)
842 toread = CONTEXT_BLOCK_SIZE_2;
843 else if (toread == CONTEXT_BLOCK_SIZE_2)
844 toread = CONTEXT_BLOCK_SIZE_1;
846 printf("unexpected toread size 0x%04x, 0x%04x remaining bytes\n",
    [all...]
  /frameworks/base/voip/jni/rtp/
AudioGroup.cpp 871 int toRead = (mode == MUTED) ? 0 : sampleCount;
874 while (--chances > 0 && (toWrite > 0 || toRead > 0)) {
891 if (toRead > 0) {
893 buffer.frameCount = toRead;
897 int offset = sampleCount - toRead;
899 toRead -= buffer.frameCount;
  /external/valgrind/main/coregrind/m_gdbserver/
server.c 557 char toread[len]; local
582 len_read = VG_(read) (fd, toread, len);
583 *new_packet_len_p = write_qxfer_response (arg_own_buf, toread,
    [all...]

Completed in 1177 milliseconds

1 2