Home
last modified time | relevance | path

Searched refs:totalCapacity (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp815 int32_t totalCapacity = 0; in getFormats() local
816 …for (int32_t partIndex = 0; (partIndex = nextTopLevelArgStart(partIndex)) >= 0; ++totalCapacity) {} in getFormats()
821 t->formatAliasesCapacity = totalCapacity; in getFormats()
829 } else if (totalCapacity > formatAliasesCapacity) { in getFormats()
831 uprv_realloc(formatAliases, sizeof(Format*) * totalCapacity); in getFormats()
837 t->formatAliasesCapacity = totalCapacity; in getFormats()
/external/guava/android/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java184 int totalCapacity = 0; in checkMaximumSize() local
186 totalCapacity += map.segments[i].maxSegmentSize; in checkMaximumSize()
188 assertTrue("totalCapcity=" + totalCapacity + ", maxSize=" + maxSize, totalCapacity <= maxSize); in checkMaximumSize()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java184 int totalCapacity = 0; in checkMaximumSize() local
186 totalCapacity += map.segments[i].maxSegmentSize; in checkMaximumSize()
188 assertTrue("totalCapcity=" + totalCapacity + ", maxSize=" + maxSize, totalCapacity <= maxSize); in checkMaximumSize()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java425 long totalCapacity = 0; in checkMaximumSize() local
430 totalCapacity += map.segments[i].maxSegmentWeight; in checkMaximumSize()
432 assertTrue("totalCapacity=" + totalCapacity + ", maxSize=" + maxSize, totalCapacity == maxSize); in checkMaximumSize()
444 totalCapacity = 0; in checkMaximumSize()
446 totalCapacity += map.segments[i].maxSegmentWeight; in checkMaximumSize()
448 assertTrue("totalCapacity=" + totalCapacity + ", maxSize=" + maxSize, totalCapacity == maxSize); in checkMaximumSize()
/external/guava/android/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java428 long totalCapacity = 0; in checkMaximumSize() local
433 totalCapacity += map.segments[i].maxSegmentWeight; in checkMaximumSize()
435 assertTrue("totalCapacity=" + totalCapacity + ", maxSize=" + maxSize, totalCapacity == maxSize); in checkMaximumSize()
447 totalCapacity = 0; in checkMaximumSize()
449 totalCapacity += map.segments[i].maxSegmentWeight; in checkMaximumSize()
451 assertTrue("totalCapacity=" + totalCapacity + ", maxSize=" + maxSize, totalCapacity == maxSize); in checkMaximumSize()