Home
last modified time | relevance | path

Searched refs:Interval (Results 1 - 25 of 55) sorted by relevance

123

/third_party/vk-gl-cts/framework/common/
H A DtcuInterval.hpp23 * \brief Interval arithmetic and floating point precisions.
58 class Interval class
62 Interval (void) in Interval() function in tcu::Interval
69 // Intentionally not explicit. Conversion from double to Interval is common
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 function in tcu::Interval
[all...]
H A DtcuInterval.cpp21 * \brief Interval arithmetic.
35 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
[all...]
H A 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 tm in convert()
[all...]
H A 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/
H A DInterval.h1 //===- llvm/Analysis/Interval.h - Interval Class Declaration ----*- C++ -*-===//
9 // This file contains the declaration of the Interval class, which
32 /// Interval Class - An Interval is a set of nodes defined such that every node
36 class Interval { class
47 inline Interval(BasicBlock *Header) : HeaderNode(Header) { in Interval() function in llvm::Interval
61 /// Predecessors - List of BasicBlocks that have this Interval's header block
75 /// isSuccessor - find out if a basic block is a successor of this Interval
88 inline bool operator==(const Interval
[all...]
H A DIntervalPartition.h1 //===- IntervalPartition.h - Interval partition Calculation -----*- C++ -*-===//
32 class Interval;
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 *
[all...]
H A DIntervalIterator.h1 //===- IntervalIterator.h - Interval Iterator Declaration -------*- C++ -*-===//
14 // 2. An IntervalPartition& object, composed of Interval nodes.
36 #include "llvm/Analysis/Interval.h"
56 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()
80 // an IntervalPartition source graph (Interval case), all of the member
82 inline void addNodeToInterval(Interval *Int, Interval *I) { in addNodeToInterval()
90 std::vector<std::pair<Interval *, typenam
[all...]
/third_party/skia/src/gpu/
H A DGrResourceAllocator.h126 class Interval;
146 typedef SkTHashMap<uint32_t, Interval*, GrCheapHash> IntvlHash;
193 class Interval { class in GrResourceAllocator::ActualUse
195 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) in Interval() function in GrResourceAllocator::ActualUse::Interval
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* peekHea in peekHead()
[all...]
H A DGrResourceAllocator.cpp21 uint32_t GrResourceAllocator::Interval::CreateUniqueID() { in CreateUniqueID()
71 if (Interval** intvlPtr = fIntvlHash.find(proxyID)) { in addInterval()
73 Interval* intvl = *intvlPtr; in addInterval()
94 Interval* newIntvl = fInternalAllocator.make<Interval>(proxy, start, end); in addInterval()
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* nex in insertByIncreasingStart()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp52 using tcu::Interval;
890 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat,
906 const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend(bits, m_channelSize), false)
909 return tcu::Interval(de::max(-1.0, result.lo()), de::max(-1.0, result.hi()));
921 return tcu::Interval();
926 return tcu::Interval();
1286 tcu::Interval rangeExpandChroma (vk::VkSamplerYcbcrRange range,
1289 const tcu::Interval& sample)
1296 return conversionFormat.roundOut(sample - conversionFormat.roundOut(tcu::Interval((double)(0x1u << (bits - 1u)) / (double)((0x1u << bits) - 1u)), false), false);
1300 const tcu::Interval
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp52 using tcu::Interval;
889 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat,
905 const tcu::Interval result (conversionFormat.roundOut(conversionFormat.roundOut((double)signExtend(bits, m_channelSize), false)
908 return tcu::Interval(de::max(-1.0, result.lo()), de::max(-1.0, result.hi()));
920 return tcu::Interval();
925 return tcu::Interval();
1285 tcu::Interval rangeExpandChroma (vk::VkSamplerYcbcrRange range,
1288 const tcu::Interval& sample)
1295 return conversionFormat.roundOut(sample - conversionFormat.roundOut(tcu::Interval((double)(0x1u << (bits - 1u)) / (double)((0x1u << bits) - 1u)), false), false);
1299 const tcu::Interval
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A 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
[all...]
H A Dnv50_ir_util.h418 class Interval
421 Interval() : head(0), tail(0) { }
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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DLockFileManager.cpp299 unsigned long Interval = 1; in waitForUnlock() local
301 struct timespec Interval; in waitForUnlock()
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 in waitForUnlock()
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp95 using tcu::Interval;
210 * The type Traits<T>::IVal is the approximation of T: it is `Interval` for
305 typedef Interval IVal;
307 static Interval doMakeIVal (const T& value) in doMakeIVal()
310 // hence Interval can represent their ranges without problems. 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
1791 innerExtrema(const EvalContext&, const Interval&, const Interval&) const innerExtrema() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp115 using tcu::Interval;
264 * The type Traits<T>::IVal is the approximation of T: it is `Interval` for
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()
506 // hence Interval can represent their ranges without problems. in doMakeIVal()
507 return Interval(double(value)); in doMakeIVal()
510 static Interval doUnion (const Interval
2342 innerExtrema(const EvalContext&, const Interval&, const Interval&) const innerExtrema() argument
5640 removeNotInRange(vector<T>&, const Interval&, const Precision) const removeNotInRange() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp114 using tcu::Interval;
263 * The type Traits<T>::IVal is the approximation of T: it is `Interval` for
468 bool intervalContains (const Interval& interval, T value, const tcu::Maybe<T>& modularDivisor) in intervalContains()
489 bool intervalContains (const Interval& interval, T value, const tcu::Maybe<U>& modularDivisor) in intervalContains()
500 typedef Interval IVal;
502 static Interval doMakeIVal (const T& value) in doMakeIVal()
505 // hence Interval can represent their ranges without problems. in doMakeIVal()
506 return Interval(double(value)); in doMakeIVal()
509 static Interval doUnion (const Interval
2369 innerExtrema(const EvalContext&, const Interval&, const Interval&) const innerExtrema() argument
5651 removeNotInRange(vector<T>&, const Interval&, const Precision) const removeNotInRange() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifier.cpp307 Interval resultInterval(0.0); in getFilteredSample1D()
311 const Interval weightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weight : weight), false); 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 - weights[1] : weights[1]), false); in getFilteredSample2D()
350 const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample2D()
351 const Interval texelInterva in getFilteredSample2D()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktSampleVerifier.cpp307 Interval resultInterval(0.0); in getFilteredSample1D()
311 const Interval weightInterval = m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weight : weight), false); 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 - weights[1] : weights[1]), false); in getFilteredSample2D()
350 const Interval jWeightInterval = m_filteringPrecision[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample2D()
351 const Interval texelInterva in getFilteredSample2D()
[all...]
/third_party/ffmpeg/libavfilter/
H A Df_sendcmd.c93 typedef struct Interval { struct
100 } Interval; typedef
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 *i in cmp_intervals()
[all...]
/third_party/node/deps/v8/src/regexp/
H A Dregexp-ast.h49 class Interval { class
51 Interval() : from_(kNone), to_(kNone - 1) {} // '- 1' for branchless size(). in Interval() function in v8::internal::Interval
52 Interval(int from, int to) : from_(from), to_(to) {} in Interval() function in v8::internal::Interval
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
[all...]
H A 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
H A 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/
H A DMappedBlockStream.cpp38 using Interval = std::pair<uint32_t, uint32_t>;
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/
H A DInterval.cpp1 //===- Interval.cpp - Interval class code ---------------------------------===//
9 // This file contains the definition of the Interval class, which represents a
14 #include "llvm/Analysis/Interval.h"
22 // Interval Implementation
26 bool Interval::isLoop() const { in isLoop()
36 void Interval::print(raw_ostream &OS) const { in print()
38 << "Interval Contents:\n"; in print()
44 OS << "Interval Predecessors:\n"; in print()
48 OS << "Interval Successor in print()
[all...]

Completed in 44 milliseconds

123