/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 121 size_t totalSize = 0; local 123 totalSize += subSamples[i].mNumBytesOfEncryptedData; 124 totalSize += subSamples[i].mNumBytesOfClearData; 127 data.writeInt32(totalSize); 128 data.write(srcPtr, totalSize); 237 size_t totalSize = data.readInt32(); local 238 void *srcData = malloc(totalSize); 239 data.read(srcData, totalSize); 254 dstPtr = malloc(totalSize); 277 CHECK_LE(result, static_cast<ssize_t>(totalSize)); [all...] |
/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/ |
H A D | NuCachedSource2.cpp | 46 size_t totalSize() const { function in struct:android::PageCache 297 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); 317 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); 373 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { 442 && mCacheOffset + mCache->totalSize() - mLastAccessPos 460 ALOGI("restarting prefetcher, totalSize = %d", mCache->totalSize()); 474 && offset + size <= mCacheOffset + mCache->totalSize()) { 509 return mCacheOffset + mCache->totalSize(); 525 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize(); 600 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;
|
H A D | OggExtractor.cpp | 430 size_t totalSize = 0;; local 432 totalSize += page->mLace[i]; 447 return sizeof(header) + page->mNumSegments + totalSize;
|
H A D | ACodec.cpp | 494 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local 495 mDealer[portIndex] = new MemoryDealer(totalSize, "ACodec"); 744 size_t totalSize = bufferCount * 8; local 745 mDealer[kPortIndexOutput] = new MemoryDealer(totalSize, "ACodec");
|
H A D | OMXCodec.cpp | 1545 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local 1546 mDealer[portIndex] = new MemoryDealer(totalSize, "OMXCodec");
|
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 40 int totalSize; member in struct:android::SnapshotHeader
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 432 const size_t totalSize = lenSize + encLenSize + local 435 void* dat = (void*)pool->editData(preSize + strPos + totalSize); 457 strPos += totalSize; 479 const size_t totalSize = (N*sizeof(ResStringPool_span)) local 483 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize); 497 styPos += totalSize;
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 373 size_t totalSize = 0; local 375 iterateOverNativeFiles(env, javaFilePath, javaCpuAbi, javaCpuAbi2, sumFiles, &totalSize); 377 return 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/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 734 int totalSize = 0; 763 totalSize += INTEGER_BYTE_COUNT + keyBytes.length; 767 totalSize += INTEGER_BYTE_COUNT + valueBytes.length; 778 byte[] result = new byte[totalSize];
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 965 private int calculateTranslate(int start, int startSize, int totalSize, float scale) { argument 979 int scaleFromEdge = Math.round((totalSize - totalSize * scale) / 2); 985 int blankSize = Math.round((totalSize * scale - startSize) / 2);
|
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 964 private int calculateTranslate(int start, int startSize, int totalSize, float scale) { argument 978 int scaleFromEdge = Math.round((totalSize - totalSize * scale) / 2); 984 int blankSize = Math.round((totalSize * scale - startSize) / 2);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 540 size_t totalSize = 0; local 576 size_t auSize = 4 * nals.size() + totalSize; 636 totalSize += nalSize;
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 250 final long totalSize = stat.f_blocks * stat.f_bsize; 252 return new long[] { totalSize, availSize };
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 137 if (header.totalSize != bytesRead) { 138 ALOGW("read_snapshot_file length mismatch: header.totalSize=%d bytesRead=%d\n", 139 header.totalSize, bytesRead);
|
H A D | ResourceTypes.cpp | 1262 const uint32_t totalSize = dtohl(next->header.size); local 1287 if ((totalSize-headerSize) < minExtSize) { 1291 (int)(totalSize-headerSize), (int)minExtSize);
|