Home
last modified time | relevance | path

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

12345

/external/guava/guava/src/com/google/common/collect/
DContiguousSet.java46 @Override ContiguousSet<C> headSet(C toElement, boolean inclusive) { in headSet() argument
47 return headSetImpl(checkNotNull(toElement), inclusive); in headSet()
69 @Override ContiguousSet<C> tailSet(C fromElement, boolean inclusive){ in tailSet() argument
70 return tailSetImpl(checkNotNull(fromElement), inclusive); in tailSet()
76 /*@Override*/ abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive); in headSetImpl() argument
81 /*@Override*/ abstract ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive); in tailSetImpl() argument
DBoundType.java43 static BoundType forBoolean(boolean inclusive) { in forBoolean() argument
44 return inclusive ? CLOSED : OPEN; in forBoolean()
DRegularContiguousSet.java45 /* @Override */ ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl() argument
46 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) in headSetImpl()
63 /* @Override */ ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) { in tailSetImpl() argument
64 return range.intersection(Ranges.downTo(fromElement, BoundType.forBoolean(inclusive))) in tailSetImpl()
DRegularImmutableSortedSet.java200 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl() argument
202 if (inclusive) { in headSetImpl()
220 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { in tailSetImpl() argument
222 if (inclusive) { in tailSetImpl()
DImmutableSortedSet.java601 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
602 return headSetImpl(checkNotNull(toElement), inclusive); in headSet()
647 ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() argument
648 return tailSetImpl(checkNotNull(fromElement), inclusive); in tailSet()
655 abstract ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive); in headSetImpl() argument
660 abstract ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive); in tailSetImpl() argument
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h140 UBool inclusive, UDate& result) const = 0;
157 UBool inclusive, UDate& result) const = 0;
322 UBool inclusive, UDate& result) const;
339 UBool inclusive, UDate& result) const;
557 UBool inclusive, UDate& result) const;
574 UBool inclusive, UDate& result) const;
763 UBool inclusive, UDate& result) const;
780 UBool inclusive, UDate& result) const;
Drbtz.h258 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
268 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
312 …UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
313 …UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
Dbasictz.h50 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
60 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const…
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dtzrule.h140 UBool inclusive, UDate& result) const = 0;
157 UBool inclusive, UDate& result) const = 0;
322 UBool inclusive, UDate& result) const;
339 UBool inclusive, UDate& result) const;
557 UBool inclusive, UDate& result) const;
574 UBool inclusive, UDate& result) const;
763 UBool inclusive, UDate& result) const;
780 UBool inclusive, UDate& result) const;
Drbtz.h258 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
268 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
312 …UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
313 …UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
Dbasictz.h50 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
60 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const…
/external/chromium_org/third_party/smhasher/src/
DKeysetTest.h136 void SparseKeygenRecurse ( pfHash hash, int start, int bitsleft, bool inclusive, keytype & k, std::… in SparseKeygenRecurse() argument
147 if(inclusive || (bitsleft == 1)) in SparseKeygenRecurse()
155 SparseKeygenRecurse(hash,i+1,bitsleft-1,inclusive,k,hashes); in SparseKeygenRecurse()
165 bool SparseKeyTest ( hashfunc<hashtype> hash, const int setbits, bool inclusive, bool testColl, boo… in SparseKeyTest() argument
167 …printf("Keyset 'Sparse' - %d-bit keys with %s %d bits set - ",keybits, inclusive ? "up to" : "exac… in SparseKeyTest()
176 if(inclusive) in SparseKeyTest()
185 SparseKeygenRecurse(hash,0,setbits,inclusive,k,hashes); in SparseKeyTest()
/external/icu/icu4c/source/i18n/
Drbtz.cpp544 RuleBasedTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const… in getNextTransition() argument
552 UBool found = findNext(base, inclusive, transitionTime, fromRule, toRule); in getNextTransition()
563 RuleBasedTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) c… in getPreviousTransition() argument
571 UBool found = findPrev(base, inclusive, transitionTime, fromRule, toRule); in getPreviousTransition()
736 RuleBasedTimeZone::findNext(UDate base, UBool inclusive, UDate& transitionTime, in findNext() argument
746 if (tt > base || (inclusive && tt == base)) { in findNext()
753 if (inclusive && tt == base) { in findNext()
762 … UBool avail0 = r0->getNextStart(base, r1->getRawOffset(), r1->getDSTSavings(), inclusive, start0); in findNext()
763 … UBool avail1 = r1->getNextStart(base, r0->getRawOffset(), r0->getDSTSavings(), inclusive, start1); in findNext()
787 if (tt < base || (!inclusive && tt == base)) { in findNext()
[all …]
Dzrule.cpp129 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getNextStart() argument
130 …*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getNextStart()
135 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getPreviousStart() argument
136 …le)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getPreviousStart()
Dtzrule.cpp354 UBool inclusive, in getNextStart() argument
363 if (tmp < base || (!inclusive && (tmp == base))) { in getNextStart()
378 UBool inclusive, in getPreviousStart() argument
387 if (tmp > base || (!inclusive && (tmp == base))) { in getPreviousStart()
544 UBool inclusive, in getNextStart() argument
549 if (time < base || (!inclusive && time == base)) { in getNextStart()
564 UBool inclusive, in getPreviousStart() argument
569 if (time < base || (inclusive && time == base)) { in getPreviousStart()
Dvzone.cpp161 vzone_getNextTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) { in vzone_getNextTransition() argument
162 …return ((VTimeZone*)zone)->VTimeZone::getNextTransition(base, inclusive, *(TimeZoneTransition*)res… in vzone_getNextTransition()
166 vzone_getPreviousTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) { in vzone_getPreviousTransition() argument
167 …return ((VTimeZone*)zone)->VTimeZone::getPreviousTransition(base, inclusive, *(TimeZoneTransition*… in vzone_getPreviousTransition()
/external/chromium_org/third_party/icu/source/i18n/
Drbtz.cpp544 RuleBasedTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const… in getNextTransition() argument
552 UBool found = findNext(base, inclusive, transitionTime, fromRule, toRule); in getNextTransition()
563 RuleBasedTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) c… in getPreviousTransition() argument
571 UBool found = findPrev(base, inclusive, transitionTime, fromRule, toRule); in getPreviousTransition()
736 RuleBasedTimeZone::findNext(UDate base, UBool inclusive, UDate& transitionTime, in findNext() argument
746 if (tt > base || (inclusive && tt == base)) { in findNext()
753 if (inclusive && tt == base) { in findNext()
762 … UBool avail0 = r0->getNextStart(base, r1->getRawOffset(), r1->getDSTSavings(), inclusive, start0); in findNext()
763 … UBool avail1 = r1->getNextStart(base, r0->getRawOffset(), r0->getDSTSavings(), inclusive, start1); in findNext()
787 if (tt < base || (!inclusive && tt == base)) { in findNext()
[all …]
Dzrule.cpp129 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getNextStart() argument
130 …*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getNextStart()
135 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getPreviousStart() argument
136 …le)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getPreviousStart()
Dtzrule.cpp354 UBool inclusive, in getNextStart() argument
363 if (tmp < base || (!inclusive && (tmp == base))) { in getNextStart()
378 UBool inclusive, in getPreviousStart() argument
387 if (tmp > base || (!inclusive && (tmp == base))) { in getPreviousStart()
544 UBool inclusive, in getNextStart() argument
549 if (time < base || (!inclusive && time == base)) { in getNextStart()
564 UBool inclusive, in getPreviousStart() argument
569 if (time < base || (inclusive && time == base)) { in getPreviousStart()
Dvzone.cpp161 vzone_getNextTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) { in vzone_getNextTransition() argument
162 …return ((VTimeZone*)zone)->VTimeZone::getNextTransition(base, inclusive, *(TimeZoneTransition*)res… in vzone_getNextTransition()
166 vzone_getPreviousTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) { in vzone_getPreviousTransition() argument
167 …return ((VTimeZone*)zone)->VTimeZone::getPreviousTransition(base, inclusive, *(TimeZoneTransition*… in vzone_getPreviousTransition()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DRegularContiguousSet.java43 /* @Override */ ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl() argument
44 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) in headSetImpl()
61 /* @Override */ ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) { in tailSetImpl() argument
62 return range.intersection(Ranges.downTo(fromElement, BoundType.forBoolean(inclusive))) in tailSetImpl()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeSet.java122 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
124 delegate.headSet(checkValid(toElement), inclusive)); in headSet()
186 @Override public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() argument
187 return delegate.tailSet(checkValid(fromElement), inclusive); in tailSet()
DSafeTreeMap.java143 @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { in headMap() argument
145 delegate.headMap(checkValid(toKey), inclusive)); in headMap()
225 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() argument
227 delegate.tailMap(checkValid(fromKey), inclusive)); in tailMap()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.h45 UDate start, UDate end, UBool inclusive);
47 UDate start, UDate end, UBool inclusive);
/external/chromium_org/third_party/icu/source/test/intltest/
Dtzrulets.h45 UDate start, UDate end, UBool inclusive);
47 UDate start, UDate end, UBool inclusive);

12345