Home
last modified time | relevance | path

Searched refs:getAll (Results 1 – 25 of 154) sorted by relevance

1234567

/external/guava/guava-tests/test/com/google/common/cache/
DCacheEvictionTest.java190 getAll(cache, asList(0, 1, 2)); in testEviction_lru()
195 getAll(cache, asList(10, 11, 12)); in testEviction_lru()
200 getAll(cache, asList(6, 7, 8)); in testEviction_lru()
205 getAll(cache, asList(13, 14, 15)); in testEviction_lru()
223 getAll(cache, asList(0, 1, 2)); in testEviction_weightedLru()
228 getAll(cache, asList(10)); in testEviction_weightedLru()
233 getAll(cache, asList(6, 7, 8)); in testEviction_weightedLru()
238 getAll(cache, asList(15)); in testEviction_weightedLru()
243 getAll(cache, asList(9)); in testEviction_weightedLru()
248 getAll(cache, asList(1)); in testEviction_weightedLru()
[all …]
DCacheExpirationTest.java270 getAll(cache, asList(0, 1, 2)); in testExpirationOrder_access()
280 getAll(cache, asList(5, 7, 9)); in testExpirationOrder_access()
322 getAll(cache, asList(0, 1, 2)); in testExpirationOrder_write()
371 getAll(cache, asList(1, 3)); in testExpirationOrder_writeAccess()
377 getAll(cache, asList(6, 8)); in testExpirationOrder_writeAccess()
384 getAll(cache, asList(1)); in testExpirationOrder_writeAccess()
443 private void getAll(LoadingCache<Integer, Integer> cache, List<Integer> keys) { in getAll() method in CacheExpirationTest
DCacheLoadingTest.java338 assertEquals(ImmutableMap.of(), cache.getAll(ImmutableList.<Integer>of())); in testBulkLoad_default()
344 assertEquals(ImmutableMap.of(1, 1), cache.getAll(asList(1))); in testBulkLoad_default()
351 assertEquals(ImmutableMap.of(1, 1, 2, 2, 3, 3, 4, 4), cache.getAll(asList(1, 2, 3, 4))); in testBulkLoad_default()
358 assertEquals(ImmutableMap.of(2, 2, 3, 3), cache.getAll(asList(2, 3))); in testBulkLoad_default()
366 assertEquals(ImmutableMap.of(4, 4, 5, 5), cache.getAll(asList(4, 5))); in testBulkLoad_default()
384 assertEquals(ImmutableMap.of(), cache.getAll(ImmutableList.<Integer>of())); in testBulkLoad_loadAll()
390 assertEquals(ImmutableMap.of(1, 1), cache.getAll(asList(1))); in testBulkLoad_loadAll()
397 assertEquals(ImmutableMap.of(1, 1, 2, 2, 3, 3, 4, 4), cache.getAll(asList(1, 2, 3, 4))); in testBulkLoad_loadAll()
404 assertEquals(ImmutableMap.of(2, 2, 3, 3), cache.getAll(asList(2, 3))); in testBulkLoad_loadAll()
412 assertEquals(ImmutableMap.of(4, 4, 5, 5), cache.getAll(asList(4, 5))); in testBulkLoad_loadAll()
[all …]
DForwardingLoadingCacheTest.java71 expect(mock.getAll(ImmutableList.of("key"))).andReturn(ImmutableMap.of("key", Boolean.TRUE)); in testGetAll()
73 assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); in testGetAll()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/internal/
DConcurrentIntrusiveListTest.java39 assertThat(intrusiveList.getAll().isEmpty()).isTrue(); in emptyList()
62 assertThat(intrusiveList.getAll()).containsExactly(element3, element2, element1).inOrder(); in addAndRemoveElements()
66 assertThat(intrusiveList.getAll()).containsExactly(element3, element1).inOrder(); in addAndRemoveElements()
70 assertThat(intrusiveList.getAll().contains(element3)).isTrue(); in addAndRemoveElements()
73 assertThat(intrusiveList.getAll()).containsExactly(element1, element3).inOrder(); in addAndRemoveElements()
77 assertThat(intrusiveList.getAll().contains(element3)).isTrue(); in addAndRemoveElements()
81 assertThat(intrusiveList.getAll().isEmpty()).isTrue(); in addAndRemoveElements()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestDTDAttributes.java57 Set<String> containedElements = toChildren.getAll(element); in checkOrdering()
96 for (String contained : toChildren.getAll(element)) { in checkOrdering()
130 Set<String> attributes = elementToAttributes.getAll(element); in showDistinguishing()
150 .getAll(attribute)) { in showDistinguishing()
186 .getAll(attribute)) { in showDistinguishing()
258 Set<String> mainValues = mainData.getAll(key); in checkElements()
259 Set<String> suppValues = suppData.getAll(key); in checkElements()
270 + mainData.getAll(key)); in checkElements()
275 logln(dtdType1 + ":\t" + key + "\t" + mainData.getAll(key)); in checkElements()
280 logln(dtdType2 + ":\t" + key + "\t" + suppData.getAll(key)); in checkElements()
[all …]
DTestComparisonBuilder.java61 Set<String> attributes = eaInfo.getAll(element); in dtdAttributes()
83 Set<String> children = eaInfo.getAll(element); in dtdAttributes()
102 eaInfo.getAll(element)); in TestDtdElements()
117 Set<String> elements = eaInfo2.getAll(element); in TestDtdElements()
DTestMetazoneTransitions.java270 for (String zone : daylightPartition.getAll(transitions)) { in run()
305 for (String zone : partition.getAll(transitions)) { in run()
318 + CldrUtility.join(partition.getAll(transitions), ", ") in run()
329 + CldrUtility.join(partition.getAll(transitions), ", ") in run()
373 for (String zone : daylightPartition.getAll(transitions)) { in run()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DMetadataTest.java82 assertEquals(Arrays.asList(lance), Lists.newArrayList(metadata.getAll(KEY))); in testMutations()
85 assertEquals(Arrays.asList(lance, lance), Lists.newArrayList(metadata.getAll(KEY))); in testMutations()
87 assertEquals(Arrays.asList(lance), Lists.newArrayList(metadata.getAll(KEY))); in testMutations()
93 assertEquals(Arrays.asList(lance, cat, lance), Lists.newArrayList(metadata.getAll(KEY))); in testMutations()
96 assertEquals(Arrays.asList(cat, lance), Lists.newArrayList(metadata.getAll(KEY))); in testMutations()
99 assertEquals(Arrays.asList(lance, lance), Lists.newArrayList(metadata.getAll(KEY))); in testMutations()
102 assertEquals(null, metadata.getAll(KEY)); in testMutations()
113 assertEquals(null, metadata.getAll(KEY)); in discardAll()
121 assertEquals(null, metadata.getAll(KEY)); in discardAll_empty()
130 Iterator<Fish> i = metadata.getAll(KEY).iterator(); in testGetAllNoRemove()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInformation.java280 … ASN1EncodableVector allCSAttrs = unsignedAttributeTable.getAll(CMSAttributes.counterSignature); in getCounterSignatures()
462 …if (unsignedAttrTable != null && unsignedAttrTable.getAll(CMSAttributes.cmsAlgorithmProtect).size(… in doVerify()
468 …ASN1EncodableVector protectionAttributes = signedAttrTable.getAll(CMSAttributes.cmsAlgorithmProtec… in doVerify()
527 && signedAttrTable.getAll(CMSAttributes.counterSignature).size() > 0) in doVerify()
535 … ASN1EncodableVector csAttrs = unsignedAttrTable.getAll(CMSAttributes.counterSignature); in doVerify()
622 && unsignedAttrTable.getAll(attrOID).size() > 0) in getSingleValuedSignedAttribute()
634 ASN1EncodableVector v = signedAttrTable.getAll(attrOID); in getSingleValuedSignedAttribute()
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java163 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in copyCredentialsToHeaders()
166 Iterable<byte[]> extraAuthorization = headers.getAll(EXTRA_AUTHORIZATION); in copyCredentialsToHeaders()
243 Iterable<String> authorization = headerList.get(1).getAll(AUTHORIZATION); in credentialsReturnNullMetadata()
270 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in oauth2Credential()
290 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in googleCredential_privacyAndIntegrityAllowed()
374 String[] authorization = Iterables.toArray(headers.getAll(AUTHORIZATION), String.class); in serviceAccountToJwt()
401 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in serviceAccountWithScopeNotToJwt()
420 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in oauthClassesNotInClassPath()
DClientAuthInterceptorTest.java122 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in testCopyCredentialToHeaders()
125 Iterable<String> extraAuthorization = headers.getAll(EXTRA_AUTHORIZATION); in testCopyCredentialToHeaders()
139 Assert.assertNull(headers.getAll(AUTHORIZATION)); in testCredentialsThrows()
162 Iterable<String> authorization = headers.getAll(AUTHORIZATION); in testWithOAuth2Credential()
/external/clang/lib/Tooling/
DFileMatchTrie.cpp120 getAll(AllChildren, MatchingChild); in findEquivalent()
137 void getAll(std::vector<StringRef> &Results, in getAll() function in clang::tooling::FileMatchTrieNode
150 It->getValue().getAll(Results, Children.end()); in getAll()
/external/mockito/src/test/java/org/mockito/internal/verification/
DDefaultRegisteredInvocationsTest.java34 assertTrue(invocations.getAll().contains(simpleMethod)); in should_not_return_to_string_method()
35 assertFalse(invocations.getAll().contains(toString)); in should_not_return_to_string_method()
/external/guava/guava/src/com/google/common/cache/
DForwardingLoadingCache.java57 public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException { in getAll() method in ForwardingLoadingCache
58 return delegate().getAll(keys); in getAll()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/comments/
DCommentsCollection.java60 for (Comment c : getAll()){ in contains()
73 public List<Comment> getAll(){ in getAll() method in CommentsCollection
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DPreferencesFacade.java63 return p.getAll().get(key); in prefGetValue()
96 return getPref(filename).getAll(); in prefGetAll()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/export/
DInProcessRunningSpanStoreImpl.java51 Collection<RecordEventsSpanImpl> allRunningSpans = runningSpans.getAll(); in getSummary()
67 Collection<RecordEventsSpanImpl> allRunningSpans = runningSpans.getAll(); in getRunningSpans()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DRDFRegisters.cpp57 UnitInfos[U].Mask = LaneBitmask::getAll(); in PhysicalRegisterInfo()
70 UI.Mask = LaneBitmask::getAll(); in PhysicalRegisterInfo()
170 if (RR.Mask == LaneBitmask::getAll()) in aliasRM()
234 : LaneBitmask::getAll(); in mapTo()
360 M |= P.second.none() ? LaneBitmask::getAll() : P.second; in makeRegRef()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedPreferencesTest.java38 assertThat(sharedPreferences.getAll()).hasSize(0); in setUp()
83 assertThat(sharedPreferences.getAll()).hasSize(6); in getAll_shouldReturnAllValues()
84 assertThat(sharedPreferences.getAll().get("int")).isEqualTo(2); in getAll_shouldReturnAllValues()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGeneratePluralConfirmation.java154 Set<FixedDecimal> soFarSet = soFar.getAll(keyword); in showValue()
167 Set<FixedDecimal> soFarSet = soFar.getAll(keyword); in showSamples()
173 soFarSet = soFar.getAll(keyword); in showSamples()
/external/icu/icu4c/source/test/intltest/
Ditutil.cpp882 logln("Value now: %d\n", flags.getAll()); in TestEnumSet()
884 logln("clear -Value now: %d\n", flags.getAll()); in TestEnumSet()
890 logln("set THING1 -Value now: %d\n", flags.getAll()); in TestEnumSet()
896 logln("set THING3 -Value now: %d\n", flags.getAll()); in TestEnumSet()
905 logln("remove THING2 -Value now: %d\n", flags.getAll()); in TestEnumSet()
911 logln("remove THING1 -Value now: %d\n", flags.getAll()); in TestEnumSet()
915 logln("clear -Value now: %d\n", flags.getAll()); in TestEnumSet()
/external/cldr/tools/java/org/unicode/cldr/util/
DRegexLookup.java217 …List<T> getAll(String pattern, Object context, List<Finder> matcherList, Output<String[]> firstInf… in getAll() method
259 …public List<T> getAll(String pattern, Object context, List<Finder> matcherList, Output<String[]> f… in getAll() method in RegexLookup.RegexTree
294 …List<T> matches = getAll(pattern, context, matcherList, firstInfo); //need to get whole list becau… in get()
588 …public List<T> getAll(String pattern, Object context, List<Finder> matcherList, Output<String[]> f… in getAll() method in RegexLookup.StarPatternMap
620 …List<T> matches = getAll(pattern, context, matcherList, firstInfo); //need to get whole list becau… in get()
838 …public List<T> getAll(String source, Object context, List<Finder> matcherList, List<String> failur… in getAll() method in RegexLookup
842 List<T> matches = storage.getAll(source, context, matcherList, firstInfo); in getAll()
863 List<T> matches = storage.getAll(source, context, matcherList, info); in getAll()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelation.java119 public Set<V> getAll(Object key) { in getAll() method in Relation
182 for (V value : t.getAll(key)) { in putAll()
312 Set<V> values = toBeRemoved.getAll(key); in removeAll()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelation.java121 public Set<V> getAll(Object key) { in getAll() method in Relation
184 for (V value : t.getAll(key)) { in putAll()
314 Set<V> values = toBeRemoved.getAll(key); in removeAll()

1234567