Home
last modified time | relevance | path

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

/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/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/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-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()
DMaps.java2706 Set<K> toRemove = Sets.newHashSet();
2709 toRemove.add(entry.getKey());
2712 return map().keySet().removeAll(toRemove);
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DDeadCodeRemover.java72 List<Phi> toRemove = new ArrayList<>(); in removeDeadPhis() local
75 toRemove.add(phi); in removeDeadPhis()
82 if (!toRemove.isEmpty()) { in removeDeadPhis()
83 List<Phi> newPhis = new ArrayList<>(block.getPhis().size() - toRemove.size()); in removeDeadPhis()
87 for (; i < phis.size() && toRemoveIndex < toRemove.size(); i++) { in removeDeadPhis()
89 if (phi == toRemove.get(toRemoveIndex)) { in removeDeadPhis()
DOutliner.java665 private final List<Integer> toRemove; field in Outliner.OutlineRewriter
671 ListIterator<BasicBlock> blocksIterator, BasicBlock block, List<Integer> toRemove) { in OutlineRewriter() argument
675 this.toRemove = toRemove; in OutlineRewriter()
710 toRemove.add(i); in handle()
746 List<Outline> toRemove = new ArrayList<>(); in selectMethodsForOutlining() local
749 toRemove.add(entry.getKey()); in selectMethodsForOutlining()
754 for (Outline outline : toRemove) { in selectMethodsForOutlining()
769 List<Integer> toRemove = new ArrayList<>(); in applyOutliningCandidate() local
770 new OutlineRewriter(method, code, blocksIterator, block, toRemove).process(); in applyOutliningCandidate()
771 block.removeInstructions(toRemove); in applyOutliningCandidate()
/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();
DMaps.java3691 Set<K> toRemove = Sets.newHashSet();
3694 toRemove.add(entry.getKey());
3697 return map().keySet().removeAll(toRemove);
/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.h41 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/r8/src/main/java/com/android/tools/r8/ir/code/
DBasicBlock.java858 public void removeInstructions(List<Integer> toRemove) { in removeInstructions() argument
859 if (!toRemove.isEmpty()) { in removeInstructions()
862 for (Integer index : toRemove) { in removeInstructions()
871 assert instructions.size() == newInstructions.size() + toRemove.size(); in removeInstructions()
879 public void removeInstruction(Instruction toRemove) { in removeInstruction() argument
880 int index = instructions.indexOf(toRemove); in removeInstruction()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DMutableMethodImplementation.java282 MethodLocation toRemove = instructionList.get(index);
283 toRemove.instruction = null;
285 toRemove.mergeInto(next);
288 int codeAddress = toRemove.codeAddress;
/external/toolchain-utils/go/patch/
Dgo4.patch70 var toRemove []string
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/
DTestCLDRVsICU.java317 static String remove(String in, UnicodeSet toRemove) { in remove() argument
322 if (!toRemove.contains(cp)) in remove()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/
DTestCLDRVsICU.java316 static String remove(String in, UnicodeSet toRemove) { in remove() argument
321 if (!toRemove.contains(cp)) in remove()
/external/boringssl/src/ssl/test/runner/
Dconn.go358 toRemove := good&paddingLen + 1
359 return payload[:len(payload)-int(toRemove)], good