/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/ |
LimitedInputStream.java | 67 int numRead = in.read(b, off, maxRead); 68 if (numRead > 0) { 69 numToRead -= numRead; 71 return numRead;
|
/external/deqp/execserver/ |
xsPosixFileReader.cpp | 69 deInt64 numRead = 0; 73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); 80 m_buf.write((int)numRead, &tmpBuf[0]);
|
xsTestDriver.cpp | 200 int numRead = 0; 204 numRead = msgType == MESSAGETYPE_PROCESS_LOG_DATA 208 if (numRead <= 0) 211 msgSize += numRead;
|
xsPosixTestProcess.cpp | 124 deInt64 numRead = 0; 128 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); 135 m_buf->write((int)numRead, &tmpBuf[0]);
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
ANTLRReaderStream.java | 73 int numRead; 82 numRead = r.read(data, p, readChunkSize); 83 // System.out.println("read "+numRead+" chars; p was "+p+" is now "+(p+numRead)); 84 p += numRead; 85 } while (numRead!=-1); // while not EOF 87 // EOF subtracted one above in p+=numRead; add one back
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ConstructedOctetStream.java | 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); 46 if (numRead >= 0) 48 totalRead += numRead;
|
DefiniteLengthInputStream.java | 77 int numRead = _in.read(buf, off, toRead); 79 if (numRead < 0) 84 if ((_remaining -= numRead) == 0) 89 return numRead;
|
IndefiniteLengthInputStream.java | 65 int numRead = _in.read(b, off + 2, len - 2); 67 if (numRead < 0) 85 return numRead + 2;
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
ConstructedOctetStream.java | 45 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); 47 if (numRead >= 0) 49 totalRead += numRead;
|
DefiniteLengthInputStream.java | 78 int numRead = _in.read(buf, off, toRead); 80 if (numRead < 0) 85 if ((_remaining -= numRead) == 0) 90 return numRead;
|
IndefiniteLengthInputStream.java | 66 int numRead = _in.read(b, off + 2, len - 2); 68 if (numRead < 0) 86 return numRead + 2;
|
/external/deqp/framework/common/ |
tcuResource.cpp | 63 int numRead = (int)fread(dst, 1, numBytes, m_file); 64 TCU_CHECK(numRead == numBytes);
|
/frameworks/av/media/libaaudio/tests/ |
test_flowgraph.cpp | 51 int32_t numRead = sinkI16.read(output, numOutputFrames); 52 ASSERT_EQ(numInputFrames, numRead); 53 for (int i = 0; i < numRead; i++) { 70 int32_t numRead = sinkFloat.read(output, 8); 71 ASSERT_EQ(3, numRead); 94 int32_t numRead = sinkFloat.read(output, numOutput); 95 ASSERT_EQ(numOutput, numRead); 123 int32_t numRead = sinkI24.read(output, sizeof(output) / kBytesPerI24Packed); 124 ASSERT_EQ(numInputFrames, numRead); 151 int32_t numRead = sinkFloat.read(output, numOutputFrames) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
Streams.java | 92 int numRead = inStr.read(buf, off + totalRead, len - totalRead); 93 if (numRead < 0) 97 totalRead += numRead; 113 int numRead; 114 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0) 116 outStr.write(bs, 0, numRead); 133 int numRead; 134 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0) 136 if ((limit - total) < numRead) 140 total += numRead; [all...] |
/external/deqp/executor/tools/ |
xeExtractSampleLists.cpp | 139 int numRead = 0; 147 numRead = (int)in.gcount(); 149 if (numRead <= 0) 152 parser.parse(&buf[0], numRead);
|
xeBatchResultToJUnit.cpp | 73 int numRead = (int)in.gcount(); 75 if (numRead > 0) 76 parser.parse(&buf[0], numRead); 78 if (numRead < (int)sizeof(buf))
|
xeMergeTestLogs.cpp | 129 int numRead = 0; 137 numRead = (int)in.gcount(); 139 if (numRead <= 0) 142 parser.parse(&buf[0], numRead);
|
/external/webrtc/webrtc/modules/audio_device/mac/portaudio/ |
pa_ringbuffer.c | 222 PaRingBufferSize size1, size2, numRead; 224 numRead = PaUtil_GetRingBufferReadRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 ); 235 PaUtil_AdvanceRingBufferReadIndex( rbuf, numRead ); 236 return numRead;
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
DeviceTestCompanion.java | 63 int numRead = is.read(sizeBuffer); 64 assertEquals(1, numRead); 67 numRead = is.read(nextTestNameBytes); 68 assertEquals(sizeBuffer[0], numRead); 74 numRead = is.read(sizeBuffer); 76 assertEquals(1, numRead); 125 int numRead = is.read(dataBytes); 126 assertEquals(9, numRead);
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
BootClassPathClassesProvider.java | 102 int numRead = is.read(buffer); 103 if (numRead == -1) { 106 os.write(buffer, 0, numRead);
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
Utils.java | 181 int numRead = is.read(buffer); 183 if (numRead == -1) { 186 os.write(buffer, 0, numRead);
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/ |
PatchWriter.java | 131 int numRead = 0; 132 while ((numRead = deltaIn.read(buffer)) >= 0) { 133 dataOut.write(buffer, 0, numRead);
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
DeflateCompressorTest.java | 70 int numRead = 0; 71 while ((numRead = inflaterIn.read(buffer)) >= 0) { 72 uncompressedOut.write(buffer, 0, numRead);
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/ |
Streams.java | 94 int numRead = inStr.read(buf, off + totalRead, len - totalRead); 95 if (numRead < 0) 99 totalRead += numRead; 115 int numRead; 116 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0) 118 outStr.write(bs, 0, numRead); 135 int numRead; 136 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0) 138 if ((limit - total) < numRead) 142 total += numRead; [all...] |
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
TestLogParser.java | 98 final int numRead = m_log.read(m_buffer, 0, Math.min(numAvailable, m_buffer.length)); 100 assert numRead > 0; 102 m_logRead += numRead; 105 nativeParse(m_nativePointer, m_instrumentation, m_buffer, numRead);
|