/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 | 208 size_t totalSize = size - 2; local 253 totalSize += size - 2; 276 // Leave room for the header. So far totalSize did not include the 278 ++totalSize; 280 sp<ABuffer> unit = new ABuffer(totalSize); 301 unit->setRange(0, totalSize); 315 size_t totalSize = 0; local 318 totalSize += 4 + (*it)->size(); 321 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AH263Assembler.cpp | 133 size_t totalSize = 0; local 138 totalSize += unit->size(); 142 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AAMRAssembler.cpp | 153 size_t totalSize = 0; local 178 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f); 187 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 | 148 size_t totalSize = U32_LE_AT(&header[4]); local 151 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 | 435 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local 436 mDealer[portIndex] = new MemoryDealer(totalSize, "ACodec");
|
H A D | OMXCodec.cpp | 1541 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local 1542 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 | 706 int totalSize = 0; 733 totalSize += INTEGER_BYTE_COUNT + keyBytes.length; 737 totalSize += INTEGER_BYTE_COUNT + valueBytes.length; 748 byte[] result = new byte[totalSize];
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 532 size_t totalSize = 0; local 568 size_t auSize = 4 * nals.size() + totalSize; 628 totalSize += nalSize;
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 245 final long totalSize = stat.f_blocks * stat.f_bsize; 247 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 | 1126 const uint32_t totalSize = dtohl(next->header.size); local 1151 if ((totalSize-headerSize) < minExtSize) { 1155 (int)(totalSize-headerSize), (int)minExtSize);
|