| /hardware/google/gfxstream/third-party/astc-encoder/Source/ |
| D | astcenc_mathlib.h | 149 static inline T min(T p, T q) in min() 166 static inline T min(T p, T q, T r) in min() 184 static inline T min(T p, T q, T r, T s) in min() 200 static inline T max(T p, T q) in max() 217 static inline T max(T p, T q, T r) in max() 235 static inline T max(T p, T q, T r, T s) in max() 335 union { int a; float b; } u; in float_as_int() member 349 union { int a; float b; } u; in int_as_float() member 388 if32 p; in frexp() local 442 vfloat4 a; member [all …]
|
| D | astcenc_vecmathlib_neon_4.h | 404 ASTCENC_SIMD_INLINE unsigned int mask(vmask4 a) in mask() 508 template <int s> ASTCENC_SIMD_INLINE vint4 lsl(vint4 a) in lsl() 516 template <int s> ASTCENC_SIMD_INLINE vint4 lsr(vint4 a) in lsr() 526 template <int s> ASTCENC_SIMD_INLINE vint4 asr(vint4 a) in asr() 534 ASTCENC_SIMD_INLINE vint4 min(vint4 a, vint4 b) in min() 542 ASTCENC_SIMD_INLINE vint4 max(vint4 a, vint4 b) in max() 550 ASTCENC_SIMD_INLINE vint4 hmin(vint4 a) in hmin() 558 ASTCENC_SIMD_INLINE vint4 hmax(vint4 a) in hmax() 566 ASTCENC_SIMD_INLINE int hadd_s(vint4 a) in hadd_s() 575 ASTCENC_SIMD_INLINE void storea(vint4 a, int* p) in storea() [all …]
|
| D | astcenc_vecmathlib_sse_4.h | 421 ASTCENC_SIMD_INLINE unsigned int mask(vmask4 a) in mask() 532 template <int s> ASTCENC_SIMD_INLINE vint4 lsl(vint4 a) in lsl() 540 template <int s> ASTCENC_SIMD_INLINE vint4 lsr(vint4 a) in lsr() 548 template <int s> ASTCENC_SIMD_INLINE vint4 asr(vint4 a) in asr() 556 ASTCENC_SIMD_INLINE vint4 min(vint4 a, vint4 b) in min() 571 ASTCENC_SIMD_INLINE vint4 max(vint4 a, vint4 b) in max() 586 ASTCENC_SIMD_INLINE vint4 hmin(vint4 a) in hmin() 596 ASTCENC_SIMD_INLINE vint4 hmax(vint4 a) in hmax() 606 ASTCENC_SIMD_INLINE int hadd_s(vint4 a) in hadd_s() 622 ASTCENC_SIMD_INLINE void storea(vint4 a, int* p) in storea() [all …]
|
| D | astcenc_vecmathlib_avx2_8.h | 240 __m128i a = _mm_set1_epi32(*p); in load1() local 347 ASTCENC_SIMD_INLINE unsigned int mask(vmask8 a) in mask() 355 ASTCENC_SIMD_INLINE bool any(vmask8 a) in any() 363 ASTCENC_SIMD_INLINE bool all(vmask8 a) in all() 471 template <int s> ASTCENC_SIMD_INLINE vint8 lsl(vint8 a) in lsl() 479 template <int s> ASTCENC_SIMD_INLINE vint8 asr(vint8 a) in asr() 487 template <int s> ASTCENC_SIMD_INLINE vint8 lsr(vint8 a) in lsr() 495 ASTCENC_SIMD_INLINE vint8 min(vint8 a, vint8 b) in min() 503 ASTCENC_SIMD_INLINE vint8 max(vint8 a, vint8 b) in max() 511 ASTCENC_SIMD_INLINE vint8 hmin(vint8 a) in hmin() [all …]
|
| D | astcenc_vecmathlib_none_4.h | 404 ASTCENC_SIMD_INLINE unsigned int mask(vmask4 a) in mask() 540 template <int s> ASTCENC_SIMD_INLINE vint4 lsl(vint4 a) in lsl() 551 template <int s> ASTCENC_SIMD_INLINE vint4 lsr(vint4 a) in lsr() 567 template <int s> ASTCENC_SIMD_INLINE vint4 asr(vint4 a) in asr() 578 ASTCENC_SIMD_INLINE vint4 min(vint4 a, vint4 b) in min() 589 ASTCENC_SIMD_INLINE vint4 max(vint4 a, vint4 b) in max() 600 ASTCENC_SIMD_INLINE vint4 hmin(vint4 a) in hmin() 610 ASTCENC_SIMD_INLINE vint4 hmax(vint4 a) in hmax() 620 ASTCENC_SIMD_INLINE int hadd_s(vint4 a) in hadd_s() 628 ASTCENC_SIMD_INLINE void storea(vint4 a, int* p) in storea() [all …]
|
| D | astcenc_vecmathlib.h | 213 ASTCENC_SIMD_INLINE vfloat change_sign(vfloat a, vfloat b) in change_sign() 275 static ASTCENC_SIMD_INLINE vfloat4 vfloat3(float a, float b, float c) in vfloat3() 283 static ASTCENC_SIMD_INLINE vfloat4 vfloat2(float a, float b) in vfloat2() 291 static ASTCENC_SIMD_INLINE vfloat4 normalize(vfloat4 a) in normalize() 300 static ASTCENC_SIMD_INLINE vfloat4 normalize_safe(vfloat4 a, vfloat4 safe) in normalize_safe() 367 vfloat4 p = POLY4(m, in log2() local 399 static ASTCENC_SIMD_INLINE vint4 clz(vint4 a) in clz() 421 static ASTCENC_SIMD_INLINE vint4 two_to_the_n(vint4 a) in two_to_the_n() 441 static ASTCENC_SIMD_INLINE vint4 unorm16_to_sf16(vint4 p) in unorm16_to_sf16() 452 vint4 a = (~lsr<8>(p)) & p; in unorm16_to_sf16() local [all …]
|
| D | astcenc_mathlib_softfloat.cpp | 150 #define WITH_MSB(a) (UINT32_C(a) | (1u << 31)) in sf16_to_sf32() argument 247 uint32_t p; in sf32_to_sf16() local 396 float sf16_to_float(uint16_t p) in sf16_to_float() 404 uint16_t float_to_sf16(float p) in float_to_sf16()
|
| D | stb_image_write.h | 229 #define STBIW_REALLOC(p,newsz) realloc(p,newsz) argument 230 #define STBIW_FREE(p) free(p) argument 234 #define STBIW_REALLOC_SIZED(p,oldsz,newsz) STBIW_REALLOC(p,newsz) argument 239 #define STBIW_MEMMOVE(a,b,sz) memmove(a,b,sz) argument 399 static void stbiw__write1(stbi__write_context *s, unsigned char a) in stbiw__write1() 406 static void stbiw__write3(stbi__write_context *s, unsigned char a, unsigned char b, unsigned char c) in stbiw__write3() 635 #define stbiw__max(a, b) ((a) > (b) ? (a) : (b)) argument 814 #define stbiw__sbraw(a) ((int *) (void *) (a) - 2) argument 815 #define stbiw__sbm(a) stbiw__sbraw(a)[0] argument 816 #define stbiw__sbn(a) stbiw__sbraw(a)[1] argument [all …]
|
| D | stb_image.h | 680 #define STBI_REALLOC(p,newsz) realloc(p,newsz) argument 681 #define STBI_FREE(p) free(p) argument 685 #define STBI_REALLOC_SIZED(p,oldsz,newsz) STBI_REALLOC(p,newsz) argument 999 static int stbi__addsizes_valid(int a, int b) in stbi__addsizes_valid() 1011 static int stbi__mul2sizes_valid(int a, int b) in stbi__mul2sizes_valid() 1021 static int stbi__mad2sizes_valid(int a, int b, int add) in stbi__mad2sizes_valid() 1028 static int stbi__mad3sizes_valid(int a, int b, int c, int add) in stbi__mad3sizes_valid() 1036 static int stbi__mad4sizes_valid(int a, int b, int c, int d, int add) in stbi__mad4sizes_valid() 1045 static void *stbi__malloc_mad2(int a, int b, int add) in stbi__malloc_mad2() 1052 static void *stbi__malloc_mad3(int a, int b, int c, int add) in stbi__malloc_mad3() [all …]
|
| /hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/ |
| D | TriStateTest.cpp | 30 tri_uint32_t a; in TEST() local 70 tri_int32_t a(1); in TEST() local 93 tri_int32_t a(1); in TEST() local 153 #define TEST_COMPOUND_ASSIGN(a, op, op_c, b) \ in TEST() argument 185 tri_int16_t p; in TEST() local
|
| /hardware/google/gfxstream/host/apigen-codec-common/X11/ |
| D | Xos_r.h | 232 # define _XGetpwuid(u,p) getpwuid((u)) argument 233 # define _XGetpwnam(u,p) getpwnam((u)) argument 252 static __inline__ void _Xpw_copyPasswd(_Xgetpwparams p) in _Xpw_copyPasswd() 284 # define _Xpw_copyPasswd(p) \ argument 310 # define _XGetpwuid(u,p) \ argument 315 # define _XGetpwnam(u,p) \ argument 328 # define _XGetpwuid(u,p) \ argument 330 # define _XGetpwnam(u,p) \ argument 333 # define _XGetpwuid(u,p) \ argument 335 # define _XGetpwnam(u,p) \ argument [all …]
|
| /hardware/google/gfxstream/host/vulkan/ |
| D | vk_util.h | 125 static inline void __vk_outarray_init(struct __vk_outarray* a, void* data, uint32_t* len) { in __vk_outarray_init() 135 static inline VkResult __vk_outarray_status(const struct __vk_outarray* a) { in __vk_outarray_status() 142 static inline void* __vk_outarray_next(struct __vk_outarray* a, size_t elem_size) { in __vk_outarray_next() 143 void* p = NULL; in __vk_outarray_next() local 162 #define vk_outarray_typeof_elem(a) __typeof__((a)->meta[0]) argument 163 #define vk_outarray_sizeof_elem(a) sizeof((a)->meta[0]) argument 165 #define vk_outarray_init(a, data, len) __vk_outarray_init(&(a)->base, (data), (len)) argument 171 #define vk_outarray_status(a) __vk_outarray_status(&(a)->base) argument 173 #define vk_outarray_next(a) \ argument 195 #define vk_outarray_append(a, elem) \ argument [all …]
|
| /hardware/google/gfxstream/third-party/glm/include/glm/detail/ |
| D | type_vec4.hpp | 46 struct { T r, g, b, a; }; member 47 struct { T s, t, p, q; }; member 73 union { T z, b, p; }; member 74 union { T w, a, q; }; member
|
| /hardware/google/gfxstream/third-party/stb/include/stb/ |
| D | stb_image_write.h | 229 #define STBIW_REALLOC(p,newsz) realloc(p,newsz) argument 230 #define STBIW_FREE(p) free(p) argument 234 #define STBIW_REALLOC_SIZED(p,oldsz,newsz) STBIW_REALLOC(p,newsz) argument 239 #define STBIW_MEMMOVE(a,b,sz) memmove(a,b,sz) argument 399 static void stbiw__write1(stbi__write_context *s, unsigned char a) in stbiw__write1() 406 static void stbiw__write3(stbi__write_context *s, unsigned char a, unsigned char b, unsigned char c) in stbiw__write3() 635 #define stbiw__max(a, b) ((a) > (b) ? (a) : (b)) argument 814 #define stbiw__sbraw(a) ((int *) (void *) (a) - 2) argument 815 #define stbiw__sbm(a) stbiw__sbraw(a)[0] argument 816 #define stbiw__sbn(a) stbiw__sbraw(a)[1] argument [all …]
|
| D | stb_image.h | 680 #define STBI_REALLOC(p,newsz) realloc(p,newsz) argument 681 #define STBI_FREE(p) free(p) argument 685 #define STBI_REALLOC_SIZED(p,oldsz,newsz) STBI_REALLOC(p,newsz) argument 999 static int stbi__addsizes_valid(int a, int b) in stbi__addsizes_valid() 1011 static int stbi__mul2sizes_valid(int a, int b) in stbi__mul2sizes_valid() 1021 static int stbi__mad2sizes_valid(int a, int b, int add) in stbi__mad2sizes_valid() 1028 static int stbi__mad3sizes_valid(int a, int b, int c, int add) in stbi__mad3sizes_valid() 1036 static int stbi__mad4sizes_valid(int a, int b, int c, int d, int add) in stbi__mad4sizes_valid() 1045 static void *stbi__malloc_mad2(int a, int b, int add) in stbi__malloc_mad2() 1052 static void *stbi__malloc_mad3(int a, int b, int c, int add) in stbi__malloc_mad3() [all …]
|
| /hardware/google/gfxstream/third-party/glm/include/glm/gtx/ |
| D | dual_quaternion.inl | 64 …UNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & q, tvec3<T, P> const& p) 154 GLM_FUNC_QUALIFIER tdualquat<T, P> operator+(tdualquat<T, P> const & q, tdualquat<T, P> const & p) 160 GLM_FUNC_QUALIFIER tdualquat<T, P> operator*(tdualquat<T, P> const & p, tdualquat<T, P> const & o) 232 …C_QUALIFIER tdualquat<T, P> lerp(tdualquat<T, P> const & x, tdualquat<T, P> const & y, T const & a) argument 272 tvec4<T, P> const a( local
|
| D | intersect.inl | 37 genType p = glm::cross(dir, e2); local 39 typename genType::value_type a = glm::dot(e1, p); local
|
| /hardware/broadcom/wlan/bcmdhd/dhdutil/ |
| D | bcmutils.c | 59 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy() 91 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf() 122 pkttotlen(osl_t *osh, void *p) in pkttotlen() 138 pktlast(osl_t *osh, void *p) in pktlast() 148 pktsegcnt(osl_t *osh, void *p) in pktsegcnt() 161 pktsegcnt_war(osl_t *osh, void *p) in pktsegcnt_war() 190 pktdataoffset(osl_t *osh, void *p, uint offset) in pktdataoffset() 212 pktoffset(osl_t *osh, void *p, uint offset) in pktoffset() 233 pktq_penq(struct pktq *pq, int prec, void *p) in pktq_penq() 262 pktq_penq_head(struct pktq *pq, int prec, void *p) in pktq_penq_head() [all …]
|
| /hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
| D | ml_math_func.c | 91 long inv_q29_mult(long a, long b) in inv_q29_mult() 113 long inv_q30_mult(long a, long b) in inv_q30_mult() 129 long inv_q30_div(long a, long b) in inv_q30_div() 148 long inv_q_shift_mult(long a, long b, int shift) in inv_q_shift_mult() 440 void inv_matrix_det_inc(float *a, float *b, int *n, int x, int y) in inv_matrix_det_inc() 455 void inv_matrix_det_incd(double *a, double *b, int *n, int x, int y) in inv_matrix_det_incd() 470 float inv_matrix_det(float *p, int *n) in inv_matrix_det() 489 double inv_matrix_detd(double *p, int *n) in inv_matrix_detd()
|
| /hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
| D | ml_math_func.c | 91 long inv_q29_mult(long a, long b) in inv_q29_mult() 113 long inv_q30_mult(long a, long b) in inv_q30_mult() 129 long inv_q30_div(long a, long b) in inv_q30_div() 148 long inv_q_shift_mult(long a, long b, int shift) in inv_q_shift_mult() 440 void inv_matrix_det_inc(float *a, float *b, int *n, int x, int y) in inv_matrix_det_inc() 455 void inv_matrix_det_incd(double *a, double *b, int *n, int x, int y) in inv_matrix_det_incd() 470 float inv_matrix_det(float *p, int *n) in inv_matrix_det() 489 double inv_matrix_detd(double *p, int *n) in inv_matrix_detd()
|
| /hardware/interfaces/keymaster/4.1/vts/functional/ |
| D | DeviceUniqueAttestationTest.cpp | 38 bool operator==(const AuthorizationSet& a, const AuthorizationSet& b) { in operator ==() 101 AuthorizationSetDifferences difference(string aName, const AuthorizationSet& a, string bName, in difference() 109 #define DIFFERENCE(a, b) difference(#a, a, #b, b) argument 190 const uint8_t* p = blob.data(); in parse_cert_blob() local
|
| /hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
| D | quaternion.inl | 256 tquat<T, P> const p(*this); local 297 GLM_FUNC_QUALIFIER tquat<T, P> operator+(tquat<T, P> const & q, tquat<T, P> const & p) 303 GLM_FUNC_QUALIFIER tquat<T, P> operator*(tquat<T, P> const & q, tquat<T, P> const & p) 475 GLM_FUNC_QUALIFIER tquat<T, P> mix(tquat<T, P> const & x, tquat<T, P> const & y, T a) argument 498 GLM_FUNC_QUALIFIER tquat<T, P> lerp(tquat<T, P> const & x, tquat<T, P> const & y, T a) argument 508 GLM_FUNC_QUALIFIER tquat<T, P> slerp(tquat<T, P> const & x, tquat<T, P> const & y, T a) argument 711 T const a(angle); local
|
| /hardware/interfaces/gnss/common/utils/vts/ |
| D | Utils.cpp | 315 double a = sin(dLat / 2) * sin(dLat / 2) + in distanceMeters() local 325 FILE* p = popen("/system/bin/pm list features", "re"); in deviceSupportsFeature() local
|
| /hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
| D | main.c | 35 #define UNPACK_3ELM_ARRAY(a) (a)[0], (a)[1], (a)[2] argument 36 #define UNPACK_4ELM_ARRAY(a) UNPACK_3ELM_ARRAY(a), (a)[3] argument 61 #define PRINT_3ELM_ARRAY_FLOAT(w, p, data) \ argument 68 #define PRINT_4ELM_ARRAY_FLOAT(w, p, data) \ argument
|
| /hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
| D | bcmutils.h | 205 void *p; member 324 #define pktenq(pq, p) pktq_penq(((struct pktq *)(void *)pq), 0, (p)) argument 325 #define pktenq_head(pq, p) pktq_penq_head(((struct pktq *)(void *)pq), 0, (p)) argument 590 #define ABS(a) (((a) < 0) ? -(a) : (a)) argument 594 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) argument 598 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) argument 621 #define ISALIGNED(a, x) (((uintptr)(a) & ((x) - 1)) == 0) argument 644 #define ARRAYSIZE(a) (sizeof(a) / sizeof(a[0])) argument 648 #define ARRAYLAST(a) (&a[ARRAYSIZE(a)-1]) argument 666 #define setbit(a, i) (((uint8 *)a)[(i) / NBBY] |= 1 << ((i) % NBBY)) argument [all …]
|