/frameworks/base/cmds/incidentd/src/ |
D | report_directory.cpp | 56 off_t totalSize = 0; in clean_directory() local 74 totalSize += st.st_size; in clean_directory() 81 if (totalSize < maxSize && totalCount < maxCount) { in clean_directory() 90 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) { in clean_directory() 92 totalSize -= it->second.st_size; in clean_directory()
|
D | WorkDirectory.cpp | 702 off_t totalSize = 0; in get_directory_contents_locked() local 743 totalSize += st.st_size; in get_directory_contents_locked() 766 return totalSize; in get_directory_contents_locked() 777 off_t totalSize = get_directory_contents_locked(&files, 0); in clean_directory_locked() local 778 if (totalSize < 0) { in clean_directory_locked() 784 if (totalSize < mMaxDiskUsageBytes && totalCount < mMaxFileCount) { in clean_directory_locked() 791 it != files.end() && (totalSize >= mMaxDiskUsageBytes in clean_directory_locked() 796 totalSize -= it->second.size; in clean_directory_locked()
|
/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/libdatasource/ |
D | NuCachedSource2.cpp | 48 size_t totalSize() const { in totalSize() function 343 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); in fetchInternal() 367 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); in fetchInternal() 423 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { in onFetch() 496 && mCacheOffset + mCache->totalSize() - mLastAccessPos in restartPrefetcherIfNecessary_l() 514 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize()); in restartPrefetcherIfNecessary_l() 531 && offset + size <= mCacheOffset + mCache->totalSize()) { in readAt() 571 return mCacheOffset + mCache->totalSize(); in cachedSize() 595 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize(); in approxDataRemaining_l() 624 || offset >= (off64_t)(mCacheOffset + mCache->totalSize())) { in readInternal() [all …]
|
/frameworks/base/libs/hwui/ |
D | GpuMemoryTracker.cpp | 39 int totalSize = 0; member 49 gObjectStats[static_cast<int>(mType)].totalSize += delta; in notifySizeChanged() 94 stream << " is using " << SizePrinter{stats.totalSize}; in dump() 105 return gObjectStats[static_cast<int>(type)].totalSize; in getTotalSize() 114 ATRACE_INT(buf, stats.totalSize); in onFrameCompleted()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 40 int64_t voidSize(int64_t totalSize) { in voidSize() argument 41 if (totalSize < 2) { in voidSize() 44 if (totalSize < 9) { in voidSize() 45 return totalSize - 2; in voidSize() 47 return totalSize - 9; in voidSize() 54 total += (*it)->totalSize(); in childrenSum() 100 uint64_t WebmElement::totalSize() { in totalSize() function in android::WebmElement 107 size = totalSize(); in serialize() 115 size = totalSize(); in write() 216 EbmlVoid::EbmlVoid(uint64_t totalSize) in EbmlVoid() argument [all …]
|
D | WebmElement.h | 37 uint64_t totalSize(); 118 explicit EbmlVoid(uint64_t totalSize);
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 202 size_t totalSize = align4(entrySize); in flatten() local 203 if (byteOffset + totalSize > size) { in flatten() 215 if (totalSize > entrySize) { in flatten() 218 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize); in flatten() 221 byteOffset += totalSize; in flatten() 268 size_t totalSize = align4(entrySize); in unflatten() local 269 if (byteOffset + totalSize > size) { in unflatten() 278 byteOffset += totalSize; in unflatten()
|
/frameworks/av/drm/libmediadrm/ |
D | ICrypto.cpp | 123 size_t totalSize = 0; in decrypt() local 125 totalSize += subSamples[i].mNumBytesOfEncryptedData; in decrypt() 126 totalSize += subSamples[i].mNumBytesOfClearData; in decrypt() 129 data.writeInt32(totalSize); in decrypt() 337 size_t totalSize = data.readInt32(); in onTransact() local 379 if (totalSize > dest->size() || in onTransact() 380 (size_t)dest->offset() > dest->size() - totalSize) { in onTransact() 410 if (overflow || sumSubsampleSizes != totalSize) { in onTransact() 412 } else if (totalSize > source.mSharedMemory->size()) { in onTransact() 414 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) { in onTransact()
|
/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() 372 uint32_t totalSize = FILE_HEADER_SIZE; in getTotalSize() local 375 totalSize += ifd->getSize(); in getTotalSize() 378 return totalSize; in getTotalSize()
|
D | DngUtils.cpp | 316 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + in addGainMap() local 319 err = mEndianOut.write(&totalSize, 0, 1); in addGainMap() 404 uint32_t totalSize = (NUMBER_CENTER_ARGS + NUMBER_COEFFS) * sizeof(double) + sizeof(uint32_t); in addWarpRectilinear() local 406 err = mEndianOut.write(&totalSize, 0, 1); in addWarpRectilinear() 457 uint32_t totalSize = (NUM_NON_VARLEN_FIELDS + badPointCount * SIZE_OF_POINT + in addBadPixelList() local 459 err = mEndianOut.write(&totalSize, 0, 1); in addBadPixelList()
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 255 size_t totalSize = align4(entrySize); in flatten() local 256 if (byteOffset + totalSize > size) { in flatten() 268 if (totalSize > entrySize) { in flatten() 271 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize); in flatten() 274 byteOffset += totalSize; in flatten() 319 size_t totalSize = align4(entrySize); in unflatten() local 320 if (byteOffset + totalSize > size) { in unflatten() 329 byteOffset += totalSize; in unflatten()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/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/base/core/java/android/os/ |
D | BinderProxy.java | 212 final int totalSize = size(); in set() local 214 + " total = " + totalSize); in set() 216 if (Build.IS_DEBUGGABLE && totalSize >= CRASH_AT_SIZE) { in set() 227 + totalSize + " (total), " + totalUnclearedSize + " (uncleared), " in set() 229 } else if (totalSize > 3 * totalUnclearedSize / 2) { in set() 231 + (totalSize - totalUnclearedSize) + " of " + totalSize in set()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Stats.java | 90 long totalSize = 0; in getTotalSize() local 92 totalSize += size; in getTotalSize() 94 return totalSize; in getTotalSize()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 49 public long totalSize; field in StorageMeasurement.MeasurementDetails 86 return "MeasurementDetails: [totalSize: " + totalSize + " availSize: " + availSize in toString() 157 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage() 163 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicCompositeStream.cpp | 1334 uint32_t totalSize = 0; in findAppSegmentsSize() local 1343 totalSize += sizeof(app1Marker); in findAppSegmentsSize() 1345 uint16_t app1Size = (static_cast<uint16_t>(appSegmentBuffer[totalSize]) << 8) + in findAppSegmentsSize() 1346 appSegmentBuffer[totalSize+1]; in findAppSegmentsSize() 1347 totalSize += app1Size; in findAppSegmentsSize() 1351 while (totalSize < expectedSize) { in findAppSegmentsSize() 1352 if (appSegmentBuffer[totalSize] != 0xFF || in findAppSegmentsSize() 1353 appSegmentBuffer[totalSize+1] <= 0xE1 || in findAppSegmentsSize() 1354 appSegmentBuffer[totalSize+1] > 0xEF) { in findAppSegmentsSize() 1357 appSegmentBuffer[totalSize], appSegmentBuffer[totalSize+1]); in findAppSegmentsSize() [all …]
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 267 int totalSize = parseKeySizes(packageDir, datastore); in performBackupInternal() local 278 int updatedSize = totalSize; in performBackupInternal() 356 int totalSize = 0; in parseKeySizes() local 366 totalSize += size; in parseKeySizes() 373 Log.v(TAG, " TOTAL: " + totalSize); in parseKeySizes() 380 return totalSize; in parseKeySizes()
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 459 const size_t totalSize = lenSize + encLenSize + in writeStringBlock() local 462 void* dat = (void*)pool->editData(preSize + strPos + totalSize); in writeStringBlock() 484 strPos += totalSize; in writeStringBlock() 506 const size_t totalSize = (N*sizeof(ResStringPool_span)) in writeStringBlock() local 510 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize); in writeStringBlock() 524 styPos += totalSize; in writeStringBlock()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 303 ssize_t totalSize = 0; in getSubSampleInfo() local 330 totalSize += subSamples[i].numBytesOfClearData + in getSubSampleInfo() 346 if (totalSize < 0) { in getSubSampleInfo() 350 return totalSize; in getSubSampleInfo()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 727 long totalSize = mResult.get(); in preflightFullBackup() local 729 if (totalSize < 0) { in preflightFullBackup() 730 return (int) totalSize; in preflightFullBackup() 733 Slog.v(TAG, "Got preflight response; size=" + totalSize); in preflightFullBackup() 738 result = transport.checkFullBackupSize(totalSize); in preflightFullBackup() 742 pkg.packageName + ": " + totalSize + " of " + mQuota); in preflightFullBackup() 745 callback -> agent.doQuotaExceeded(totalSize, mQuota, callback), in preflightFullBackup()
|
/frameworks/ml/nn/common/operations/ |
D | TopK_V2.cpp | 47 const int totalSize = getNumberOfElements(inputShape); in evalGeneric() local 51 for (int rowBegin = 0; rowBegin < totalSize; rowBegin += rowSize) { in evalGeneric()
|