/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
D | mlmath.h | 22 #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/6515/libsensors_iio/software/core/driver/include/ |
D | mlmath.h | 22 #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/ |
D | fast_trigonometry.inl | 8 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 …]
|
D | scalar_relational.inl | 9 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
|
D | fast_square_root.inl | 8 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)
|
D | integer.inl | 7 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 …]
|
D | fast_exponential.inl | 8 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 …]
|
D | extended_min_max.inl | 8 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 …]
|
D | common.inl | 29 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)
|
D | compatibility.inl | 11 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)
|
D | simd_vec4.inl | 39 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 …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
D | reciprocal.inl | 18 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 …]
|
D | epsilon.inl | 17 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,
|
/hardware/google/gfxstream/guest/mesa/include/winddk/ |
D | winddk_compat.h | 62 #define __ecount(x) /**/ argument 66 #define __in_ecount(x) /**/ argument 70 #define __deref_ecount(x) /**/ argument 74 #define __in_bcount(x) /**/ argument 78 #define __out_bcount(x) /**/ argument 82 #define __out_ecount_opt(x) /**/ argument 90 #define __in_range(x,y) /**/ argument 94 #define __field_bcount(x) /**/ argument 98 #define __out_bcount(x) /**/ argument 102 #define __out_bcount_full_opt(x) /**/ argument [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_tests.c | 41 #define PACKED_1x8(x) {x, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} argument 42 #define PACKED_2x8(x, y) {x, y, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} argument 43 #define PACKED_3x8(x, y, z) {x, y, z, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} argument 44 #define PACKED_4x8(x, y, z, w) {x, y, z, w, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} argument 48 #define PACKED_1x16(x) {(x) >> 8, (x) & 0xff, 0, 0, 0, 0, … argument 49 #define PACKED_2x16(x, y) {(x) >> 8, (x) & 0xff, (y) >> 8, (y) & 0xff, 0, 0, … argument 50 #define PACKED_3x16(x, y, z) {(x) >> 8, (x) & 0xff, (y) >> 8, (y) & 0xff, (z) >> 8, (z) & 0xff, … argument 51 #define PACKED_4x16(x, y, z, w) {(x) >> 8, (x) & 0xff, (y) >> 8, (y) & 0xff, (z) >> 8, (z) & 0xff, … argument 53 #define PACKED_1x16(x) {(x) & 0xff, (x) >> 8, 0, 0, 0, 0, … argument 54 #define PACKED_2x16(x, y) {(x) & 0xff, (x) >> 8, (y) & 0xff, (y) >> 8, 0, 0, … argument [all …]
|
D | format_utils.h | 43 _mesa_unorm_to_float(unsigned x, unsigned src_bits) in _mesa_unorm_to_float() 49 _mesa_snorm_to_float(int x, unsigned src_bits) in _mesa_snorm_to_float() 58 _mesa_unorm_to_half(unsigned x, unsigned src_bits) in _mesa_unorm_to_half() 64 _mesa_snorm_to_half(int x, unsigned src_bits) in _mesa_snorm_to_half() 70 _mesa_float_to_unorm(float x, unsigned dst_bits) in _mesa_float_to_unorm() 81 _mesa_half_to_unorm(uint16_t x, unsigned dst_bits) in _mesa_half_to_unorm() 87 _mesa_unorm_to_unorm(unsigned x, unsigned src_bits, unsigned dst_bits) in _mesa_unorm_to_unorm() 107 _mesa_snorm_to_unorm(int x, unsigned src_bits, unsigned dst_bits) in _mesa_snorm_to_unorm() 116 _mesa_float_to_snorm(float x, unsigned dst_bits) in _mesa_float_to_snorm() 127 _mesa_half_to_snorm(uint16_t x, unsigned dst_bits) in _mesa_half_to_snorm() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | bitset.h | 51 #define BITSET_COPY(x, y) memcpy( (x), (y), sizeof (x) ) argument 52 #define BITSET_EQUAL(x, y) (memcmp( (x), (y), sizeof (x) ) == 0) argument 53 #define BITSET_ZERO(x) memset( (x), 0, sizeof (x) ) argument 54 #define BITSET_ONES(x) memset( (x), 0xff, sizeof (x) ) argument 55 #define BITSET_SIZE(x) (8 * sizeof(x)) // bitset size in bits argument 62 #define BITSET_TEST(x, b) (((x)[BITSET_BITWORD(b)] & BITSET_BIT(b)) != 0) argument 63 #define BITSET_SET(x, b) ((x)[BITSET_BITWORD(b)] |= BITSET_BIT(b)) argument 64 #define BITSET_CLEAR(x, b) ((x)[BITSET_BITWORD(b)] &= ~BITSET_BIT(b)) argument 72 __bitset_and(BITSET_WORD *r, const BITSET_WORD *x, const BITSET_WORD *y, unsigned n) in __bitset_and() 79 __bitset_or(BITSET_WORD *r, const BITSET_WORD *x, const BITSET_WORD *y, unsigned n) in __bitset_or() [all …]
|
D | compiler.h | 58 #define CPU_TO_LE32( x ) bswap_32( x ) argument 61 #define CPU_TO_LE32( x ) CFSwapInt32HostToLittle( x ) argument 64 #define CPU_TO_LE32( x ) htole32( x ) argument 67 #define CPU_TO_LE32( x ) bswap32( x ) argument 70 #define CPU_TO_LE32( x ) ( x ) argument 72 #define LE32_TO_CPU( x ) CPU_TO_LE32( x ) argument 85 # define __has_attribute(x) 0 argument
|
D | rounding.h | 60 _mesa_roundevenf(float x) in _mesa_roundevenf() 77 _mesa_roundeven(double x) in _mesa_roundeven() 95 _mesa_lroundevenf(float x) in _mesa_lroundevenf() 115 _mesa_lroundeven(double x) in _mesa_lroundeven() 135 _mesa_i64roundevenf(float x) in _mesa_i64roundevenf()
|
/hardware/google/gfxstream/third-party/glm/include/glm/detail/ |
D | func_common.inl | 15 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 …]
|
D | func_exponential.inl | 78 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/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/include/ |
D | platform_lib_macros.h | 49 #define TS_PRINTF(format, x...) \ argument 61 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 62 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 63 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 64 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 65 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/ |
D | platform_lib_macros.h | 49 #define TS_PRINTF(format, x...) \ argument 61 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 62 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 63 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 64 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 65 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
|
/hardware/qcom/gps/platform_lib_abstractions/ |
D | platform_lib_macros.h | 34 #define TS_PRINTF(format, x...) \ argument 52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
|
/hardware/qcom/gps/msm8994/platform_lib_abstractions/ |
D | platform_lib_macros.h | 34 #define TS_PRINTF(format, x...) \ argument 52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
|