/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 | 405 int totalRead = 0; 406 while (totalRead < len) 418 buf[totalRead++] = (char)((ch1 << 8) | (ch2 & 0xff));
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/ |
JavaInputStream.cpp | 28 size_t totalRead = 0; 44 return totalRead; // No more to read. 56 totalRead += length; 60 return totalRead;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
Streams.java | 89 int totalRead = 0; 90 while (totalRead < len) 92 int numRead = inStr.read(buf, off + totalRead, len - totalRead); 97 totalRead += numRead; 99 return 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...] |
/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 | 186 int totalRead = 0; 200 totalRead += toRead; 203 return totalRead;
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
Channels.java | 225 int totalRead = 0; 228 while (totalRead < len) { 229 int bytesToRead = Math.min((len - totalRead), 233 if ((totalRead > 0) && !(in.available() > 0)) 244 totalRead += bytesRead; 247 if ((bytesRead < 0) && (totalRead == 0)) 250 return totalRead;
|
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrProcessorST.java | 965 int totalread = 0; local 989 int totalread = 0; local [all...] |
/external/libvncserver/test/ |
bmp.c | 113 int numread=0, totalread=0, pixel[3], i, j; local 122 switch(totalread) 137 totalread+=numread; 138 } while(totalread<3);
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
VpnTest.java | 343 int bytesRead = 0, totalRead = 0; 345 bytesRead = in.read(read, totalRead, read.length - totalRead); 346 totalRead += bytesRead; 347 } while (bytesRead >= 0 && totalRead < data.length); 348 assertEquals(totalRead, data.length);
|
/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...] |
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
NanoHTTPD.java | 838 // TODO: long pos_before_serve = this.inputStream.totalRead() 839 // (requires implementaion for totalRead()) 842 // (this.inputStream.totalRead() - pos_before_serve)) [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...] |