Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmlmath.h22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) argument
23 #define roundf(x)(((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) argument
50 #define sqrt(x) ml_sqrt(x) argument
51 #define log(x) ml_log(x) argument
52 #define asin(x) ml_asin(x) argument
53 #define atan(x) ml_atan(x) argument
54 #define atan2(x,y) ml_atan2(x,y) argument
55 #define ceil(x) ml_ceil(x) argument
56 #define floor(x) ml_floor(x) argument
57 #define fabs(x) (((x)<0)?-(x):(x)) argument
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmlmath.h22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) argument
23 #define roundf(x)(((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) argument
50 #define sqrt(x) ml_sqrt(x) argument
51 #define log(x) ml_log(x) argument
52 #define asin(x) ml_asin(x) argument
53 #define atan(x) ml_atan(x) argument
54 #define atan2(x,y) ml_atan2(x,y) argument
55 #define ceil(x) ml_ceil(x) argument
56 #define floor(x) ml_floor(x) argument
57 #define fabs(x) (((x)<0)?-(x):(x)) argument
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dfast_trigonometry.inl8 GLM_FUNC_QUALIFIER vecType<T, P> taylorCos(vecType<T, P> const & x)
18 GLM_FUNC_QUALIFIER T cos_52s(T x)
25 GLM_FUNC_QUALIFIER vecType<T, P> cos_52s(vecType<T, P> const & x)
39 GLM_FUNC_QUALIFIER vecType<T, P> wrapAngle(vecType<T, P> const & x)
46 GLM_FUNC_QUALIFIER T fastCos(T x)
61 GLM_FUNC_QUALIFIER vecType<T, P> fastCos(vecType<T, P> const & x)
68 GLM_FUNC_QUALIFIER T fastSin(T x)
74 GLM_FUNC_QUALIFIER vecType<T, P> fastSin(vecType<T, P> const & x)
81 GLM_FUNC_QUALIFIER T fastTan(T x)
87 GLM_FUNC_QUALIFIER vecType<T, P> fastTan(vecType<T, P> const & x)
[all …]
Dscalar_relational.inl9 T const & x,
19 T const & x,
29 T const & x,
39 T const & x,
49 T const & x,
59 T const & x,
68 bool const & x
76 bool const & x
84 bool const & x
Dfast_square_root.inl8 GLM_FUNC_QUALIFIER genType fastSqrt(genType x)
16 GLM_FUNC_QUALIFIER vecType<T, P> fastSqrt(vecType<T, P> const & x)
23 GLM_FUNC_QUALIFIER genType fastInverseSqrt(genType x)
34 GLM_FUNC_QUALIFIER vecType<T, P> fastInverseSqrt(vecType<T, P> const & x)
41 GLM_FUNC_QUALIFIER genType fastLength(genType x)
49 GLM_FUNC_QUALIFIER T fastLength(vecType<T, P> const & x)
58 GLM_FUNC_QUALIFIER genType fastDistance(genType x, genType y)
64 GLM_FUNC_QUALIFIER T fastDistance(vecType<T, P> const & x, vecType<T, P> const & y)
71 GLM_FUNC_QUALIFIER genType fastNormalize(genType x)
77 GLM_FUNC_QUALIFIER vecType<T, P> fastNormalize(vecType<T, P> const & x)
Dinteger.inl7 GLM_FUNC_QUALIFIER int pow(int x, int y)
18 GLM_FUNC_QUALIFIER int sqrt(int x)
37 GLM_FUNC_QUALIFIER unsigned int ones32(unsigned int x)
66 GLM_FUNC_QUALIFIER int mod(int x, int y)
73 GLM_FUNC_QUALIFIER genType factorial(genType const & x)
84 tvec2<T, P> const & x)
93 tvec3<T, P> const & x)
103 tvec4<T, P> const & x)
112 GLM_FUNC_QUALIFIER uint pow(uint x, uint y)
120 GLM_FUNC_QUALIFIER uint sqrt(uint x)
[all …]
Dfast_exponential.inl8 GLM_FUNC_QUALIFIER genType fastPow(genType x, genType y)
14 GLM_FUNC_QUALIFIER vecType<T, P> fastPow(vecType<T, P> const & x, vecType<T, P> const & y)
20 GLM_FUNC_QUALIFIER T fastPow(T x, int y)
29 GLM_FUNC_QUALIFIER vecType<T, P> fastPow(vecType<T, P> const & x, vecType<int, P> const & y)
40 GLM_FUNC_QUALIFIER T fastExp(T x)
85 GLM_FUNC_QUALIFIER vecType<T, P> fastExp(vecType<T, P> const & x)
92 GLM_FUNC_QUALIFIER genType fastLog(genType x)
107 GLM_FUNC_QUALIFIER vecType<T, P> fastLog(vecType<T, P> const & x)
114 GLM_FUNC_QUALIFIER genType fastExp2(genType x)
120 GLM_FUNC_QUALIFIER vecType<T, P> fastExp2(vecType<T, P> const & x)
[all …]
Dextended_min_max.inl8 T const & x,
18 C<T> const & x,
29 C<T> const & x,
40 T const & x,
52 C<T> const & x,
64 C<T> const & x,
75 T const & x,
85 C<T> const & x,
96 C<T> const & x,
107 T const & x,
[all …]
Dcompatibility.inl11 genType const & x)
29 tvec1<T, P> const & x)
37 tvec2<T, P> const & x)
46 tvec3<T, P> const & x)
56 tvec4<T, P> const & x)
Dcommon.inl29 GLM_FUNC_QUALIFIER bool isdenormal(T const & x)
43 tvec1<T, P> const & x
55 tvec2<T, P> const & x
68 tvec3<T, P> const & x
82 tvec4<T, P> const & x
96 GLM_FUNC_QUALIFIER genType fmod(genType x, genType y)
102 GLM_FUNC_QUALIFIER vecType<T, P> fmod(vecType<T, P> const & x, T y)
108 GLM_FUNC_QUALIFIER vecType<T, P> fmod(vecType<T, P> const & x, vecType<T, P> const & y)
Dsimd_vec4.inl39 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & x, float const & y, float const & z, float co…
268 detail::fvec4SIMD const & x
283 detail::fvec4SIMD const & x
291 detail::fvec4SIMD const & x
299 detail::fvec4SIMD const & x
307 detail::fvec4SIMD const & x
327 detail::fvec4SIMD const & x
343 detail::fvec4SIMD const & x
351 detail::fvec4SIMD const & x
359 detail::fvec4SIMD const & x,
[all …]
Dquaternion.hpp125 tquat<T, P> const & x){return mat3_cast(x);} in toMat3()
132 tquat<T, P> const & x){return mat4_cast(x);} in toMat4()
139 tmat3x3<T, P> const & x){return quat_cast(x);} in toQuat()
146 tmat4x4<T, P> const & x){return quat_cast(x);} in toQuat()
Doptimum_pow.inl7 GLM_FUNC_QUALIFIER genType pow2(genType const & x)
13 GLM_FUNC_QUALIFIER genType pow3(genType const & x)
19 GLM_FUNC_QUALIFIER genType pow4(genType const & x)
Dvector_angle.inl9 genType const & x,
20 vecType<T, P> const & x,
32 tvec2<T, P> const & x,
48 tvec3<T, P> const & x,
Dcompatibility.hpp38 …template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} … in lerp()
39 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const… in lerp()
41 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const… in lerp()
42 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const… in lerp()
43 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const… in lerp()
44 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const… in lerp()
45 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const… in lerp()
47 …template <typename T, precision P> GLM_FUNC_QUALIFIER T saturate(T x){return clamp(x, T(0), T(1));… in saturate()
48 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> saturate(const tvec2<T, P>& x){r… in saturate()
49 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> saturate(const tvec3<T, P>& x){r… in saturate()
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dreciprocal.inl18 GLM_FUNC_QUALIFIER vecType<T, P> sec(vecType<T, P> const & x)
33 GLM_FUNC_QUALIFIER vecType<T, P> csc(vecType<T, P> const & x)
50 GLM_FUNC_QUALIFIER vecType<T, P> cot(vecType<T, P> const & x)
58 GLM_FUNC_QUALIFIER genType asec(genType x)
65 GLM_FUNC_QUALIFIER vecType<T, P> asec(vecType<T, P> const & x)
73 GLM_FUNC_QUALIFIER genType acsc(genType x)
80 GLM_FUNC_QUALIFIER vecType<T, P> acsc(vecType<T, P> const & x)
88 GLM_FUNC_QUALIFIER genType acot(genType x)
97 GLM_FUNC_QUALIFIER vecType<T, P> acot(vecType<T, P> const & x)
112 GLM_FUNC_QUALIFIER vecType<T, P> sech(vecType<T, P> const & x)
[all …]
Depsilon.inl17 float const & x,
28 double const & x,
39 float const & x,
50 double const & x,
61 vecType<T, P> const & x,
72 vecType<T, P> const & x,
83 vecType<T, P> const & x,
94 vecType<T, P> const & x,
105 tquat<T, P> const & x,
117 tquat<T, P> const & x,
Dulp.inl71 GLM_FUNC_QUALIFIER float nextafterf(float x, float y)
116 GLM_FUNC_QUALIFIER double nextafter(double x, double y)
175 GLM_FUNC_QUALIFIER float next_float(float const & x)
189 GLM_FUNC_QUALIFIER double next_float(double const & x)
203 GLM_FUNC_QUALIFIER vecType<T, P> next_float(vecType<T, P> const & x)
211 GLM_FUNC_QUALIFIER float prev_float(float const & x)
224 GLM_FUNC_QUALIFIER double prev_float(double const & x)
238 GLM_FUNC_QUALIFIER vecType<T, P> prev_float(vecType<T, P> const & x)
247 GLM_FUNC_QUALIFIER T next_float(T const & x, uint const & ulps)
256 GLM_FUNC_QUALIFIER vecType<T, P> next_float(vecType<T, P> const & x, vecType<uint, P> const & ulps)
[all …]
Dinteger.inl37 GLM_FUNC_QUALIFIER int iround(genType x)
46 GLM_FUNC_QUALIFIER vecType<int, P> iround(vecType<T, P> const& x)
55 GLM_FUNC_QUALIFIER uint uround(genType x)
64 GLM_FUNC_QUALIFIER vecType<uint, P> uround(vecType<T, P> const& x)
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_common.inl15 GLM_FUNC_QUALIFIER genType min(genType x, genType y)
23 GLM_FUNC_QUALIFIER genType max(genType x, genType y)
32 GLM_FUNC_QUALIFIER int32 abs(int32 x)
43 GLM_FUNC_QUALIFIER genType round(genType x)
56 GLM_FUNC_QUALIFIER genType trunc(genType x)
309 GLM_FUNC_QUALIFIER genFIType abs(genFIType x)
315 GLM_FUNC_QUALIFIER vecType<T, P> abs(vecType<T, P> const & x)
323 GLM_FUNC_QUALIFIER genFIType sign(genFIType x)
333 GLM_FUNC_QUALIFIER vecType<T, P> sign(vecType<T, P> const & x)
345 GLM_FUNC_QUALIFIER vecType<T, P> floor(vecType<T, P> const & x)
[all …]
Dfunc_exponential.inl78 GLM_FUNC_QUALIFIER vecType<T, P> exp(vecType<T, P> const & x)
86 GLM_FUNC_QUALIFIER vecType<T, P> log(vecType<T, P> const & x)
93 GLM_FUNC_QUALIFIER genType exp2(genType x)
101 GLM_FUNC_QUALIFIER vecType<T, P> exp2(vecType<T, P> const & x)
108 GLM_FUNC_QUALIFIER genType log2(genType x)
114 GLM_FUNC_QUALIFIER vecType<T, P> log2(vecType<T, P> const & x)
122 GLM_FUNC_QUALIFIER vecType<T, P> sqrt(vecType<T, P> const & x)
130 GLM_FUNC_QUALIFIER genType inversesqrt(genType x)
136 GLM_FUNC_QUALIFIER vecType<T, P> inversesqrt(vecType<T, P> const & x)
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/include/GLcommon/
DGLconversion_macros.h19 #define X2F(x) (((float)(x))/65536.0f) argument
20 #define X2D(x) (((double)(x))/65536.0) argument
21 #define X2I(x) ((x) /65536) argument
22 #define B2S(x) ((short)x) argument
/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/
DThreadSafety.h29 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) argument
31 #define THREAD_ANNOTATION_ATTRIBUTE__(x) argument
36 #define CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(__capability__(x)) argument
40 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(__guarded_by__(x)) argument
72 #define RETURN_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(__lock_returned__(x)) argument
/hardware/google/aemu/base/include/aemu/base/
DThreadAnnotations.h21 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) argument
23 #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op argument
26 #define CAPABILITY(x) \ argument
32 #define GUARDED_BY(x) \ argument
34 #define PT_GUARDED_BY(x) \ argument
62 #define ASSERT_CAPABILITY(x) \ argument
64 #define ASSERT_SHARED_CAPABILITY(x) \ argument
66 #define RETURN_CAPABILITY(x) \ argument
80 #define LOCK_RETURNED(x) \ argument
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXfuncproto.h81 # define _X_SENTINEL(x) __attribute__ ((__sentinel__(x))) argument
83 # define _X_SENTINEL(x) argument
103 # define _X_LIKELY(x) __builtin_expect(!!(x), 1) argument
104 # define _X_UNLIKELY(x) __builtin_expect(!!(x), 0) argument
106 # define _X_LIKELY(x) (x) argument
107 # define _X_UNLIKELY(x) (x) argument
127 # define _X_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y))) argument
129 # define _X_ATTRIBUTE_PRINTF(x,y) argument

12345678910>>...14