Home
last modified time | relevance | path

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

/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/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/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/u-boot/drivers/mmc/
Dsdhci.c150 int trans_bytes = 0, is_aligned = 1; local
228 is_aligned = 0;
239 is_aligned = 0;
298 !is_aligned && (data->flags == MMC_DATA_READ))
/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/skia/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/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/u-boot/arch/arm/cpu/armv8/
Dcache_v8.c501 static bool is_aligned(u64 addr, u64 size, u64 align) in is_aligned() function
514 if (is_aligned(start, size, levelsize)) { in set_one_region()
/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.c1271 #define is_aligned(A) (((size_t)((A)) & (CHUNK_ALIGN_MASK)) == 0) macro
2617 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()
2626 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()
2641 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk()
2671 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk()
3233 assert(is_aligned(chunk2mem(p))); in mmap_alloc()
3386 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()
/external/deqp/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp9470 const bool is_aligned = (0 == modulo) ? true : false; in test() local
9471 const bool should_fail = !is_aligned; in test()
9481 const bool is_aligned = (0 == modulo) ? true : false; in test() local
9482 const bool should_fail = !is_aligned; in test()