/frameworks/base/core/java/android/content/res/ |
D | AssetFileDescriptor.java | 202 private long mRemaining; field in AssetFileDescriptor.AutoCloseInputStream 207 mRemaining = (int)fd.getLength(); in AutoCloseInputStream() 212 return mRemaining >= 0 in available() 213 ? (mRemaining < 0x7fffffff ? (int)mRemaining : 0x7fffffff) in available() 226 if (mRemaining >= 0) { in read() 227 if (mRemaining == 0) return -1; in read() 228 if (count > mRemaining) count = (int)mRemaining; in read() 230 if (res >= 0) mRemaining -= res; in read() 244 if (mRemaining >= 0) { in skip() 245 if (mRemaining == 0) return -1; in skip() [all …]
|
/frameworks/av/media/libaaudio/src/utility/ |
D | LinearRamp.cpp | 24 mRemaining = mLengthInFrames; in isRamping() 27 return mRemaining > 0; in isRamping() 36 if (frames >= mRemaining) { in nextSegment() 38 mRemaining = 0; in nextSegment() 41 level = mLevelFrom + (frames * (mLevelTo - mLevelFrom) / mRemaining); in nextSegment() 42 mRemaining -= frames; in nextSegment()
|
D | LinearRamp.h | 91 int32_t mRemaining = 0; variable
|
/frameworks/av/media/libnbaio/ |
D | SourceAudioBufferProvider.cpp | 28 mAllocated(NULL), mSize(0), mOffset(0), mRemaining(0), mGetCount(0), mFramesReleased(0) in SourceAudioBufferProvider() 52 if (mRemaining > 0) { in getNextBuffer() 53 ALOG_ASSERT(mOffset + mRemaining <= mSize); in getNextBuffer() 54 if (mRemaining < buffer->frameCount) { in getNextBuffer() 55 buffer->frameCount = mRemaining; in getNextBuffer() 80 mRemaining = actual; in getNextBuffer() 99 (mGetCount <= mRemaining) && in releaseBuffer() 100 (mOffset + mRemaining <= mSize)); in releaseBuffer() 102 mRemaining -= buffer->frameCount; in releaseBuffer()
|
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 387 mRemaining(0), in TimestretchBufferProvider() 422 if (pBuffer->frameCount <= mRemaining) { in getNextBuffer() 432 if (mRemaining != 0) { in getNextBuffer() 433 memcpy(newmem, mLocalBufferData, mRemaining * mFrameSize); in getNextBuffer() 442 const size_t outputDesired = pBuffer->frameCount - mRemaining; in getNextBuffer() 453 if (mRemaining == 0) { in getNextBuffer() 459 pBuffer->frameCount = mRemaining; in getNextBuffer() 465 dstAvailable = min(mLocalBufferFrameCount - mRemaining, outputDesired); in getNextBuffer() 467 processFrames((uint8_t*)mLocalBufferData + mRemaining * mFrameSize, &dstAvailable, in getNextBuffer() 476 mRemaining += dstAvailable; in getNextBuffer() [all …]
|
/frameworks/ex/framesequence/jni/ |
D | Stream.cpp | 104 return mRemaining; in getRawBufferSize() 111 size = min(size, mRemaining); in doRead() 114 mRemaining -= size; in doRead()
|
D | Stream.h | 48 mRemaining(size), in MemoryStream() 59 size_t mRemaining; variable
|
/frameworks/av/include/media/nbaio/ |
D | SourceAudioBufferProvider.h | 48 size_t mRemaining; // frame count within mAllocated of valid data variable
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
D | SourceAudioBufferProvider.h | 48 size_t mRemaining; // frame count within mAllocated of valid data variable
|
/frameworks/av/include/media/ |
D | BufferProviders.h | 201 size_t mRemaining; // remaining data in local buffer variable
|
/frameworks/av/media/libmedia/include/media/ |
D | BufferProviders.h | 201 size_t mRemaining; // remaining data in local buffer variable
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 805 mRemaining = 0; in BufferHelper() 810 mData = getPointer(mEnv, mBuffer, &mRemaining); in checkPointer() 826 return mRemaining; in remaining() 833 jint mRemaining; member in android::BufferHelper
|