/libcore/ojluni/src/main/java/sun/security/jca/ |
JCAUtil.java | 50 * cache efficient. totalSize indicates the total amount of data to 53 public static int getTempArraySize(int totalSize) { 54 return Math.min(ARRAY_SIZE, totalSize);
|
/external/icu/icu4c/source/i18n/ |
collationdatawriter.cpp | 224 int32_t totalSize = indexesLength * 4; 232 indexes[CollationDataReader::IX_REORDER_CODES_OFFSET] = totalSize; 233 totalSize += reorderCodesLength * 4; 235 indexes[CollationDataReader::IX_REORDER_TABLE_OFFSET] = totalSize; 237 totalSize += 256; 240 indexes[CollationDataReader::IX_TRIE_OFFSET] = totalSize; 244 if(totalSize < capacity) { 245 length = utrie2_serialize(data.trie, dest + totalSize, 246 capacity - totalSize, &errorCode2); 257 totalSize += length [all...] |
/external/lzma/CPP/Windows/ |
FileSystem.h | 23 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
|
FileSystem.cpp | 86 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize)
99 totalSize = totalSize2.QuadPart;
114 totalSize = totalSize2.QuadPart;
123 totalSize = clusterSize * (UInt64)numClusters;
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
renderControl_enc.cpp | 32 const size_t totalSize = sizeWithoutChecksum + checksumSize; 33 buf = stream->alloc(totalSize); 36 memcpy(ptr, &totalSize, 4); ptr += 4; 73 const size_t totalSize = sizeWithoutChecksum + checksumSize; 74 buf = stream->alloc(totalSize); 77 memcpy(ptr, &totalSize, 4); ptr += 4; 119 const size_t totalSize = sizeWithoutChecksum + checksumSize; 120 buf = stream->alloc(totalSize); 123 memcpy(ptr, &totalSize, 4); ptr += 4; 164 const size_t totalSize = sizeWithoutChecksum + checksumSize [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DictionaryData.java | 65 int totalSize = indexes[IX_TOTAL_SIZE] - offset; 69 byte[] data = new byte[totalSize]; 73 Assert.assrt(totalSize % 2 == 0); 74 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DictionaryData.java | 64 int totalSize = indexes[IX_TOTAL_SIZE] - offset; 68 byte[] data = new byte[totalSize]; 72 Assert.assrt(totalSize % 2 == 0); 73 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
StorageSummaryDonutPreferenceController.java | 100 long totalSize = svp.getPrimaryStorageSize(); 102 if (totalSize <= 0) { 103 totalSize = sharedDataSize; 106 final long usedBytes = totalSize - volume.getPath().getFreeSpace(); 107 updateBytes(usedBytes, totalSize);
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
gl2_enc.cpp | 32 const size_t totalSize = sizeWithoutChecksum + checksumSize; 33 buf = stream->alloc(totalSize); 36 memcpy(ptr, &totalSize, 4); ptr += 4; 57 const size_t totalSize = sizeWithoutChecksum + checksumSize; 58 buf = stream->alloc(totalSize); 61 memcpy(ptr, &totalSize, 4); ptr += 4; 84 const size_t totalSize = sizeWithoutChecksum + checksumSize; 85 buf = stream->alloc(totalSize); 88 memcpy(ptr, &totalSize, 4); ptr += 4; 112 const size_t totalSize = sizeWithoutChecksum + checksumSize [all...] |
/device/generic/goldfish-opengl/system/GLESv1_enc/ |
gl_enc.cpp | 32 const size_t totalSize = sizeWithoutChecksum + checksumSize; 33 buf = stream->alloc(totalSize); 36 memcpy(ptr, &totalSize, 4); ptr += 4; 58 const size_t totalSize = sizeWithoutChecksum + checksumSize; 59 buf = stream->alloc(totalSize); 62 memcpy(ptr, &totalSize, 4); ptr += 4; 86 const size_t totalSize = sizeWithoutChecksum + checksumSize; 87 buf = stream->alloc(totalSize); 90 memcpy(ptr, &totalSize, 4); ptr += 4; 112 const size_t totalSize = sizeWithoutChecksum + checksumSize [all...] |
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
Utils.java | 39 int totalSize = Arrays.stream(arrays).mapToInt((int[] array) -> array.length).sum(); 40 int[] newArray = Arrays.copyOf(arrays[0], totalSize);
|
/art/tools/ahat/src/main/com/android/ahat/ |
OverviewHandler.java | 60 Size totalSize = Size.ZERO; 67 totalSize = totalSize.plus(size); 71 SizeTable.row(doc, DocString.text("Total"), totalSize, totalBase);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
Statistics.java | 119 private int totalSize; 138 this.totalSize = size; 152 totalSize += size; 182 totalSize + " bytes total\n"); 187 int average = totalSize / count;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
Statistics.java | 118 private int totalSize; 137 this.totalSize = size; 151 totalSize += size; 181 totalSize + " bytes total\n"); 186 int average = totalSize / count;
|
/frameworks/base/cmds/incidentd/src/ |
report_directory.cpp | 113 off_t totalSize = 0; 131 totalSize += st.st_size; 138 if (totalSize < maxSize && totalCount < maxCount) { 147 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) { 149 totalSize -= it->second.st_size;
|
/frameworks/base/libs/hwui/ |
GpuMemoryTracker.cpp | 40 int totalSize = 0; 50 gObjectStats[static_cast<int>(mType)].totalSize += delta; 95 stream << " is using " << SizePrinter{stats.totalSize}; 106 return gObjectStats[static_cast<int>(type)].totalSize; 115 ATRACE_INT(buf, stats.totalSize);
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
FetchDownloadsLoader.java | 86 result.totalSize += currentFile.length(); 107 public long totalSize; 117 long totalSize, 121 this.totalSize = totalSize;
|
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/ |
FetchDownloadsLoaderTest.java | 45 assertEquals(0, result.totalSize); 57 assertEquals(0, result.totalSize); 71 assertEquals(0, result.totalSize); 94 assertEquals(9, result.totalSize); 110 assertEquals(9, result.totalSize);
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTPAssembler.cpp | 77 size_t totalSize = 0; 81 totalSize += (*it)->size() + 7; 84 sp<ABuffer> accessUnit = new ABuffer(totalSize); 124 size_t totalSize = 0; 127 totalSize += (*it)->size(); 130 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
Allocation.java | 43 long totalSize = 0; 45 totalSize += allocation.size; 47 return totalSize;
|
/external/brotli/csharp/org/brotli/dec/ |
Huffman.cs | 105 int totalSize = tableSize;
109 for (key = 0; key < totalSize; key++)
127 int mask = totalSize - 1;
139 totalSize += tableSize;
|
/external/brotli/java/org/brotli/dec/ |
Huffman.java | 91 int totalSize = tableSize; 95 for (key = 0; key < totalSize; key++) { 112 int mask = totalSize - 1; 121 totalSize += tableSize;
|
/external/freetype/src/psaux/ |
psarrst.c | 70 arrstack->totalSize = 0; 85 arrstack->totalSize = 0; 113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) 116 arrstack->totalSize = newSize;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
MultidimensionalCounter.java | 61 private final int totalSize; 186 totalSize = tS; 217 index >= totalSize) { 218 throw new OutOfRangeException(index, 0, totalSize); 280 return totalSize;
|
/frameworks/av/media/libstagefright/ |
NuCachedSource2.cpp | 48 size_t totalSize() const { 339 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); 363 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); 419 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { 492 && mCacheOffset + mCache->totalSize() - mLastAccessPos 510 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize()); 527 && offset + size <= mCacheOffset + mCache->totalSize()) { 567 return mCacheOffset + mCache->totalSize(); 583 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize(); [all...] |