/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_vector2.h | 36 Vector2(T x, T y); 79 Vector2<T>::Vector2(T x, T y) in Vector2() 86 Vector2<T>::Vector2(const T* v) in Vector2() 105 T Vector2<T>::Dot(const Vector2<T>& other) const in Dot() 114 T Vector2<T>::Cross(const Vector2<T>& other) const in Cross() 150 Vector2<T> Vector2<T>::operator/(T scale) const 160 Vector2<T> Vector2<T>::operator*(T scale) const 178 Vector2<T>& Vector2<T>::operator*=(const Vector2<T>& other) 187 Vector2<T>& Vector2<T>::operator+=(const Vector2<T>& other) 203 Vector2<T>& Vector2<T>::operator=(const Vector2<T>& other) [all …]
|
H A D | rs_vector4.h | 43 Vector4(T x, T y, T z, T w); 56 void SetValues(T x, T y, T z, T w); 110 Vector4<T>::Vector4(T value) in Vector4() 127 Vector4<T>::Vector4(T x, T y, T z, T w) in Vector4() 198 T Vector4<T>::Dot(const Vector4<T>& other) const in Dot() 225 T Vector4<T>::Normalize() in Normalize() 241 void Vector4<T>::Min(const Vector4<T>& a, const Vector4<T>& b, Vector4<T>& result) in Min() 253 void Vector4<T>::Max(const Vector4<T>& a, const Vector4<T>& b, Vector4<T>& result) in Max() 265 void Vector4<T>::Mix(const Vector4<T>& min, const Vector4<T>& max, T a, Vector4<T>& result) in Mix() 302 void Vector4<T>::SetValues(T x, T y, T z, T w) in SetValues() [all …]
|
H A D | rs_vector3.h | 37 Vector3(T x, T y, T z); 47 void SetValues(T x, T y, T z); 79 Vector3<T>::Vector3(T x, T y, T z) in Vector3() 87 Vector3<T>::Vector3(T* v) in Vector3() 107 T Vector3<T>::Dot(const Vector3<T>& other) const in Dot() 117 Vector3<T> Vector3<T>::Cross(const Vector3<T>& other) const in Cross() 153 void Vector3<T>::SetValues(T x, T y, T z) in SetValues() 161 T Vector3<T>::Normalize() in Normalize() 176 Vector3<T>& Vector3<T>::operator*=(const Vector3<T>& other) 186 Vector3<T>& Vector3<T>::operator*=(T s) [all …]
|
H A D | rs_matrix3.h | 35 Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22); 71 Matrix3 Rotate(T angle, T pivotx, T pivoty) const; 95 Matrix3<T>::Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) in Matrix3() 121 T Matrix3<T>::Trace() const in Trace() 267 Matrix3<T> Matrix3<T>::operator*(T scale) const 350 Matrix3<T>& Matrix3<T>::operator*=(T scale) 441 Matrix3<T> Matrix3<T>::Rotate(T angle) const in Rotate() 460 Matrix3<T> Matrix3<T>::Rotate(T angle, T pivotx, T pivoty) const in Rotate() 500 Matrix3<T> Matrix3<T>::Scale(const Vector2<T>& vec, T pivotx, T pivoty) const in Scale() 522 Matrix3<T> Matrix3<T>::ShearX(T y) const in ShearX() [all …]
|
H A D | rs_rect.h | 49 RectT(T left, T top, T width, T height) in RectT() 98 void SetAll(T left, T top, T width, T height) in SetAll() 137 void Move(T x, T y) in Move() 153 bool Intersect(T x, T y) const in Intersect() 190 RectT<T> Offset(const T x, const T y) const in Offset() 283 RectT<T> rect_ = RectT<T>(); 340 RRectT<T> RRectT<T>::operator-(const RRectT<T>& other) const 352 RRectT<T> RRectT<T>::operator+(const RRectT<T>& other) const 391 RRectT<T>& RRectT<T>::operator-=(const RRectT<T>& other) 402 RRectT<T>& RRectT<T>::operator+=(const RRectT<T>& other) [all …]
|
/ohos5.0/foundation/multimodalinput/input/util/common/include/ |
H A D | mmi_vector2.h | 37 Vector2(T x, T y); 76 Vector2<T>::Vector2(T x, T y) in Vector2() 83 Vector2<T>::Vector2(const T* v) in Vector2() 102 T Vector2<T>::Dot(const Vector2<T>& other) const in Dot() 111 T Vector2<T>::Cross(const Vector2<T>& other) const in Cross() 147 Vector2<T> Vector2<T>::operator/(T scale) const 157 Vector2<T> Vector2<T>::operator*(T scale) const 175 Vector2<T>& Vector2<T>::operator*=(const Vector2<T>& other) 184 Vector2<T>& Vector2<T>::operator+=(const Vector2<T>& other) 192 Vector2<T>& Vector2<T>::operator=(const Vector2<T>& other) [all …]
|
H A D | mmi_vector3.h | 36 Vector3(T x, T y, T z); 46 void SetValues(T x, T y, T z); 78 Vector3<T>::Vector3(T x, T y, T z) in Vector3() 86 Vector3<T>::Vector3(T* v) in Vector3() 106 T Vector3<T>::Dot(const Vector3<T>& other) const in Dot() 116 Vector3<T> Vector3<T>::Cross(const Vector3<T>& other) const in Cross() 152 void Vector3<T>::SetValues(T x, T y, T z) in SetValues() 160 T Vector3<T>::Normalize() in Normalize() 175 Vector3<T>& Vector3<T>::operator*=(const Vector3<T>& other) 185 Vector3<T>& Vector3<T>::operator*=(T s) [all …]
|
H A D | mmi_matrix3.h | 36 Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22); 73 Matrix3 Rotate(T angle, T pivotx, T pivoty) const; 97 Matrix3<T>::Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) in Matrix3() 135 T Matrix3<T>::Trace() const in Trace() 281 Matrix3<T> Matrix3<T>::operator*(T scale) const 364 Matrix3<T>& Matrix3<T>::operator*=(T scale) 455 Matrix3<T> Matrix3<T>::Rotate(T angle) const in Rotate() 474 Matrix3<T> Matrix3<T>::Rotate(T angle, T pivotx, T pivoty) const in Rotate() 514 Matrix3<T> Matrix3<T>::Scale(const Vector2<T>& vec, T pivotx, T pivoty) const in Scale() 536 Matrix3<T> Matrix3<T>::ShearX(T y) const in ShearX() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | type_traits.h | 24 template<class T, T v> 54 struct is_same<T, T> : true_type {}; 81 struct extent<T[], N> : extent<T, N - 1> {}; 87 struct extent<T[I], N> : extent<T, N - 1> {}; 163 struct add_lvalue_reference<T, void_t<T&>> { 167 struct add_rvalue_reference<T, void_t<T&>> { 208 constexpr remove_reference_t<T>&& move(T&& _Arg) noexcept 226 template<class T, class U = T> 227 constexpr T exchange(T& obj, U&& new_value) 315 template<typename T, bool = is_arithmetic_v<T>> [all …]
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | autoptr.h | 81 AutoPtr<T>::AutoPtr(T *other) : mPtr(other) in AutoPtr() 111 AutoPtr<T> &AutoPtr<T>::operator=(T *other) 127 AutoPtr<T> &AutoPtr<T>::operator=(const AutoPtr<T> &other) 143 AutoPtr<T> &AutoPtr<T>::operator=(AutoPtr<T> &&other) 154 void AutoPtr<T>::MoveTo(T **other) in MoveTo() 163 AutoPtr<T>::operator T *() const 169 T **AutoPtr<T>::operator&() 175 T *AutoPtr<T>::operator->() const 181 T &AutoPtr<T>::operator*() const 187 T *AutoPtr<T>::Get() const in Get() [all …]
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/util/ |
H A D | autoptr.h | 74 AutoPtr<T>::AutoPtr(T *other) : mPtr(other) in AutoPtr() 104 AutoPtr<T> &AutoPtr<T>::operator=(T *other) 120 AutoPtr<T> &AutoPtr<T>::operator=(const AutoPtr<T> &other) 136 AutoPtr<T> &AutoPtr<T>::operator=(AutoPtr<T> &&other) 147 void AutoPtr<T>::MoveTo(T **other) in MoveTo() 156 AutoPtr<T>::operator T *() const 162 T **AutoPtr<T>::operator&() 168 T *AutoPtr<T>::operator->() const 174 T &AutoPtr<T>::operator*() const 180 T *AutoPtr<T>::Get() const in Get() [all …]
|
/ohos5.0/foundation/ability/idl_tool/util/ |
H A D | autoptr.h | 83 AutoPtr<T>::AutoPtr(T* other) in AutoPtr() 101 AutoPtr<T>::AutoPtr(AutoPtr<T>&& other) in AutoPtr() 116 AutoPtr<T>& AutoPtr<T>::operator=(T* other) 131 AutoPtr<T>& AutoPtr<T>::operator=(const AutoPtr<T>& other) 146 AutoPtr<T>& AutoPtr<T>::operator=(AutoPtr<T>&& other) 157 void AutoPtr<T>::MoveTo(T** other) in MoveTo() 166 AutoPtr<T>::operator T*() const 172 T** AutoPtr<T>::operator&() 178 T* AutoPtr<T>::operator->() const 184 T& AutoPtr<T>::operator*() const [all …]
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | graphic_math.h | 119 Vector2(T x, T y) in Vector2() 242 Vector3(T x, T y, T z) in Vector3() 298 Vector4(T x, T y, T z, T w) in Vector4() 361 Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22); 473 Matrix3<T>::Matrix3(T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) in Matrix3() 565 Matrix3<T> Matrix3<T>::Rotate(T angle, const Vector2<T>& pivot) in Rotate() 631 Matrix4(T m00, T m01, T m02, T m03, T m10, T m11, T m12, T m13, 632 T m20, T m21, T m22, T m23, T m30, T m31, T m32, T m33); 739 Matrix4<T>::Matrix4(T m00, T m01, T m02, T m03, T m10, T m11, T m12, T m13, in Matrix4() 740 T m20, T m21, T m22, T m23, T m30, T m31, T m32, T m33) in Matrix4() [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/ |
H A D | refbase.h | 251 template<typename T> inline sptr<T>::sptr(T *other) in sptr() 264 template<typename T> sptr<T>::sptr(sptr<T> &&other) in sptr() 270 template<typename T> sptr<T> &sptr<T>::operator=(sptr<T> &&other) 287 template<typename T> inline sptr<T> &sptr<T>::operator=(T *other) 301 template<typename T> inline sptr<T> &sptr<T>::operator=(const sptr<T> &other) 316 template<typename T> inline sptr<T> &sptr<T>::operator=(const wptr<T> &other) 464 template<typename T> wptr<T>::wptr(T *other) in wptr() 476 template<typename T> wptr<T>::wptr(const wptr<T> &other) in wptr() 512 template<typename T> wptr<T> &wptr<T>::operator=(T *other) 549 template<typename T> inline wptr<T> &wptr<T>::operator=(const wptr<T> &other) [all …]
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | refbase.h | 773 sptr<T> &operator=(T *other); 899 inline sptr<T>::sptr(T *other) in sptr() 917 sptr<T>::sptr(sptr<T> &&other) in sptr() 924 sptr<T> &sptr<T>::operator=(sptr<T> &&other) 944 inline sptr<T> &sptr<T>::operator=(T *other) 959 inline sptr<T> &sptr<T>::operator=(const sptr<T> &other) 975 inline sptr<T> &sptr<T>::operator=(const wptr<T> &other) 1344 wptr<T>::wptr(T *other) in wptr() 1399 wptr<T> &wptr<T>::operator=(T *other) 1439 inline wptr<T> &wptr<T>::operator=(const wptr<T> &other) [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | stack.rs | 42 impl<T: Stackof> Deref for Stack<T> { 50 impl<T: Stackof> DerefMut for Stack<T> { 56 impl<T: Stackof> AsRef<StackRef<T>> for Stack<T> { 62 impl<T: Stackof> Borrow<StackRef<T>> for Stack<T> { 68 impl<T: Stackof> Drop for Stack<T> { 101 impl<T: Stackof> StackRef<T> { 118 impl<T: Stackof> ForeignRef for StackRef<T> { 122 impl<T: Stackof> StackRef<T> { 128 impl<T: Stackof> Foreign for Stack<T> { 158 impl<T: Stackof> Drop for IntoStackIter<T> { [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.h | 761 sptr<T> &operator=(T *other); 872 inline sptr<T>::sptr(T *other) in sptr() 890 sptr<T>::sptr(sptr<T> &&other) in sptr() 897 sptr<T> &sptr<T>::operator=(sptr<T> &&other) 917 inline sptr<T> &sptr<T>::operator=(T *other) 932 inline sptr<T> &sptr<T>::operator=(const sptr<T> &other) 948 inline sptr<T> &sptr<T>::operator=(const wptr<T> &other) 1311 wptr<T>::wptr(T *other) in wptr() 1366 wptr<T> &wptr<T>::operator=(T *other) 1406 inline wptr<T> &wptr<T>::operator=(const wptr<T> &other) [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/partial_update/ |
H A D | pu_repeat.ts | 32 interface __RepeatItemFactoryReturn<T> extends RepeatItem<T>, __IRepeatItemInternal<T> { } 35 class __RepeatItemPU<T> implements RepeatItem<T>, __IRepeatItemInternal<T> { 74 class __RepeatItemV2<T> implements RepeatItem<T>, __IRepeatItemInternal<T> { 110 public static func<T>(item: T): string { 119 public static funcWithIndex<T>(item: T, index: number) { 123 private static funcImpl<T>(item: T) { 153 class __Repeat<T> implements RepeatAPI<T> { 155 private impl: __RepeatImpl<T> | __RepeatVirtualScrollImpl<T>; 180 public each(itemGenFunc: RepeatItemGenFunc<T>): RepeatAPI<T> { 186 public key(keyGenFunc: RepeatKeyGenFunc<T>): RepeatAPI<T> { [all …]
|
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/include/encoded/ |
H A D | raw_data_builder.h | 77 template<typename T> 86 template<typename T> 109 template<typename T> 118 template<typename T> 127 template<typename T> 136 template<typename T> 145 template<typename T> 154 template<typename T> 166 template<typename T> 174 template<typename T> [all …]
|
/ohos5.0/base/update/updater/utils/json/ |
H A D | traits_util.h | 25 template<typename T> 28 template<typename T> 31 template<typename T> 35 template<typename T> 36 inline constexpr bool G_IS_PRINTABLE = (G_IS_NUM<T> || G_IS_BOOL<T> || G_IS_STR<T>); 38 template<typename T> 39 inline constexpr bool G_IS_BASE_TYPE = (G_IS_NUM<T> || G_IS_BOOL<T> || G_IS_STR<T>); 41 template<typename T> 44 template<typename T> 47 template<typename T> [all …]
|
/ohos5.0/drivers/hdf_core/interfaces/inner_api/hdi/base/ |
H A D | hdi_smq.h | 74 template <typename T> 281 SharedMemQueue<T>::SharedMemQueue(const SharedMemQueueMeta<T> &meta) in SharedMemQueue() 412 int SharedMemQueue<T>::Write(const T *data, size_t count) in Write() 418 int SharedMemQueue<T>::Read(T *data, size_t count) in Read() 424 int SharedMemQueue<T>::Write(const T *data) in Write() 430 int SharedMemQueue<T>::Read(T *data) in Read() 525 int SharedMemQueue<T>::WriteNonBlocking(const T *data) in WriteNonBlocking() 531 int SharedMemQueue<T>::ReadNonBlocking(T *data) in ReadNonBlocking() 576 int SharedMemQueue<T>::ReadNonBlocking(T *data, size_t count) in ReadNonBlocking() 589 …if (memcpy_s(data, count * sizeof(T), queueBuffer_ + (rOffset * sizeof(T)), count * sizeof(T)) != … in ReadNonBlocking() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/core/ |
H A D | compatible_check.cpp | 47 template<typename T> 51 template <typename T> 56 [](T a, T b) { in FixInvalDiscCapValCheck() 65 return CapabilityValueCheck<T>(key, {val1, val2}, ALLOW_FIXED | ALLOW_DISCRETE, [](T a, T b) { in FixDiscCapValCheck() 85 template <typename T> 160 template <typename T> 161 T Max(T val1, T val2, std::function<int(T, T)> compareFunc) in Max() argument 169 template <typename T> 170 T Min(T val1, T val2, std::function<int(T, T)> compareFunc) in Min() argument 178 template <typename T> [all …]
|
/ohos5.0/commonlibrary/rust/ylong_json/src/ |
H A D | linked_list.rs | 29 impl<T> LinkedList<T> { 225 impl<T> Default for LinkedList<T> { 231 impl<T: Debug> Debug for LinkedList<T> { 257 impl<T: Clone> Clone for LinkedList<T> { 267 impl<T> Drop for LinkedList<T> { 277 unsafe impl<T: Send> Send for LinkedList<T> {} 288 impl<T> Node<T> { 330 impl<'a, T> Iterator for Iter<'a, T> { 379 impl<'a, T> Iterator for IterMut<'a, T> { 429 impl<'a, T> Cursor<'a, T> { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_ref.h | 23 template<typename T> 93 static JsiRef<T> Claim(T&& val) in Claim() 95 return JsiRef<T>(std::forward<T>(val)); in Claim() 101 return JsiRef<T>::Make(T::Cast(that.Get())); in Cast() 117 JsiRef<T>& operator=(const JsiRef<T>& rhs) 124 JsiRef<T>& operator=(JsiRef<T>&& rhs) 159 T value_; 189 JsiWeak<T>& operator=(const JsiWeak<T>& rhs) 197 JsiWeak<T>& operator=(const JsiRef<T>& rhs) 204 JsiWeak<T>& operator=(JsiWeak<T>&& rhs) [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/ |
H A D | checked_cast.h | 34 template<typename T> 38 template<typename T> 39 struct IsPtr<T *> { 86 template<typename T, typename X> 91 T t = dynamic_cast<T>(x); 105 T t = dynamic_cast<T>(x); 118 template<typename T, typename X> 123 T t = dynamic_cast<T>(x); 137 T t = dynamic_cast<T>(x); 151 template<typename T, typename X> [all …]
|