/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 38 int64_t voidSize(int64_t totalSize) { in voidSize() argument 39 if (totalSize < 2) { in voidSize() 42 if (totalSize < 9) { in voidSize() 43 return totalSize - 2; in voidSize() 45 return totalSize - 9; in voidSize() 52 total += (*it)->totalSize(); in childrenSum() 98 uint64_t WebmElement::totalSize() { in totalSize() function in android::WebmElement 105 size = totalSize(); in serialize() 113 size = totalSize(); in write() 214 EbmlVoid::EbmlVoid(uint64_t totalSize) in EbmlVoid() argument [all …]
|
D | WebmElement.h | 35 uint64_t totalSize(); 113 EbmlVoid(uint64_t totalSize);
|
D | WebmWriter.cpp | 309 uint64_t cuesSize = cues->totalSize(); in reset() 329 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); in reset() local 330 uint64_t segmentSize = totalSize - mSegmentDataStart; in reset()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 77 size_t totalSize = 0; in MakeADTSCompoundFromAACFrames() local 81 totalSize += (*it)->size() + 7; in MakeADTSCompoundFromAACFrames() 84 sp<ABuffer> accessUnit = new ABuffer(totalSize); in MakeADTSCompoundFromAACFrames() 124 size_t totalSize = 0; in MakeCompoundFromPackets() local 127 totalSize += (*it)->size(); in MakeCompoundFromPackets() 130 sp<ABuffer> accessUnit = new ABuffer(totalSize); in MakeCompoundFromPackets()
|
D | AAVCAssembler.cpp | 215 size_t totalSize = size - 2; in addFragmentedNALUnit() local 260 totalSize += size - 2; in addFragmentedNALUnit() 285 ++totalSize; in addFragmentedNALUnit() 287 sp<ABuffer> unit = new ABuffer(totalSize); in addFragmentedNALUnit() 308 unit->setRange(0, totalSize); in addFragmentedNALUnit() 322 size_t totalSize = 0; in submitAccessUnit() local 325 totalSize += 4 + (*it)->size(); in submitAccessUnit() 328 sp<ABuffer> accessUnit = new ABuffer(totalSize); in submitAccessUnit()
|
D | AH263Assembler.cpp | 159 size_t totalSize = 0; in submitAccessUnit() local 164 totalSize += unit->size(); in submitAccessUnit() 168 sp<ABuffer> accessUnit = new ABuffer(totalSize); in submitAccessUnit()
|
D | AAMRAssembler.cpp | 152 size_t totalSize = 0; in addPacket() local 177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f); in addPacket() 186 sp<ABuffer> accessUnit = new ABuffer(totalSize); in addPacket()
|
/frameworks/av/media/libstagefright/ |
D | NuCachedSource2.cpp | 48 size_t totalSize() const { in totalSize() function 328 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); in fetchInternal() 352 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); in fetchInternal() 408 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { in onFetch() 481 && mCacheOffset + mCache->totalSize() - mLastAccessPos in restartPrefetcherIfNecessary_l() 499 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize()); in restartPrefetcherIfNecessary_l() 516 && offset + size <= mCacheOffset + mCache->totalSize()) { in readAt() 556 return mCacheOffset + mCache->totalSize(); in cachedSize() 572 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize(); in approxDataRemaining_l() 594 || offset >= (off64_t)(mCacheOffset + mCache->totalSize())) { in readInternal() [all …]
|
D | WAVExtractor.cpp | 149 size_t totalSize = U32_LE_AT(&header[4]); in init() local 152 size_t remainingSize = totalSize; in init()
|
D | OggExtractor.cpp | 440 size_t totalSize = 0;; in readPage() local 442 totalSize += page->mLace[i]; in readPage() 457 return sizeof(header) + page->mNumSegments + totalSize; in readPage()
|
/frameworks/av/media/libmedia/ |
D | ICrypto.cpp | 122 size_t totalSize = 0; in decrypt() local 124 totalSize += subSamples[i].mNumBytesOfEncryptedData; in decrypt() 125 totalSize += subSamples[i].mNumBytesOfClearData; in decrypt() 128 data.writeInt32(totalSize); in decrypt() 129 data.write(srcPtr, totalSize); in decrypt() 247 size_t totalSize = data.readInt32(); in onTransact() local 248 void *srcData = malloc(totalSize); in onTransact() 249 data.read(srcData, totalSize); in onTransact() 264 dstPtr = malloc(totalSize); in onTransact() 287 CHECK_LE(result, static_cast<ssize_t>(totalSize)); in onTransact()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
D | AesCtrDecryptorUnittest.cpp | 44 template <size_t totalSize> 50 uint8_t outputBuffer[totalSize] = {}; in attemptDecryptExpectingSuccess() 55 EXPECT_EQ(totalSize, bytesDecrypted); in attemptDecryptExpectingSuccess() 56 EXPECT_EQ(0, memcmp(outputBuffer, decrypted, totalSize)); in attemptDecryptExpectingSuccess()
|
/frameworks/av/media/img_utils/src/ |
D | TiffWriter.cpp | 69 uint32_t totalSize = getTotalSize(); in write() local 76 if (mNamedIfds[i]->setStripOffset(totalSize) != OK) { in write() 80 totalSize += stripSize; in write() 81 WORD_ALIGN(totalSize); in write() 82 offsetVector.add(mNamedIfds.keyAt(i), totalSize); in write() 373 uint32_t totalSize = FILE_HEADER_SIZE; in getTotalSize() local 376 totalSize += ifd->getSize(); in getTotalSize() 379 return totalSize; in getTotalSize()
|
D | DngUtils.cpp | 241 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + in addGainMap() local 244 err = mEndianOut.write(&totalSize, 0, 1); in addGainMap()
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 452 const size_t totalSize = lenSize + encLenSize + in writeStringBlock() local 455 void* dat = (void*)pool->editData(preSize + strPos + totalSize); in writeStringBlock() 477 strPos += totalSize; in writeStringBlock() 499 const size_t totalSize = (N*sizeof(ResStringPool_span)) in writeStringBlock() local 503 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize); in writeStringBlock() 517 styPos += totalSize; in writeStringBlock()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | HeapTest.java | 164 int totalSize = 0; in xxtestSoftRefPartialClean() local 166 while (i < junk.length && totalSize < 8 * 1024 * 1024) { in xxtestSoftRefPartialClean() 171 totalSize += r * 4; in xxtestSoftRefPartialClean()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestThreadManager.java | 217 int totalSize = data.length + LegacyCameraDevice.nativeGetJpegFooterSize(); 218 totalSize = (totalSize + 3) & ~0x3; // round up to nearest octonibble 226 int dimen = (int) Math.ceil(Math.sqrt(totalSize)); 232 LegacyCameraDevice.setSurfaceDimens(s, totalSize, /*height*/1); 233 LegacyCameraDevice.produceFrame(s, data, totalSize, /*height*/1,
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 479 size_t totalSize = 0; in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries() local 481 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, sumFiles, &totalSize); in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries() 483 return totalSize; in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 456 long totalSize = rowStride * height + offset; in writeByteBuffer() local 457 if (capacity < totalSize) { in writeByteBuffer() 459 " is too small (must be larger than " + totalSize + ")"); in writeByteBuffer()
|
/frameworks/base/include/androidfw/ |
D | BackupHelpers.h | 40 int totalSize; member
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
D | DefaultContainerService.java | 225 final long totalSize = stat.f_blocks * stat.f_bsize; 227 return new long[] { totalSize, availSize };
|
/frameworks/base/docs/html/training/articles/ |
D | perf-anr.jd | 109 long totalSize = 0; 111 totalSize += Downloader.downloadFile(urls[i]); 116 return totalSize;
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 820 int totalSize = 0; in extractRelevantValues() local 849 totalSize += INTEGER_BYTE_COUNT + keyBytes.length; in extractRelevantValues() 853 totalSize += INTEGER_BYTE_COUNT + valueBytes.length; in extractRelevantValues() 864 byte[] result = new byte[totalSize]; in extractRelevantValues()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 1082 private int calculateTranslate(int start, int startSize, int totalSize, float scale) { in calculateTranslate() argument 1096 int scaleFromEdge = Math.round((totalSize - totalSize * scale) / 2); in calculateTranslate() 1102 int blankSize = Math.round((totalSize * scale - startSize) / 2); in calculateTranslate()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 791 size_t totalSize = 0; in dequeueAccessUnitH264() local 827 size_t auSize = 4 * nals.size() + totalSize; in dequeueAccessUnitH264() 895 totalSize += nalSize; in dequeueAccessUnitH264()
|