/external/chromium_org/third_party/skia/experimental/FileReaderApp/ |
ReaderView.cpp | 54 size_t bytesRead; 55 SkGPipeReader::Status fStatus = reader.playback(block, toBeRead, &bytesRead); 57 SkASSERT(toBeRead >= bytesRead); 63 fFilePos += bytesRead;
|
/external/skia/experimental/FileReaderApp/ |
ReaderView.cpp | 54 size_t bytesRead; 55 SkGPipeReader::Status fStatus = reader.playback(block, toBeRead, &bytesRead); 57 SkASSERT(toBeRead >= bytesRead); 63 fFilePos += bytesRead;
|
/external/skia/src/images/ |
SkStreamHelpers.cpp | 32 size_t bytesRead = stream->read(buffer, bufferSize); 33 tempStream.write(buffer, bytesRead); 34 SkDEBUGCODE(debugLength += bytesRead); 61 size_t bytesRead = stream->read(buffer, bufferSize); 62 tempStream.write(buffer, bytesRead); 63 SkDEBUGCODE(debugLength += bytesRead);
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
inputstream_wrapper.cpp | 27 int32_t bytesRead = 0; 33 bytesRead = static_cast<int32_t>(mEnv->CallIntMethod(mStream, sReadID, 42 if (bytesRead == END_OF_STREAM) { 45 return bytesRead;
|
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/ |
SharedBufferReaderTest.cpp | 95 const int bytesRead = reader.readData(&destinationVector[0] + offset, bytesPerIteration); 96 EXPECT_EQ(bytesPerIteration, bytesRead);
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
SkCLImageDiffer.cpp | 51 size_t bytesRead = stream->read(sourceString.writable_str(), sourceString.size()); 52 if (bytesRead != sourceString.size()) {
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLRandom.java | 73 int bytesRead = NativeCrypto.RAND_load_file("/dev/urandom", seedLengthInBytes); 74 if (bytesRead != seedLengthInBytes) { 76 + " Expected: " + seedLengthInBytes + ", actual: " + bytesRead);
|
/external/skia/tools/skpdiff/ |
SkCLImageDiffer.cpp | 51 size_t bytesRead = stream->read(sourceString.writable_str(), sourceString.size()); 52 if (bytesRead != sourceString.size()) {
|
/external/smali/util/src/main/java/org/jf/util/ |
RandomAccessFileInputStream.java | 56 int bytesRead = raf.read(bytes); 57 filePosition += bytesRead; 58 return bytesRead; 63 int bytesRead = raf.read(bytes, offset, length); 64 filePosition += bytesRead; 65 return bytesRead;
|
/frameworks/av/media/img_utils/src/ |
FileInput.cpp | 54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp); 62 if (::feof(mFp) != 0 && bytesRead == 0) { 66 return bytesRead;
|
/frameworks/av/media/libnbaio/ |
AudioStreamInSource.cpp | 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize); 73 if (bytesRead > 0) { 74 size_t framesRead = bytesRead / mFrameSize; 78 return bytesRead;
|
/libcore/luni/src/main/java/java/security/ |
DigestInputStream.java | 113 int bytesRead = in.read(buffer, byteOffset, byteCount); 117 if (isOn && (bytesRead != -1)) { 118 digest.update(buffer, byteOffset, bytesRead); 121 return bytesRead;
|
/libcore/luni/src/main/java/java/util/zip/ |
CheckedInputStream.java | 82 int bytesRead = in.read(buffer, byteOffset, byteCount); 83 if (bytesRead != -1) { 84 check.update(buffer, byteOffset, bytesRead); 86 return bytesRead;
|
/cts/tests/tests/net/src/android/net/cts/ |
MultinetworkTest.java | 64 int bytesRead = Os.read(fd, buf, 0, buf.length); 65 assertLess("length of " + fileName + ":", bytesRead, buf.length);
|
/frameworks/base/libs/androidfw/ |
StreamingZipInflater.cpp | 136 size_t bytesRead = 0; 146 bytesRead += deliverable; 202 return bytesRead;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
InputStreamSource.java | 70 int bytesRead; 71 while ((bytesRead = mInputStream.read(buffer)) > 0) { 72 byteStream.write(buffer, 0, bytesRead); 73 fileSize += bytesRead;
|
/frameworks/ex/framesequence/jni/ |
Stream.cpp | 100 jint bytesRead = mEnv->CallIntMethod(mInputStream, 102 if (mEnv->ExceptionCheck() || bytesRead < 0) { 106 mEnv->GetByteArrayRegion(mByteArray, 0, bytesRead, (jbyte*)dstBuffer); 107 dstBuffer = (char*)dstBuffer + bytesRead; 108 totalBytesRead += bytesRead; 109 size -= bytesRead;
|
/external/chromium_org/third_party/skia/experimental/Networking/ |
SampleNetPipeReader.cpp | 111 size_t bytesRead; 114 &bytesRead);
|
/external/chromium_org/third_party/skia/tests/ |
FrontBufferedStreamTest.cpp | 19 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead); 20 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd()); 21 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0); 130 size_t bytesRead = this->INHERITED::read(dst, requested); 131 if (bytesRead < requested) { 134 return bytesRead;
|
/external/deqp/framework/delibs/deimage/ |
deTarga.c | 39 int bytesRead; 51 bytesRead = (int)fread(&tgaHeader, 1, 18, file); 52 DE_TEST_ASSERT(bytesRead == 18);
|
/external/skia/experimental/Networking/ |
SampleNetPipeReader.cpp | 111 size_t bytesRead; 114 &bytesRead);
|
/external/skia/tests/ |
FrontBufferedStreamTest.cpp | 19 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead); 20 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd()); 21 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0); 130 size_t bytesRead = this->INHERITED::read(dst, requested); 131 if (bytesRead < requested) { 134 return bytesRead;
|
/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/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);
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptC.java | 110 int bytesRead = is.read(pgm, pgmLength, bytesLeft); 111 if (bytesRead <= 0) { 114 pgmLength += bytesRead;
|