Home
last modified time | relevance | path

Searched refs:PURE (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/libs/math/include/math/
DTVecHelpers.h28 #define PURE __attribute__((pure)) macro
110 friend inline constexpr VECTOR<T> PURE operator +(VECTOR<T> lv, const VECTOR<RT>& rv) {
115 friend inline constexpr VECTOR<T> PURE operator -(VECTOR<T> lv, const VECTOR<RT>& rv) {
126 friend inline constexpr VECTOR<T> PURE operator +(VECTOR<T> lv, const VECTOR<T>& rv) {
130 friend inline constexpr VECTOR<T> PURE operator -(VECTOR<T> lv, const VECTOR<T>& rv) {
191 friend inline constexpr VECTOR<T> PURE operator *(VECTOR<T> lv, const VECTOR<RT>& rv) {
196 friend inline constexpr VECTOR<T> PURE operator /(VECTOR<T> lv, const VECTOR<RT>& rv) {
207 friend inline constexpr VECTOR<T> PURE operator *(VECTOR<T> lv, const VECTOR<T>& rv) {
211 friend inline constexpr VECTOR<T> PURE operator /(VECTOR<T> lv, const VECTOR<T>& rv) {
275 bool PURE operator ==(const VECTOR<T>& lv, const VECTOR<RT>& rv) {
[all …]
DTQuatHelpers.h28 #define PURE __attribute__((pure)) macro
93 constexpr QUATERNION<T> PURE operator *(const QUATERNION<T>& q, const QUATERNION<RT>& r) {
108 constexpr TVec3<T> PURE operator *(const QUATERNION<T>& q, const TVec3<RT>& v) {
129 constexpr QUATERNION<T> PURE operator *(QUATERNION<T> q, T scalar) {
134 constexpr QUATERNION<T> PURE operator *(T scalar, QUATERNION<T> q) {
140 constexpr QUATERNION<T> PURE operator /(QUATERNION<T> q, T scalar) {
167 constexpr T PURE dot(const QUATERNION<T>& p, const QUATERNION<RT>& q) { in dot()
175 constexpr T PURE norm(const QUATERNION<T>& q) { in norm()
180 constexpr T PURE length(const QUATERNION<T>& q) { in length()
185 constexpr T PURE length2(const QUATERNION<T>& q) { in length2()
[all …]
Dmat2.h24 #define PURE __attribute__((pure)) macro
322 CONSTEXPR typename TMat22<U>::col_type PURE operator *(const TMat22<T>& lhs, const TVec2<U>& rhs) {
333 CONSTEXPR typename TMat22<U>::row_type PURE operator *(const TVec2<U>& lhs, const TMat22<T>& rhs) {
343 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat22<T>>::type PURE
350 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat22<T>>::type PURE
361 CONSTEXPR typename TMat22<T>::col_type PURE diag(const TMat22<T>& m) { in diag()
376 #undef PURE
DTMatHelpers.h44 #define PURE __attribute__((pure)) macro
81 MATRIX PURE gaussJordanInverse(const MATRIX& src) { in gaussJordanInverse()
130 CONSTEXPR MATRIX PURE fastInverse2(const MATRIX& x) { in fastInverse2()
164 CONSTEXPR MATRIX PURE fastInverse3(const MATRIX& x) { in fastInverse3()
234 inline constexpr MATRIX PURE inverse(const MATRIX& matrix) { in inverse()
242 CONSTEXPR MATRIX_R PURE multiply(const MATRIX_A& lhs, const MATRIX_B& rhs) { in multiply()
264 CONSTEXPR MATRIX PURE transpose(const MATRIX& m) { in transpose()
278 CONSTEXPR typename MATRIX::value_type PURE trace(const MATRIX& m) { in trace()
289 CONSTEXPR typename MATRIX::col_type PURE diag(const MATRIX& m) { in diag()
399 friend CONSTEXPR BASE<T> PURE operator *(const BASE<T>& lhs, const BASE<U>& rhs) {
[all …]
Dmat3.h25 #define PURE __attribute__((pure)) macro
375 CONSTEXPR typename TMat33<U>::col_type PURE operator *(const TMat33<T>& lhs, const TVec3<U>& rhs) {
386 CONSTEXPR typename TMat33<U>::row_type PURE operator *(const TVec3<U>& lhs, const TMat33<T>& rhs) {
396 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat33<T>>::type PURE
403 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat33<T>>::type PURE
424 CONSTEXPR typename TMat33<T>::col_type PURE diag(const TMat33<T>& m) { in diag()
439 #undef PURE
Dquat.h27 #ifndef PURE
28 #define PURE __attribute__((pure)) macro
133 constexpr static TQuaternion PURE fromAxisAngle(const TVec3<A>& axis, B angle) { in fromAxisAngle()
192 #undef PURE
Dmat4.h29 #define PURE __attribute__((pure)) macro
524 CONSTEXPR typename TMat44<T>::col_type PURE operator *(const TMat44<T>& lhs, const TVec4<U>& rhs) {
535 CONSTEXPR typename TMat44<T>::col_type PURE operator *(const TMat44<T>& lhs, const TVec3<U>& rhs) {
542 CONSTEXPR typename TMat44<U>::row_type PURE operator *(const TVec4<U>& lhs, const TMat44<T>& rhs) {
552 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat44<T>>::type PURE
559 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat44<T>>::type PURE
570 typename TMat44<T>::col_type PURE diag(const TMat44<T>& m) { in diag()
585 #undef PURE
/frameworks/native/services/sensorservice/
Dvec.h29 #define PURE __attribute__((pure)) macro
67 VLHS<TYPE, SIZE> PURE doAdd( in doAdd()
82 VLHS<TYPE, SIZE> PURE doSub( in doSub()
96 VEC<TYPE, SIZE> PURE doMulScalar( in doMulScalar()
110 VEC<TYPE, SIZE> PURE doScalarMul( in doScalarMul()
145 inline VLHS<TYPE, SIZE> PURE operator + (
157 inline VLHS<TYPE, SIZE> PURE operator - (
168 inline VEC<TYPE, SIZE> PURE operator * (
179 inline VEC<TYPE, SIZE> PURE operator * (
192 TYPE PURE dot_product( in dot_product()
[all …]
Dmat.h43 mat<TYPE, C, R> PURE doMul( in doMul()
61 vec<TYPE, R> PURE doMul( in doMul()
77 mat<TYPE, C, R> PURE doMul( in doMul()
91 mat<TYPE, C, R> PURE doMul( in doMul()
105 mat<TYPE, C, R> PURE doMul( in doMul()
172 friend inline mat PURE operator + (const mat& lhs, const mat& rhs) {
177 friend inline mat PURE operator - (const mat& lhs, const mat& rhs) {
185 friend mat PURE operator * (
192 friend vec<TYPE, R> PURE operator * (
198 friend mat PURE operator * (
[all …]