/libcore/luni/src/test/java/libcore/java/io/ |
OldInputStreamTest.java | 90 int bytesRead = 0; 105 bytesRead = is.read(b); 107 bytesRead, ref.length - 10); 109 for (i = 0; i < bytesRead; i++) { 116 bytesRead = is.read(b); 117 assertEquals("Test 3:", bytesRead, -1); 122 int bytesRead = 0; 126 bytesRead = is.read(b, -1, 5); 134 bytesRead = is.read(b, 5, -1); 143 bytesRead = is.read(b, 6, 5) [all...] |
OldObjectOutputStreamPutFieldTest.java | 121 int bytesRead; 128 bytesRead = refStream.read(streamContent); 132 refContent = new byte[bytesRead]; 133 System.arraycopy(streamContent, 0, refContent, 0, bytesRead);
|
/libcore/luni/src/main/java/java/security/ |
DigestInputStream.java | 120 int bytesRead = in.read(b, off, len); 124 if (isOn && (bytesRead != -1)) { 125 digest.update(b, off, bytesRead); 128 return bytesRead;
|
/external/webkit/Source/WebCore/platform/ |
FileStream.cpp | 125 int bytesRead = 0; 127 bytesRead = readFromFile(m_handle, buffer, bytesToRead); 128 if (bytesRead < 0) 130 if (bytesRead > 0) 131 m_bytesProcessed += bytesRead; 133 return bytesRead;
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
RandomBitsSupplier.java | 106 int bytesRead; 111 bytesRead = fis.read(bytes, offset, numBytes-total); 116 if ( bytesRead == -1 ) { 117 throw new ProviderException("bytesRead == -1"); 120 total += bytesRead; 121 offset += bytesRead;
|
/external/webkit/Source/WebCore/platform/posix/ |
SharedBufferPOSIX.cpp | 64 ssize_t bytesRead; 65 while ((bytesRead = read(fd, result->m_buffer.data() + totalBytesRead, bytesToRead - totalBytesRead)) > 0) 66 totalBytesRead += bytesRead;
|
/external/webkit/Source/WebCore/platform/win/ |
SharedBufferWin.cpp | 59 DWORD bytesRead; 60 if (ReadFile(fileHandle, buffer.data(), bytesToRead, &bytesRead, 0) && bytesToRead == bytesRead)
|
/external/webkit/Source/WebCore/platform/text/mac/ |
TextCodecMac.cpp | 136 unsigned long bytesRead = 0; 150 status = TECConvertText(m_converterTEC, m_bufferedBytes, m_numBufferedBytes + bytesToPutInBuffer, &bytesRead, 152 ASSERT(bytesRead <= m_numBufferedBytes + bytesToPutInBuffer); 154 if (status == kTECPartialCharErr && bytesRead == 0) { 163 bytesRead = bytesToPutInBuffer; 169 if (bytesRead > m_numBufferedBytes) { 170 bytesRead -= m_numBufferedBytes; 173 bytesRead = 0; 184 status = TECConvertText(m_converterTEC, inputBuffer, inputBufferLength, &bytesRead, 186 ASSERT(static_cast<int>(bytesRead) <= inputBufferLength) [all...] |
/external/skia/tests/ |
StreamTest.cpp | 33 int bytesRead = 0; 34 while (bytesRead < size) { 38 REPORTER_ASSERT(reporter, bytesRead + ss <= size); 40 memcmp(storage + bytesRead, storage2, ss) == 0); 41 bytesRead += ss; 43 REPORTER_ASSERT(reporter, bytesRead == size);
|
/libcore/luni/src/main/java/java/io/ |
CharArrayReader.java | 214 int bytesRead = pos + len > this.count ? this.count - pos : len; 215 System.arraycopy(this.buf, pos, buffer, offset, bytesRead); 216 pos += bytesRead; 217 return bytesRead;
|
/system/media/mca/filterfw/java/android/filterfw/basefilters/ |
InputStreamSource.java | 71 int bytesRead; 72 while ((bytesRead = mInputStream.read(buffer)) > 0) { 73 byteStream.write(buffer, 0, bytesRead); 74 fileSize += bytesRead;
|
/cts/tests/src/android/os/cts/ |
FileUtils.java | 105 int bytesRead; 106 while ((bytesRead = inputStream.read(buffer)) >= 0) { 107 out.write(buffer, 0, bytesRead);
|
/external/webkit/Source/WebCore/platform/brew/ |
SharedBufferBrew.cpp | 64 int32 bytesRead; 65 while ((bytesRead = IFILE_Read(file.get(), result->m_buffer.data() + totalBytesRead, fileSize - totalBytesRead)) > 0) 66 totalBytesRead += bytesRead;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
LoggingInputStream.java | 69 int bytesRead = super.read(b, offset, length); 70 int copyBytes = bytesRead; 77 return bytesRead;
|
/system/media/mca/filterfw/java/android/filterfw/io/ |
GraphReader.java | 47 int bytesRead; 48 while ((bytesRead = reader.read(buffer, 0, 1024)) > 0) { 49 writer.write(buffer, 0, bytesRead);
|
/external/webkit/Source/WebCore/platform/network/ |
BlobResourceHandle.cpp | 342 int bytesRead = 0; 344 bytesRead = readDataSync(item, buf + offset, remaining); 346 bytesRead = readFileSync(item, buf + offset, remaining); 350 if (bytesRead > 0) { 351 offset += bytesRead; 352 remaining -= bytesRead; 407 int bytesRead = m_stream->read(buf, length); 408 if (bytesRead < 0) { 412 if (!bytesRead) { 417 m_totalRemainingSize -= bytesRead; [all...] |
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 139 int bytesRead = in.read(inputBuffer); 141 if (bytesRead == -1) { 145 success = coder.process(inputBuffer, 0, bytesRead, false);
|
/frameworks/base/graphics/java/android/renderscript/ |
ScriptC.java | 82 int bytesRead = is.read(pgm, pgmLength, bytesLeft); 83 if (bytesRead <= 0) { 86 pgmLength += bytesRead;
|
/libcore/luni/src/main/java/java/util/zip/ |
DeflaterInputStream.java | 127 int bytesRead = in.read(buf); 128 if (bytesRead == -1) { 131 def.setInput(buf, 0, bytesRead);
|
GZIPInputStream.java | 165 int bytesRead; 167 bytesRead = super.read(buffer, offset, byteCount); 172 if (bytesRead != -1) { 173 crc.update(buffer, offset, bytesRead); 180 return bytesRead;
|
/external/skia/include/pipe/ |
SkGPipe.h | 39 Status playback(const void* data, size_t length, size_t* bytesRead = NULL);
|
/system/core/libcutils/ |
buffer.c | 80 ssize_t bytesRead = read(fd, 84 if (bytesRead > 0) { 85 buffer->size += bytesRead; 89 return bytesRead;
|
/external/skia/src/images/ |
SkImageDecoder_libpvjpeg.cpp | 160 int32 bytesRead = stream->read(storage + bytesInStorage, 162 if (bytesRead <= 0) { 163 SkDEBUGF(("SkPVJPEGImageDecoder: stream read returned %d\n", bytesRead)); 168 bytesInStorage += bytesRead;
|
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 81 int bytesRead = in.read(dst, offset, byteCount); 82 if (bytesRead < 0) { 85 offset += bytesRead; 86 byteCount -= bytesRead;
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
WebRequest.h | 77 virtual void OnReadCompleted(net::URLRequest*, int bytesRead); 96 bool read(int* bytesRead);
|