HomeSort by relevance Sort by last modified time
    Searched refs:numToRead (Results 1 - 25 of 28) sorted by null

1 2

  /external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
LimitedInputStream.java 22 * A stream that simulates EOF after a specified numToRead of bytes has been reached.
26 * Current numToRead.
28 private long numToRead;
38 * @param numToRead the number of reads to allow before returning EOF
40 public LimitedInputStream(InputStream in, long numToRead) {
42 if (numToRead < 0) {
43 throw new IllegalArgumentException("numToRead must be >= 0: " + numToRead);
45 this.numToRead = numToRead;
    [all...]
  /external/deqp/framework/delibs/decpp/
deBlockBuffer.hpp 246 int numToRead = de::min(numElements, numUsedInBlock-m_readPos);
248 DE_ASSERT(numToRead > 0);
250 for (int ndx = 0; ndx < numToRead; ndx++)
253 m_readPos += numToRead;
263 return numToRead;
deBlockBuffer.cpp 77 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf));
78 int numRead = m_buffer.tryRead(numToRead, &tmpBuf[0]);
  /frameworks/av/media/libstagefright/
CallbackDataSource.cpp 69 size_t numToRead = std::min(numLeft, bufferSize);
71 mIDataSource->readAt(offset + totalNumRead, numToRead);
80 if ((size_t)numRead > numToRead) {
  /external/deqp/execserver/
xsExecutionServer.cpp 83 size_t numToRead = (size_t)de::min(src.getNumElements(), (int)numBytesLeft);
85 if (numToRead > 0)
88 m_buffer.resize(curBufPos+numToRead);
89 src.popBack(&m_buffer[curBufPos], (int)numToRead);
  /frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/
BTtraffic.java 233 void readBytesIntoBuffer(InputStream inputStream, ByteBuffer byteBuffer, int numToRead)
238 int remaining = numToRead - position;
  /external/deqp/execserver/tools/
xsTest.cpp 1016 int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block));
1018 deFileResult result = deFile_read(file, block, numToRead, &numRead);
1021 DE_VERIFY((int)numRead == numToRead);
1022 DE_VERIFY(deMemCmp(block, &data[curPos], numToRead) == 0);
1024 curPos += numToRead;
  /prebuilts/devtools/tools/lib/
commons-compress-1.0.jar 
commons-compress-1.8.1.jar 
  /prebuilts/tools/common/commons-compress/
commons-compress-1.0.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.0/
commons-compress-1.0.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-archiver/1.0/
plexus-archiver-1.0.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-archiver/2.2/
plexus-archiver-2.2.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-archiver/2.3/
plexus-archiver-2.3.jar 
  /external/guice/extensions/struts2/lib/
jsp-2.1.jar 
ant-1.6.5.jar 
  /prebuilts/misc/common/commons-compress/
commons-compress-prebuilt.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.12/
commons-compress-1.12.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.8.1/
commons-compress-1.8.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.9/
commons-compress-1.9.jar 
  /prebuilts/tools/common/offline-m2/org/apache/commons/commons-compress/1.8.1/
commons-compress-1.8.1.jar 
  /prebuilts/tools/common/ant/
ant.jar 
  /prebuilts/tools/common/m2/repository/org/apache/ant/ant/1.7.0/
ant-1.7.0.jar 
  /external/jarjar/lib/
apache-ant-1.9.4.jar 
  /external/owasp/sanitizer/tools/findbugs/lib/
ant.jar 

Completed in 498 milliseconds

1 2