/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
D | IsMapContainingKeyTest.java | 11 import static org.hamcrest.collection.IsMapContaining.hasKey; 17 return hasKey("foo"); in createMatcher() 24 assertMatches("Matches single key", hasKey("a"), map); in testMatchesSingletonMapContainingKey() 33 assertMatches("Matches a", hasKey("a"), map); in testMatchesMapContainingKey() 34 assertMatches("Matches c", hasKey("c"), map); in testMatchesMapContainingKey() 54 assertThat(map, hasKey(1)); in testMatchesMapContainingKeyWithIntegerKeys() 62 assertThat(map, hasKey((Number)1)); in testMatchesMapContainingKeyWithNumberKeys() 69 assertDescription("map containing [\"a\"->ANYTHING]", hasKey("a")); in testHasReadableDescription() 73 assertMismatchDescription("map was []", hasKey("Foo"), new HashMap<String,Integer>()); in testDoesNotMatchEmptyMap() 82 assertMismatchDescription("map was [<a=1>, <b=2>, <c=3>]", hasKey("d"), map); in testDoesNotMatchMapMissingKey()
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
D | IsMapContaining.java | 87 public static <K> Matcher<Map<? extends K, ?>> hasKey(Matcher<? super K> keyMatcher) { in hasKey() method in IsMapContaining 100 public static <K> Matcher<Map<? extends K, ?>> hasKey(K key) { in hasKey() method in IsMapContaining
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | LDML2ICUBinaryWriter.java | 284 if (!res.hasKey) { in getSpecialType() 614 if (cur.hasKey && (cur instanceof ICUResourceWriter.ResourceString)) { in addCollation() 845 if (!resTop.isTop && resTop.hasKey) { in buildKeyList() 860 current.hasKey = false; in buildKeyList()
|
D | ICUResourceWriter.java | 114 public boolean hasKey = true; field in ICUResourceWriter.Resource
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalLoadingCacheTest.java | 163 assertThat(map).hasKey(three).withValue(one); in testStatsNoops() 164 assertThat(map).hasKey(one).withValue(two); in testStatsNoops()
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
D | Matchers.java | 1087 …public static <K> org.hamcrest.Matcher<java.util.Map<? extends K,?>> hasKey(org.hamcrest.Matcher<?… in hasKey() method in Matchers 1088 return org.hamcrest.collection.IsMapContaining.<K>hasKey(keyMatcher); in hasKey() 1100 public static <K> org.hamcrest.Matcher<java.util.Map<? extends K,?>> hasKey(K key) { in hasKey() method in Matchers 1101 return org.hamcrest.collection.IsMapContaining.<K>hasKey(key); in hasKey()
|
/external/hamcrest/ |
D | CHANGES.txt | 84 generics bug in hasKey and hasValue static factories previously declared
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 430 bool hasKey = resource->resourcePriv().getScratchKey().isValid() || hasUniqueKey; in notifyCntReachedZero() local 431 if (!this->overBudget() && hasKey) { in notifyCntReachedZero()
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 464 bool hasKey = resource->resourcePriv().getScratchKey().isValid() || hasUniqueKey; in notifyCntReachedZero() local 465 if (!this->overBudget() && hasKey) { in notifyCntReachedZero()
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 310 public IRubyObject hasKey(ThreadContext context, IRubyObject key) { in hasKey() method in RubyMap
|