Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 256) sorted by relevance

1234567891011

/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Drange.hpp31 inline length_t components(tvec1<T, P> const & v) in components()
37 inline length_t components(tvec2<T, P> const & v) in components()
43 inline length_t components(tvec3<T, P> const & v) in components()
49 inline length_t components(tvec4<T, P> const & v) in components()
61 inline typename genType::value_type const * begin(genType const & v) in begin()
67 inline typename genType::value_type const * end(genType const & v) in end()
73 inline typename genType::value_type * begin(genType& v) in begin()
79 inline typename genType::value_type * end(genType& v) in end()
Dmatrix_operation.inl9 tvec2<T, P> const & v
21 tvec2<T, P> const & v
33 tvec2<T, P> const & v
45 tvec2<T, P> const & v
57 tvec3<T, P> const & v
70 tvec3<T, P> const & v
83 tvec4<T, P> const & v
97 tvec3<T, P> const & v
110 tvec2<T, P> const & v
Dbit.inl23 GLM_FUNC_QUALIFIER vecType<T, P> highestBitValue(vecType<T, P> const & v)
38 GLM_FUNC_QUALIFIER vecType<T, P> lowestBitValue(vecType<T, P> const & v)
53 GLM_FUNC_QUALIFIER vecType<T, P> powerOfTwoAbove(vecType<T, P> const & v)
68 GLM_FUNC_QUALIFIER vecType<T, P> powerOfTwoBelow(vecType<T, P> const & v)
88 GLM_FUNC_QUALIFIER vecType<T, P> powerOfTwoNearest(vecType<T, P> const & v)
Dtransform.inl7 GLM_FUNC_QUALIFIER tmat4x4<T, P> translate(tvec3<T, P> const & v)
13 GLM_FUNC_QUALIFIER tmat4x4<T, P> rotate(T angle, tvec3<T, P> const & v)
19 GLM_FUNC_QUALIFIER tmat4x4<T, P> scale(tvec3<T, P> const & v)
Drotate_vector.inl31 tvec2<T, P> const & v,
47 tvec3<T, P> const & v,
69 tvec4<T, P> const & v,
80 tvec3<T, P> const & v,
96 tvec3<T, P> const & v,
112 tvec3<T, P> const & v,
128 tvec4<T, P> const & v,
144 tvec4<T, P> const & v,
160 tvec4<T, P> const & v,
Dsimd_vec4.inl19 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(fvec4SIMD const & v) : function in glm::detail::fvec4SIMD
28 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(vec4 const & v) :
56 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(vec2 const & v, float const & s1, float const & s2) :
60 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & s1, vec2 const & v, float const & s2) :
64 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & s1, float const & s2, vec2 const & v) :
68 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(vec3 const & v, float const & s) :
72 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & s, vec3 const & v) :
88 GLM_FUNC_QUALIFIER fvec4SIMD& fvec4SIMD::operator=(fvec4SIMD const & v)
101 GLM_FUNC_QUALIFIER fvec4SIMD& fvec4SIMD::operator+=(fvec4SIMD const & v)
113 GLM_FUNC_QUALIFIER fvec4SIMD& fvec4SIMD::operator-=(fvec4SIMD const & v)
[all …]
Dcomponent_wise.inl78 GLM_FUNC_QUALIFIER vecType<floatType, P> compNormalize(vecType<T, P> const & v)
86 GLM_FUNC_QUALIFIER vecType<T, P> compScale(vecType<floatType, P> const & v)
94 GLM_FUNC_QUALIFIER T compAdd(vecType<T, P> const & v)
103 GLM_FUNC_QUALIFIER T compMul(vecType<T, P> const & v)
112 GLM_FUNC_QUALIFIER T compMin(vecType<T, P> const & v)
121 GLM_FUNC_QUALIFIER T compMax(vecType<T, P> const & v)
Dvector_query.inl111 vecType<T, P> const & v,
123 vecType<T, P> const & v,
135 vecType<T, P> const & v,
147 tvec2<T, P> const & v,
158 tvec3<T, P> const & v,
171 tvec4<T, P> const & v,
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_trigonometric.inl20 GLM_FUNC_QUALIFIER GLM_CONSTEXPR vecType<T, P> radians(vecType<T, P> const & v)
35 GLM_FUNC_QUALIFIER GLM_CONSTEXPR vecType<T, P> degrees(vecType<T, P> const & v)
44 GLM_FUNC_QUALIFIER vecType<T, P> sin(vecType<T, P> const & v)
53 GLM_FUNC_QUALIFIER vecType<T, P> cos(vecType<T, P> const & v)
62 GLM_FUNC_QUALIFIER vecType<T, P> tan(vecType<T, P> const & v)
71 GLM_FUNC_QUALIFIER vecType<T, P> asin(vecType<T, P> const & v)
80 GLM_FUNC_QUALIFIER vecType<T, P> acos(vecType<T, P> const & v)
103 GLM_FUNC_QUALIFIER vecType<T, P> atan(vecType<T, P> const & v)
112 GLM_FUNC_QUALIFIER vecType<T, P> sinh(vecType<T, P> const & v)
121 GLM_FUNC_QUALIFIER vecType<T, P> cosh(vecType<T, P> const & v)
[all …]
Dtype_vec3.inl45 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec3<T, P>::tvec3(tvec3<T, P> const & v)
52 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec3<T, P>::tvec3(tvec3<T, Q> const & v)
126 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec3<T, P>::tvec3(tvec3<U, Q> const & v) :
134 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec3<T, P>::tvec3(tvec4<U, Q> const & v) :
160 GLM_FUNC_QUALIFIER tvec3<T, P>& tvec3<T, P>::operator=(tvec3<T, P> const & v)
171 GLM_FUNC_QUALIFIER tvec3<T, P>& tvec3<T, P>::operator=(tvec3<U, P> const & v)
191 GLM_FUNC_QUALIFIER tvec3<T, P> & tvec3<T, P>::operator+=(tvec1<U, P> const & v)
201 GLM_FUNC_QUALIFIER tvec3<T, P> & tvec3<T, P>::operator+=(tvec3<U, P> const & v)
221 GLM_FUNC_QUALIFIER tvec3<T, P> & tvec3<T, P>::operator-=(tvec1<U, P> const & v)
231 GLM_FUNC_QUALIFIER tvec3<T, P> & tvec3<T, P>::operator-=(tvec3<U, P> const & v)
[all …]
Dtype_vec1.inl19 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec1<T, P>::tvec1(tvec1<T, P> const & v)
26 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec1<T, P>::tvec1(tvec1<T, Q> const & v)
45 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec1<T, P>::tvec1(tvec1<U, Q> const & v)
51 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec1<T, P>::tvec1(tvec2<U, Q> const & v)
57 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec1<T, P>::tvec1(tvec3<U, Q> const & v)
63 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec1<T, P>::tvec1(tvec4<U, Q> const & v)
87 GLM_FUNC_QUALIFIER tvec1<T, P> & tvec1<T, P>::operator=(tvec1<T, P> const & v)
96 GLM_FUNC_QUALIFIER tvec1<T, P> & tvec1<T, P>::operator=(tvec1<U, P> const & v)
112 GLM_FUNC_QUALIFIER tvec1<T, P> & tvec1<T, P>::operator+=(tvec1<U, P> const & v)
128 GLM_FUNC_QUALIFIER tvec1<T, P> & tvec1<T, P>::operator-=(tvec1<U, P> const & v)
[all …]
Dtype_vec2.inl32 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(tvec2<T, P> const & v)
39 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(tvec2<T, Q> const & v)
79 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(tvec2<U, Q> const & v)
86 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(tvec3<U, Q> const & v)
93 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(tvec4<U, Q> const & v)
118 GLM_FUNC_QUALIFIER tvec2<T, P> & tvec2<T, P>::operator=(tvec2<T, P> const & v)
128 GLM_FUNC_QUALIFIER tvec2<T, P> & tvec2<T, P>::operator=(tvec2<U, P> const & v)
146 GLM_FUNC_QUALIFIER tvec2<T, P> & tvec2<T, P>::operator+=(tvec1<U, P> const & v)
155 GLM_FUNC_QUALIFIER tvec2<T, P> & tvec2<T, P>::operator+=(tvec2<U, P> const & v)
173 GLM_FUNC_QUALIFIER tvec2<T, P> & tvec2<T, P>::operator-=(tvec1<U, P> const & v)
[all …]
Dtype_vec4.inl168 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4<T, P>::tvec4(tvec4<T, P> const & v)
175 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4<T, P>::tvec4(tvec4<T, Q> const & v)
237 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4<T, P>::tvec4(A s1, tvec2<B, Q> const & v, C s2) :
255 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4<T, P>::tvec4(A s1, B s2, tvec2<C, Q> const & v) :
318 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4<T, P>::tvec4(tvec4<U, Q> const & v) :
345 GLM_FUNC_QUALIFIER tvec4<T, P>& tvec4<T, P>::operator=(tvec4<T, P> const & v)
357 GLM_FUNC_QUALIFIER tvec4<T, P>& tvec4<T, P>::operator=(tvec4<U, P> const & v)
375 GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator+=(tvec1<U, P> const & v)
382 GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator+=(tvec4<U, P> const & v)
396 GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator-=(tvec1<U, P> const & v)
[all …]
Dfunc_packing.inl10 GLM_FUNC_QUALIFIER uint packUnorm2x16(vec2 const & v)
39 GLM_FUNC_QUALIFIER uint packSnorm2x16(vec2 const & v)
68 GLM_FUNC_QUALIFIER uint packUnorm4x8(vec4 const & v)
99 GLM_FUNC_QUALIFIER uint packSnorm4x8(vec4 const & v)
130 GLM_FUNC_QUALIFIER double packDouble2x32(uvec2 const & v)
144 GLM_FUNC_QUALIFIER uvec2 unpackDouble2x32(double v)
157 GLM_FUNC_QUALIFIER uint packHalf2x16(vec2 const & v)
171 GLM_FUNC_QUALIFIER vec2 unpackHalf2x16(uint v)
/hardware/google/gfxstream/guest/mesa/src/util/
Du_atomic.h46 #define p_atomic_dec_zero(v) (__atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) == 0) argument
47 #define p_atomic_inc(v) (void) __atomic_add_fetch((v), 1, __ATOMIC_ACQ_REL) argument
48 #define p_atomic_dec(v) (void) __atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) argument
49 #define p_atomic_add(v, i) (void) __atomic_add_fetch((v), (i), __ATOMIC_ACQ_REL) argument
50 #define p_atomic_inc_return(v) __atomic_add_fetch((v), 1, __ATOMIC_ACQ_REL) argument
51 #define p_atomic_dec_return(v) __atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) argument
52 #define p_atomic_add_return(v, i) __atomic_add_fetch((v), (i), __ATOMIC_ACQ_REL) argument
53 #define p_atomic_fetch_add(v, i) __atomic_fetch_add((v), (i), __ATOMIC_ACQ_REL) argument
54 #define p_atomic_xchg(v, i) __atomic_exchange_n((v), (i), __ATOMIC_ACQ_REL) argument
62 #define p_atomic_dec_zero(v) (__sync_sub_and_fetch((v), 1) == 0) argument
[all …]
Dbitpack_helpers.h53 util_bitpack_uint(uint64_t v, uint32_t start, UNUSED uint32_t end) in util_bitpack_uint()
69 util_bitpack_uint_nonzero(uint64_t v, uint32_t start, uint32_t end) in util_bitpack_uint_nonzero()
76 util_bitpack_sint(int64_t v, uint32_t start, uint32_t end) in util_bitpack_sint()
96 util_bitpack_sint_nonzero(int64_t v, uint32_t start, uint32_t end) in util_bitpack_sint_nonzero()
103 util_bitpack_float(float v) in util_bitpack_float()
112 util_bitpack_float_nonzero(float v) in util_bitpack_float_nonzero()
119 util_bitpack_sfixed(float v, uint32_t start, uint32_t end, in util_bitpack_sfixed()
140 util_bitpack_sfixed_clamp(float v, uint32_t start, uint32_t end, in util_bitpack_sfixed_clamp()
158 util_bitpack_sfixed_nonzero(float v, uint32_t start, uint32_t end, in util_bitpack_sfixed_nonzero()
166 util_bitpack_ufixed(float v, uint32_t start, ASSERTED uint32_t end, in util_bitpack_ufixed()
[all …]
Du_printf.c178 uint8_t v; in u_printf() local
184 uint16_t v; in u_printf() local
191 float v; in u_printf() local
195 uint32_t v; in u_printf() local
203 double v; in u_printf() local
207 uint64_t v; in u_printf() local
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dpacking.inl354 GLM_FUNC_QUALIFIER uint8 packUnorm1x8(float v)
365 GLM_FUNC_QUALIFIER uint16 packUnorm2x8(vec2 const & v)
381 GLM_FUNC_QUALIFIER uint8 packSnorm1x8(float v)
398 GLM_FUNC_QUALIFIER uint16 packSnorm2x8(vec2 const & v)
426 GLM_FUNC_QUALIFIER uint64 packUnorm4x16(vec4 const & v)
441 GLM_FUNC_QUALIFIER uint16 packSnorm1x16(float v)
458 GLM_FUNC_QUALIFIER uint64 packSnorm4x16(vec4 const & v)
475 GLM_FUNC_QUALIFIER uint16 packHalf1x16(float v)
483 GLM_FUNC_QUALIFIER float unpackHalf1x16(uint16 v)
490 GLM_FUNC_QUALIFIER uint64 packHalf4x16(glm::vec4 const & v)
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_mathlib.h121 static inline float fabs(float v) in fabs()
133 static inline bool isnan(float v) in isnan()
252 inline T clamp(T v, T mn, T mx) in clamp()
270 static inline float clamp1f(float v) in clamp1f()
284 static inline float clamp255f(float v) in clamp255f()
296 static inline float flt_rd(float v) in flt_rd()
308 static inline int flt2int_rtn(float v) in flt2int_rtn()
321 static inline int flt2int_rd(float v) in flt2int_rd()
333 static inline int float_as_int(float v) in float_as_int()
347 static inline float int_as_float(int v) in int_as_float()
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Dring_buffer.c208 struct ring_buffer_view* v, in ring_buffer_view_init()
222 struct ring_buffer_view* v, in ring_buffer_init_view_only()
234 const struct ring_buffer_view* v, in ring_buffer_view_get_ring_pos()
241 const struct ring_buffer_view* v, in ring_buffer_view_can_write()
251 const struct ring_buffer_view* v, in ring_buffer_view_can_read()
261 const struct ring_buffer_view* v) { in ring_buffer_available_read()
274 const struct ring_buffer_view* v, in ring_buffer_copy_contents()
328 struct ring_buffer_view* v, in ring_buffer_view_write()
371 struct ring_buffer_view* v, in ring_buffer_view_read()
412 const struct ring_buffer_view* v, in ring_buffer_wait_write()
[all …]
/hardware/google/aemu/base/
Dring_buffer.cpp194 struct ring_buffer_view* v, in ring_buffer_view_init()
208 struct ring_buffer_view* v, in ring_buffer_init_view_only()
220 const struct ring_buffer_view* v, in ring_buffer_view_get_ring_pos()
227 const struct ring_buffer_view* v, in ring_buffer_view_can_write()
237 const struct ring_buffer_view* v, in ring_buffer_view_can_read()
247 const struct ring_buffer_view* v) { in ring_buffer_available_read()
260 const struct ring_buffer_view* v) { in ring_buffer_available_write()
273 const struct ring_buffer_view* v, in ring_buffer_copy_contents()
327 struct ring_buffer_view* v, in ring_buffer_view_write()
370 struct ring_buffer_view* v, in ring_buffer_view_read()
[all …]
DCStream.cpp36 void stream_put_byte(Stream* stream, int v) { in stream_put_byte()
40 void stream_put_be16(Stream* stream, uint16_t v) { in stream_put_be16()
44 void stream_put_be32(Stream* stream, uint32_t v) { in stream_put_be32()
48 void stream_put_be64(Stream* stream, uint64_t v) { in stream_put_be64()
68 void stream_put_float(Stream* stream, float v) { in stream_put_float()
DStream.cpp88 void Stream::putFloat(float v) { in putFloat()
192 void Stream::toBe16(uint8_t* v) { in toBe16()
199 void Stream::toBe32(uint8_t* v) { in toBe32()
210 void Stream::toBe64(uint8_t* v) { in toBe64()
227 void Stream::fromBe16(uint8_t* v) { in fromBe16()
234 void Stream::fromBe32(uint8_t* v) { in fromBe32()
245 void Stream::fromBe64(uint8_t* v) { in fromBe64()
/hardware/interfaces/radio/aidl/compat/libradiocompat/
DcommonStructs.cpp39 uint8_t toAidl(int8_t v) { in toAidl()
43 int8_t toAidl(uint8_t v) { in toAidl()
47 int32_t toAidl(uint32_t v) { in toAidl()
51 uint8_t toHidl(int8_t v) { in toHidl()
/hardware/google/gfxstream/guest/android-emu/aemu/base/files/
DStream.cpp88 void Stream::putFloat(float v) { in putFloat()
198 void Stream::toBe16(uint8_t* v) { in toBe16()
205 void Stream::toBe32(uint8_t* v) { in toBe32()
216 void Stream::toBe64(uint8_t* v) { in toBe64()
233 void Stream::fromBe16(uint8_t* v) { in fromBe16()
240 void Stream::fromBe32(uint8_t* v) { in fromBe32()
251 void Stream::fromBe64(uint8_t* v) { in fromBe64()

1234567891011