Home
last modified time | relevance | path

Searched refs:rangeToRemove (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DTreeRangeSet.java220 public void remove(Range<C> rangeToRemove) { in remove() argument
221 checkNotNull(rangeToRemove); in remove()
223 if (rangeToRemove.isEmpty()) { in remove()
230 Entry<Cut<C>, Range<C>> entryBelowLB = rangesByLowerBound.lowerEntry(rangeToRemove.lowerBound); in remove()
234 if (rangeBelowLB.upperBound.compareTo(rangeToRemove.lowerBound) >= 0) { in remove()
236 if (rangeToRemove.hasUpperBound() in remove()
237 && rangeBelowLB.upperBound.compareTo(rangeToRemove.upperBound) >= 0) { in remove()
240 Range.create(rangeToRemove.upperBound, rangeBelowLB.upperBound)); in remove()
243 Range.create(rangeBelowLB.lowerBound, rangeToRemove.lowerBound)); in remove()
247 Entry<Cut<C>, Range<C>> entryBelowUB = rangesByLowerBound.floorEntry(rangeToRemove.upperBound); in remove()
[all …]
DTreeRangeMap.java194 public void remove(Range<K> rangeToRemove) { in remove() argument
195 if (rangeToRemove.isEmpty()) { in remove()
204 entriesByLowerBound.lowerEntry(rangeToRemove.lowerBound); in remove()
208 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.lowerBound) > 0) { in remove()
210 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { in remove()
214 rangeToRemove.upperBound, in remove()
221 rangeToRemove.lowerBound, in remove()
227 entriesByLowerBound.lowerEntry(rangeToRemove.upperBound); in remove()
231 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { in remove()
235 rangeToRemove.upperBound, in remove()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DTreeRangeSet.java222 public void remove(Range<C> rangeToRemove) { in remove() argument
223 checkNotNull(rangeToRemove); in remove()
225 if (rangeToRemove.isEmpty()) { in remove()
232 Entry<Cut<C>, Range<C>> entryBelowLB = rangesByLowerBound.lowerEntry(rangeToRemove.lowerBound); in remove()
236 if (rangeBelowLB.upperBound.compareTo(rangeToRemove.lowerBound) >= 0) { in remove()
238 if (rangeToRemove.hasUpperBound() in remove()
239 && rangeBelowLB.upperBound.compareTo(rangeToRemove.upperBound) >= 0) { in remove()
242 Range.create(rangeToRemove.upperBound, rangeBelowLB.upperBound)); in remove()
245 Range.create(rangeBelowLB.lowerBound, rangeToRemove.lowerBound)); in remove()
249 Entry<Cut<C>, Range<C>> entryBelowUB = rangesByLowerBound.floorEntry(rangeToRemove.upperBound); in remove()
[all …]
DTreeRangeMap.java195 public void remove(Range<K> rangeToRemove) { in remove() argument
196 if (rangeToRemove.isEmpty()) { in remove()
205 entriesByLowerBound.lowerEntry(rangeToRemove.lowerBound); in remove()
209 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.lowerBound) > 0) { in remove()
211 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { in remove()
215 rangeToRemove.upperBound, in remove()
222 rangeToRemove.lowerBound, in remove()
228 entriesByLowerBound.lowerEntry(rangeToRemove.upperBound); in remove()
232 if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { in remove()
236 rangeToRemove.upperBound, in remove()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DTreeRangeMapTest.java419 for (Range<Integer> rangeToRemove : RANGES) { in testPutAndRemove()
422 removeModel(model, rangeToRemove); in testPutAndRemove()
425 test.remove(rangeToRemove); in testPutAndRemove()
434 for (Range<Integer> rangeToRemove : RANGES) { in testPutTwoAndRemove()
438 removeModel(model, rangeToRemove); in testPutTwoAndRemove()
442 test.remove(rangeToRemove); in testPutTwoAndRemove()
454 for (Range<Integer> rangeToRemove : RANGES) { in testPutCoalescingTwoAndRemove()
458 removeModel(model, rangeToRemove); in testPutCoalescingTwoAndRemove()
462 test.remove(rangeToRemove); in testPutCoalescingTwoAndRemove()
/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeMapTest.java420 for (Range<Integer> rangeToRemove : RANGES) { in testPutAndRemove()
423 removeModel(model, rangeToRemove); in testPutAndRemove()
426 test.remove(rangeToRemove); in testPutAndRemove()
435 for (Range<Integer> rangeToRemove : RANGES) { in testPutTwoAndRemove()
439 removeModel(model, rangeToRemove); in testPutTwoAndRemove()
443 test.remove(rangeToRemove); in testPutTwoAndRemove()
455 for (Range<Integer> rangeToRemove : RANGES) { in testPutCoalescingTwoAndRemove()
459 removeModel(model, rangeToRemove); in testPutCoalescingTwoAndRemove()
463 test.remove(rangeToRemove); in testPutCoalescingTwoAndRemove()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp645 SourceRange rangeToRemove; in actOnObjCTypeParam() local
648 rangeToRemove = attr.getLocalSourceRange(); in actOnObjCTypeParam()
653 << FixItHint::CreateRemoval(rangeToRemove); in actOnObjCTypeParam()
664 << FixItHint::CreateRemoval(rangeToRemove); in actOnObjCTypeParam()
DSemaType.cpp851 SourceRange rangeToRemove; in applyObjCTypeArgs() local
853 rangeToRemove = attr.getLocalSourceRange(); in applyObjCTypeArgs()
858 << typeArg << FixItHint::CreateRemoval(rangeToRemove); in applyObjCTypeArgs()
866 << FixItHint::CreateRemoval(rangeToRemove); in applyObjCTypeArgs()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp721 SourceRange rangeToRemove; in actOnObjCTypeParam() local
724 rangeToRemove = attr.getLocalSourceRange(); in actOnObjCTypeParam()
729 << FixItHint::CreateRemoval(rangeToRemove); in actOnObjCTypeParam()
741 << FixItHint::CreateRemoval(rangeToRemove); in actOnObjCTypeParam()
DSemaType.cpp892 SourceRange rangeToRemove; in applyObjCTypeArgs() local
894 rangeToRemove = attr.getLocalSourceRange(); in applyObjCTypeArgs()
899 << typeArg << FixItHint::CreateRemoval(rangeToRemove); in applyObjCTypeArgs()
907 << FixItHint::CreateRemoval(rangeToRemove); in applyObjCTypeArgs()