/external/skia/tests/ |
D | RecordTest.cpp | 103 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/ |
D | RecordTest.cpp | 103 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/ |
D | ir_emission_utils.cc | 57 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/ |
D | sdhci.c | 131 int *is_aligned, int trans_bytes) in sdhci_prepare_dma() argument 151 *is_aligned = 0; in sdhci_prepare_dma() 162 *is_aligned = 0; in sdhci_prepare_dma() 182 int *is_aligned, int trans_bytes) in sdhci_prepare_dma() argument 262 int trans_bytes = 0, is_aligned = 1; local 336 sdhci_prepare_dma(host, data, &is_aligned, trans_bytes); 383 !is_aligned && (data->flags == MMC_DATA_READ))
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorTraits.h | 23 is_aligned = enumerator 39 packet_access_bit = packet_traits<Scalar>::Vectorizable && is_aligned ? PacketAccessBit : 0
|
/external/mesa3d/src/compiler/glsl/ |
D | link_varyings.h | 127 bool is_aligned(unsigned dmul, unsigned offset) const in is_aligned() function
|
D | link_varyings.cpp | 2840 !tfeedback_decls[i].is_aligned(dmul, matched_candidate->offset)) || in assign_varying_locations()
|
/external/skqp/src/core/ |
D | SkMD5.cpp | 237 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/skia/src/core/ |
D | SkMD5.cpp | 239 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/u-boot/arch/arm/cpu/armv8/ |
D | cache_v8.c | 512 static bool is_aligned(u64 addr, u64 size, u64 align) in is_aligned() function 525 if (is_aligned(start, size, levelsize)) { in set_one_region()
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_pt_linux_nvme.c | 116 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/ |
D | dlmalloc.c | 1276 #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/ |
D | dlmalloc.c | 1271 #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/ |
D | malloc.c | 1618 #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/ |
D | gl4cEnhancedLayoutsTests.cpp | 9566 const bool is_aligned = (0 == modulo) ? true : false; in test() local 9567 const bool should_fail = !is_aligned; in test() 9577 const bool is_aligned = (0 == modulo) ? true : false; in test() local 9578 const bool should_fail = !is_aligned; in test()
|