Home
last modified time | relevance | path

Searched refs:T (Results 1 – 19 of 19) sorted by relevance

/lvgl-latest/src/libs/thorvg/rapidjson/internal/
Dmeta.h39 template <typename T> struct Void { typedef void Type; };
74 template <typename T> struct AddConst { typedef const T Type; };
75 template <bool Constify, typename T> struct MaybeAddConst : SelectIfCond<Constify, const T, T> {};
76 template <typename T> struct RemoveConst { typedef T Type; };
77 template <typename T> struct RemoveConst<const T> { typedef T Type; };
83 template <typename T, typename U> struct IsSame : FalseType {};
84 template <typename T> struct IsSame<T, T> : TrueType {};
86 template <typename T> struct IsConst : FalseType {};
87 template <typename T> struct IsConst<const T> : TrueType {};
89 template <typename CT, typename T>
[all …]
Dstack.h115 template<typename T>
118 … if (RAPIDJSON_UNLIKELY(static_cast<std::ptrdiff_t>(sizeof(T) * count) > (stackEnd_ - stackTop_)))
119 Expand<T>(count);
122 template<typename T>
123 RAPIDJSON_FORCEINLINE T* Push(size_t count = 1) {
124 Reserve<T>(count);
125 return PushUnsafe<T>(count);
128 template<typename T>
129 RAPIDJSON_FORCEINLINE T* PushUnsafe(size_t count = 1) {
131 RAPIDJSON_ASSERT(static_cast<std::ptrdiff_t>(sizeof(T) * count) <= (stackEnd_ - stackTop_));
[all …]
Dswap.h32 template <typename T>
33 inline void Swap(T& a, T& b) RAPIDJSON_NOEXCEPT { in Swap()
34 T tmp = a; in Swap()
Dstrtod.h48 template <typename T>
49 inline T Min3(T a, T b, T c) { in Min3()
50 T m = a; in Min3()
/lvgl-latest/src/libs/thorvg/
DtvgArray.h36 template<class T>
39 T* data = nullptr;
56 void push(T element) in push()
60 data = static_cast<T*>(realloc(data, sizeof(T) * reserved)); in push()
65 void push(const Array<T>& rhs) in push()
69 memcpy(data + count, rhs.data, rhs.count * sizeof(T)); in push()
77 data = static_cast<T*>(realloc(data, sizeof(T) * reserved)); in reserve()
87 const T& operator[](size_t idx) const
92 T& operator[](size_t idx)
97 const T* begin() const in begin()
[all …]
DtvgInlist.h32 #define INLIST_ITEM(T) \ argument
33 T* prev; \
34 T* next
36 template<typename T>
39 T* head = nullptr;
40 T* tail = nullptr;
52 void back(T* element) in back()
66 void front(T* element) in front()
80 T* back() in back()
89 T* front() in front()
[all …]
DtvgLottieParser.h71 template<typename T> bool parseTangent(const char *key, LottieVectorFrame<T>& value);
72 template<typename T> bool parseTangent(const char *key, LottieScalarFrame<T>& value);
73 template<typename T> void parseKeyFrame(T& prop);
74 template<typename T> void parsePropertyInternal(T& prop);
75 …tieProperty::Type type = LottieProperty::Type::Invalid, typename T> void parseProperty(T& prop, Lo…
76 …ieProperty::Type type = LottieProperty::Type::Invalid, typename T> void parseSlotProperty(T& prop);
DtvgLottieRenderPooler.h34 template<typename T>
37 Array<T*> pooler;
46 T* pooling(bool copy = false)
54 auto p = copy ? static_cast<T*>(pooler[0]->duplicate()) : T::gen().release();
DtvgFill.h33 template<typename T>
37 virtual T* duplicate() = 0;
40 template<class T>
43 T* inst = nullptr;
45 FillDup(T* _inst) : inst(_inst) {} in FillDup()
DtvgLottieProperty.h42 template<typename T>
45 T value; //keyframe value
50 T interpolate(LottieScalarFrame<T>* next, float frameNo) in interpolate()
64 template<typename T>
67 T value; //keyframe value
70 T outTangent, inTangent;
75 T interpolate(LottieVectorFrame* next, float frameNo) in interpolate()
185 template<typename T>
186 uint32_t _bsearch(T* frames, float frameNo) in _bsearch()
203 template<typename T>
[all …]
DtvgMath.h74 template <typename T>
75 static inline void clamp(T& v, const T& min, const T& max) in clamp()
299 template <typename T>
300 static inline T lerp(const T &start, const T &end, float t) in lerp()
302 return static_cast<T>(start + (end - start) * t); in lerp()
Dthorvg.h2165 template<typename T = tvg::Paint>
2166 std::unique_ptr<T> cast(Paint* paint) in cast()
2168 return std::unique_ptr<T>(static_cast<T*>(paint)); in cast()
2176 template<typename T = tvg::Fill>
2177 std::unique_ptr<T> cast(Fill* fill) in cast()
2179 return std::unique_ptr<T>(static_cast<T*>(fill)); in cast()
DtvgLottieParser.cpp362 template<LottieProperty::Type type, typename T>
363 void LottieParser::parseSlotProperty(T& prop) in parseSlotProperty()
372 template<typename T>
373 bool LottieParser::parseTangent(const char *key, LottieVectorFrame<T>& value) in parseTangent()
384 template<typename T>
385 bool LottieParser::parseTangent(const char *key, LottieScalarFrame<T>& value) in parseTangent()
418 template<typename T>
419 void LottieParser::parseKeyFrame(T& prop) in parseKeyFrame()
465 template<typename T>
466 void LottieParser::parsePropertyInternal(T& prop) in parsePropertyInternal()
[all …]
/lvgl-latest/src/libs/thorvg/rapidjson/
Dpointer.h264 template <typename T>
265 …RAPIDJSON_DISABLEIF_RETURN((internal::NotExpr<internal::IsSame<typename internal::RemoveConst<T>::…
266 Append(T* name, Allocator* allocator = 0) const {
675 template <typename T>
676 …RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr<internal::IsPointer<T>, internal::IsGenericValue<T> >…
677 …GetWithDefault(ValueType& root, T defaultValue, typename ValueType::AllocatorType& allocator) cons… in GetWithDefault()
705 template <typename T, typename stackAllocator>
706 …RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr<internal::IsPointer<T>, internal::IsGenericValue<T> >…
707 …EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, T defaultValue) const { in GetWithDefault()
751 template <typename T>
[all …]
Dallocators.h428 template<typename T>
429 struct IsRefCounted<T, typename internal::EnableIfCond<T::kRefCounted>::Type> :
434 template<typename T, typename A>
435 inline T* Realloc(A& a, T* old_p, size_t old_n, size_t new_n)
437 …std::numeric_limits<size_t>::max)() / sizeof(T) && new_n <= (std::numeric_limits<size_t>::max)() /…
438 return static_cast<T*>(a.Realloc(old_p, old_n * sizeof(T), new_n * sizeof(T)));
441 template<typename T, typename A>
442 inline T *Malloc(A& a, size_t n = 1)
444 return Realloc<T, A>(a, NULL, 0, n);
447 template<typename T, typename A>
[all …]
Ddocument.h501 template <typename T, typename Encoding = void, typename Allocator = void>
505 template <typename T> struct IsGenericValueImpl<T, typename Void<typename T::EncodingType>::Type, t…
506 : IsBaseOf<GenericValue<typename T::EncodingType, typename T::AllocatorType>, T>::Type {};
509 template <typename T> struct IsGenericValue : IsGenericValueImpl<T>::Type {};
518 template <typename ValueType, typename T>
780 template <typename T>
781 …explicit GenericValue(T b, RAPIDJSON_ENABLEIF((internal::IsSame<bool, T>))) RAPIDJSON_NOEXCEPT //…
787 RAPIDJSON_STATIC_ASSERT((internal::IsSame<bool,T>::Value));
963 template <typename T>
964 RAPIDJSON_DISABLEIF_RETURN((internal::IsPointer<T>), (GenericValue&))
[all …]
Duri.h53 …template<typename T> GenericUri(const T& uri, Allocator* allocator = 0) : uri_(), base_(), scheme_… in uri_()
99 template<typename T> void Get(T& uri, Allocator& allocator) { in Get()
/lvgl-latest/examples/widgets/canvas/
Dlv_example_canvas_10.c26 #define CURVE2_Y(t, T) ((t) * lv_trigo_sin(((t) + (T)) * 5) * 40 / 32767 / 80 + CANVAS_HEIGHT / 2) in timer_cb() argument
/lvgl-latest/docs/
DDoxyfile2174 # http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
2435 # files in one run (i.e. multiple -o and -T options on the command line). This