Searched refs:align_to (Results 1 – 4 of 4) sorted by relevance
/external/v8/src/compiler/ |
D | frame.h | 139 int align_to = (width & 15) == 0 ? 16 : (width & 7) == 0 ? 8 : kPointerSize; in AllocateAlignedFrameSlots() local 141 RoundUp(frame_slot_count_ + new_frame_slots, align_to / kPointerSize); in AllocateAlignedFrameSlots()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | protection_keys.c | 54 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) argument 55 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1)) argument
|
D | mpx-mini-test.c | 1167 unsigned long align_down(unsigned long alignme, unsigned long align_to) in align_down() argument 1169 return alignme & ~(align_to-1); in align_down() 1172 unsigned long align_up(unsigned long alignme, unsigned long align_to) in align_up() argument 1174 return (alignme + align_to - 1) & ~(align_to-1); in align_up()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 93 align_nblocksx(enum pipe_format format, unsigned width, unsigned align_to) in align_nblocksx() argument 95 return align(util_format_get_nblocksx(format, width), align_to); in align_nblocksx() 99 align_nblocksy(enum pipe_format format, unsigned width, unsigned align_to) in align_nblocksy() argument 101 return align(util_format_get_nblocksy(format, width), align_to); in align_nblocksy()
|