Home
last modified time | relevance | path

Searched refs:toRemove (Results 1 – 25 of 44) sorted by relevance

12

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMultisetsTest.java80 Iterable<String> toRemove = Arrays.asList("a", "b", "a"); in testRemoveOccurrencesIterableEmpty() local
81 assertFalse(Multisets.removeOccurrences(multiset, toRemove)); in testRemoveOccurrencesIterableEmpty()
87 Multiset<String> toRemove = in testRemoveOccurrencesMultisetEmpty() local
89 assertFalse(Multisets.retainOccurrences(multiset, toRemove)); in testRemoveOccurrencesMultisetEmpty()
220 Multiset<String> toRemove = HashMultiset.create(); in testRemoveEmptyOccurrencesMultiset() local
221 assertFalse(Multisets.removeOccurrences(multiset, toRemove)); in testRemoveEmptyOccurrencesMultiset()
228 Multiset<String> toRemove = in testRemoveOccurrencesMultiset() local
230 assertTrue(Multisets.removeOccurrences(multiset, toRemove)); in testRemoveOccurrencesMultiset()
237 Iterable<String> toRemove = ImmutableList.of(); in testRemoveEmptyOccurrencesIterable() local
238 assertFalse(Multisets.removeOccurrences(multiset, toRemove)); in testRemoveEmptyOccurrencesIterable()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMultisetsTest.java82 Iterable<String> toRemove = Arrays.asList("a", "b", "a"); in testRemoveOccurrencesIterableEmpty() local
83 assertFalse(Multisets.removeOccurrences(multiset, toRemove)); in testRemoveOccurrencesIterableEmpty()
89 Multiset<String> toRemove = in testRemoveOccurrencesMultisetEmpty() local
91 assertFalse(Multisets.retainOccurrences(multiset, toRemove)); in testRemoveOccurrencesMultisetEmpty()
222 Multiset<String> toRemove = HashMultiset.create(); in testRemoveEmptyOccurrencesMultiset() local
223 assertFalse(Multisets.removeOccurrences(multiset, toRemove)); in testRemoveEmptyOccurrencesMultiset()
230 Multiset<String> toRemove = in testRemoveOccurrencesMultiset() local
232 assertTrue(Multisets.removeOccurrences(multiset, toRemove)); in testRemoveOccurrencesMultiset()
239 Iterable<String> toRemove = ImmutableList.of(); in testRemoveEmptyOccurrencesIterable() local
240 assertFalse(Multisets.removeOccurrences(multiset, toRemove)); in testRemoveEmptyOccurrencesIterable()
[all …]
DFilteredCollectionsTest.java126 for (int toRemove = 0; toRemove < 10; toRemove++) { in testRemove()
127 assertEquals(contents.contains(toRemove) && EVEN.apply(toRemove), in testRemove()
128 filter(createUnfiltered(contents), EVEN).remove(toRemove)); in testRemove()
/external/nist-sip/java/gov/nist/javax/sip/message/
DHeaderIterator.java39 private boolean toRemove; field in HeaderIterator
52 toRemove = true; in next()
60 toRemove = true; in previous()
84 if (toRemove) { in remove()
DSIPMessage.java726 SIPHeader toRemove = (SIPHeader) nameTable.get(headerNameLowerCase); in removeHeader() local
728 if (toRemove == null) in removeHeader()
730 if (toRemove instanceof SIPHeaderList) { in removeHeader()
731 SIPHeaderList< ? > hdrList = (SIPHeaderList< ? >) toRemove; in removeHeader()
751 if (toRemove instanceof From) { in removeHeader()
753 } else if (toRemove instanceof To) { in removeHeader()
755 } else if (toRemove instanceof CSeq) { in removeHeader()
757 } else if (toRemove instanceof CallID) { in removeHeader()
759 } else if (toRemove instanceof MaxForwards) { in removeHeader()
761 } else if (toRemove instanceof ContentLength) { in removeHeader()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCollectExemplars.java29 UnicodeSet toRemove = new UnicodeSet(); in main() local
40 toRemove.add(s); in main()
43 removing("Collapsing", target, toRemove); in main()
54 public static void removing(String title, UnicodeSet target, UnicodeSet toRemove) { in removing() argument
55 UnicodeSet diff = new UnicodeSet(toRemove).retainAll(target); in removing()
DGenerateStatistics.java128 Set<String> toRemove = new HashSet<String>(); in removeSingleLanguagesWhereWeHaveScripts() local
129 if (HACK) toRemove.add("sh"); in removeSingleLanguagesWhereWeHaveScripts()
150 if (!lang.equals(langscript)) toRemove.add(lang); in removeSingleLanguagesWhereWeHaveScripts()
160 if (!toRemove.contains(lang)) continue; in removeSingleLanguagesWhereWeHaveScripts()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedHashMultimap.java355 ValueEntry<K, V> toRemove; in iterator()
377 toRemove = entry; in iterator()
385 checkRemove(toRemove != null); in iterator()
386 ValueSet.this.remove(toRemove.getValue()); in iterator()
388 toRemove = null; in iterator()
492 ValueEntry<K, V> toRemove; in entryIterator()
505 toRemove = result; in entryIterator()
512 checkRemove(toRemove != null); in entryIterator()
513 LinkedHashMultimap.this.remove(toRemove.getKey(), toRemove.getValue()); in entryIterator()
514 toRemove = null; in entryIterator()
DAbstractMapBasedMultiset.java87 Map.Entry<E, Count> toRemove; in entryIterator()
97 toRemove = mapEntry; in entryIterator()
119 checkRemove(toRemove != null); in entryIterator()
120 size -= toRemove.getValue().getAndSet(0); in entryIterator()
122 toRemove = null; in entryIterator()
/external/guava/guava/src/com/google/common/collect/
DLinkedHashMultimap.java359 ValueEntry<K, V> toRemove; in iterator()
381 toRemove = entry; in iterator()
389 checkRemove(toRemove != null); in iterator()
390 ValueSet.this.remove(toRemove.getValue()); in iterator()
392 toRemove = null; in iterator()
496 ValueEntry<K, V> toRemove; in entryIterator()
509 toRemove = result; in entryIterator()
516 checkRemove(toRemove != null); in entryIterator()
517 LinkedHashMultimap.this.remove(toRemove.getKey(), toRemove.getValue()); in entryIterator()
518 toRemove = null; in entryIterator()
DAbstractMapBasedMultiset.java90 Map.Entry<E, Count> toRemove; in entryIterator()
100 toRemove = mapEntry; in entryIterator()
122 checkRemove(toRemove != null); in entryIterator()
123 size -= toRemove.getValue().getAndSet(0); in entryIterator()
125 toRemove = null; in entryIterator()
DForwardingNavigableMap.java286 private Entry<K, V> toRemove = null; in entryIterator()
302 toRemove = nextOrNull; in entryIterator()
309 checkRemove(toRemove != null); in entryIterator()
310 forward().remove(toRemove.getKey()); in entryIterator()
311 toRemove = null; in entryIterator()
DHashBiMap.java334 BiEntry<K, V> toRemove = null; field in HashBiMap.Itr
368 toRemove = entry; in next()
375 checkRemove(toRemove != null); in remove()
376 delete(toRemove); in remove()
378 toRemove = null; in remove()
468 if (toRemove == delegate) {
469 toRemove = newEntry;
DTreeRangeMap.java492 List<Range<K>> toRemove = Lists.newArrayList();
495 toRemove.add(entry.getKey());
498 for (Range<K> range : toRemove) {
501 return !toRemove.isEmpty();
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DNativeMethods.cs59 static string RemoveStringSuffix(string str, string toRemove) in RemoveStringSuffix() argument
61 if (!str.EndsWith(toRemove)) in RemoveStringSuffix()
65 return str.Substring(0, str.Length - toRemove.Length); in RemoveStringSuffix()
/external/cldr/tools/java/org/unicode/cldr/test/
DSimpleTestCache.java56 List<Options> toRemove = new ArrayList<>(); in valueChanged() local
59 toRemove.add(k); in valueChanged()
64 cache.invalidateAll(toRemove); in valueChanged()
67 for (CheckCLDR.Options k : toRemove) { in valueChanged()
/external/glide/library/src/main/java/com/bumptech/glide/util/
DLruCache.java158 final Y toRemove = last.getValue(); in trimToSize() local
159 currentSize -= getSize(toRemove); in trimToSize()
162 onItemEvicted(key, toRemove); in trimToSize()
/external/icu/icu4c/source/common/unicode/
Denumset.h42 inline void remove(T toRemove) { set(toRemove, 0); } in remove() argument
/external/vogar/src/vogar/target/
DTestRunner.java187 Set<Class<?>> toRemove = new HashSet<>(); in run() local
190 toRemove.add(klass); in run()
193 classes.removeAll(toRemove); in run()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DDelayedClientTransport.java286 ArrayList<PendingStream> toRemove = new ArrayList<>(); in reprocess() local
307 toRemove.add(stream); in reprocess()
318 pendingStreams.removeAll(toRemove); in reprocess()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPaths.java447 HashSet<String> toRemove = new HashSet<>(); in removeNonDistinguishing() local
463 toRemove.add(attribute); in removeNonDistinguishing()
474 if (!toRemove.isEmpty()) { in removeNonDistinguishing()
475 for (String attribute : toRemove) { in removeNonDistinguishing()
479 toRemove.clear(); in removeNonDistinguishing()
DLikelySubtagsTest.java283 UnicodeSet toRemove = new UnicodeSet(); in TestForMissingScriptMetadata() local
298 toRemove.applyIntPropertyValue(UProperty.SCRIPT, script); in TestForMissingScriptMetadata()
299 current.removeAll(toRemove); in TestForMissingScriptMetadata()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp726 uint32_t toRemove = id == 2u ? 2u : 3u; in TEST() local
728 context->get_type_mgr()->RemoveId(toRemove); in TEST()
729 ASSERT_EQ(context->get_type_mgr()->GetType(toRemove), nullptr); in TEST()
753 uint32_t toRemove = id == 2u ? 3u : 2u; in TEST() local
755 context->get_type_mgr()->RemoveId(toRemove); in TEST()
756 ASSERT_EQ(context->get_type_mgr()->GetType(toRemove), nullptr); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp728 uint32_t toRemove = id == 2u ? 2u : 3u; in TEST() local
730 context->get_type_mgr()->RemoveId(toRemove); in TEST()
731 ASSERT_EQ(context->get_type_mgr()->GetType(toRemove), nullptr); in TEST()
755 uint32_t toRemove = id == 2u ? 3u : 2u; in TEST() local
757 context->get_type_mgr()->RemoveId(toRemove); in TEST()
758 ASSERT_EQ(context->get_type_mgr()->GetType(toRemove), nullptr); in TEST()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAlarmManager.java172 final Intent toRemove = shadowPendingIntent.getSavedIntent(); in cancel() local
179 if (scheduledIntent.filterEquals(toRemove) && scheduledRequestCode == requestCode) { in cancel()

12