Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 1259) sorted by relevance

12345678910>>...51

/device/generic/vulkan-cereal/stream-servers/vulkan/cereal/common/
Dgoldfish_vk_testing.cpp46 void checkEqual_VkExtent2D(const VkExtent2D* a, const VkExtent2D* b, OnFailCompareFunc onFail) { in checkEqual_VkExtent2D() argument
47 if (!((a->width) == (b->width))) { in checkEqual_VkExtent2D()
50 if (!((a->height) == (b->height))) { in checkEqual_VkExtent2D()
55 void checkEqual_VkExtent3D(const VkExtent3D* a, const VkExtent3D* b, OnFailCompareFunc onFail) { in checkEqual_VkExtent3D() argument
56 if (!((a->width) == (b->width))) { in checkEqual_VkExtent3D()
59 if (!((a->height) == (b->height))) { in checkEqual_VkExtent3D()
62 if (!((a->depth) == (b->depth))) { in checkEqual_VkExtent3D()
67 void checkEqual_VkOffset2D(const VkOffset2D* a, const VkOffset2D* b, OnFailCompareFunc onFail) { in checkEqual_VkOffset2D() argument
68 if (!((a->x) == (b->x))) { in checkEqual_VkOffset2D()
71 if (!((a->y) == (b->y))) { in checkEqual_VkOffset2D()
[all …]
Dgoldfish_vk_testing.h46 void checkEqual_VkExtent2D(const VkExtent2D* a, const VkExtent2D* b, OnFailCompareFunc onFail);
48 void checkEqual_VkExtent3D(const VkExtent3D* a, const VkExtent3D* b, OnFailCompareFunc onFail);
50 void checkEqual_VkOffset2D(const VkOffset2D* a, const VkOffset2D* b, OnFailCompareFunc onFail);
52 void checkEqual_VkOffset3D(const VkOffset3D* a, const VkOffset3D* b, OnFailCompareFunc onFail);
54 void checkEqual_VkRect2D(const VkRect2D* a, const VkRect2D* b, OnFailCompareFunc onFail);
56 void checkEqual_VkBaseInStructure(const VkBaseInStructure* a, const VkBaseInStructure* b,
59 void checkEqual_VkBaseOutStructure(const VkBaseOutStructure* a, const VkBaseOutStructure* b,
62 void checkEqual_VkBufferMemoryBarrier(const VkBufferMemoryBarrier* a,
65 void checkEqual_VkDispatchIndirectCommand(const VkDispatchIndirectCommand* a,
69 void checkEqual_VkDrawIndexedIndirectCommand(const VkDrawIndexedIndirectCommand* a,
[all …]
/device/generic/vulkan-cereal/third-party/astc-encoder/Source/
Dastcenc_vecmathlib_none_4.h81 ASTCENC_SIMD_INLINE explicit vfloat4(float a) in vfloat4()
83 m[0] = a; in vfloat4()
84 m[1] = a; in vfloat4()
85 m[2] = a; in vfloat4()
86 m[3] = a; in vfloat4()
94 ASTCENC_SIMD_INLINE explicit vfloat4(float a, float b, float c, float d) in vfloat4()
96 m[0] = a; in vfloat4()
113 template <int l> ASTCENC_SIMD_INLINE void set_lane(float a) in set_lane()
115 m[l] = a; in set_lane()
224 ASTCENC_SIMD_INLINE explicit vint4(int a, int b, int c, int d) in vint4()
[all …]
Dastcenc_vecmathlib_avx2_8.h72 ASTCENC_SIMD_INLINE explicit vfloat8(float a) in vfloat8()
74 m = _mm256_set1_ps(a); in vfloat8()
83 float a, float b, float c, float d, in vfloat8()
86 m = _mm256_set_ps(h, g, f, e, d, c, b, a); in vfloat8()
92 ASTCENC_SIMD_INLINE explicit vfloat8(__m256 a) in vfloat8()
94 m = a; in vfloat8()
188 ASTCENC_SIMD_INLINE explicit vint8(int a) in vint8()
190 m = _mm256_set1_epi32(a); in vint8()
199 int a, int b, int c, int d, in vint8()
202 m = _mm256_set_epi32(h, g, f, e, d, c, b, a); in vint8()
[all …]
Dastcenc_vecmathlib_sse_4.h73 ASTCENC_SIMD_INLINE explicit vfloat4(float a) in vfloat4()
75 m = _mm_set1_ps(a); in vfloat4()
83 ASTCENC_SIMD_INLINE explicit vfloat4(float a, float b, float c, float d) in vfloat4()
85 m = _mm_set_ps(d, c, b, a); in vfloat4()
91 ASTCENC_SIMD_INLINE explicit vfloat4(__m128 a) in vfloat4()
93 m = a; in vfloat4()
107 template <int l> ASTCENC_SIMD_INLINE void set_lane(float a) in set_lane()
110 __m128 v = _mm_set1_ps(a); in set_lane()
115 idx[l] = a; in set_lane()
233 ASTCENC_SIMD_INLINE explicit vint4(int a) in vint4()
[all …]
Dastcenc_vecmathlib_common_4.h42 ASTCENC_SIMD_INLINE bool any(vmask4 a) in any() argument
44 return mask(a) != 0; in any()
50 ASTCENC_SIMD_INLINE bool all(vmask4 a) in all() argument
52 return mask(a) == 0xF; in all()
62 ASTCENC_SIMD_INLINE vint4 operator+(vint4 a, int b)
64 return a + vint4(b);
70 ASTCENC_SIMD_INLINE vint4& operator+=(vint4& a, const vint4& b)
72 a = a + b;
73 return a;
79 ASTCENC_SIMD_INLINE vint4 operator-(vint4 a, int b)
[all …]
Dastcenc_vecmathlib_neon_4.h72 ASTCENC_SIMD_INLINE explicit vfloat4(float a) in vfloat4()
74 m = vdupq_n_f32(a); in vfloat4()
82 ASTCENC_SIMD_INLINE explicit vfloat4(float a, float b, float c, float d) in vfloat4()
84 float v[4] { a, b, c, d }; in vfloat4()
91 ASTCENC_SIMD_INLINE explicit vfloat4(float32x4_t a) in vfloat4()
93 m = a; in vfloat4()
107 template <int l> ASTCENC_SIMD_INLINE void set_lane(float a) in set_lane()
109 m = vld1q_lane_f32(&a, m, l); in set_lane()
217 ASTCENC_SIMD_INLINE explicit vint4(int a) in vint4()
219 m = vdupq_n_s32(a); in vint4()
[all …]
Dastcenc_vecmathlib.h213 ASTCENC_SIMD_INLINE vfloat change_sign(vfloat a, vfloat b) in change_sign() argument
215 vint ia = float_as_int(a); in change_sign()
275 static ASTCENC_SIMD_INLINE vfloat4 vfloat3(float a, float b, float c) in vfloat3() argument
277 return vfloat4(a, b, c, 0.0f); in vfloat3()
283 static ASTCENC_SIMD_INLINE vfloat4 vfloat2(float a, float b) in vfloat2() argument
285 return vfloat4(a, b, 0.0f, 0.0f); in vfloat2()
291 static ASTCENC_SIMD_INLINE vfloat4 normalize(vfloat4 a) in normalize() argument
293 vfloat4 length = dot(a, a); in normalize()
294 return a / sqrt(length); in normalize()
300 static ASTCENC_SIMD_INLINE vfloat4 normalize_safe(vfloat4 a, vfloat4 safe) in normalize_safe() argument
[all …]
/device/generic/vulkan-cereal/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()
172 vfloat a(-0.15f, 0.0f, 0.9f, 2.1f); in TEST() local
173 vfloat r = atan(a); in TEST()
183 vfloat a(-0.15f, 0.0f, 0.9f, 2.1f); in TEST() local
185 vfloat r = atan2(a, b); in TEST()
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()
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()
[all …]
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/extensions/
Dsyncconst.h88 #define _XSyncValueGreaterThan(a, b)\ argument
89 ((a).hi>(b).hi || ((a).hi==(b).hi && (a).lo>(b).lo))
90 #define _XSyncValueLessThan(a, b)\ argument
91 ((a).hi<(b).hi || ((a).hi==(b).hi && (a).lo<(b).lo))
92 #define _XSyncValueGreaterOrEqual(a, b)\ argument
93 ((a).hi>(b).hi || ((a).hi==(b).hi && (a).lo>=(b).lo))
94 #define _XSyncValueLessOrEqual(a, b)\ argument
95 ((a).hi<(b).hi || ((a).hi==(b).hi && (a).lo<=(b).lo))
96 #define _XSyncValueEqual(a, b) ((a).lo==(b).lo && (a).hi==(b).hi) argument
98 #define _XSyncValueIsZero(a) ((a).lo==0 && (a).hi==0) argument
[all …]
DXKBstr.h121 #define XkbModActionVMods(a) \ argument
122 ((short)(((a)->vmods1<<8)|((a)->vmods2)))
123 #define XkbSetModActionVMods(a,v) \ argument
124 (((a)->vmods1=(((v)>>8)&0xff)),(a)->vmods2=((v)&0xff))
131 #define XkbSAGroup(a) (XkbCharToInt((a)->group_XXX)) argument
132 #define XkbSASetGroup(a,g) ((a)->group_XXX=(g)) argument
153 #define XkbPtrActionX(a) (Xkb2CharsToInt((a)->high_XXX,(a)->low_XXX)) argument
154 #define XkbPtrActionY(a) (Xkb2CharsToInt((a)->high_YYY,(a)->low_YYY)) argument
155 #define XkbSetPtrActionX(a,x) (XkbIntTo2Chars(x,(a)->high_XXX,(a)->low_XXX)) argument
156 #define XkbSetPtrActionY(a,y) (XkbIntTo2Chars(y,(a)->high_YYY,(a)->low_YYY)) argument
[all …]
/device/google/sunfish/json-c/
Dlinkhash.c158 #define mix(a,b,c) \ argument
160 a -= c; a ^= rot(c, 4); c += b; \
161 b -= a; b ^= rot(a, 6); a += c; \
162 c -= b; c ^= rot(b, 8); b += a; \
163 a -= c; a ^= rot(c,16); c += b; \
164 b -= a; b ^= rot(a,19); a += c; \
165 c -= b; c ^= rot(b, 4); b += a; \
193 #define final(a,b,c) \ argument
196 a ^= c; a -= rot(c,11); \
197 b ^= a; b -= rot(a,25); \
[all …]
/device/google/redbull/json-c/
Dlinkhash.c158 #define mix(a,b,c) \ argument
160 a -= c; a ^= rot(c, 4); c += b; \
161 b -= a; b ^= rot(a, 6); a += c; \
162 c -= b; c ^= rot(b, 8); b += a; \
163 a -= c; a ^= rot(c,16); c += b; \
164 b -= a; b ^= rot(a,19); a += c; \
165 c -= b; c ^= rot(b, 4); b += a; \
193 #define final(a,b,c) \ argument
196 a ^= c; a -= rot(c,11); \
197 b ^= a; b -= rot(a,25); \
[all …]
/device/google/coral/json-c/
Dlinkhash.c158 #define mix(a,b,c) \ argument
160 a -= c; a ^= rot(c, 4); c += b; \
161 b -= a; b ^= rot(a, 6); a += c; \
162 c -= b; c ^= rot(b, 8); b += a; \
163 a -= c; a ^= rot(c,16); c += b; \
164 b -= a; b ^= rot(a,19); a += c; \
165 c -= b; c ^= rot(b, 4); b += a; \
193 #define final(a,b,c) \ argument
196 a ^= c; a -= rot(c,11); \
197 b ^= a; b -= rot(a,25); \
[all …]
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtx/
Dio.inl14 GLM_FUNC_QUALIFIER format_punct<CTy>::format_punct(size_t a) argument
15 : std::locale::facet(a)
28 GLM_FUNC_QUALIFIER format_punct<CTy>::format_punct(format_punct const& a) argument
30 , formatted(a.formatted)
31 , precision(a.precision)
32 , width(a.width)
33 , separator(a.separator)
34 , delim_left(a.delim_left)
35 , delim_right(a.delim_right)
36 , space(a.space)
[all …]
/device/generic/goldfish-opengl/system/vulkan_enc/
Dvk_util.h106 __vk_outarray_init(struct __vk_outarray *a, in __vk_outarray_init() argument
109 a->data = data; in __vk_outarray_init()
110 a->cap = *len; in __vk_outarray_init()
111 a->filled_len = len; in __vk_outarray_init()
112 *a->filled_len = 0; in __vk_outarray_init()
113 a->wanted_len = 0; in __vk_outarray_init()
115 if (a->data == NULL) in __vk_outarray_init()
116 a->cap = UINT32_MAX; in __vk_outarray_init()
120 __vk_outarray_status(const struct __vk_outarray *a) in __vk_outarray_status() argument
122 if (*a->filled_len < a->wanted_len) in __vk_outarray_status()
[all …]
/device/google/contexthub/firmware/lib/builtins/
Daeabi_l2f.c25 float __aeabi_l2f(di_int a);
28 __aeabi_l2f(di_int a) in __aeabi_l2f() argument
30 if (a == 0) in __aeabi_l2f()
33 const di_int s = a >> (N-1); in __aeabi_l2f()
34 a = (a ^ s) - s; in __aeabi_l2f()
35 int sd = N - __builtin_clzll(a); /* number of significant digits */ in __aeabi_l2f()
50 a <<= 1; in __aeabi_l2f()
55 a = ((du_int)a >> (sd - (FLT_MANT_DIG+2))) | in __aeabi_l2f()
56 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __aeabi_l2f()
59 a |= (a & 4) != 0; /* Or P into R */ in __aeabi_l2f()
[all …]
Daeabi_ul2f.c25 float __aeabi_ul2f(du_int a);
28 __aeabi_ul2f(du_int a) in __aeabi_ul2f() argument
30 if (a == 0) in __aeabi_ul2f()
33 int sd = N - __builtin_clzll(a); /* number of significant digits */ in __aeabi_ul2f()
48 a <<= 1; in __aeabi_ul2f()
53 a = (a >> (sd - (FLT_MANT_DIG+2))) | in __aeabi_ul2f()
54 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __aeabi_ul2f()
57 a |= (a & 4) != 0; /* Or P into R */ in __aeabi_ul2f()
58 ++a; /* round - this step may add a significant bit */ in __aeabi_ul2f()
59 a >>= 2; /* dump Q and R */ in __aeabi_ul2f()
[all …]
/device/generic/vulkan-cereal/fake-android-guest/cutils/
Datomic.h96 volatile std::atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_inc() local
98 return atomic_fetch_add_explicit(a, 1, std::memory_order_release); in android_atomic_inc()
104 volatile std::atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_dec() local
105 return atomic_fetch_sub_explicit(a, 1, std::memory_order_release); in android_atomic_dec()
111 volatile std::atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_add() local
112 return atomic_fetch_add_explicit(a, value, std::memory_order_release); in android_atomic_add()
118 volatile std::atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_and() local
119 return atomic_fetch_and_explicit(a, value, std::memory_order_release); in android_atomic_and()
125 volatile std::atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_or() local
126 return atomic_fetch_or_explicit(a, value, std::memory_order_release); in android_atomic_or()
[all …]
/device/generic/vulkan-cereal/third-party/glm/include/glm/simd/
Dcommon.h10 GLM_FUNC_QUALIFIER glm_vec4 glm_vec4_add(glm_vec4 a, glm_vec4 b) in glm_vec4_add() argument
12 return _mm_add_ps(a, b); in glm_vec4_add()
15 GLM_FUNC_QUALIFIER glm_vec4 glm_vec1_add(glm_vec4 a, glm_vec4 b) in glm_vec1_add() argument
17 return _mm_add_ss(a, b); in glm_vec1_add()
20 GLM_FUNC_QUALIFIER glm_vec4 glm_vec4_sub(glm_vec4 a, glm_vec4 b) in glm_vec4_sub() argument
22 return _mm_sub_ps(a, b); in glm_vec4_sub()
25 GLM_FUNC_QUALIFIER glm_vec4 glm_vec1_sub(glm_vec4 a, glm_vec4 b) in glm_vec1_sub() argument
27 return _mm_sub_ss(a, b); in glm_vec1_sub()
30 GLM_FUNC_QUALIFIER glm_vec4 glm_vec4_mul(glm_vec4 a, glm_vec4 b) in glm_vec4_mul() argument
32 return _mm_mul_ps(a, b); in glm_vec4_mul()
[all …]
/device/generic/vulkan-cereal/third-party/glm/include/glm/detail/
D_vectorize.hpp59 …GLM_FUNC_QUALIFIER static tvec1<T, P> call(T (*Func) (T x, T y), tvec1<T, P> const & a, tvec1<T, P… in call()
61 return tvec1<T, P>(Func(a.x, b.x)); in call()
68 …GLM_FUNC_QUALIFIER static tvec2<T, P> call(T (*Func) (T x, T y), tvec2<T, P> const & a, tvec2<T, P… in call()
70 return tvec2<T, P>(Func(a.x, b.x), Func(a.y, b.y)); in call()
77 …GLM_FUNC_QUALIFIER static tvec3<T, P> call(T (*Func) (T x, T y), tvec3<T, P> const & a, tvec3<T, P… in call()
79 return tvec3<T, P>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z)); in call()
86 …GLM_FUNC_QUALIFIER static tvec4<T, P> call(T (*Func) (T x, T y), tvec4<T, P> const & a, tvec4<T, P… in call()
88 return tvec4<T, P>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z), Func(a.w, b.w)); in call()
98 GLM_FUNC_QUALIFIER static tvec1<T, P> call(T (*Func) (T x, T y), tvec1<T, P> const & a, T b) in call()
100 return tvec1<T, P>(Func(a.x, b)); in call()
[all …]
Dtype_vec4_simd.inl57 static tvec4<float, P> call(tvec4<float, P> const & a, tvec4<float, P> const & b)
60 Result.data = _mm_add_ps(a.data, b.data);
69 static tvec4<double, P> call(tvec4<double, P> const & a, tvec4<double, P> const & b)
72 Result.data = _mm256_add_pd(a.data, b.data);
81 static tvec4<float, P> call(tvec4<float, P> const & a, tvec4<float, P> const & b)
84 Result.data = _mm_sub_ps(a.data, b.data);
93 static tvec4<double, P> call(tvec4<double, P> const & a, tvec4<double, P> const & b)
96 Result.data = _mm256_sub_pd(a.data, b.data);
105 static tvec4<float, P> call(tvec4<float, P> const & a, tvec4<float, P> const & b)
108 Result.data = _mm_mul_ps(a.data, b.data);
[all …]
/device/google/tangorpro/uwb/
DUWB-calibration-ce.conf105a:66:ea:c3:09:a4:ea:0a:09:cd:ea:66:08:0a:eb:ae:07:33:eb:f6:06:48:eb:52:06:71:eb:9a:05:c3:eb:e1:04:…
106a:29:ee:c3:09:3d:ee:0a:09:cd:ee:66:08:c3:ef:ae:07:f6:f0:f6:06:3d:f2:52:06:52:f2:9a:05:cd:f2:e1:04:…
107a:e1:ec:c3:09:14:ee:0a:09:d7:ef:66:08:8f:f2:ae:07:00:f6:f6:06:cd:f6:52:06:33:f7:9a:05:d7:f7:e1:04:…
108a:ef:7b:0a:c3:ef:c3:09:00:f0:0a:09:14:f0:66:08:7b:f0:ae:07:48:f1:f6:06:00:f2:52:06:c3:f3:9a:05:00:…
DUWB-calibration-jp.conf105a:66:ea:c3:09:a4:ea:0a:09:cd:ea:66:08:0a:eb:ae:07:33:eb:f6:06:48:eb:52:06:71:eb:9a:05:c3:eb:e1:04:…
106a:29:ee:c3:09:3d:ee:0a:09:cd:ee:66:08:c3:ef:ae:07:f6:f0:f6:06:3d:f2:52:06:52:f2:9a:05:cd:f2:e1:04:…
107a:e1:ec:c3:09:14:ee:0a:09:d7:ef:66:08:8f:f2:ae:07:00:f6:f6:06:cd:f6:52:06:33:f7:9a:05:d7:f7:e1:04:…
108a:ef:7b:0a:c3:ef:c3:09:00:f0:0a:09:14:f0:66:08:7b:f0:ae:07:48:f1:f6:06:00:f2:52:06:c3:f3:9a:05:00:…
DUWB-calibration-fcc.conf105a:66:ea:c3:09:a4:ea:0a:09:cd:ea:66:08:0a:eb:ae:07:33:eb:f6:06:48:eb:52:06:71:eb:9a:05:c3:eb:e1:04:…
106a:29:ee:c3:09:3d:ee:0a:09:cd:ee:66:08:c3:ef:ae:07:f6:f0:f6:06:3d:f2:52:06:52:f2:9a:05:cd:f2:e1:04:…
107a:e1:ec:c3:09:14:ee:0a:09:d7:ef:66:08:8f:f2:ae:07:00:f6:f6:06:cd:f6:52:06:33:f7:9a:05:d7:f7:e1:04:…
108a:ef:7b:0a:c3:ef:c3:09:00:f0:0a:09:14:f0:66:08:7b:f0:ae:07:48:f1:f6:06:00:f2:52:06:c3:f3:9a:05:00:…

12345678910>>...51