/external/icu4c/tools/toolutil/ |
swapimpl.cpp | 118 int32_t totalSize=udata_readInt32(ds, inIndexes[PropNameData::IX_TOTAL_SIZE]); 120 if(length<totalSize) { 123 (int)length, (int)totalSize); 138 totalSize-numBytesIndexesAndValueMaps); 154 return headerSize+totalSize;
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
MipMapGenerator.java | 90 int totalSize = 0; 97 totalSize += converted.getData(0).capacity(); 111 ByteBuffer combinedData = BufferUtils.createByteBuffer(totalSize);
|
/frameworks/av/media/libmedia/ |
ICrypto.cpp | 121 size_t totalSize = 0; 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(); 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/ |
AAMRAssembler.cpp | 152 size_t totalSize = 0; 177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f); 186 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
AAVCAssembler.cpp | 215 size_t totalSize = size - 2; 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; 325 totalSize += 4 + (*it)->size(); 328 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
/frameworks/base/include/androidfw/ |
BackupHelpers.h | 40 int totalSize;
|
/dalvik/vm/ |
AllocTracker.cpp | 572 size_t baseSize, totalSize; 575 totalSize = baseSize; 576 totalSize += computeStringTableSize(classNames); 577 totalSize += computeStringTableSize(methodNames); 578 totalSize += computeStringTableSize(fileNames); 579 ALOGI("Generated AT, size is %zd/%zd", baseSize, totalSize); 586 buffer = (u1*) malloc(totalSize); 592 if (strPtr - buffer != (int)totalSize) { 593 ALOGE("size mismatch (%d vs %zd)", strPtr - buffer, totalSize); 596 //dvmPrintHexDump(buffer, totalSize); [all...] |
/dalvik/vm/oo/ |
Array.cpp | 51 size_t totalSize = elementSize + headerSize; 52 if (elementSize >> elementShift != length || totalSize < elementSize) { 58 ArrayObject* newArray = (ArrayObject*)dvmMalloc(totalSize, allocFlags); 62 dvmTrackAllocation(arrayClass, totalSize);
|
/device/lge/mako/camera/inc/ |
omx_jpeg_ext.h | 53 int totalSize;
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
MemoryCacheTest.cpp | 326 const unsigned totalSize = lowPrioritySize + highPrioritySize; 350 ASSERT_EQ(memoryCache()->liveSize(), totalSize); 360 ASSERT_EQ(memoryCache()->liveSize(), totalSize - lowPriorityMockDecodeSize); 366 ASSERT_EQ(memoryCache()->liveSize(), totalSize - lowPriorityMockDecodeSize - highPriorityMockDecodeSize);
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
SQLiteDatabase.cpp | 221 int64_t SQLiteDatabase::totalSize()
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
SharedBuffer.cpp | 385 unsigned totalSize = size(); 386 if (position >= totalSize) { 394 return totalSize - position; 409 unsigned bytesLeft = totalSize - consecutiveSize;
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
Scrollbar.h | 89 virtual int totalSize() const { return m_totalSize; } 112 void setProportion(int visibleSize, int totalSize);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebPluginScrollbarImpl.cpp | 145 int WebPluginScrollbarImpl::totalSize() const 147 return m_scrollbar->totalSize(); 210 m_scrollbar->setEnabled(m_scrollbar->totalSize() > length); 211 m_scrollbar->setProportion(length, m_scrollbar->totalSize());
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebApplicationCacheHost.h | 102 long long totalSize; 103 CacheInfo() : creationTime(0), updateTime(0), totalSize(0) { }
|
/external/chromium_org/third_party/sqlite/src/src/ |
mem2.c | 248 int totalSize; 253 totalSize = nReserve + sizeof(*pHdr) + sizeof(int) + 255 p = malloc(totalSize);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheTesting.java | 170 int totalSize = 0; 172 totalSize += segment.maxSegmentWeight; 174 return totalSize;
|
/external/lzma/C/ |
XzIn.c | 60 ADD_SIZE_CHECH(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3);
104 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize);
106 if (block->totalSize == 0)
206 UInt64 totalSize = Xz_GetPackSize(p);
207 UInt64 sum = XZ_STREAM_HEADER_SIZE + totalSize + indexSize;
208 if (totalSize == XZ_SIZE_OVERFLOW ||
210 totalSize >= ((UInt64)1 << 63))
|
/frameworks/base/core/jni/ |
com_android_internal_content_NativeLibraryHelper.cpp | 373 size_t totalSize = 0; 375 iterateOverNativeFiles(env, javaFilePath, javaCpuAbi, javaCpuAbi2, sumFiles, &totalSize); 377 return totalSize;
|
/frameworks/base/tests/CoreTests/android/core/ |
HeapTest.java | 164 int totalSize = 0; 166 while (i < junk.length && totalSize < 8 * 1024 * 1024) { 171 totalSize += r * 4;
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
DatabaseBackendBase.cpp | 585 int64_t totalSize = m_sqliteDatabase.totalSize(); 586 if (totalSize <= 10 * freeSpaceSize) {
|
/external/chromium_org/third_party/icu/source/common/ |
ucnvsel.cpp | 181 int32_t totalSize = 0; 184 totalSize += 187 // 4-align the totalSize to 4-align the size of the serialized form 188 int32_t encodingStrPadding = totalSize & 3; 192 newSelector->encodingStrLength = totalSize += encodingStrPadding; 193 char* allStrings = (char*) uprv_malloc(totalSize); 313 int32_t totalSize = 319 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; 320 if (totalSize > bufferCapacity) { 322 return totalSize; [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
uspoof_impl.cpp | 877 int32_t totalSize = headerSize + spoofDataLength; 879 return totalSize; 885 if (length < totalSize) { 959 return totalSize;
|
/external/icu4c/common/ |
ucnvsel.cpp | 183 int32_t totalSize = 0; 186 totalSize += 189 // 4-align the totalSize to 4-align the size of the serialized form 190 int32_t encodingStrPadding = totalSize & 3; 194 newSelector->encodingStrLength = totalSize += encodingStrPadding; 195 char* allStrings = (char*) uprv_malloc(totalSize); 315 int32_t totalSize = 321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; 322 if (totalSize > bufferCapacity) { 324 return totalSize; [all...] |
/external/icu4c/i18n/ |
uspoof_impl.cpp | 755 int32_t totalSize = headerSize + spoofDataLength; 757 return totalSize; 763 if (length < totalSize) { 840 return totalSize;
|