/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.cpp | 77 size_t totalSize = 0; local 81 totalSize += (*it)->size() + 7; 84 sp<ABuffer> accessUnit = new ABuffer(totalSize); 124 size_t totalSize = 0; local 127 totalSize += (*it)->size(); 130 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AAVCAssembler.cpp | 215 size_t totalSize = size - 2; local 260 totalSize += size - 2; 283 // Leave room for the header. So far totalSize did not include the 285 ++totalSize; 287 sp<ABuffer> unit = new ABuffer(totalSize); 308 unit->setRange(0, totalSize); 322 size_t totalSize = 0; local 325 totalSize += 4 + (*it)->size(); 328 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AH263Assembler.cpp | 159 size_t totalSize = 0; local 164 totalSize += unit->size(); 168 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AAMRAssembler.cpp | 152 size_t totalSize = 0; local 177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f); 186 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 38 int64_t voidSize(int64_t totalSize) { argument 39 if (totalSize < 2) { 42 if (totalSize < 9) { 43 return totalSize - 2; 45 return totalSize - 9; 52 total += (*it)->totalSize(); 98 uint64_t WebmElement::totalSize() { function in class:android::WebmElement 105 size = totalSize(); 113 size = totalSize(); 214 EbmlVoid::EbmlVoid(uint64_t totalSize) argument [all...] |
H A D | WebmElement.h | 35 uint64_t totalSize(); 113 EbmlVoid(uint64_t totalSize);
|
H A D | WebmWriter.cpp | 277 uint64_t cuesSize = cues->totalSize(); 297 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); local 298 uint64_t segmentSize = totalSize - mSegmentDataStart;
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 48 size_t totalSize() const { function in struct:android::PageCache 337 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); 361 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); 417 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { 490 && mCacheOffset + mCache->totalSize() - mLastAccessPos 508 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize()); 525 && offset + size <= mCacheOffset + mCache->totalSize()) { 565 return mCacheOffset + mCache->totalSize(); 581 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize(); 663 size_t totalSize = mCache->totalSize(); local [all...] |
H A D | WAVExtractor.cpp | 149 size_t totalSize = U32_LE_AT(&header[4]); local 152 size_t remainingSize = totalSize;
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 124 size_t totalSize = 0; local 126 totalSize += subSamples[i].mNumBytesOfEncryptedData; 127 totalSize += subSamples[i].mNumBytesOfClearData; 130 data.writeInt32(totalSize); 282 size_t totalSize = data.readInt32(); local 300 dstPtr = calloc(1, totalSize); 322 if (overflow || sumSubsampleSizes != totalSize) { 324 } else if (offset + totalSize > sharedBuffer->size()) { 346 CHECK_LE(result, static_cast<ssize_t>(totalSize));
|
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 239 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + local 242 err = mEndianOut.write(&totalSize, 0, 1); 342 uint32_t totalSize = (NUMBER_CENTER_ARGS + NUMBER_COEFFS) * sizeof(double) + sizeof(uint32_t); local 344 err = mEndianOut.write(&totalSize, 0, 1); 395 uint32_t totalSize = (NUM_NON_VARLEN_FIELDS + badPointCount * SIZE_OF_POINT + local 397 err = mEndianOut.write(&totalSize, 0, 1);
|
H A D | TiffWriter.cpp | 69 uint32_t totalSize = getTotalSize(); local 76 if (mNamedIfds[i]->setStripOffset(totalSize) != OK) { 80 totalSize += stripSize; 81 WORD_ALIGN(totalSize); 82 offsetVector.add(mNamedIfds.keyAt(i), totalSize); 372 uint32_t totalSize = FILE_HEADER_SIZE; local 375 totalSize += ifd->getSize(); 378 return totalSize;
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 470 const size_t totalSize = lenSize + encLenSize + 473 void* dat = (void*)pool->editData(preSize + strPos + totalSize); 495 strPos += totalSize; 517 const size_t totalSize = (N*sizeof(ResStringPool_span)) 521 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize); 535 styPos += totalSize;
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | HeapTest.java | 164 int totalSize = 0; 166 while (i < junk.length && totalSize < 8 * 1024 * 1024) { 171 totalSize += r * 4;
|
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 42 int totalSize; member in struct:android::SnapshotHeader
|
/frameworks/base/tools/aapt2/ |
H A D | StringPool.cpp | 319 const size_t totalSize = encodedLengthUnits<char>(entry->value.size()) local 323 char* data = out->nextBlock<char>(totalSize); 332 const size_t totalSize = encodedLengthUnits<char16_t>(entry->value.size()) local 335 char16_t* data = out->nextBlock<char16_t>(totalSize);
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 471 long totalSize = ((long) rowStride) * height + offset; 472 if (capacity < totalSize) { 474 " is too small (must be larger than " + totalSize + ")");
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 502 size_t totalSize = 0; local 504 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, sumFiles, &totalSize); 506 return totalSize;
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestThreadManager.java | 223 int totalSize = data.length + LegacyCameraDevice.nativeGetJpegFooterSize(); 224 totalSize = (totalSize + 3) & ~0x3; // round up to nearest octonibble 232 int dimen = (int) Math.ceil(Math.sqrt(totalSize)); 238 LegacyCameraDevice.setSurfaceDimens(s, totalSize, /*height*/1); 239 LegacyCameraDevice.produceFrame(s, data, totalSize, /*height*/1,
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 225 final long totalSize = stat.f_blocks * stat.f_bsize; 227 return new long[] { totalSize, availSize };
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageMeasurement.java | 80 public long totalSize; field in class:StorageMeasurement.MeasurementDetails 398 details.totalSize = file.getTotalSpace();
|
/frameworks/support/design/src/android/support/design/internal/ |
H A D | NavigationMenuPresenter.java | 385 for (int i = 0, totalSize = mMenu.getVisibleItems().size(); i < totalSize; i++) {
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
H A D | AesCtrDecryptorUnittest.cpp | 44 template <size_t totalSize> 50 uint8_t outputBuffer[totalSize] = {}; 55 EXPECT_EQ(totalSize, bytesDecrypted); 56 EXPECT_EQ(0, memcmp(outputBuffer, decrypted, totalSize));
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewController.java | 1097 private int calculateTranslate(int start, int startSize, int totalSize, float scale) { argument 1111 int scaleFromEdge = Math.round((totalSize - totalSize * scale) / 2); 1117 int blankSize = Math.round((totalSize * scale - startSize) / 2);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 950 int totalSize = 0; 982 totalSize += INTEGER_BYTE_COUNT + keyBytes.length; 986 totalSize += INTEGER_BYTE_COUNT + valueBytes.length; 997 byte[] result = new byte[totalSize];
|