Home
last modified time | relevance | path

Searched refs:keyCount (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dunifiedcachetest.cpp157 assertEquals("T2", 2*UPRV_LENGTHOF(usedReferences), cache.keyCount()); in TestEvictionPolicy()
165 assertEquals("T3", 0, cache.keyCount()); in TestEvictionPolicy()
213 assertEquals("T3", 5, cache.keyCount()); in TestBounded()
231 assertEquals("T5", 6, cache.keyCount()); in TestBounded()
263 assertEquals("T13", 6, cache.keyCount()); in TestBounded()
272 assertEquals("T15", 8, cache.keyCount()); in TestBounded()
288 assertEquals("T17", 3, cache.keyCount()); in TestBounded()
302 int32_t baseCount = cache->keyCount(); in TestBasic()
328 assertEquals("T2", baseCount + 5, cache->keyCount()); in TestBasic()
334 assertEquals("T3", baseCount + 2, cache->keyCount()); in TestBasic()
[all …]
Dloctest.cpp1684 int32_t keyCount = 0; in TestKeywordVariants() local
1700 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants()
1701 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
1703 if(keyCount) { in TestKeywordVariants()
1722 if(j == keyCount / 2) { in TestKeywordVariants()
1725 if(k2 == NULL || keyCount != k2->count(status)) { in TestKeywordVariants()
/external/guava/guava-gwt/src/com/google/common/collect/
DMultimap_CustomFieldSerializerBase.java41 int keyCount = reader.readInt(); in instantiate() local
42 for (int i = 0; i < keyCount; ++i) { in instantiate()
56 int keyCount = reader.readInt(); in populate() local
57 for (int i = 0; i < keyCount; ++i) { in populate()
/external/skqp/src/gpu/gradients/
DGrGradientBitmapCache.cpp178 int keyCount = 1 + colorsAsIntCount + 1 + 1; in getGradient() local
180 keyCount += count - 1; in getGradient()
183 SkAutoSTMalloc<64, int32_t> storage(keyCount); in getGradient()
196 SkASSERT(buffer - storage.get() == keyCount); in getGradient()
202 size_t size = keyCount * sizeof(int32_t); in getGradient()
/external/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp178 int keyCount = 1 + colorsAsIntCount + 1 + 1; in getGradient() local
180 keyCount += count - 1; in getGradient()
183 SkAutoSTMalloc<64, int32_t> storage(keyCount); in getGradient()
196 SkASSERT(buffer - storage.get() == keyCount); in getGradient()
202 size_t size = keyCount * sizeof(int32_t); in getGradient()
/external/cldr/tools/java/org/unicode/cldr/test/
DHelpMessages.java145 int keyCount = 0; in find() local
162 keyCount++; in find()
178 if (keyCount > 1) { in find()
/external/guava/guava/src/com/google/common/collect/
DImmutableListMultimap.java352 int keyCount = stream.readInt(); in readObject() local
353 if (keyCount < 0) { in readObject()
354 throw new InvalidObjectException("Invalid key count " + keyCount); in readObject()
360 for (int i = 0; i < keyCount; i++) { in readObject()
DImmutableSetMultimap.java497 int keyCount = stream.readInt(); in readObject() local
498 if (keyCount < 0) { in readObject()
499 throw new InvalidObjectException("Invalid key count " + keyCount); in readObject()
505 for (int i = 0; i < keyCount; i++) { in readObject()
/external/icu/icu4c/source/common/
Dunifiedcache.h287 int32_t keyCount() const;
Dunifiedcache.cpp150 int32_t UnifiedCache::keyCount() const { in keyCount() function in UnifiedCache
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c1737 int32_t keyCount = 0; in TestKeywordVariants() local
1753 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants()
1754 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
1756 if(keyCount) { in TestKeywordVariants()