Home
last modified time | relevance | path

Searched refs:align_to (Results 1 – 10 of 10) sorted by relevance

/external/arm-trusted-firmware/tools/sptool/
Dsptool.c40 static unsigned int align_to(unsigned int address, unsigned int boundary) in align_to() function
210 unsigned int file_ptr = align_to(header_size, PAGE_SIZE); in output_write()
224 file_ptr = align_to(file_ptr + sp->sp_size, PAGE_SIZE); in output_write()
240 file_ptr = align_to(file_ptr + sp->rd_size, 8); in output_write()
261 sp_size = align_to(sp->sp_size, PAGE_SIZE); in output_write()
/external/tensorflow/tensorflow/compiler/xla/
Dcpu_function_runtime.cc52 size_t align_to(size_t n, size_t align) { in align_to() function
67 total += align_to(buffer_infos[i].size(), kAlign); in AlignedBufferBytes()
94 pos += align_to(buffer_infos[i].size(), kAlign); in MallocContiguousBuffers()
/external/crosvm/data_model/src/
Dlib.rs35 match unsafe { data.align_to::<Self>() } { in from_slice()
124 let (pre, _, _) = unsafe { v.align_to::<$T>() };
/external/v8/src/compiler/
Dframe.h164 int align_to = in AllocateAlignedFrameSlots() local
167 align_to / kSystemPointerSize); in AllocateAlignedFrameSlots()
/external/linux-kselftest/tools/testing/selftests/net/
Dtcp_mmap.c123 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) argument
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c55 #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/
Di915_resource_texture.c93 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/
Dsg_lib.h575 uint8_t * sg_memalign(uint32_t num_bytes, uint32_t align_to,
/external/u-boot/drivers/dma/ti/
Dk3-udma.c1273 unsigned long align_to = __ffs(src | dest); in udma_prep_dma_memcpy() local
1275 if (align_to > 3) in udma_prep_dma_memcpy()
1276 align_to = 3; in udma_prep_dma_memcpy()
1282 tr0_cnt0 = (SZ_64K - BIT(align_to)); in udma_prep_dma_memcpy()
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c3391 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()