/external/chromium_org/third_party/skia/tests/ |
D | RecordTest.cpp | 82 static bool is_aligned(const T* p) { in is_aligned() function 90 REPORTER_ASSERT(r, is_aligned(record.alloc<uint8_t>())); in DEF_TEST() 96 REPORTER_ASSERT(r, is_aligned(record.alloc<uint16_t>())); in DEF_TEST() 97 REPORTER_ASSERT(r, is_aligned(record.alloc<uint32_t>())); in DEF_TEST() 100 REPORTER_ASSERT(r, is_aligned(record.alloc<uint64_t>())); in DEF_TEST() 101 REPORTER_ASSERT(r, is_aligned(record.alloc<void*>())); in DEF_TEST()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | api_text.c | 84 !is_aligned(glyphOrigin) || !is_aligned(escapement)) { in vegaSetGlyphToPath() 117 !is_aligned(glyphOrigin) || !is_aligned(escapement)) { in vegaSetGlyphToImage() 189 if (!glyphIndices || !is_aligned(glyphIndices)) { in vegaDrawGlyphs() 193 if ((adjustments_x && !is_aligned(adjustments_x)) || in vegaDrawGlyphs() 194 (adjustments_y && !is_aligned(adjustments_y))) { in vegaDrawGlyphs()
|
D | api_path.c | 328 if (!is_aligned(x) || !is_aligned(y) || in vegaPointAlongPath() 329 !is_aligned(tangentX) || !is_aligned(tangentY)) { in vegaPointAlongPath() 383 if (!is_aligned(minX) || !is_aligned(minY) || in vegaPathBounds() 384 !is_aligned(width) || !is_aligned(height)) { in vegaPathBounds() 420 if (!is_aligned(minX) || !is_aligned(minY) || in vegaPathTransformedBounds() 421 !is_aligned(width) || !is_aligned(height)) { in vegaPathTransformedBounds()
|
D | api_transform.c | 49 if (!m || !is_aligned(m)) { in vegaLoadMatrix() 71 if (!m || !is_aligned(m)) { in vegaGetMatrix() 88 if (!m || !is_aligned(m)) { in vegaMultMatrix()
|
D | api_params.c | 268 if ((count && !values) || !count_in_bounds(type, count) || !is_aligned(values)) { in vegaSetfv() 395 if ((count && !values) || !count_in_bounds(type, count) || !is_aligned(values)) { in vegaSetiv() 771 if (!values || count <= 0 || count > real_count || !is_aligned(values)) { in vegaGetfv() 872 if (!values || count <= 0 || count > real_count || !is_aligned(values)) { in vegaGetiv() 978 if (object == VG_INVALID_HANDLE || !is_aligned(ptr)) { in vegaSetParameterf() 1032 if (object == VG_INVALID_HANDLE || !is_aligned(ptr)) { in vegaSetParameteri() 1109 if (object == VG_INVALID_HANDLE || !is_aligned(ptr)) { in vegaSetParameterfv() 1116 !is_aligned(values)) { in vegaSetParameterfv() 1225 if (object == VG_INVALID_HANDLE || !is_aligned(ptr)) { in vegaSetParameteriv() 1232 !is_aligned(values)) { in vegaSetParameteriv() [all …]
|
D | api_images.c | 188 if (width <= 0 || height <= 0 || !data || !is_aligned(data)) { in vegaImageSubData() 216 if (width <= 0 || height <= 0 || !data || !is_aligned(data)) { in vegaGetImageSubData() 364 if (!data || !is_aligned(data)) { in vegaWritePixels() 412 if (!data || !is_aligned(data)) { in vegaReadPixels()
|
D | vgu.c | 94 if (!points || count <= 0 || !is_aligned(points)) { in vguPolygon() 368 if (!matrix || !is_aligned(matrix)) in vguComputeWarpQuadToSquare() 394 if (!matrix || !is_aligned(matrix)) in vguComputeWarpSquareToQuad() 424 if (!matrix || !is_aligned(matrix)) in vguComputeWarpQuadToQuad()
|
D | vg_context.h | 189 static INLINE VGboolean is_aligned(const void *ptr) in is_aligned() function
|
D | api_filters.c | 250 if (!matrix || !is_aligned(matrix)) { in vegaColorMatrix() 655 if (!lookupTable || !is_aligned(lookupTable)) { in vegaLookupSingle()
|
D | vg_context.c | 427 if (obj && is_aligned(obj) && obj->type == type) in vg_object_is_valid()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
D | api_text.c | 84 !is_aligned(glyphOrigin) || !is_aligned(escapement)) { in vegaSetGlyphToPath() 117 !is_aligned(glyphOrigin) || !is_aligned(escapement)) { in vegaSetGlyphToImage() 189 if (!glyphIndices || !is_aligned(glyphIndices)) { in vegaDrawGlyphs() 193 if ((adjustments_x && !is_aligned(adjustments_x)) || in vegaDrawGlyphs() 194 (adjustments_y && !is_aligned(adjustments_y))) { in vegaDrawGlyphs()
|
D | api_path.c | 328 if (!is_aligned(x) || !is_aligned(y) || in vegaPointAlongPath() 329 !is_aligned(tangentX) || !is_aligned(tangentY)) { in vegaPointAlongPath() 383 if (!is_aligned(minX) || !is_aligned(minY) || in vegaPathBounds() 384 !is_aligned(width) || !is_aligned(height)) { in vegaPathBounds() 420 if (!is_aligned(minX) || !is_aligned(minY) || in vegaPathTransformedBounds() 421 !is_aligned(width) || !is_aligned(height)) { in vegaPathTransformedBounds()
|
D | api_transform.c | 49 if (!m || !is_aligned(m)) { in vegaLoadMatrix() 71 if (!m || !is_aligned(m)) { in vegaGetMatrix() 88 if (!m || !is_aligned(m)) { in vegaMultMatrix()
|
D | api_params.c | 268 if ((count && !values) || !count_in_bounds(type, count) || !is_aligned(values)) { in vegaSetfv() 395 if ((count && !values) || !count_in_bounds(type, count) || !is_aligned(values)) { in vegaSetiv() 771 if (!values || count <= 0 || count > real_count || !is_aligned(values)) { in vegaGetfv() 872 if (!values || count <= 0 || count > real_count || !is_aligned(values)) { in vegaGetiv() 978 if (object == VG_INVALID_HANDLE || !is_aligned(ptr)) { in vegaSetParameterf() 1032 if (object == VG_INVALID_HANDLE || !is_aligned(ptr)) { in vegaSetParameteri() 1109 if (object == VG_INVALID_HANDLE || !is_aligned(ptr)) { in vegaSetParameterfv() 1116 !is_aligned(values)) { in vegaSetParameterfv() 1225 if (object == VG_INVALID_HANDLE || !is_aligned(ptr)) { in vegaSetParameteriv() 1232 !is_aligned(values)) { in vegaSetParameteriv() [all …]
|
D | api_images.c | 188 if (width <= 0 || height <= 0 || !data || !is_aligned(data)) { in vegaImageSubData() 216 if (width <= 0 || height <= 0 || !data || !is_aligned(data)) { in vegaGetImageSubData() 364 if (!data || !is_aligned(data)) { in vegaWritePixels() 412 if (!data || !is_aligned(data)) { in vegaReadPixels()
|
D | vgu.c | 94 if (!points || count <= 0 || !is_aligned(points)) { in vguPolygon() 368 if (!matrix || !is_aligned(matrix)) in vguComputeWarpQuadToSquare() 394 if (!matrix || !is_aligned(matrix)) in vguComputeWarpSquareToQuad() 424 if (!matrix || !is_aligned(matrix)) in vguComputeWarpQuadToQuad()
|
D | vg_context.h | 189 static INLINE VGboolean is_aligned(const void *ptr) in is_aligned() function
|
D | api_filters.c | 250 if (!matrix || !is_aligned(matrix)) { in vegaColorMatrix() 655 if (!lookupTable || !is_aligned(lookupTable)) { in vegaLookupSingle()
|
D | vg_context.c | 427 if (obj && is_aligned(obj) && obj->type == type) in vg_object_is_valid()
|
/external/chromium_org/third_party/skia/src/utils/ |
D | SkMD5.cpp | 231 static inline bool is_aligned(const void *pointer, size_t byte_count) { in is_aligned() function 240 if (is_aligned(input, 4)) { in decode()
|
/external/skia/src/utils/ |
D | SkMD5.cpp | 231 static inline bool is_aligned(const void *pointer, size_t byte_count) { in is_aligned() function 240 if (is_aligned(input, 4)) { in decode()
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
D | SDL_malloc.c | 1306 #define is_aligned(A) (((size_t)((A)) & (CHUNK_ALIGN_MASK)) == 0) macro 2565 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk() 2574 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk() 2589 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk() 2619 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk() 3183 assert(is_aligned(chunk2mem(p))); in mmap_alloc() 3336 assert(is_aligned(ss)); in add_segment()
|