Home
last modified time | relevance | path

Searched refs:alignUp (Results 1 – 19 of 19) sorted by relevance

/external/gwp_asan/gwp_asan/tests/
Dalignment.cpp19 static uintptr_t alignUp(uintptr_t Ptr, size_t Alignment) { in alignUp() function in AlignmentTestGPA
20 return GuardedPoolAllocator::alignUp(Ptr, Alignment); in alignUp()
37 EXPECT_EQ(0x4000, AlignmentTestGPA::alignUp( in TEST()
40 EXPECT_EQ(0x4000, AlignmentTestGPA::alignUp( in TEST()
43 EXPECT_EQ(0x4000, AlignmentTestGPA::alignUp( in TEST()
/external/skia/src/gpu/
DGrSubRunAllocator.h36 auto alignUp = [](int size, int alignment) {return (size + (alignment - 1)) & -alignment;}; in MinimumSizeWithOverhead()
57 int minimumSize = alignUp(requestedSize, minAlignment) in MinimumSizeWithOverhead()
65 minimumSize = alignUp(minimumSize, k4K); in MinimumSizeWithOverhead()
/external/skia/src/core/
DSkSafeMath.h50 size_t alignUp(size_t x, size_t alignment) { in alignUp() function
67 return safe.alignUp(x, 4); in Align4()
DSkPath_serial.cpp112 size = safe.alignUp(size, 4); in writeToMemory()
DSkTextBlob.cpp49 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize()
58 return safe->alignUp(size, sizeof(void*)); in StorageSize()
DSkString.cpp217 allocationSize = safe.alignUp(allocationSize, 4); in Make()
/external/skqp/src/core/
DSkSafeMath.h50 size_t alignUp(size_t x, size_t alignment) { in alignUp() function
67 return safe.alignUp(x, 4); in Align4()
DSkPath_serial.cpp109 size = safe.alignUp(size, 4); in writeToMemory()
DSkTextBlob.cpp48 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize()
57 return safe->alignUp(size, sizeof(void*)); in StorageSize()
DSkString.cpp213 allocationSize = safe.alignUp(allocationSize, 4); in Make()
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Dinternal.h210 template <typename T> inline T alignUp(T value, size_t alignment) { in alignUp() function
214 template <typename T> inline T *alignUp(T *value, size_t alignment) { in alignUp() function
Dsystem.cpp682 metadata_start + core::alignUp(note->n_descsz, 4); in callbackEvent()
685 ptr += sizeof(*note) + core::alignUp(note->n_namesz, sizeof(int)) + in callbackEvent()
686 core::alignUp(note->n_descsz, sizeof(int)); in callbackEvent()
/external/gwp_asan/gwp_asan/
Dguarded_pool_allocator.cpp166 uintptr_t GuardedPoolAllocator::alignUp(uintptr_t Ptr, size_t Alignment) { in alignUp() function in gwp_asan::GuardedPoolAllocator
230 UserPtr = alignUp(SlotStart, Alignment); in allocate()
Dguarded_pool_allocator.h127 static uintptr_t alignUp(uintptr_t Ptr, size_t Alignment);
/external/swiftshader/tests/VulkanUnitTests/
DComputeTests.cpp27 size_t alignUp(size_t val, size_t alignment) in alignUp() function
174 size_t magic2Offset = alignUp(magic1Offset + 1, alignElements) - 1; in test()
177 size_t buffersTotalElements = alignUp(1 + magic3Offset, alignElements); in test()
/external/swiftshader/third_party/marl/src/
Dmemory.cpp186 auto aligned = reinterpret_cast<uint8_t*>(marl::alignUp( in alignedMalloc()
/external/swiftshader/src/Reactor/
DLLVMJIT.cpp321 T alignUp(T val, T alignment) in alignUp() function
332 …aligned = reinterpret_cast<uint8_t *>(alignUp(reinterpret_cast<uintptr_t>(aligned), alignment)); … in alignedAlloc()
/external/swiftshader/third_party/marl/include/marl/
Dmemory.h40 MARL_NO_EXPORT inline T alignUp(T val, T alignment) { in alignUp() function
Dcontainers.h512 auto const allocChainOffset = alignUp(entriesSize, alignof(AllocationChain)); in grow()