Home
last modified time | relevance | path

Searched +defs:a +defs:r (Results 1 – 25 of 92) sorted by relevance

1234

/hardware/google/gfxstream/guest/mesa/src/util/
Dtimespec.h52 timespec_add(struct timespec *r, in timespec_add()
53 const struct timespec *a, const struct timespec *b) in timespec_add()
71 timespec_sub(struct timespec *r, in timespec_sub()
72 const struct timespec *a, const struct timespec *b) in timespec_sub()
95 timespec_add_nsec(struct timespec *r, const struct timespec *a, uint64_t b) in timespec_add_nsec()
128 timespec_add_msec(struct timespec *r, const struct timespec *a, uint64_t b) in timespec_add_msec()
140 timespec_to_nsec(const struct timespec *a) in timespec_to_nsec()
153 timespec_sub_to_nsec(const struct timespec *a, const struct timespec *b) in timespec_sub_to_nsec()
155 struct timespec r; in timespec_sub_to_nsec() local
169 timespec_to_msec(const struct timespec *a) in timespec_to_msec()
[all …]
Du_pack_color.h63 util_pack_color_ub(uint8_t r, uint8_t g, uint8_t b, uint8_t a, in util_pack_color_ub()
165 uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *a) in util_unpack_color_ub()
338 uint8_t r = 0; in util_pack_color() local
341 uint8_t a = 0; in util_pack_color() local
652 pack_ui32_float4(float a, float b, float c, float d) in pack_ui32_float4()
/hardware/google/gfxstream/third-party/astc-encoder/Source/UnitTest/
Dtest_simd.cpp160 vfloat a(-1.0f, 1.0f, -3.12f, 3.12f); in TEST() local
162 vfloat r = change_sign(a, b); in TEST() local
172 vfloat a(-0.15f, 0.0f, 0.9f, 2.1f); in TEST() local
173 vfloat r = atan(a); in TEST() local
183 vfloat a(-0.15f, 0.0f, 0.9f, 2.1f); in TEST() local
185 vfloat r = atan2(a, b); in TEST() local
199 vfloat a(-1.0f, 1.0f, -3.12f, 3.12f, -1.0f, 1.0f, -3.12f, 3.12f); in TEST() local
201 vfloat r = change_sign(a, b); in TEST() local
215 vfloat a(-0.15f, 0.0f, 0.9f, 2.1f, -0.15f, 0.0f, 0.9f, 2.1f); in TEST() local
216 vfloat r = atan(a); in TEST() local
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dtimespec_test.cpp35 struct timespec a, b, r; in TEST() local
48 struct timespec a, b, r; in TEST() local
61 struct timespec a; in TEST() local
70 struct timespec a; in TEST() local
79 struct timespec a; in TEST() local
88 struct timespec a; in TEST() local
134 struct timespec a, r; in TEST() local
184 struct timespec a, r; in TEST() local
195 struct timespec a, b; in TEST() local
206 struct timespec a, b; in TEST() local
[all …]
Dfast_idiv_by_const_test.cpp71 uadd_sat(uint64_t a, uint64_t b, unsigned num_bits) in uadd_sat()
87 umul_add_high(uint64_t a, uint64_t b, uint64_t c, unsigned num_bits) in umul_add_high()
112 smul_high(int64_t a, int64_t b, unsigned num_bits) in smul_high()
203 uint64_t r; in rand_uint() local
212 uint64_t r = 0; in rand_uint() local
217 uint64_t r; in rand_uint() local
237 udiv(uint64_t a, uint64_t b, unsigned bit_size) in udiv()
251 sdiv(int64_t a, int64_t b, unsigned bit_size) in sdiv()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_vecmathlib_avx2_8.h240 __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 …]
Dastcenc_vecmathlib_none_4.h404 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 …]
Dastcenc_mathlib.h166 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()
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
442 vfloat4 a; member
449 vfloat4 a; member
455 vfloat4 a; member
Dastcenccli_image.cpp109 int r = data8[(4 * dim_x * y) + (4 * x )]; in determine_image_components() local
112 int a = data8[(4 * dim_x * y) + (4 * x + 3)]; in determine_image_components() local
130 int r = data16[(4 * dim_x * y) + (4 * x )]; in determine_image_components() local
133 int a = data16[(4 * dim_x * y) + (4 * x + 3)]; in determine_image_components() local
154 float r = data32[(4 * dim_x * y) + (4 * x )]; in determine_image_components() local
157 float a = data32[(4 * dim_x * y) + (4 * x + 3)]; in determine_image_components() local
Dastcenc_vecmathlib.h213 ASTCENC_SIMD_INLINE vfloat change_sign(vfloat a, vfloat b) in change_sign()
218 vint r = ia ^ (ib & sign_mask); in change_sign() local
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()
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()
452 vint4 a = (~lsr<8>(p)) & p; in unorm16_to_sf16() local
467 vint4 r = select(p, fp16_one, is_one); in unorm16_to_sf16() local
[all …]
Dastcenc_vecmathlib_neon_4.h404 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 …]
Dastcenc_vecmathlib_sse_4.h421 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 …]
Dstb_image_write.h239 #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()
524 int r = stbi_write_bmp_core(&s, x, y, comp, data); in stbi_write_bmp() local
623 int r = stbi_write_tga_core(&s, x, y, comp, (void *) data); in stbi_write_tga() local
635 #define stbiw__max(a, b) ((a) > (b) ? (a) : (b)) argument
699 int c,r; in stbiw__write_hdr_scanline() local
798 int r = stbi_write_hdr_core(&s, x, y, comp, (float *) data); in stbi_write_hdr() local
814 #define stbiw__sbraw(a) ((int *) (void *) (a) - 2) argument
815 #define stbiw__sbm(a) stbiw__sbraw(a)[0] argument
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/
Drender-a11y-string.min.js1 !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("katex… argument
Dauto-render.min.js1rts&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.… function
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DTriStateTest.cpp30 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
194 tri_int16_t r(1234); in TEST() local
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_meta_clear.c192 const struct vk_meta_rect *a = _a, *b = _b; in vk_meta_rect_cmp_layer() local
221 const uint32_t a = attachments[i].colorAttachment; in vk_meta_clear_attachments() local
285 for (uint32_t r = 0; r < clear_rect_count; r++) in vk_meta_clear_attachments() local
291 for (uint32_t r = 0; r < clear_rect_count; r++) { in vk_meta_clear_attachments() local
301 for (uint32_t a = 0; a < clear_rects[r].layerCount; a++) { in vk_meta_clear_attachments() local
325 for (uint32_t r = 0; r < clear_rect_count; r++) { in vk_meta_clear_attachments() local
546 for (uint32_t a = 0; a < layer_count; a++) { in clear_image_level() local
573 for (uint32_t r = 0; r < range_count; r++) { in vk_meta_clear_color_image() local
598 for (uint32_t r = 0; r < range_count; r++) { in vk_meta_clear_depth_stencil_image() local
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXregion.h64 #define MAX(a,b) (((a) > (b)) ? (a) : (b)) argument
67 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) argument
99 #define EXTENTS(r,idRect){\ argument
136 #define ADDRECT(reg, r, rx1, ry1, rx2, ry2){\ argument
152 #define ADDRECTNOX(reg, r, rx1, ry1, rx2, ry2){\ argument
168 #define INBOX(r, x, y) \ argument
/hardware/interfaces/broadcastradio/common/utils1x/
DUtils.cpp35 auto a = static_cast<ProgramType>(ia); in isCompatibleProgramType() local
46 static bool bothHaveId(const ProgramSelector& a, const ProgramSelector& b, in bothHaveId()
51 static bool anyHaveId(const ProgramSelector& a, const ProgramSelector& b, in anyHaveId()
56 static bool haveEqualIds(const ProgramSelector& a, const ProgramSelector& b, in haveEqualIds()
65 bool tunesTo(const ProgramSelector& a, const ProgramSelector& b) { in tunesTo()
228 bool operator==(const BandConfig& l, const BandConfig& r) { in operator ==()
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/
DComposerCommandBuffer.h111 float r = readFloat(); in readFloatColor() local
114 float a = readFloat(); in readFloatColor() local
/hardware/google/gfxstream/host/compressedTextureFormats/
DAstcCpuDecompressor_unittest.cpp34 uint8_t r, g, b, a; member
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Ddual_quaternion.inl59 GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & r)
73 …GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & r, tquat<T, P> con…
232 …C_QUALIFIER tdualquat<T, P> lerp(tdualquat<T, P> const & x, tdualquat<T, P> const & y, T const & a) argument
260 tquat<T, P> r = x.real / length2(x.real); local
272 tvec4<T, P> const a( local
309 T const r = sqrt(T(1) + trace); local
318 T const r = sqrt(T(1) + x[0].x - x[1].y - x[2].z); local
327 T const r = sqrt(T(1) + x[1].y - x[0].x - x[2].z); local
336 T const r = sqrt(T(1) + x[2].z - x[0].x - x[1].y); local
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLutils.cpp56 #define COLOR_BITS_CASE(format, r, g, b, a) \ in glFormatToChannelBits() argument
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dtype_vec4.hpp46 struct { T r, g, b, a; }; member
71 union { T x, r, s; }; member
74 union { T w, a, q; }; member
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image_write.h239 #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()
524 int r = stbi_write_bmp_core(&s, x, y, comp, data); in stbi_write_bmp() local
623 int r = stbi_write_tga_core(&s, x, y, comp, (void *) data); in stbi_write_tga() local
635 #define stbiw__max(a, b) ((a) > (b) ? (a) : (b)) argument
699 int c,r; in stbiw__write_hdr_scanline() local
798 int r = stbi_write_hdr_core(&s, x, y, comp, (float *) data); in stbi_write_hdr() local
814 #define stbiw__sbraw(a) ((int *) (void *) (a) - 2) argument
815 #define stbiw__sbm(a) stbiw__sbraw(a)[0] argument
[all …]

1234