/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/ |
D | amrnbdec_test.cpp | 67 int bytesRead = fread(header, 1, kFileHeaderSize, fpInput); in main() local 68 if (bytesRead != kFileHeaderSize || memcmp(header, "#!AMR\n", kFileHeaderSize)) { in main() 107 bytesRead = fread(&mode, 1, 1, fpInput); in main() 108 if (bytesRead != 1) break; in main() 120 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 121 if (bytesRead != frameSize) break; in main()
|
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
D | amrwbdec_test.cpp | 68 int bytesRead = fread(header, 1, kFileHeaderSize, fpInput); in main() local 69 if ((bytesRead != kFileHeaderSize) || in main() 116 bytesRead = fread(&modeByte, 1, 1, fpInput); in main() 117 if (bytesRead != 1) break; in main() 133 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 134 if (bytesRead != frameSize) break; in main()
|
/frameworks/ex/framesequence/jni/ |
D | Stream.cpp | 128 jint bytesRead = mEnv->CallIntMethod(mInputStream, in doRead() local 130 if (mEnv->ExceptionCheck() || bytesRead < 0) { in doRead() 134 mEnv->GetByteArrayRegion(mByteArray, 0, bytesRead, (jbyte*)dstBuffer); in doRead() 135 dstBuffer = (char*)dstBuffer + bytesRead; in doRead() 136 totalBytesRead += bytesRead; in doRead() 137 size -= bytesRead; in doRead()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbRequest.java | 155 int bytesRead; in dequeue() local 157 bytesRead = native_dequeue_direct(); in dequeue() 159 bytesRead = native_dequeue_array(mBuffer.array(), mLength, out); in dequeue() 161 if (bytesRead >= 0) { in dequeue() 162 mBuffer.position(Math.min(bytesRead, mLength)); in dequeue()
|
/frameworks/av/media/libnbaio/ |
D | AudioStreamInSource.cpp | 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize); in read() local 73 if (bytesRead > 0) { in read() 74 size_t framesRead = bytesRead / mFrameSize; in read() 78 return bytesRead; in read()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | InputStreamSource.java | 70 int bytesRead; in process() local 71 while ((bytesRead = mInputStream.read(buffer)) > 0) { in process() 72 byteStream.write(buffer, 0, bytesRead); in process() 73 fileSize += bytesRead; in process()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | GraphReader.java | 47 int bytesRead; in readGraphResource() local 48 while ((bytesRead = reader.read(buffer, 0, 1024)) > 0) { in readGraphResource() 49 writer.write(buffer, 0, bytesRead); in readGraphResource()
|
/frameworks/av/media/img_utils/src/ |
D | FileInput.cpp | 54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp); in read() local 62 if (::feof(mFp) != 0 && bytesRead == 0) { in read() 66 return bytesRead; in read()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/ |
D | amrnb_enc_test.cpp | 107 int bytesRead; in encode() local 108 bytesRead = fread(inputBuf, 1, kInputSize, fSrc); in encode() 109 if (bytesRead != kInputSize && !feof(fSrc)) { in encode() 113 } else if (feof(fSrc) && bytesRead == 0) { in encode()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3dec_test.cpp | 100 uint32_t bytesRead; in main() local 101 bool success = mp3Reader.getFrame(inputBuf, &bytesRead); in main() 105 config.inputBufferCurrentLength = bytesRead; in main()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 103 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate() local 104 if (bytesRead <= 0) { in internalCreate() 107 pgmLength += bytesRead; in internalCreate()
|
D | Program.java | 264 int bytesRead = is.read(str, strLength, bytesLeft); in setShader() local 265 if (bytesRead <= 0) { in setShader() 268 strLength += bytesRead; in setShader()
|
/frameworks/base/core/java/android/util/ |
D | Base64InputStream.java | 139 int bytesRead = in.read(inputBuffer); in refill() local 141 if (bytesRead == -1) { in refill() 145 success = coder.process(inputBuffer, 0, bytesRead, false); in refill()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 349 private long bytesRead = 0; field in StrictJarFile.ZipInflaterInputStream 362 + bytesRead, e); in read() 365 if (entry.getSize() != bytesRead) { in read() 366 throw new IOException("Size mismatch on inflated file: " + bytesRead + " vs " in read() 370 bytesRead += i; in read() 382 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead); in available()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptC.java | 104 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate() local 105 if (bytesRead <= 0) { in internalCreate() 108 pgmLength += bytesRead; in internalCreate()
|
/frameworks/base/libs/androidfw/ |
D | StreamingZipInflater.cpp | 138 size_t bytesRead = 0; in read() local 148 bytesRead += deliverable; in read() 204 return bytesRead; in read()
|
D | BackupHelpers.cpp | 89 int bytesRead = 0; in read_snapshot_file() local 97 bytesRead += amt; in read_snapshot_file() 110 … ALOGW("read_snapshot_file FileState truncated/error with read at %d bytes\n", bytesRead); in read_snapshot_file() 113 bytesRead += amt; in read_snapshot_file() 124 bytesRead += amt; in read_snapshot_file() 129 ALOGW("read_snapshot_file filename truncated/error with read at %d bytes\n", bytesRead); in read_snapshot_file() 134 if (header.totalSize != bytesRead) { in read_snapshot_file() 136 header.totalSize, bytesRead); in read_snapshot_file()
|
/frameworks/av/media/libstagefright/httplive/ |
D | HTTPDownloader.cpp | 141 ssize_t bytesRead = 0; in fetchBlock() local 200 bytesRead += n; in fetchBlock() 211 return bytesRead; in fetchBlock()
|
D | PlaylistFetcher.cpp | 1261 ssize_t bytesRead; in onDownloadNext() local 1264 bytesRead = mHTTPDownloader->fetchBlock( in onDownloadNext() 1269 if (bytesRead == ERROR_NOT_CONNECTED) { in onDownloadNext() 1272 if (bytesRead < 0) { in onDownloadNext() 1273 status_t err = bytesRead; in onDownloadNext() 1282 if (!mStartup && mStopParams == NULL && bytesRead > 0 in onDownloadNext() 1286 mSession->addBandwidthMeasurement(bytesRead, delayUs); in onDownloadNext() 1289 bytesRead, (double)delayUs / 1.0e6); in onDownloadNext() 1299 buffer->setRange(size - bytesRead, bytesRead); in onDownloadNext() 1325 tsBuffer->setRange(tsBuffer->offset(), tsBuffer->size() + bytesRead); in onDownloadNext() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
D | m4v_h263_enc_test.cpp | 204 int32_t bytesRead; in main() local 205 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 206 if (bytesRead != frameSize) { in main()
|
/frameworks/base/core/jni/android/graphics/ |
D | CreateJavaOutputStreamAdaptor.cpp | 64 size_t bytesRead = 0; in doRead() local 105 bytesRead += n; in doRead() 110 return bytesRead; in doRead()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/test/ |
D | h264_enc_test.cpp | 275 int32_t bytesRead; in main() local 276 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 277 if (bytesRead != frameSize) { in main()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | DiskBasedCache.java | 119 byte[] data = streamToBytes(cis, (int) (file.length() - cis.bytesRead)); in get() 449 private int bytesRead = 0; field in DiskBasedCache.CountingInputStream 459 bytesRead++; in read() 468 bytesRead += result; in read()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | BasePrintTest.java | 239 int bytesRead; in runShellCommand() local 242 while ((bytesRead = fis.read(buf)) != -1) { in runShellCommand() 243 stdout.append(new String(buf, 0, bytesRead)); in runShellCommand()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 685 ssize_t bytesRead = -1; local 699 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes); 700 if (bytesRead < 0) { 708 return bytesRead;
|