/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/angle/src/libANGLE/renderer/d3d/d3d11/winrt/ |
D | InspectableNativeWindow.cpp | 133 boolean *hasKey, in GetOptionalPropertyValue() argument 136 if (!propertyMap || !hasKey) in GetOptionalPropertyValue() 142 *hasKey = false; in GetOptionalPropertyValue() 144 HRESULT result = propertyMap->HasKey(HStringReference(propertyName).Get(), hasKey); in GetOptionalPropertyValue() 145 if (SUCCEEDED(result) && !(*hasKey)) in GetOptionalPropertyValue() 182 boolean hasKey = false; in GetOptionalSizePropertyValue() local 193 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); in GetOptionalSizePropertyValue() 194 if (SUCCEEDED(result) && hasKey) in GetOptionalSizePropertyValue() 248 boolean hasKey = false; in GetOptionalSinglePropertyValue() local 259 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); in GetOptionalSinglePropertyValue() [all …]
|
D | InspectableNativeWindow.h | 134 boolean *hasKey,
|
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/regex/ |
D | RegexTransformerTest.java | 101 assertThat(results.get(0)).hasKey("/numberingSystems/foo/algorithmic:int"); in testMultipleResults() 105 assertThat(results.get(1)).hasKey("/numberingSystems/foo/desc"); in testMultipleResults() 109 assertThat(results.get(2)).hasKey("/numberingSystems/foo/radix:int"); in testMultipleResults() 131 assertThat(results.get(0)).hasKey("/genderList/xx"); in testImplicitArgumentSplitting() 133 assertThat(results.get(1)).hasKey("/genderList/yy"); in testImplicitArgumentSplitting() 135 assertThat(results.get(2)).hasKey("/genderList/zz"); in testImplicitArgumentSplitting() 150 assertThat(results.get(0)).hasKey("/mapTimezones/\"not split\"/XX"); in testImplicitArgumentSplitting() 152 assertThat(results.get(1)).hasKey("/mapTimezones/\"not split\"/YY"); in testImplicitArgumentSplitting() 154 assertThat(results.get(2)).hasKey("/mapTimezones/\"not split\"/ZZ"); in testImplicitArgumentSplitting() 294 assertThat(fallbacks.get(0)).hasKey(rbPath); in testFallbacks_simple() [all …]
|
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/ |
D | ResultSubject.java | 46 public final void hasKey(RbPath path) { in hasKey() method in ResultSubject 50 public final void hasKey(String path) { in hasKey() method in ResultSubject 51 hasKey(RbPath.parse(path)); in hasKey()
|
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MapEntry.java | 247 private boolean hasKey; field in MapEntry.Builder 254 private Builder(Metadata<K, V> metadata, K key, V value, boolean hasKey, boolean hasValue) { in Builder() argument 258 this.hasKey = hasKey; in Builder() 272 this.hasKey = true; in setKey() 278 this.hasKey = false; in clearKey() 410 return field.getNumber() == 1 ? hasKey : hasValue; in hasField() 441 return new Builder<>(metadata, key, value, hasKey, hasValue); in clone()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MapEntry.java | 247 private boolean hasKey; field in MapEntry.Builder 254 private Builder(Metadata<K, V> metadata, K key, V value, boolean hasKey, boolean hasValue) { in Builder() argument 258 this.hasKey = hasKey; in Builder() 272 this.hasKey = true; in setKey() 278 this.hasKey = false; in clearKey() 414 return field.getNumber() == 1 ? hasKey : hasValue; in hasField() 445 return new Builder<>(metadata, key, value, hasKey, hasValue); in clone()
|
/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/cldr-code/src/main/java/org/unicode/cldr/icu/ |
D | LDML2ICUBinaryWriter.java | 286 if (!res.hasKey) { in getSpecialType() 616 if (cur.hasKey && (cur instanceof ICUResourceWriter.ResourceString)) { in addCollation() 847 if (!resTop.isTop && resTop.hasKey) { in buildKeyList() 862 current.hasKey = false; in buildKeyList()
|
D | ICUResourceWriter.java | 114 public boolean hasKey = true; field in ICUResourceWriter.Resource
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/transforms/ |
D | TransformProtos.java | 128 Preconditions.checkArgument(subparam.hasKey()); in toEncodedSpec()
|
/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/wayland-protocols/ |
D | wayland_protocol_codegen.go | 761 if conflictWith, hasKey := distinctOutputs[outFileRaw]; hasKey {
|
/external/skia/src/gpu/ganesh/ |
D | GrResourceCache.cpp | 366 bool hasKey = resource->resourcePriv().getScratchKey().isValid() || hasUniqueKey; in notifyARefCntReachedZero() local 367 if (!this->overBudget() && hasKey) { in notifyARefCntReachedZero()
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 325 public IRubyObject hasKey(ThreadContext context, IRubyObject key) { in hasKey() method in RubyMap
|
/external/cronet/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 325 public IRubyObject hasKey(ThreadContext context, IRubyObject key) { in hasKey() method in RubyMap
|