Home
last modified time | relevance | path

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

1234567

/third_party/vk-gl-cts/framework/common/
DtcuInterval.hpp58 class Interval class
62 Interval (void) in Interval() function in tcu::Interval
71 Interval (double val) in Interval() function in tcu::Interval
79 Interval(bool hasNaN_, double lo_, double hi_) in Interval() function in tcu::Interval
82 Interval(bool hasNaN_, double lo_, double hi_, double wlo_, double whi_) in Interval() function in tcu::Interval
85 Interval (const Interval& a, const Interval& b) in Interval() function in tcu::Interval
98 Interval nan (void) const { return m_hasNaN ? TCU_NAN : Interval(); } in nan()
112 Interval operator| (const Interval& other) const in operator |()
114 return Interval(m_hasNaN || other.m_hasNaN, in operator |()
121 Interval& operator|= (const Interval& other) in operator |=()
[all …]
DtcuInterval.cpp35 Interval applyMonotone (DoubleFunc1& func, const Interval& arg0) in applyMonotone()
37 Interval ret; in applyMonotone()
43 Interval applyMonotone (DoubleIntervalFunc1& func, const Interval& arg0) in applyMonotone()
45 return Interval(func(arg0.lo()), func(arg0.hi())); in applyMonotone()
48 Interval applyMonotone (DoubleFunc2& func, const Interval& arg0, const Interval& arg1) in applyMonotone()
50 Interval ret; in applyMonotone()
58 Interval applyMonotone (DoubleIntervalFunc2& func, const Interval& arg0, const Interval& arg1) in applyMonotone()
61 return Interval(Interval(func(lo0, lo1), func(lo0, hi1)), in applyMonotone()
62 Interval(func(hi0, lo1), func(hi0, hi1))); in applyMonotone()
65 Interval operator+ (const Interval& x, const Interval& y) in operator +()
[all …]
DtcuFloatFormat.cpp38 Interval chooseInterval(YesNoMaybe choice, const Interval& no, const Interval& yes) in chooseInterval()
48 return Interval(); in chooseInterval()
155 Interval FloatFormat::clampValue (double d) const in clampValue()
168 return Interval(d); in clampValue()
173 Interval FloatFormat::convert (const Interval& x) const in convert()
175 Interval ret; in convert()
176 Interval tmp = x; in convert()
187 tmp = Interval::unbounded(); in convert()
216 Interval FloatFormat::roundOut (const Interval& x, bool roundUnderOverflow) const in roundOut()
218 Interval ret = x.nan(); in roundOut()
[all …]
DtcuFloatFormat.hpp62 Interval roundOut (const Interval& x, bool roundUnderOverflow) const;
65 Interval convert (const Interval& x) const;
68 std::string intervalToHex (const Interval& interval) const;
75 Interval clampValue (double d) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInterval.h36 class Interval {
47 inline Interval(BasicBlock *Header) : HeaderNode(Header) { in Interval() function
88 inline bool operator==(const Interval &I) const {
102 inline Interval::succ_iterator succ_begin(Interval *I) { in succ_begin()
105 inline Interval::succ_iterator succ_end(Interval *I) { in succ_end()
112 inline Interval::pred_iterator pred_begin(Interval *I) { in pred_begin()
115 inline Interval::pred_iterator pred_end(Interval *I) { in pred_end()
119 template <> struct GraphTraits<Interval*> {
120 using NodeRef = Interval *;
121 using ChildIteratorType = Interval::succ_iterator;
[all …]
DIntervalPartition.h32 class Interval; variable
43 using IntervalMapTy = std::map<BasicBlock *, Interval *>;
46 using IntervalListTy = std::vector<Interval *>;
47 Interval *RootInterval = nullptr;
48 std::vector<Interval *> Intervals;
68 inline Interval *getRootInterval() { return RootInterval; } in getRootInterval()
77 inline Interval *getBlockInterval(BasicBlock *BB) { in getBlockInterval()
88 const std::vector<Interval*> &getIntervals() const { return Intervals; } in getIntervals()
97 void addIntervalToPartition(Interval *I);
103 void updatePredecessors(Interval *Int);
DIntervalIterator.h56 inline BasicBlock *getNodeHeader(Interval *I) { return I->getHeaderNode(); } in getNodeHeader()
64 inline Interval *getSourceGraphNode(IntervalPartition *IP, BasicBlock *BB) { in getSourceGraphNode()
72 inline void addNodeToInterval(Interval *Int, BasicBlock *BB) { in addNodeToInterval()
82 inline void addNodeToInterval(Interval *Int, Interval *I) { in addNodeToInterval()
90 std::vector<std::pair<Interval *, typename Interval::succ_iterator>> IntStack;
134 const Interval *operator*() const { return IntStack.back().first; }
135 Interval *operator*() { return IntStack.back().first; }
136 const Interval *operator->() const { return operator*(); }
137 Interval *operator->() { return operator*(); }
144 Interval::succ_iterator &SuccIt = IntStack.back().second,
[all …]
/third_party/boost/boost/icl/
Dseparate_interval_set.hpp24 …ICL_INTERVAL(ICL_COMPARE) Interval = ICL_INTERVAL_INSTANCE(ICL_INTERVAL_DEFAULT, DomainT, Compare),
28 public interval_base_set<separate_interval_set<DomainT,Compare,Interval,Alloc>,
29 DomainT,Compare,Interval,Alloc>
32 typedef separate_interval_set<DomainT,Compare,Interval,Alloc> type;
34 typedef interval_base_set<type,DomainT,Compare,Interval,Alloc> base_type;
39 typedef interval_set<DomainT,Compare,Interval,Alloc> joint_type;
49 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;
99 (const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in separate_interval_set() argument
111 void assign(const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in assign() argument
120 (const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in operator =() argument
[all …]
Dinterval_set.hpp24 …ICL_INTERVAL(ICL_COMPARE) Interval = ICL_INTERVAL_INSTANCE(ICL_INTERVAL_DEFAULT, DomainT, Compare),
28 public interval_base_set<interval_set<DomainT,Compare,Interval,Alloc>,
29 DomainT,Compare,Interval,Alloc>
33 typedef interval_set<DomainT,Compare,Interval,Alloc> type;
36 typedef interval_base_set<type,DomainT,Compare,Interval,Alloc> base_type;
52 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;
103 (const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in interval_set() argument
120 void assign(const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in assign() argument
122 typedef interval_base_set<SubType,DomainT,Compare,Interval,Alloc> base_set_type; in assign()
133 (const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in operator =() argument
[all …]
Dsplit_interval_set.hpp25 …ICL_INTERVAL(ICL_COMPARE) Interval = ICL_INTERVAL_INSTANCE(ICL_INTERVAL_DEFAULT, DomainT, Compare),
29 public interval_base_set<split_interval_set<DomainT,Compare,Interval,Alloc>,
30 DomainT,Compare,Interval,Alloc>
33 typedef split_interval_set<DomainT,Compare,Interval,Alloc> type;
34 typedef interval_base_set<type,DomainT,Compare,Interval,Alloc> base_type;
36 typedef interval_set<DomainT,Compare,Interval,Alloc> joint_type;
48 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;
99 (const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in split_interval_set() argument
109 void assign(const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in assign() argument
118 (const interval_base_set<SubType,DomainT,Compare,Interval,Alloc>& src) in operator =() argument
[all …]
Dsplit_interval_map.hpp30 …ICL_INTERVAL(ICL_COMPARE) Interval = ICL_INTERVAL_INSTANCE(ICL_INTERVAL_DEFAULT, DomainT, Compare),
34 …rval_base_map<split_interval_map<DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc>,
35 DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc>
39 … typedef split_interval_map<DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc> type;
40 …typedef interval_map<DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc> joint_…
44 … DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc> base_type;
48 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;
59 typedef interval_set<DomainT,Compare,Interval,Alloc> interval_set_type;
84 Traits,Compare,Combine,Section,Interval,Alloc>& src) in assign() argument
94 Traits,Compare,Combine,Section,Interval,Alloc>& src) in operator =() argument
[all …]
Dinterval_map.hpp21 ICL_INTERVAL(ICL_COMPARE) Interval, ICL_ALLOC Alloc>
34 …ICL_INTERVAL(ICL_COMPARE) Interval = ICL_INTERVAL_INSTANCE(ICL_INTERVAL_DEFAULT, DomainT, Compare),
39 …public interval_base_map<interval_map<DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Al…
40 DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc>
44 … typedef interval_map<DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc> type;
45 …typedef split_interval_map<DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc> split_…
49 … DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc> base_type;
51 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;
65 typedef interval_set<DomainT,Compare,Interval,Alloc> interval_set_type;
86 Traits,Compare,Combine,Section,Interval,Alloc>& src) in interval_map() argument
[all …]
Dinterval_base_set.hpp48 …ICL_INTERVAL(ICL_COMPARE) Interval = ICL_INTERVAL_INSTANCE(ICL_INTERVAL_DEFAULT, DomainT, Compare),
57 typedef interval_base_set<SubType,DomainT,Compare,Interval,Alloc> type;
77 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;
407 template <class SubType, class DomainT, ICL_COMPARE Compare, ICL_INTERVAL(ICL_COMPARE) Interval, IC…
408 inline void interval_base_set<SubType,DomainT,Compare,Interval,Alloc>
432 template <class SubType, class DomainT, ICL_COMPARE Compare, ICL_INTERVAL(ICL_COMPARE) Interval, IC…
433 inline void interval_base_set<SubType,DomainT,Compare,Interval,Alloc>
447 template <class SubType, class DomainT, ICL_COMPARE Compare, ICL_INTERVAL(ICL_COMPARE) Interval, IC…
448 inline void interval_base_set<SubType,DomainT,Compare,Interval,Alloc>
461 template <class SubType, class DomainT, ICL_COMPARE Compare, ICL_INTERVAL(ICL_COMPARE) Interval, IC…
[all …]
Dinterval_base_map.hpp56 …ICL_INTERVAL(ICL_COMPARE) Interval = ICL_INTERVAL_INSTANCE(ICL_INTERVAL_DEFAULT, DomainT, Compare),
66 Traits,Compare,Combine,Section,Interval,Alloc>
98 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;
815 …are, ICL_COMBINE Combine, ICL_SECTION Section, ICL_INTERVAL(ICL_COMPARE) Interval, ICL_ALLOC Alloc>
816 inline void interval_base_map<SubType,DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,All…
840 …are, ICL_COMBINE Combine, ICL_SECTION Section, ICL_INTERVAL(ICL_COMPARE) Interval, ICL_ALLOC Alloc>
842 inline void interval_base_map<SubType,DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,All…
862 …are, ICL_COMBINE Combine, ICL_SECTION Section, ICL_INTERVAL(ICL_COMPARE) Interval, ICL_ALLOC Alloc>
864 inline void interval_base_map<SubType,DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,All…
878 …are, ICL_COMBINE Combine, ICL_SECTION Section, ICL_INTERVAL(ICL_COMPARE) Interval, ICL_ALLOC Alloc>
[all …]
/third_party/flutter/skia/src/gpu/
DGrResourceAllocator.h120 class Interval;
142 typedef SkTDynamicHash<Interval, unsigned int> IntvlHash;
144 class Interval {
146 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) in Interval() function
178 ~Interval() { in ~Interval()
188 void setNext(Interval* next) { fNext = next; } in setNext()
189 const Interval* next() const { return fNext; } in next()
190 Interval* next() { return fNext; } in next()
212 static const uint32_t& GetKey(const Interval& intvl) { in GetKey()
223 Interval* fNext;
[all …]
DGrResourceAllocator.cpp24 uint32_t GrResourceAllocator::Interval::CreateUniqueID() { in CreateUniqueID()
34 void GrResourceAllocator::Interval::assign(sk_sp<GrSurface> s) { in assign()
41 for (Interval* cur = fIntvlList.peekHead(); cur; cur = cur->next()) { in determineRecyclability()
110 if (Interval* intvl = fIntvlHash.find(proxy->uniqueID().asUInt())) {
132 Interval* newIntvl;
139 newIntvl = fIntervalAllocator.make<Interval>(proxy, start, end);
166 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() { in popHead()
169 Interval* temp = fHead; in popHead()
183 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart()
200 Interval* prev = fHead; in insertByIncreasingStart()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/somas/
Dsomas_solver_alg.h45 class Interval {
47 Interval() { m_a_ = m_b_ = 0; } in Interval() function
48 explicit Interval(SomasSolverTensorDescPtr t) { in Interval() function
52 Interval(const size_t &a, const size_t &b) { in Interval() function
56 ~Interval() = default;
58 bool intersect(const Interval &i) { return (in(i.m_a_) || in(i.m_b_)); } in intersect()
60 Interval intersection(const Interval &i) { in intersection()
62 return Interval(m_a_, i.m_b_); in intersection()
64 return Interval(i.m_a_, m_b_); in intersection()
66 void merge(const Interval &i) { in merge()
[all …]
/third_party/skia/src/gpu/
DGrResourceAllocator.h126 class Interval;
146 typedef SkTHashMap<uint32_t, Interval*, GrCheapHash> IntvlHash;
193 class Interval {
195 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) in Interval() function
213 void setNext(Interval* next) { fNext = next; } in setNext()
214 const Interval* next() const { return fNext; } in next()
215 Interval* next() { return fNext; } in next()
238 Interval* fNext = nullptr;
258 const Interval* peekHead() const { return fHead; } in peekHead()
259 Interval* peekHead() { return fHead; } in peekHead()
[all …]
DGrResourceAllocator.cpp20 uint32_t GrResourceAllocator::Interval::CreateUniqueID() { in CreateUniqueID()
70 if (Interval** intvlPtr = fIntvlHash.find(proxyID)) {
72 Interval* intvl = *intvlPtr;
93 Interval* newIntvl = fInternalAllocator.make<Interval>(proxy, start, end);
180 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() { in popHead()
183 Interval* temp = fHead; in popHead()
197 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart()
214 Interval* prev = fHead; in insertByIncreasingStart()
215 Interval* next = prev->next(); in insertByIncreasingStart()
228 void GrResourceAllocator::IntervalList::insertByIncreasingEnd(Interval* intvl) { in insertByIncreasingEnd()
[all …]
/third_party/boost/libs/icl/example/large_bitset_/
Dlarge_bitset.hpp43 …ICL_INTERVAL(ICL_COMPARE) Interval = ICL_INTERVAL_INSTANCE(ICL_INTERVAL_DEFAULT, DomainT, Compare),
47 : boost::equality_comparable < large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>
48 , boost::less_than_comparable< large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>
50 , boost::addable < large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>
51 , boost::orable < large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>
52 , boost::subtractable < large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>
53 , boost::andable < large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>
54 , boost::xorable < large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>
56 , boost::addable2 < large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>, DomainT
57 , boost::orable2 < large_bitset<DomainT,BitSetT,Compare,Interval,Alloc>, DomainT
[all …]
/third_party/boost/boost/icl/detail/
Delement_iterator.hpp79 template<class DomainT, ICL_COMPARE Compare, ICL_INTERVAL(ICL_COMPARE) Interval>
80 struct elemental<ICL_INTERVAL_TYPE(Interval,DomainT,Compare) >
82 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) segment_type;
91 ICL_COMPARE Compare, ICL_INTERVAL(ICL_COMPARE) Interval >
92 struct elemental<std::pair<ICL_INTERVAL_TYPE(Interval,DomainT,Compare) const, CodomainT> >
94 typedef std::pair<ICL_INTERVAL_TYPE(Interval,DomainT,Compare), CodomainT> segment_type;
95 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;
104 template<ICL_INTERVAL(ICL_COMPARE) Interval>
107 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) segment_type;
115 template< class CodomainT, ICL_INTERVAL(ICL_COMPARE) Interval >
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp52 using tcu::Interval;
859 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat, in getChannel()
875 …const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend… in getChannel()
878 return tcu::Interval(de::max(-1.0, result.lo()), de::max(-1.0, result.hi())); in getChannel()
890 return tcu::Interval(); in getChannel()
895 return tcu::Interval(); in getChannel()
1255 tcu::Interval rangeExpandChroma (vk::VkSamplerYcbcrRange range, in rangeExpandChroma()
1258 const tcu::Interval& sample) in rangeExpandChroma()
1265 …return conversionFormat.roundOut(sample - conversionFormat.roundOut(tcu::Interval((double)(0x1u <<… in rangeExpandChroma()
1269 …const tcu::Interval a (conversionFormat.roundOut(sample * tcu::Interval((double)(values - 1u)), … in rangeExpandChroma()
[all …]
/third_party/boost/boost/polygon/detail/
Dmax_cover.hpp14 typedef interval_data<Unit> Interval; typedef
20 std::set<Interval> tracedPaths_;
29 inline bool tracedPath(const Interval& ivl) const { in tracedPath()
32 inline void addPath(const Interval& ivl) { in addPath()
37 typedef std::pair<std::pair<Unit, Interval>, Node* > EdgeAssociation;
54 Interval rectIvl = node->rect.get(orient); in getMaxCover()
67 Interval nodeIvl = (*itr)->rect.get(orient); in getMaxCover()
97 Interval rectIvl = rect.get(orient); in getMaxCover()
98 Interval nodeIvl = node->rect.get(orient); in getMaxCover()
105 nextRect1.set(orient.get_perpendicular(), Interval(low, high)); in getMaxCover()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DLockFileManager.cpp299 unsigned long Interval = 1; in waitForUnlock() local
301 struct timespec Interval; in waitForUnlock() local
302 Interval.tv_sec = 0; in waitForUnlock()
303 Interval.tv_nsec = 1000000; in waitForUnlock()
311 Sleep(Interval); in waitForUnlock()
313 nanosleep(&Interval, nullptr); in waitForUnlock()
330 Interval *= 2; in waitForUnlock()
332 Interval.tv_sec *= 2; in waitForUnlock()
333 Interval.tv_nsec *= 2; in waitForUnlock()
334 if (Interval.tv_nsec >= 1000000000) { in waitForUnlock()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_util.cpp91 Interval::Interval(const Interval& that) : head(NULL), tail(NULL) in Interval() function in nv50_ir::Interval
96 Interval::~Interval() in ~Interval()
102 Interval::clear() in clear()
112 Interval::extend(int a, int b) in extend()
156 bool Interval::contains(int pos) const in contains()
164 bool Interval::overlaps(const Interval &that) const in overlaps()
189 void Interval::insert(const Interval &that) in insert()
195 void Interval::unify(Interval &that) in unify()
206 int Interval::length() const in length()
214 void Interval::print() const in print()

1234567