/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ConstructedOctetStream.java | 40 int totalRead = 0; 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); 48 totalRead += numRead; 50 if (totalRead == len) 52 return totalRead; 62 return totalRead < 1 ? -1 : totalRead;
|
ASN1InputStream.java | 399 int totalRead = 0; 400 while (totalRead < len) 412 buf[totalRead++] = (char)((ch1 << 8) | (ch2 & 0xff));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
Streams.java | 46 int totalRead = 0; 47 while (totalRead < len) 49 int numRead = inStr.read(buf, off + totalRead, len - totalRead); 54 totalRead += numRead; 56 return totalRead;
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_transport.cpp | 127 size_t totalRead = 0; 128 while (totalRead < len) { 129 int n = read(mSocket, (uint8_t*)data + totalRead, len - totalRead); 135 totalRead += n;
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ItemOperationsParser.java | 112 int totalRead = 0; 123 totalRead += read; 129 final int pct = (int)((totalRead * 100) / length); 132 if ((pct > lastCallbackPct) && (totalRead > (lastCallbackTotalRead + CHUNK_SIZE))) { 138 lastCallbackTotalRead = totalRead;
|
/external/emma/core/java12/com/vladium/emma/rt/ |
ClassPathProcessorST.java | 323 int totalread = 0; local 325 (totalread < length) && (read = in.read (m_readbuf, totalread, length - totalread)) >= 0; 326 totalread += read); 327 m_readpos = totalread; 347 int totalread = 0; local 349 (totalread < length) && (read = in.read (m_readbuf, totalread, length - totalread)) >= 0 [all...] |
/external/srec/portable/src/ |
PFile.c | 198 size_t i, bufferSize, count, totalRead = 0; 205 totalRead += count; 232 totalRead += count; 251 totalRead -= bufferSize - i; 272 size_t i, bufferSize, count, totalRead = 0; 279 totalRead += count; 306 totalRead += count; 325 totalRead -= bufferSize - i;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
WspTypeDecoder.java | 468 int totalRead = 0; 477 totalRead += mDataLength; 480 totalRead += mDataLength; 488 if (decodeUintvarInteger(startIndex + totalRead)) { 489 totalRead += mDataLength; 492 return readContentParameters(startIndex + totalRead, leftToRead 493 - totalRead, accumulator + totalRead); 503 if (decodeNoValue(startIndex + totalRead)) { 504 totalRead += mDataLength [all...] |
/cts/suite/audio_quality/test_description/ |
processing_main.py | 147 totalRead = 0 148 while totalRead < length: 149 raw = self.conn.recv(length - totalRead) 153 totalRead += justRead
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 69 private int totalRead; 78 totalRead++; 86 totalRead += numRead; 92 return totalRead;
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
AudioProtocol.java | 145 int totalRead = 0; 146 while (totalRead < len) { 147 int readNow = in.read(buffer.array(), totalRead, len - totalRead); 152 totalRead += readNow; 365 int totalRead = 0; 366 while (totalRead < mRecordingLength) { 367 int lenRead = mRecord.read(data, 0, (mRecordingLength - totalRead)); 375 totalRead += lenRead;
|
/frameworks/base/services/core/java/com/android/server/am/ |
NativeCrashListener.java | 182 int totalRead = 0; 184 int n = Os.read(fd, buffer, offset + totalRead, numBytes); 192 totalRead += n; 194 return totalRead;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
CachedInputStream.java | 184 int totalRead = 0; 198 totalRead += toRead; 201 return totalRead;
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
VpnTest.java | 299 int bytesRead = 0, totalRead = 0; 301 bytesRead = in.read(read, totalRead, read.length - totalRead); 302 totalRead += bytesRead; 303 } while (bytesRead >= 0 && totalRead < data.length); 304 assertEquals(totalRead, data.length);
|
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrProcessorST.java | 965 int totalread = 0; local 989 int totalread = 0; local [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLEngineImpl.java | 577 int totalRead = 0; 594 totalRead += numRead; 598 return new SSLEngineResult(Status.OK, getHandshakeStatus(), totalRead,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
FileChannelTest.java | [all...] |
SocketChannelTest.java | [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/ |
G726DecTest.c | [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/ |
G722DecTest.c | 853 static int totalRead = 0; 862 totalRead += nRead; 867 APP_DPRINT ("%d :: App:: pBuffer->pBuffer = %p pBuffer->nAllocLen = * %ld, nRead = %d, totalread = %d\n", 868 __LINE__, pBufferHeader->pBuffer, pBufferHeader->nAllocLen, nRead, totalRead); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/ |
WmaDecTest.c | [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/ |
G722EncTest.c | [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
VPPTest.c | [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
StringUtil.java | [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/ |
G711DecTest.c | [all...] |