Home
last modified time | relevance | path

Searched refs:keyCount (Results 1 – 14 of 14) 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.cpp3889 int32_t keyCount = 0; in TestKeywordVariants() local
3905 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants()
3906 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
3908 if(keyCount) { in TestKeywordVariants()
3927 if(j == keyCount / 2) { in TestKeywordVariants()
3930 if(k2 == NULL || keyCount != k2->count(status)) { in TestKeywordVariants()
/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/android/guava/src/com/google/common/collect/
DImmutableListMultimap.java377 int keyCount = stream.readInt(); in readObject() local
378 if (keyCount < 0) { in readObject()
379 throw new InvalidObjectException("Invalid key count " + keyCount); in readObject()
384 for (int i = 0; i < keyCount; i++) { in readObject()
DImmutableSetMultimap.java504 int keyCount = stream.readInt(); in readObject() local
505 if (keyCount < 0) { in readObject()
506 throw new InvalidObjectException("Invalid key count " + keyCount); in readObject()
511 for (int i = 0; i < keyCount; i++) { in readObject()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DActionFile.java114 int keyCount = input.readInt(); in readDownloadRequest() local
115 for (int i = 0; i < keyCount; i++) { in readDownloadRequest()
/external/guava/guava/src/com/google/common/collect/
DImmutableListMultimap.java475 int keyCount = stream.readInt(); in readObject() local
476 if (keyCount < 0) { in readObject()
477 throw new InvalidObjectException("Invalid key count " + keyCount); in readObject()
482 for (int i = 0; i < keyCount; i++) { in readObject()
DImmutableSetMultimap.java609 int keyCount = stream.readInt(); in readObject() local
610 if (keyCount < 0) { in readObject()
611 throw new InvalidObjectException("Invalid key count " + keyCount); in readObject()
616 for (int i = 0; i < keyCount; i++) { in readObject()
/external/icu/libicu/cts_headers/
Dunifiedcache.h287 int32_t keyCount() const;
/external/icu/icu4c/source/common/
Dunifiedcache.h287 int32_t keyCount() const;
Dunifiedcache.cpp153 int32_t UnifiedCache::keyCount() const { in keyCount() function in UnifiedCache
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c1926 int32_t keyCount = 0; in TestKeywordVariants() local
1942 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants()
1943 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
1945 if(keyCount) { in TestKeywordVariants()