/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 38 int capacity = format.getSize(); in NativeFrame() 111 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts() 114 (getFormat().getSize() / nativeIntSize()) + " integers)."); in setInts() 122 return getNativeInts(getFormat().getSize()); in getInts() 128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats() 131 (getFormat().getSize() / nativeFloatSize()) + " floats)."); in setFloats() 139 return getNativeFloats(getFormat().getSize()); in getFloats() 152 } else if (getFormat().getSize() != length) { in setData() 154 "Frame size is " + getFormat().getSize() + " bytes, but " + in setData() 163 byte[] data = getNativeData(getFormat().getSize()); in getData() [all …]
|
D | VertexFrame.java | 36 if (getFormat().getSize() <= 0) { in VertexFrame() 39 if (!nativeAllocate(getFormat().getSize())) { in VertexFrame() 91 if (getFormat().getSize() != bytes.length) { in setData()
|
D | GLFrame.java | 88 } else if (getFormat().getSize() < 0) { in init() 212 if (getFormat().getSize() != bytes.length) { in setData() 260 if (getFormat().getSize() < frame.getFormat().getSize()) { in setDataFromFrame() 262 "Attempting to assign frame of size " + frame.getFormat().getSize() + " to " + in setDataFromFrame() 263 "smaller GL frame of size " + getFormat().getSize() + "!"); in setDataFromFrame()
|
D | CachedFrameManager.java | 101 int frameSize = frame.getFormat().getSize(); in storeFrame() 125 mStorageSize -= frame.getFormat().getSize(); in dropOldestFrame() 146 mStorageSize -= format.getSize(); in findAvailableFrame()
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | SHCircularBuffer.h | 42 if (mWriteIndex >= getSize()) { in write() 47 ALOGE("Error: SHCircularBuffer no space to write. allocated size %zu ", getSize()); in write() 54 if (mReadIndex >= getSize()) { in read() 67 return getSize() - mReadAvailable; in availableToWrite() 69 inline size_t getSize() const { in getSize() function
|
/frameworks/av/media/ndk/ |
D | NdkMediaDataSource.cpp | 49 AMediaDataSourceGetSize getSize; member 59 AMediaDataSource_setGetSize(mDataSource, dataSource->getSize); in NdkDataSource() 87 status_t NdkDataSource::getSize(off64_t *size) { in getSize() function in NdkDataSource 89 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) { in getSize() 93 *size = mDataSource->getSize(mDataSource->userdata); in getSize() 208 mSource->getSize = NULL; in AMediaDataSource_new() 258 void AMediaDataSource_setGetSize(AMediaDataSource *mSource, AMediaDataSourceGetSize getSize) { in AMediaDataSource_setGetSize() argument 259 mSource->getSize = getSize; in AMediaDataSource_setGetSize()
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 120 return mSharedMemory.getSize(); in length() 243 public static int getSize(FileDescriptor fd) throws IOException { in getSize() method in MemoryFile 255 if (mOffset >= mSharedMemory.getSize()) { in available() 258 return mSharedMemory.getSize() - mOffset; in available() 308 if (mOffset + n > mSharedMemory.getSize()) { in skip() 309 n = mSharedMemory.getSize() - mOffset; in skip()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 794 size_t getSize; in compressFpToFp() local 801 getSize = size > kBufSize ? kBufSize : size; in compressFpToFp() 802 memcpy(inBuf, data, getSize); in compressFpToFp() 803 data = ((const char*)data) + getSize; in compressFpToFp() 804 size -= getSize; in compressFpToFp() 806 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp() 812 if (getSize < kBufSize) { in compressFpToFp() 814 (int)getSize); in compressFpToFp() 818 crc = crc32(crc, inBuf, getSize); in compressFpToFp() 821 zstream.avail_in = getSize; in compressFpToFp() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 112 size_t newTotalSize = mTotalSize + valueSize - oldValueBlob->getSize(); in set() 152 size_t valueBlobSize = valueBlob->getSize(); in get() 172 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 198 size_t keySize = keyBlob->getSize(); in flatten() 199 size_t valueSize = valueBlob->getSize(); in flatten() 298 mTotalSize -= entry.getKey()->getSize() + entry.getValue()->getSize(); in clean() 334 size_t BlobCache::Blob::getSize() const { in getSize() function in android::BlobCache::Blob
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 144 size_t newTotalSize = mTotalSize + valueSize - oldValueBlob->getSize(); in set() 148 if (!clean(index->getKey()->getSize() + valueSize, in set() 203 size_t valueBlobSize = valueBlob->getSize(); in get() 226 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 252 size_t keySize = keyBlob->getSize(); in flatten() 253 size_t valueSize = valueBlob->getSize(); in flatten() 366 return entry.getKey()->getSize() + entry.getValue()->getSize(); in findDownTo() 403 const size_t entrySize = entry.getKey()->getSize() + entry.getValue()->getSize(); in clean() 451 size_t BlobCache::Blob::getSize() const { in getSize() function in android::BlobCache::Blob
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameManager.java | 127 public int getSize() { in getSize() method in FrameManager.BackingCache 149 public int getSize() { in getSize() method in FrameManager.BackingCacheNone 182 mSize -= backing.getSize(); in fetchBacking() 193 if (reserve(backing.getSize())) { in cacheBacking() 225 mSize -= dropped.getSize(); in reserve() 303 return mCache.getSize(); in getCacheSize()
|
D | BackingStore.java | 357 public abstract int getSize(); in getSize() method in BackingStore.Backing 476 public int getSize() { in getSize() method in BackingStore.ObjectBacking 565 public int getSize() { in getSize() method in BackingStore.BitmapBacking 627 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); in syncToAllocationBacking() 672 public int getSize() { in getSize() method in BackingStore.TextureBacking 753 float[] floats = new float[getSize() / 4]; in syncToAllocationBacking() 789 public int getSize() { in getSize() method in BackingStore.ByteBufferBacking 846 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); in syncTo() 862 bytes = new byte[getSize()]; in syncTo() 902 public int getSize() { in getSize() method in BackingStore.AllocationBacking
|
/frameworks/av/media/libmedia/ |
D | MidiIoWrapper.cpp | 72 virtual status_t getSize(off64_t *size) { in getSize() function in android::DataSourceUnwrapper 73 return mSource->getSize(mSource->handle, size); in getSize() 95 if (mDataSource->getSize(&l) == OK) { in MidiIoWrapper()
|
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 92 status_t CallbackDataSource::getSize(off64_t *size) { in getSize() function in android::CallbackDataSource 93 status_t err = mIDataSource->getSize(size); in getSize() 185 status_t TinyCacheSource::getSize(off64_t *size) { in getSize() function in android::TinyCacheSource 186 return mSource->getSize(size); in getSize()
|
/frameworks/rs/rsov/compiler/spirit/ |
D | module.cpp | 336 size_t Module::getSize(TypeVoidInst *) { return 0; } in getSize() function in android::spirit::Module 338 size_t Module::getSize(TypeIntInst *intTy) { return intTy->mOperand1 / 8; } in getSize() function in android::spirit::Module 340 size_t Module::getSize(TypeFloatInst *fpTy) { return fpTy->mOperand1 / 8; } in getSize() function in android::spirit::Module 342 size_t Module::getSize(TypeVectorInst *vTy) { in getSize() function in android::spirit::Module 343 return getSize(vTy->mOperand1.mInstruction) * vTy->mOperand2; in getSize() 346 size_t Module::getSize(TypePointerInst *) { in getSize() function in android::spirit::Module 350 size_t Module::getSize(TypeStructInst *structTy) { in getSize() function in android::spirit::Module 353 sz += getSize(ty.mInstruction); in getSize() 358 size_t Module::getSize(TypeFunctionInst *) { in getSize() function in android::spirit::Module 362 size_t Module::getSize(Instruction *inst) { in getSize() function in android::spirit::Module [all …]
|
/frameworks/av/media/img_utils/src/ |
D | TiffIfd.cpp | 120 valueOffset += mEntries[i]->getSize(); in writeData() 124 uint32_t footer = (mNextIfd != NULL) ? offset + getSize() : 0; in writeData() 136 if (mEntries[i]->getSize() > OFFSET_SIZE) { in writeData() 141 size_t actual = mEntries[i]->getSize(); in writeData() 148 assert(out->getCurrentOffset() == offset + getSize()); in writeData() 153 size_t TiffIfd::getSize() const { in getSize() function in android::img_utils::TiffIfd 158 total += mEntries[i]->getSize(); in getSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 81 private float getSize(long now) { in getSize() method in DeadZone 138 int size = (int) getSize(event.getEventTime()); in onTouchEvent() 168 Slog.v(TAG, "poked! size=" + getSize(mLastPokeTime)); 186 final int size = (int) getSize(SystemClock.uptimeMillis());
|
/frameworks/av/media/libstagefright/include/ |
D | ThrottledSource.h | 45 virtual status_t getSize(off64_t *size) { in getSize() function 46 return mSource->getSize(size); in getSize()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStatsWriter.java | 68 final int timerCount = constants.getSize(HealthKeys.TYPE_TIMER); in HealthStatsWriter() 74 final int measurementCount = constants.getSize(HealthKeys.TYPE_MEASUREMENT); in HealthStatsWriter() 79 final int statsCount = constants.getSize(HealthKeys.TYPE_STATS); in HealthStatsWriter() 83 final int timersCount = constants.getSize(HealthKeys.TYPE_TIMERS); in HealthStatsWriter() 87 final int measurementsCount = constants.getSize(HealthKeys.TYPE_MEASUREMENTS); in HealthStatsWriter()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 216 return new JarFileInputStream(is, ze.getSize(), entry); in getInputStream() 249 ze.getDataOffset() + ze.getSize()); in getZipInputStream() 254 int bufSize = Math.max(1024, (int) Math.min(ze.getSize(), 65535L)); in getZipInputStream() 409 if (entry.getSize() != bytesRead) { in read() 411 + entry.getSize()); in read() 426 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead); in available()
|
/frameworks/native/libs/binder/include/binder/ |
D | IMemory.h | 44 virtual size_t getSize() const = 0; 51 size_t virtualSize() const { return getSize(); } in virtualSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHeaderInfoLayout.kt | 77 MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.AT_MOST), in onMeasure() 79 val width = MeasureSpec.getSize(widthMeasureSpec) in onMeasure() 87 val availableSpace = MeasureSpec.getSize(width) - separatorWidth in onMeasure()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockImageSpan.java | 64 public int getSize(Paint paint, CharSequence text, int start, int end, in getSize() method in RestrictedLockImageSpan 66 int size = super.getSize(paint, text, start, end, fontMetrics); in getSize()
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 104 Assert.assertEquals(refEntry.getSize(), checkEntry.getSize()); in testCrcRange() 118 if (refEntry.getSize() > 0) { in testCrcValue() 148 if (refEntry.getSize() > 0) { in testInvalidCrcValue()
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffEntryImpl.h | 48 size_t getSize() const; 96 size_t TiffEntryImpl<T>::getSize() const { in getSize() function 198 total += mData[i]->getSize(); in getActualSize() 208 offset += mData[i]->getSize(); in writeData()
|