Home
last modified time | relevance | path

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

1234

/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/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.cpp21 uint32_t GrResourceAllocator::Interval::CreateUniqueID() { in CreateUniqueID()
71 if (Interval** intvlPtr = fIntvlHash.find(proxyID)) {
73 Interval* intvl = *intvlPtr;
94 Interval* newIntvl = fInternalAllocator.make<Interval>(proxy, start, end);
190 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() { in popHead()
193 Interval* temp = fHead; in popHead()
207 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart()
224 Interval* prev = fHead; in insertByIncreasingStart()
225 Interval* next = prev->next(); in insertByIncreasingStart()
238 void GrResourceAllocator::IntervalList::insertByIncreasingEnd(Interval* intvl) { in insertByIncreasingEnd()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrUtil.cpp52 using tcu::Interval;
889 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat, in getChannel()
905 …const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend… in getChannel()
908 return tcu::Interval(de::max(-1.0, result.lo()), de::max(-1.0, result.hi())); in getChannel()
920 return tcu::Interval(); in getChannel()
925 return tcu::Interval(); in getChannel()
1285 tcu::Interval rangeExpandChroma (vk::VkSamplerYcbcrRange range, in rangeExpandChroma()
1288 const tcu::Interval& sample) in rangeExpandChroma()
1295 …return conversionFormat.roundOut(sample - conversionFormat.roundOut(tcu::Interval((double)(0x1u <<… in rangeExpandChroma()
1299 …const tcu::Interval a (conversionFormat.roundOut(sample * tcu::Interval((double)(values - 1u)), … in rangeExpandChroma()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp52 using tcu::Interval;
889 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat, in getChannel()
905 …const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend… in getChannel()
908 return tcu::Interval(de::max(-1.0, result.lo()), de::max(-1.0, result.hi())); in getChannel()
920 return tcu::Interval(); in getChannel()
925 return tcu::Interval(); in getChannel()
1285 tcu::Interval rangeExpandChroma (vk::VkSamplerYcbcrRange range, in rangeExpandChroma()
1288 const tcu::Interval& sample) in rangeExpandChroma()
1295 …return conversionFormat.roundOut(sample - conversionFormat.roundOut(tcu::Interval((double)(0x1u <<… in rangeExpandChroma()
1299 …const tcu::Interval a (conversionFormat.roundOut(sample * tcu::Interval((double)(values - 1u)), … in rangeExpandChroma()
[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/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()
Dnv50_ir_util.h418 class Interval
421 Interval() : head(0), tail(0) { } in Interval() function
422 Interval(const Interval&);
423 ~Interval();
426 void insert(const Interval&);
427 void unify(Interval&); // clears source interval
433 bool overlaps(const Interval&) const;
575 void Interval::checkTail() const in checkTail()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktSampleVerifier.cpp307 Interval resultInterval(0.0); in getFilteredSample1D()
311 …const Interval weightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - w… in getFilteredSample1D()
312 const Interval texelInterval (false, texelsMin[i][compNdx], texelsMax[i][compNdx]); in getFilteredSample1D()
342 Interval resultInterval(0.0); in getFilteredSample2D()
346 …const Interval iWeightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - … in getFilteredSample2D()
350 …const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interva… in getFilteredSample2D()
351 … const Interval texelInterval(false, texelsMin[2 * i + j][compNdx], texelsMax[2 * i + j][compNdx]); in getFilteredSample2D()
385 Interval resultInterval(0.0); in getFilteredSample3D()
389 …const Interval iWeightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - … in getFilteredSample3D()
393 …const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interva… in getFilteredSample3D()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp307 Interval resultInterval(0.0); in getFilteredSample1D()
311 …const Interval weightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - w… in getFilteredSample1D()
312 const Interval texelInterval (false, texelsMin[i][compNdx], texelsMax[i][compNdx]); in getFilteredSample1D()
342 Interval resultInterval(0.0); in getFilteredSample2D()
346 …const Interval iWeightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - … in getFilteredSample2D()
350 …const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interva… in getFilteredSample2D()
351 … const Interval texelInterval(false, texelsMin[2 * i + j][compNdx], texelsMax[2 * i + j][compNdx]); in getFilteredSample2D()
385 Interval resultInterval(0.0); in getFilteredSample3D()
389 …const Interval iWeightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - … in getFilteredSample3D()
393 …const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interva… in getFilteredSample3D()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.cpp95 using tcu::Interval;
305 typedef Interval IVal;
307 static Interval doMakeIVal (const T& value) in doMakeIVal()
311 return Interval(double(value)); in doMakeIVal()
314 static Interval doUnion (const Interval& a, const Interval& b) in doUnion()
319 static bool doContains (const Interval& a, T value) in doContains()
324 static bool doContainsWarning(const Interval& a, T value) in doContainsWarning()
329 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
334 static Interval doRound (const FloatFormat& fmt, T value) in doRound()
344 const Interval& ival, in doPrintIVal()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp115 using tcu::Interval;
469 bool intervalContains (const Interval& interval, T value, const tcu::Maybe<T>& modularDivisor) in intervalContains()
490 bool intervalContains (const Interval& interval, T value, const tcu::Maybe<U>& modularDivisor) in intervalContains()
501 typedef Interval IVal;
503 static Interval doMakeIVal (const T& value) in doMakeIVal()
507 return Interval(double(value)); in doMakeIVal()
510 static Interval doUnion (const Interval& a, const Interval& b) in doUnion()
515 static bool doContains (const Interval& a, T value) in doContains()
520 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
525 static Interval doConvert (const FloatFormat& fmt, const IVal& ival, bool is16Bit) in doConvert()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp115 using tcu::Interval;
469 bool intervalContains (const Interval& interval, T value, const tcu::Maybe<T>& modularDivisor) in intervalContains()
490 bool intervalContains (const Interval& interval, T value, const tcu::Maybe<U>& modularDivisor) in intervalContains()
501 typedef Interval IVal;
503 static Interval doMakeIVal (const T& value) in doMakeIVal()
507 return Interval(double(value)); in doMakeIVal()
510 static Interval doUnion (const Interval& a, const Interval& b) in doUnion()
515 static bool doContains (const Interval& a, T value) in doContains()
520 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
525 static Interval doConvert (const FloatFormat& fmt, const IVal& ival, bool is16Bit) in doConvert()
[all …]
/third_party/node/deps/v8/src/regexp/
Dregexp-ast.h49 class Interval {
51 Interval() : from_(kNone), to_(kNone - 1) {} // '- 1' for branchless size(). in Interval() function
52 Interval(int from, int to) : from_(from), to_(to) {} in Interval() function
53 Interval Union(Interval that) { in Union()
56 return Interval(std::min(from_, that.from_), std::max(to_, that.to_)); in Union()
59 static Interval Empty() { return Interval(); } in Empty()
174 virtual Interval CaptureRegisters() { return Interval::Empty(); } in CaptureRegisters()
191 Interval CaptureRegisters() override;
214 Interval CaptureRegisters() override;
431 Interval CaptureRegisters() override;
[all …]
Dregexp-ast.cc32 Interval ListCaptureRegisters(ZoneList<RegExpTree*>* children) { in ListCaptureRegisters()
33 Interval result = Interval::Empty(); in ListCaptureRegisters()
41 Interval RegExpAlternative::CaptureRegisters() { in CaptureRegisters()
46 Interval RegExpDisjunction::CaptureRegisters() { in CaptureRegisters()
51 Interval RegExpLookaround::CaptureRegisters() { in CaptureRegisters()
56 Interval RegExpCapture::CaptureRegisters() { in CaptureRegisters()
57 Interval self(StartRegister(index()), EndRegister(index())); in CaptureRegisters()
62 Interval RegExpQuantifier::CaptureRegisters() { in CaptureRegisters()
/third_party/ffmpeg/libavfilter/
Df_sendcmd.c93 typedef struct Interval { struct
100 } Interval; argument
104 Interval *intervals;
279 static int parse_interval(Interval *interval, int interval_count, in parse_interval()
290 memset(interval, 0, sizeof(Interval)); in parse_interval()
349 static int parse_intervals(Interval **intervals, int *nb_intervals, in parse_intervals()
362 Interval interval; in parse_intervals()
386 *intervals = av_realloc_f(*intervals, n, 2*sizeof(Interval)); in parse_intervals()
402 const Interval *i1 = a; in cmp_intervals()
403 const Interval *i2 = b; in cmp_intervals()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DThinLTOCodeGenerator.h138 void setCachePruningInterval(int Interval) { in setCachePruningInterval() argument
139 if(Interval < 0) in setCachePruningInterval()
140 CacheOptions.Policy.Interval.reset(); in setCachePruningInterval()
142 CacheOptions.Policy.Interval = std::chrono::seconds(Interval); in setCachePruningInterval()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp38 using Interval = std::pair<uint32_t, uint32_t>; typedef
40 static Interval intersect(const Interval &I1, const Interval &I2) { in intersect()
112 Interval RequestExtent = std::make_pair(Offset, Offset + Size); in readBytes()
130 Interval CachedExtent = in readBytes()
135 Interval Intersection = intersect(CachedExtent, RequestExtent); in readBytes()
292 Interval WriteInterval = std::make_pair(Offset, Offset + Data.size()); in fixCacheAfterWrite()
293 Interval CachedInterval = in fixCacheAfterWrite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIntervalPartition.cpp54 void IntervalPartition::addIntervalToPartition(Interval *I) { in addIntervalToPartition()
58 for (Interval::node_iterator It = I->Nodes.begin(), End = I->Nodes.end(); in addIntervalToPartition()
67 void IntervalPartition::updatePredecessors(Interval *Int) { in updatePredecessors()

1234