Home
last modified time | relevance | path

Searched refs:align_up (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/test/CodeGen/
Dbuiltin-align-assumption.c9 void align_up(void* data, int* ptr) { in align_up() function
Dbuiltin-align.c164 TYPE align_up(TYPE ptr, unsigned align) { in align_up() function
/external/rust/crates/flate2/src/ffi/
Dc.rs56 fn align_up(size: usize, align: usize) -> usize { in align_up() function
68 .map(|size| align_up(size, ALIGN)) in zalloc()
/external/angle/third_party/vulkan_memory_allocator/src/VmaReplay/
DCommon.h67 inline T align_up(T val, T align) in align_up() function
/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp1366 …return align_up<VkDeviceSize>(rand.Generate() % (MAX_BUF_SIZE - MIN_BUF_SIZE + 1) + MIN_BUF_SIZE, … in TestDefragmentationSimple()
1745 … bufCreateInfo.size = align_up(rand.Generate() % (bufSizeMax - bufSizeMin) + bufSizeMin, 32ull); in TestDefragmentationGpu()
2095 …bufCreateInfo.size = align_up<VkDeviceSize>(bufSizeMin + rand.Generate() % (bufSizeMax - bufSizeMi… in TestDefragmentationIncrementalBasic()
2282 …bufCreateInfo.size = align_up<VkDeviceSize>(bufSizeMin + rand.Generate() % (bufSizeMax - bufSizeMi… in TestDefragmentationIncrementalComplex()
2325 …bufCreateInfo.size = align_up<VkDeviceSize>(bufSizeMin + rand.Generate() % (bufSizeMax - bufSizeMi… in TestDefragmentationIncrementalComplex()
2978 …bufCreateInfo.size = align_up<VkDeviceSize>(bufSizeMin + rand.Generate() % (bufSizeMax - bufSizeMi… in TestLinearAllocator()
3011 …bufCreateInfo.size = align_up<VkDeviceSize>(bufSizeMin + rand.Generate() % (bufSizeMax - bufSizeMi… in TestLinearAllocator()
3032 …bufCreateInfo.size = align_up<VkDeviceSize>(bufSizeMin + rand.Generate() % (bufSizeMax - bufSizeMi… in TestLinearAllocator()
3127 …bufCreateInfo.size = align_up<VkDeviceSize>(bufSizeMin + rand.Generate() % (bufSizeMax - bufSizeMi… in TestLinearAllocator()
3162 …bufCreateInfo.size = align_up<VkDeviceSize>(bufSizeMin + rand.Generate() % (bufSizeMax - bufSizeMi… in TestLinearAllocator()
[all …]
DCommon.h94 static inline T align_up(T val, T align) in align_up() function
/external/protobuf/php/ext/google/protobuf/
Dupb.c4356 static size_t align_up(size_t val, size_t align) { in align_up() function
4405 l->size = align_up(l->size, size); in upb_msglayout_place()
4535 l->size = align_up(l->size, 8); in upb_msglayout_init()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c5222 static size_t align_up(size_t val, size_t align) { in align_up() function
5271 l->size = align_up(l->size, size); in upb_msglayout_place()
5401 l->size = align_up(l->size, 8); in upb_msglayout_init()