Home
last modified time | relevance | path

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

/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedListMultimap.java127 private transient Multiset<K> keyCount; // the number of values for each key field in LinkedListMultimap
163 keyCount = LinkedHashMultiset.create(); in LinkedListMultimap()
169 keyCount = LinkedHashMultiset.create(expectedKeys); in LinkedListMultimap()
222 keyCount.add(key); in addNode()
256 keyCount.remove(node.key); in removeNode()
411 int size = keyCount.count(key); in ValueForKeyIterator()
499 return keyCount.size(); in size()
636 keyCount.clear(); in clear()
656 return keyCount.count(key); in get()
678 return keyCount.elementSet().size();
[all …]
/external/guava/guava/src/com/google/common/collect/
DLinkedListMultimap.java131 private transient Multiset<K> keyCount; // the number of values for each key field in LinkedListMultimap
167 keyCount = LinkedHashMultiset.create(); in LinkedListMultimap()
173 keyCount = LinkedHashMultiset.create(expectedKeys); in LinkedListMultimap()
226 keyCount.add(key); in addNode()
260 keyCount.remove(node.key); in removeNode()
415 int size = keyCount.count(key); in ValueForKeyIterator()
503 return keyCount.size(); in size()
640 keyCount.clear(); in clear()
660 return keyCount.count(key); in get()
682 return keyCount.elementSet().size();
[all …]
DImmutableListMultimap.java346 int keyCount = stream.readInt(); in readObject() local
347 if (keyCount < 0) { in readObject()
348 throw new InvalidObjectException("Invalid key count " + keyCount); in readObject()
354 for (int i = 0; i < keyCount; i++) { in readObject()
DImmutableSetMultimap.java443 int keyCount = stream.readInt(); in readObject() local
444 if (keyCount < 0) { in readObject()
445 throw new InvalidObjectException("Invalid key count " + keyCount); in readObject()
451 for (int i = 0; i < keyCount; i++) { in readObject()
/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DPropertyResourceBundleTest.java109 int keyCount = 0; in test_getKeys() local
112 keyCount++; in test_getKeys()
115 assertEquals("Returned the wrong number of keys", 2, keyCount); in test_getKeys()
/external/chromium_org/third_party/WebKit/Tools/lldb/
Dlldb_webkit.py66 return "{ tableSize = %d, keyCount = %d }" % (provider.tableSize(), provider.keyCount())
244 def keyCount(self): member in WTFHashTableProvider
/external/icu4c/test/intltest/
Dloctest.cpp1622 int32_t keyCount = 0; in TestKeywordVariants() local
1638 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants()
1639 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
1641 if(keyCount) { in TestKeywordVariants()
1660 if(j == keyCount / 2) { in TestKeywordVariants()
1663 if(k2 == NULL || keyCount != k2->count(status)) { in TestKeywordVariants()
/external/chromium_org/third_party/icu/source/test/intltest/
Dloctest.cpp1601 int32_t keyCount = 0; in TestKeywordVariants() local
1617 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants()
1618 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
1620 if(keyCount) { in TestKeywordVariants()
1639 if(j == keyCount / 2) { in TestKeywordVariants()
1642 if(k2 == NULL || keyCount != k2->count(status)) { in TestKeywordVariants()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcloctst.c1485 int32_t keyCount = 0; in TestKeywordVariants() local
1501 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants()
1502 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
1504 if(keyCount) { in TestKeywordVariants()
/external/icu4c/test/cintltst/
Dcloctst.c1631 int32_t keyCount = 0; in TestKeywordVariants() local
1647 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants()
1648 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
1650 if(keyCount) { in TestKeywordVariants()
/external/chromium_org/chrome/third_party/chromevox/
DchromeVoxChromeOptionsScript.js1497keyCount=0;a.addEventListener("keypress",goog.bind(function(a){if("cvoxKey"!=a.target.id){this.key…
1498 this.keyCount=1):this.keySequence.addKeyEvent(a);var c=cvox.KeyUtil.keySequenceToString(this.keySeq…
DchromeVoxChromeBackgroundScript.js1550keyCount=0;a.addEventListener("keypress",goog.bind(function(a){if("cvoxKey"!=a.target.id){this.key…
1551 this.keyCount=1):this.keySequence.addKeyEvent(a);var c=cvox.KeyUtil.keySequenceToString(this.keySeq…