/hardware/google/gfxstream/codegen/gles2/ |
D | gles2.types | 1 GLbitfield 32 0x%08x 4 GLclampx 32 0x%08x 6 GLenum 32 0x%08x 7 GLfixed 32 0x%08x 10 GLintptr 32 0x%08lx 13 GLsizeiptr 32 0x%08lx 14 GLubyte 8 0x%02x 16 GLvoid 0 %x 18 GLenum* 32 0x%08x 19 GLboolean* 32 0x%08x [all …]
|
/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/codegen/gles1/ |
D | gles1.types | 1 GLbitfield 32 0x%08x 4 GLclampx 32 0x%08x 6 GLenum 32 0x%08x 7 GLfixed 32 0x%08x 10 GLintptr 32 0x%08lx 13 GLsizeiptr 32 0x%08lx 14 GLubyte 8 0x%02x 16 GLvoid 0 %x 18 GLenum* 32 0x%08x 19 GLboolean* 32 0x%08x [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) argument 11 - (x * x) / 2.f 12 + (x * x * x * x) / 24.f 13 - (x * x * x * x * x * x) / 720.f 14 + (x * x * x * x * x * x * x * x) / 40320.f; 18 GLM_FUNC_QUALIFIER T cos_52s(T x) argument 20 T const xx(x * x); 25 GLM_FUNC_QUALIFIER vecType<T, P> cos_52s(vecType<T, P> const & x) argument 27 return detail::functor1<T, T, P, vecType>::call(cos_52s, x); 39 GLM_FUNC_QUALIFIER vecType<T, P> wrapAngle(vecType<T, P> const & x) argument [all …]
|
D | integer.inl | 7 GLM_FUNC_QUALIFIER int pow(int x, int y) argument 11 int result = x; 13 result *= x; 18 GLM_FUNC_QUALIFIER int sqrt(int x) argument 20 if(x <= 1) return x; 22 int NextTrial = x >> 1; 28 NextTrial = (NextTrial + x / NextTrial) >> 1; 37 GLM_FUNC_QUALIFIER unsigned int ones32(unsigned int x) argument 43 x -= ((x >> 1) & 0x55555555); 44 x = (((x >> 2) & 0x33333333) + (x & 0x33333333)); [all …]
|
D | dual_quaternion.inl | 66 T(-0.5) * ( p.x*q.x + p.y*q.y + p.z*q.z), 67 T(+0.5) * ( p.x*q.w + p.y*q.z - p.z*q.y), 68 T(+0.5) * (-p.x*q.z + p.y*q.w + p.z*q.x), 69 T(+0.5) * ( p.x*q.y - p.y*q.x + p.z*q.w)) 168 tvec3<T, P> const real_v3(q.real.x,q.real.y,q.real.z); 169 tvec3<T, P> const dual_v3(q.dual.x,q.dual.y,q.dual.z); 232 …GLM_FUNC_QUALIFIER tdualquat<T, P> lerp(tdualquat<T, P> const & x, tdualquat<T, P> const & y, T co… argument 238 T const k = dot(x.real,y.real) < static_cast<T>(0) ? -a : a; 240 return tdualquat<T, P>(x * (one - a) + y * k); 252 GLM_FUNC_QUALIFIER tmat2x4<T, P> mat2x4_cast(tdualquat<T, P> const & x) argument [all …]
|
D | string_cast.inl | 135 GLM_FUNC_QUALIFIER static std::string call(tvec1<bool, P> const & x) 138 x[0] ? detail::LabelTrue : detail::LabelFalse); 145 GLM_FUNC_QUALIFIER static std::string call(tvec2<bool, P> const & x) 148 x[0] ? detail::LabelTrue : detail::LabelFalse, 149 x[1] ? detail::LabelTrue : detail::LabelFalse); 156 GLM_FUNC_QUALIFIER static std::string call(tvec3<bool, P> const & x) 159 x[0] ? detail::LabelTrue : detail::LabelFalse, 160 x[1] ? detail::LabelTrue : detail::LabelFalse, 161 x[2] ? detail::LabelTrue : detail::LabelFalse); 168 GLM_FUNC_QUALIFIER static std::string call(tvec4<bool, P> const & x) [all …]
|
D | fast_exponential.inl | 8 GLM_FUNC_QUALIFIER genType fastPow(genType x, genType y) argument 10 return exp(y * log(x)); 14 GLM_FUNC_QUALIFIER vecType<T, P> fastPow(vecType<T, P> const & x, vecType<T, P> const & y) argument 16 return exp(y * log(x)); 20 GLM_FUNC_QUALIFIER T fastPow(T x, int y) argument 24 f *= x; 29 GLM_FUNC_QUALIFIER vecType<T, P> fastPow(vecType<T, P> const & x, vecType<int, P> const & y) argument 32 for(length_t i = 0, n = x.length(); i < n; ++i) 33 Result[i] = fastPow(x[i], y[i]); 40 GLM_FUNC_QUALIFIER T fastExp(T x) argument [all …]
|
D | compatibility.inl | 11 genType const & x) argument 14 return std::isfinite(x) != 0; 16 return _finite(x); 18 return _isfinite(x) != 0; 21 return std::numeric_limits<genType>::min() <= x && std::numeric_limits<genType>::max() >= x; 23 return -std::numeric_limits<genType>::max() <= x && std::numeric_limits<genType>::max() >= x; 29 tvec1<T, P> const & x) argument 32 isfinite(x.x)); 37 tvec2<T, P> const & x) argument 40 isfinite(x.x), [all …]
|
D | matrix_cross_product.inl | 9 tvec3<T, P> const & x argument 13 Result[0][1] = x.z; 14 Result[1][0] = -x.z; 15 Result[0][2] = -x.y; 16 Result[2][0] = x.y; 17 Result[1][2] = x.x; 18 Result[2][1] = -x.x; 25 tvec3<T, P> const & x argument 29 Result[0][1] = x.z; 30 Result[1][0] = -x.z; [all …]
|
D | scalar_relational.inl | 9 T const & x, argument 13 return x < y; 19 T const & x, argument 23 return x <= y; 29 T const & x, argument 33 return x > y; 39 T const & x, argument 43 return x >= y; 49 T const & x, argument 53 return x == y; [all …]
|
/hardware/google/gfxstream/guest/renderControl_enc/ |
D | renderControl.types | 1 uint32_t 32 0x%08x 2 uint64_t 64 0x%016lx 3 EGLint 32 0x%08x 4 GLint 32 0x%08x 5 GLuint 32 0x%08x 6 GLenum 32 0x%08x 7 EGLenum 32 0x%08x 8 uint32_t* 32 0x%08x 9 EGLint* 32 0x%08x 10 int* 32 0x%08x [all …]
|
/hardware/google/gfxstream/codegen/renderControl/ |
D | renderControl.types | 1 uint32_t 32 0x%08x 2 uint64_t 64 0x%016lx 3 EGLint 32 0x%08x 4 GLint 32 0x%08x 5 GLuint 32 0x%08x 6 GLenum 32 0x%08x 7 EGLenum 32 0x%08x 8 uint32_t* 32 0x%08x 9 EGLint* 32 0x%08x 10 int* 32 0x%08x [all …]
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenccli_image.cpp | 107 for (unsigned int x = 0; x < dim_x; x++) in determine_image_components() local 109 int r = data8[(4 * dim_x * y) + (4 * x )]; in determine_image_components() 110 int g = data8[(4 * dim_x * y) + (4 * x + 1)]; in determine_image_components() 111 int b = data8[(4 * dim_x * y) + (4 * x + 2)]; in determine_image_components() 112 int a = data8[(4 * dim_x * y) + (4 * x + 3)]; in determine_image_components() 128 for (unsigned int x = 0; x < dim_x; x++) in determine_image_components() local 130 int r = data16[(4 * dim_x * y) + (4 * x )]; in determine_image_components() 131 int g = data16[(4 * dim_x * y) + (4 * x + 1)]; in determine_image_components() 132 int b = data16[(4 * dim_x * y) + (4 * x + 2)]; in determine_image_components() 133 int a = data16[(4 * dim_x * y) + (4 * x + 3)]; in determine_image_components() [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() argument 75 r[i] = x[i] & y[i]; in __bitset_and() [all …]
|
D | rounding.h | 60 _mesa_roundevenf(float x) in _mesa_roundevenf() argument 64 __m128 m = _mm_load_ss(&x); in _mesa_roundevenf() 69 return rintf(x); in _mesa_roundevenf() 77 _mesa_roundeven(double x) in _mesa_roundeven() argument 81 __m128d m = _mm_load_sd(&x); in _mesa_roundeven() 86 return rint(x); in _mesa_roundeven() 95 _mesa_lroundevenf(float x) in _mesa_lroundevenf() argument 99 return _mm_cvtss_si64(_mm_load_ss(&x)); in _mesa_lroundevenf() 101 return _mm_cvtss_si32(_mm_load_ss(&x)); in _mesa_lroundevenf() 106 return lrintf(x); in _mesa_lroundevenf() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/sha1/ |
D | sha1.h | 33 #define HTONDIGEST(x) do { \ argument 34 x[0] = htonl(x[0]); \ 35 x[1] = htonl(x[1]); \ 36 x[2] = htonl(x[2]); \ 37 x[3] = htonl(x[3]); \ 38 x[4] = htonl(x[4]); } while (0) 40 #define NTOHDIGEST(x) do { \ argument 41 x[0] = ntohl(x[0]); \ 42 x[1] = ntohl(x[1]); \ 43 x[2] = ntohl(x[2]); \ [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | format_utils.h | 43 _mesa_unorm_to_float(unsigned x, unsigned src_bits) in _mesa_unorm_to_float() argument 45 return x * (1.0f / (float)u_uintN_max(src_bits)); in _mesa_unorm_to_float() 49 _mesa_snorm_to_float(int x, unsigned src_bits) in _mesa_snorm_to_float() argument 51 if (x <= -u_intN_max(src_bits)) in _mesa_snorm_to_float() 54 return x * (1.0f / (float)u_intN_max(src_bits)); in _mesa_snorm_to_float() 58 _mesa_unorm_to_half(unsigned x, unsigned src_bits) in _mesa_unorm_to_half() argument 60 return _mesa_float_to_half(_mesa_unorm_to_float(x, src_bits)); in _mesa_unorm_to_half() 64 _mesa_snorm_to_half(int x, unsigned src_bits) in _mesa_snorm_to_half() argument 66 return _mesa_float_to_half(_mesa_snorm_to_float(x, src_bits)); in _mesa_snorm_to_half() 70 _mesa_float_to_unorm(float x, unsigned dst_bits) in _mesa_float_to_unorm() argument [all …]
|
D | u_format_zs.c | 144 unsigned x, y; in util_format_z16_unorm_unpack_z_float() local 148 for(x = 0; x < width; ++x) { in util_format_z16_unorm_unpack_z_float() 161 unsigned x, y; in util_format_z16_unorm_pack_z_float() local 165 for(x = 0; x < width; ++x) { in util_format_z16_unorm_pack_z_float() 178 unsigned x, y; in util_format_z16_unorm_unpack_z_32unorm() local 182 for(x = 0; x < width; ++x) { in util_format_z16_unorm_unpack_z_32unorm() 195 unsigned x, y; in util_format_z16_unorm_pack_z_32unorm() local 199 for(x = 0; x < width; ++x) { in util_format_z16_unorm_pack_z_32unorm() 212 unsigned x, y; in util_format_z32_unorm_unpack_z_float() local 216 for(x = 0; x < width; ++x) { in util_format_z32_unorm_unpack_z_float() [all …]
|
D | u_format_other.c | 40 unsigned x; in util_format_r9g9b9e5_float_unpack_rgba_float() local 43 for(x = 0; x < width; x += 1) { in util_format_r9g9b9e5_float_unpack_rgba_float() 57 unsigned x, y; in util_format_r9g9b9e5_float_pack_rgba_float() local 61 for(x = 0; x < width; x += 1) { in util_format_r9g9b9e5_float_pack_rgba_float() 88 unsigned x; in util_format_r9g9b9e5_float_unpack_rgba_8unorm() local 92 for(x = 0; x < width; x += 1) { in util_format_r9g9b9e5_float_unpack_rgba_8unorm() 110 unsigned x, y; in util_format_r9g9b9e5_float_pack_rgba_8unorm() local 115 for(x = 0; x < width; x += 1) { in util_format_r9g9b9e5_float_pack_rgba_8unorm() 136 unsigned x; in util_format_r11g11b10_float_unpack_rgba_float() local 139 for(x = 0; x < width; x += 1) { in util_format_r11g11b10_float_unpack_rgba_float() [all …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
D | ulp.inl | 71 GLM_FUNC_QUALIFIER float nextafterf(float x, float y) argument 76 GLM_GET_FLOAT_WORD(hx, x); 78 ix = hx&0x7fffffff; // |x| 81 if((ix>0x7f800000) || // x is nan 83 return x+y; 84 if(x==y) return y; // x=y, return y 85 if(ix==0) { // x == 0 86 GLM_SET_FLOAT_WORD(x,(hy&0x80000000)|1);// return +-minsubnormal 87 t = x*x; 88 if(t==x) return t; else return x; // raise underflow flag [all …]
|
/hardware/samsung/nfc/halimpl/include/ |
D | hal_msg.h | 41 #define NCI_MT(x) ((x)->oct0 & 0xE0) argument 42 #define NCI_PBF(x) ((x)->oct0 & 0x10) argument 43 #define NCI_GID(x) ((x)->oct0 & 0x0F) argument 44 #define NCI_OID(x) ((x)->oid & 0x3F) argument 45 #define NCI_LEN(x) ((x)->len) argument 46 #define NCI_PAYLOAD(x) ((x)->payload) argument 47 #define NCI_STATUS(x) (((x)->payload)[0]) argument 49 #define NCI_MF_INFO(x) (((x)->payload) + (x)->len - NCI_MF_INFO_SIZE) argument 50 #define NCI_PKT_LEN(x) (NCI_HDR_SIZE + NCI_LEN(x)) argument 100 #define FW_PAYLOAD(x) ((x)->payload) argument
|
/hardware/google/gchips/gralloc4/src/ |
D | mali_gralloc_formats.h | 220 static inline uint64_t mali_gralloc_format_unwrap(int x) in mali_gralloc_format_unwrap() argument 222 …uint64_t internal_format = (uint64_t)(((((uint64_t)(x)) & MALI_GRALLOC_INTFMT_EXT_WRAP_MASK) << MA… in mali_gralloc_format_unwrap() 223 … (((uint64_t)(x)) & MALI_GRALLOC_INTFMT_FMT_WRAP_MASK)); // Private format in mali_gralloc_format_unwrap() 248 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_ADD_MODIFIER(x, modifiers) \ argument 249 ((int)((x) | ((unsigned)((modifiers) >> MALI_GRALLOC_INTFMT_EXT_WRAP_SHIFT)))) 255 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_REMOVE_MODIFIER(x, modifiers) \ argument 256 ((int)((x) & ~((unsigned)((modifiers) >> MALI_GRALLOC_INTFMT_EXT_WRAP_SHIFT)))) 258 #define GRALLOC_PRIVATE_FORMAT_WRAPPER(x) (mali_gralloc_format_wrapper(x, 0)) argument 260 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC(x) … argument 261 …mali_gralloc_format_wrapper(x, (MALI_GRALLOC_INTFMT_AFBC_BASIC | MALI_GRALLOC_INTFMT_AFBC_SPARSE) … [all …]
|
/hardware/google/aemu/base/include/aemu/base/ |
D | EintrWrapper.h | 64 #define HANDLE_EINTR(x) (x) argument 66 #define HANDLE_EINTR(x) \ 68 __typeof__(x) eintr_wrapper_result; \ 70 eintr_wrapper_result = (x); \ 76 #define HANDLE_EINTR(x) \ 78 __typeof__(x) eintr_wrapper_result; \ 81 eintr_wrapper_result = (x); \ 96 #define IGNORE_EINTR(x) (x) argument 98 #define IGNORE_EINTR(x) \ 100 __typeof__(x) eintr_wrapper_result = (x); \
|