Home
last modified time | relevance | path

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

12345678910>>...16

/external/guava/guava/src/com/google/common/collect/
DBoundType.java33 final boolean inclusive; field in BoundType
35 BoundType(boolean inclusive) { in BoundType() argument
36 this.inclusive = inclusive; in BoundType()
40 static BoundType forBoolean(boolean inclusive) { in forBoolean() argument
41 return inclusive ? CLOSED : OPEN; in forBoolean()
DRegularImmutableSortedSet.java254 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl() argument
255 return getSubSet(0, headIndex(toElement, inclusive)); in headSetImpl()
258 int headIndex(E toElement, boolean inclusive) { in headIndex() argument
261 return inclusive ? index + 1 : index; in headIndex()
274 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { in tailSetImpl() argument
275 return getSubSet(tailIndex(fromElement, inclusive), size()); in tailSetImpl()
278 int tailIndex(E fromElement, boolean inclusive) { in tailIndex() argument
281 return inclusive ? index : index + 1; in tailIndex()
DContiguousSet.java165 public ContiguousSet<C> headSet(C toElement, boolean inclusive) { in headSet() argument
166 return headSetImpl(checkNotNull(toElement), inclusive); in headSet()
196 public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) { in tailSet() argument
197 return tailSetImpl(checkNotNull(fromElement), inclusive); in tailSet()
204 abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive); in headSetImpl() argument
211 abstract ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive); in tailSetImpl() argument
DDescendingImmutableSortedSet.java53 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl() argument
54 return forward.tailSet(toElement, inclusive).descendingSet(); in headSetImpl()
64 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { in tailSetImpl() argument
65 return forward.headSet(fromElement, inclusive).descendingSet(); in tailSetImpl()
DForwardingNavigableSet.java233 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { in headSet() argument
234 return delegate().headSet(toElement, inclusive); in headSet()
247 public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) { in tailSet() argument
248 return delegate().tailSet(fromElement, inclusive); in tailSet()
/external/guava/android/guava/src/com/google/common/collect/
DBoundType.java33 final boolean inclusive; field in BoundType
35 BoundType(boolean inclusive) { in BoundType() argument
36 this.inclusive = inclusive; in BoundType()
40 static BoundType forBoolean(boolean inclusive) { in forBoolean() argument
41 return inclusive ? CLOSED : OPEN; in forBoolean()
DRegularImmutableSortedSet.java244 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl() argument
245 return getSubSet(0, headIndex(toElement, inclusive)); in headSetImpl()
248 int headIndex(E toElement, boolean inclusive) { in headIndex() argument
251 return inclusive ? index + 1 : index; in headIndex()
264 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { in tailSetImpl() argument
265 return getSubSet(tailIndex(fromElement, inclusive), size()); in tailSetImpl()
268 int tailIndex(E fromElement, boolean inclusive) { in tailIndex() argument
271 return inclusive ? index : index + 1; in tailIndex()
DContiguousSet.java165 public ContiguousSet<C> headSet(C toElement, boolean inclusive) { in headSet() argument
166 return headSetImpl(checkNotNull(toElement), inclusive); in headSet()
196 public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) { in tailSet() argument
197 return tailSetImpl(checkNotNull(fromElement), inclusive); in tailSet()
204 abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive); in headSetImpl() argument
211 abstract ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive); in tailSetImpl() argument
DDescendingImmutableSortedSet.java53 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl() argument
54 return forward.tailSet(toElement, inclusive).descendingSet(); in headSetImpl()
64 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { in tailSetImpl() argument
65 return forward.headSet(fromElement, inclusive).descendingSet(); in tailSetImpl()
DForwardingNavigableSet.java233 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { in headSet() argument
234 return delegate().headSet(toElement, inclusive); in headSet()
247 public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) { in tailSet() argument
248 return delegate().tailSet(fromElement, inclusive); in tailSet()
/external/python/cpython3/Lib/
Dtracemalloc.py346 def __init__(self, inclusive): argument
347 self.inclusive = inclusive
354 def __init__(self, inclusive, filename_pattern, argument
356 super().__init__(inclusive)
357 self.inclusive = inclusive
377 return self._match_frame_impl(filename, lineno) ^ (not self.inclusive)
383 return self.inclusive
385 return (not self.inclusive)
394 if self.inclusive:
402 def __init__(self, inclusive, domain): argument
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h144 UBool inclusive, UDate& result) const = 0;
161 UBool inclusive, UDate& result) const = 0;
312 UBool inclusive, UDate& result) const override;
329 UBool inclusive, UDate& result) const override;
547 UBool inclusive, UDate& result) const override;
564 UBool inclusive, UDate& result) const override;
753 UBool inclusive, UDate& result) const override;
770 UBool inclusive, UDate& result) const override;
Drbtz.h265 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const ove…
275 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const…
321 …UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
322 …UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
/external/cronet/third_party/icu/source/i18n/unicode/
Dtzrule.h144 UBool inclusive, UDate& result) const = 0;
161 UBool inclusive, UDate& result) const = 0;
312 UBool inclusive, UDate& result) const override;
329 UBool inclusive, UDate& result) const override;
547 UBool inclusive, UDate& result) const override;
564 UBool inclusive, UDate& result) const override;
753 UBool inclusive, UDate& result) const override;
770 UBool inclusive, UDate& result) const override;
Drbtz.h265 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const ove…
275 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const…
321 …UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
322 …UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
/external/icu/libicu/cts_headers/unicode/
Dtzrule.h144 UBool inclusive, UDate& result) const = 0;
161 UBool inclusive, UDate& result) const = 0;
312 UBool inclusive, UDate& result) const override;
329 UBool inclusive, UDate& result) const override;
547 UBool inclusive, UDate& result) const override;
564 UBool inclusive, UDate& result) const override;
753 UBool inclusive, UDate& result) const override;
770 UBool inclusive, UDate& result) const override;
Drbtz.h265 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const ove…
275 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const…
321 …UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
322 …UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
/external/icu/android_icu4j/src/main/java/android/icu/util/
DRuleBasedTimeZone.java323 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition() argument
332 if (tt > base || (inclusive && tt == base)) { in getNextTransition()
338 if (inclusive && tt == base) { in getNextTransition()
344 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition()
346 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition()
365 if (tt < base || (!inclusive && tt == base)) { in getNextTransition()
393 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition() argument
401 if (inclusive && tt == base) { in getPreviousTransition()
409 if (inclusive && tt == base) { in getPreviousTransition()
415 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getPreviousTransition()
[all …]
DTimeArrayTimeZoneRule.java95 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getNextStart() argument
99 if (time < base || (!inclusive && time == base)) { in getNextStart()
113 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getPreviousStart() argument
117 if (time < base || (inclusive && time == base)) { in getPreviousStart()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRuleBasedTimeZone.java346 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition() argument
355 if (tt > base || (inclusive && tt == base)) { in getNextTransition()
361 if (inclusive && tt == base) { in getNextTransition()
367 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition()
369 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition()
388 if (tt < base || (!inclusive && tt == base)) { in getNextTransition()
418 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition() argument
426 if (inclusive && tt == base) { in getPreviousTransition()
434 if (inclusive && tt == base) { in getPreviousTransition()
440 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getPreviousTransition()
[all …]
DTimeArrayTimeZoneRule.java101 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getNextStart() argument
105 if (time < base || (!inclusive && time == base)) { in getNextStart()
120 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getPreviousStart() argument
124 if (time < base || (inclusive && time == base)) { in getPreviousStart()
/external/cronet/third_party/icu/source/i18n/
Drbtz.cpp541 RuleBasedTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const… in getNextTransition() argument
549 UBool found = findNext(base, inclusive, transitionTime, fromRule, toRule); in getNextTransition()
560 RuleBasedTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) c… in getPreviousTransition() argument
568 UBool found = findPrev(base, inclusive, transitionTime, fromRule, toRule); in getPreviousTransition()
715 RuleBasedTimeZone::findNext(UDate base, UBool inclusive, UDate& transitionTime, in findNext() argument
725 if (tt > base || (inclusive && tt == base)) { in findNext()
732 if (inclusive && tt == base) { in findNext()
741 … UBool avail0 = r0->getNextStart(base, r1->getRawOffset(), r1->getDSTSavings(), inclusive, start0); in findNext()
742 … UBool avail1 = r1->getNextStart(base, r0->getRawOffset(), r0->getDSTSavings(), inclusive, start1); in findNext()
766 if (tt < base || (!inclusive && tt == base)) { in findNext()
[all …]
Dzrule.cpp131 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getNextStart() argument
132 …*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getNextStart()
137 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getPreviousStart() argument
138 …le)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getPreviousStart()
/external/icu/icu4c/source/i18n/
Drbtz.cpp541 RuleBasedTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const… in getNextTransition() argument
549 UBool found = findNext(base, inclusive, transitionTime, fromRule, toRule); in getNextTransition()
560 RuleBasedTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) c… in getPreviousTransition() argument
568 UBool found = findPrev(base, inclusive, transitionTime, fromRule, toRule); in getPreviousTransition()
715 RuleBasedTimeZone::findNext(UDate base, UBool inclusive, UDate& transitionTime, in findNext() argument
725 if (tt > base || (inclusive && tt == base)) { in findNext()
732 if (inclusive && tt == base) { in findNext()
741 … UBool avail0 = r0->getNextStart(base, r1->getRawOffset(), r1->getDSTSavings(), inclusive, start0); in findNext()
742 … UBool avail1 = r1->getNextStart(base, r0->getRawOffset(), r0->getDSTSavings(), inclusive, start1); in findNext()
766 if (tt < base || (!inclusive && tt == base)) { in findNext()
[all …]
Dzrule.cpp131 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getNextStart() argument
132 …*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getNextStart()
137 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getPreviousStart() argument
138 …le)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getPreviousStart()

12345678910>>...16