Searched refs:align_to (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/compiler/aot/ |
D | runtime.cc | 58 size_t align_to(size_t n, size_t align) { in align_to() function 68 total += align_to(sizes[i], kAlign); in aligned_buffer_bytes() 92 pos += align_to(sizes[i], kAlign); in MallocContiguousBuffers()
|
/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 | 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()
|
D | protection_keys.c | 55 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) argument 56 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1)) argument
|
/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()
|
/external/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_lib.h | 575 uint8_t * sg_memalign(uint32_t num_bytes, uint32_t align_to,
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_lib.c | 3391 sg_memalign(uint32_t num_bytes, uint32_t align_to, uint8_t ** buff_to_free, in sg_memalign() argument 3399 psz = (align_to > 0) ? align_to : sg_get_page_size(); in sg_memalign()
|