Home
last modified time | relevance | path

Searched refs:is_aligned (Results 1 – 25 of 29) sorted by relevance

12

/external/skqp/tests/
DRecordTest.cpp103 static bool is_aligned(const T* p) { in is_aligned() function
109 REPORTER_ASSERT(r, is_aligned(record.alloc<uint8_t>())); in DEF_TEST()
110 REPORTER_ASSERT(r, is_aligned(record.alloc<uint16_t>())); in DEF_TEST()
111 REPORTER_ASSERT(r, is_aligned(record.alloc<uint32_t>())); in DEF_TEST()
112 REPORTER_ASSERT(r, is_aligned(record.alloc<void*>())); in DEF_TEST()
116 REPORTER_ASSERT(r, is_aligned(record.alloc<double>())); in DEF_TEST()
117 REPORTER_ASSERT(r, is_aligned(record.alloc<uint64_t>())); in DEF_TEST()
/external/skia/tests/
DRecordTest.cpp103 static bool is_aligned(const T* p) { in is_aligned() function
109 REPORTER_ASSERT(r, is_aligned(record.alloc<uint8_t>())); in DEF_TEST()
110 REPORTER_ASSERT(r, is_aligned(record.alloc<uint16_t>())); in DEF_TEST()
111 REPORTER_ASSERT(r, is_aligned(record.alloc<uint32_t>())); in DEF_TEST()
112 REPORTER_ASSERT(r, is_aligned(record.alloc<void*>())); in DEF_TEST()
116 REPORTER_ASSERT(r, is_aligned(record.alloc<double>())); in DEF_TEST()
117 REPORTER_ASSERT(r, is_aligned(record.alloc<uint64_t>())); in DEF_TEST()
/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dprecision.hpp38 struct is_aligned struct
45 struct is_aligned<glm::aligned_lowp> struct
51 struct is_aligned<glm::aligned_mediump> struct
57 struct is_aligned<glm::aligned_highp> struct
Dtype_vec4.inl370 …return (*this = detail::compute_vec4_add<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
377 …return (*this = detail::compute_vec4_add<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
384 …return (*this = detail::compute_vec4_add<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
391 …return (*this = detail::compute_vec4_sub<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
398 …return (*this = detail::compute_vec4_sub<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
405 …return (*this = detail::compute_vec4_sub<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
412 …return (*this = detail::compute_vec4_mul<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
419 …return (*this = detail::compute_vec4_mul<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
426 …return (*this = detail::compute_vec4_mul<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
433 …return (*this = detail::compute_vec4_div<T, P, detail::is_aligned<P>::value>::call(*this, tvec4<T,…
[all …]
Dfunc_geometric.inl144 return detail::compute_length<vecType, T, P, detail::is_aligned<P>::value>::call(v);
159 return detail::compute_distance<vecType, T, P, detail::is_aligned<P>::value>::call(p0, p1);
174 return detail::compute_dot<vecType, T, P, detail::is_aligned<P>::value>::call(x, y);
181 return detail::compute_cross<T, P, detail::is_aligned<P>::value>::call(x, y);
198 return detail::compute_normalize<T, P, vecType, detail::is_aligned<P>::value>::call(x);
211 return detail::compute_faceforward<T, P, vecType, detail::is_aligned<P>::value>::call(N, I, Nref);
224 return detail::compute_reflect<T, P, vecType, detail::is_aligned<P>::value>::call(I, N);
241 return detail::compute_refract<T, P, vecType, detail::is_aligned<P>::value>::call(I, N, eta);
Dfunc_integer.inl301 …x = detail::compute_bitfieldReverseStep<T, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8…
302 …x = detail::compute_bitfieldReverseStep<T, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8…
303 …x = detail::compute_bitfieldReverseStep<T, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8…
304 …x = detail::compute_bitfieldReverseStep<T, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8…
305 …x = detail::compute_bitfieldReverseStep<T, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8…
306 …x = detail::compute_bitfieldReverseStep<T, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8…
321 …CountStep<typename detail::make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeo…
322 …CountStep<typename detail::make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeo…
323 …CountStep<typename detail::make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeo…
324 …CountStep<typename detail::make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeo…
[all …]
Dfunc_common.inl317 return detail::compute_abs_vector<T, P, vecType, detail::is_aligned<P>::value>::call(x);
339 …return detail::compute_sign<T, P, vecType, std::numeric_limits<T>::is_iec559, detail::is_aligned<P…
348 return detail::compute_floor<T, P, vecType, detail::is_aligned<P>::value>::call(x);
355 return detail::compute_trunc<T, P, vecType, detail::is_aligned<P>::value>::call(x);
362 return detail::compute_round<T, P, vecType, detail::is_aligned<P>::value>::call(x);
421 return detail::compute_ceil<T, P, vecType, detail::is_aligned<P>::value>::call(x);
435 return detail::compute_fract<T, P, vecType, detail::is_aligned<P>::value>::call(x);
454 …return detail::compute_mod<T, P, vecType, detail::is_aligned<P>::value>::call(x, vecType<T, P>(y));
460 return detail::compute_mod<T, P, vecType, detail::is_aligned<P>::value>::call(x, y);
518 …return detail::compute_min_vector<T, P, vecType, detail::is_aligned<P>::value>::call(a, vecType<T,…
[all …]
Dfunc_exponential.inl116 …return detail::compute_log2<T, P, vecType, std::numeric_limits<T>::is_iec559, detail::is_aligned<P…
125 return detail::compute_sqrt<vecType, T, P, detail::is_aligned<P>::value>::call(x);
139 return detail::compute_inversesqrt<vecType, T, P, detail::is_aligned<P>::value>::call(x);
Dfunc_matrix.inl362 return detail::compute_matrixCompMult<matType, T, P, detail::is_aligned<P>::value>::call(x, y);
380 return detail::compute_transpose<matType, T, P, detail::is_aligned<P>::value>::call(m);
387 return detail::compute_determinant<matType, T, P, detail::is_aligned<P>::value>::call(m);
394 return detail::compute_inverse<matType, T, P, detail::is_aligned<P>::value>::call(m);
Dfunc_matrix_simd.inl16 GLM_STATIC_ASSERT(detail::is_aligned<P>::value, "Specialization requires aligned");
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emission_utils.cc57 auto is_aligned = [&](const Shape& shape) { in PotentiallyImplementedAsEigenConvolution() local
62 if (!is_aligned(input_shape) || !is_aligned(kernel_shape) || in PotentiallyImplementedAsEigenConvolution()
63 !is_aligned(output_shape)) { in PotentiallyImplementedAsEigenConvolution()
/external/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
Dx86AssemblyInspectionEngine.cpp928 bool is_aligned = false; in GetNonCallSiteUnwindPlanFromAssembly() local
992 auto fa_value_ptr = is_aligned ? &afa_value : &cfa_value; in GetNonCallSiteUnwindPlanFromAssembly()
1015 is_aligned = true; in GetNonCallSiteUnwindPlanFromAssembly()
1020 if (is_aligned && cfa_value.GetRegisterNumber() == m_lldb_fp_regnum) in GetNonCallSiteUnwindPlanFromAssembly()
1022 is_aligned = false; in GetNonCallSiteUnwindPlanFromAssembly()
1032 if (is_aligned && cfa_value.GetRegisterNumber() == m_lldb_alt_fp_regnum) in GetNonCallSiteUnwindPlanFromAssembly()
1034 is_aligned = false; in GetNonCallSiteUnwindPlanFromAssembly()
1066 if (is_aligned) in GetNonCallSiteUnwindPlanFromAssembly()
1123 if (is_aligned && cfa_value.GetRegisterNumber() == m_lldb_fp_regnum) in GetNonCallSiteUnwindPlanFromAssembly()
1125 is_aligned = false; in GetNonCallSiteUnwindPlanFromAssembly()
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dfast_square_root.inl26 …tvec1<T, P> tmp(detail::compute_inversesqrt<tvec1, genType, lowp, detail::is_aligned<lowp>::value>…
29 …return detail::compute_inversesqrt<tvec1, genType, highp, detail::is_aligned<highp>::value>::call(…
36 return detail::compute_inversesqrt<vecType, T, P, detail::is_aligned<P>::value>::call(x);
Dnorm.inl30 return detail::compute_length2<vecType, T, P, detail::is_aligned<P>::value>::call(v);
/external/llvm-project/clang/test/CodeGen/
Dbuiltin-align.c109 _Bool is_aligned(TYPE ptr, unsigned align) { in is_aligned() function
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorTraits.h23 is_aligned = enumerator
39 packet_access_bit = packet_traits<Scalar>::Vectorizable && is_aligned ? PacketAccessBit : 0
/external/mesa3d/src/compiler/glsl/
Dlink_varyings.h127 bool is_aligned(unsigned dmul, unsigned offset) const in is_aligned() function
/external/skia/src/core/
DSkMD5.cpp239 static inline bool is_aligned(const void *pointer, size_t byte_count) { in is_aligned() function
248 if (is_aligned(input, 4)) { in decode()
/external/skqp/src/core/
DSkMD5.cpp237 static inline bool is_aligned(const void *pointer, size_t byte_count) { in is_aligned() function
246 if (is_aligned(input, 4)) { in decode()
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dquaternion.inl157 T Dot = detail::compute_dot<tvec3, T, P, detail::is_aligned<P>::value>::call(u, v);
242 …return (*this = detail::compute_quat_add<T, P, detail::is_aligned<P>::value>::call(*this, tquat<T,…
249 …return (*this = detail::compute_quat_sub<T, P, detail::is_aligned<P>::value>::call(*this, tquat<T,…
270 …return (*this = detail::compute_quat_mul_scalar<T, P, detail::is_aligned<P>::value>::call(*this, s…
277 …return (*this = detail::compute_quat_div_scalar<T, P, detail::is_aligned<P>::value>::call(*this, s…
327 return detail::compute_quat_mul_vec4<T, P, detail::is_aligned<P>::value>::call(q, v);
Dquaternion.hpp57 typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<P>::value>::type data;
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux_nvme.c116 static inline bool is_aligned(const void * pointer, size_t byte_count) in is_aligned() function
799 if (! is_aligned(dop, pg_sz)) { /* caller best use sg_memalign(,pg_sz) */ in sntl_senddiag()
858 if (! is_aligned(dip, pg_sz)) { /* caller best use sg_memalign(,pg_sz) */ in sntl_recvdiag()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c1276 #define is_aligned(A) (((size_t)((A)) & (CHUNK_ALIGN_MASK)) == 0) macro
2622 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()
2631 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()
2646 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk()
2676 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk()
3238 assert(is_aligned(chunk2mem(p))); in mmap_alloc()
3391 assert(is_aligned(ss)); in add_segment()
/external/libffi/src/
Ddlmalloc.c1276 #define is_aligned(A) (((size_t)((A)) & (CHUNK_ALIGN_MASK)) == 0) macro
2622 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()
2631 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()
2646 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk()
2676 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk()
3238 assert(is_aligned(chunk2mem(p))); in mmap_alloc()
3391 assert(is_aligned(ss)); in add_segment()
/external/dlmalloc/
Dmalloc.c1618 #define is_aligned(A) (((size_t)((A)) & (CHUNK_ALIGN_MASK)) == 0) macro
3234 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()
3243 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()
3258 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk()
3288 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk()
3865 assert(is_aligned(chunk2mem(p))); in mmap_alloc()
4018 assert(is_aligned(ss)); in add_segment()

12