/external/gwp_asan/gwp_asan/tests/ |
D | alignment.cpp | 19 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/ |
D | GrSubRunAllocator.h | 36 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/ |
D | SkSafeMath.h | 50 size_t alignUp(size_t x, size_t alignment) { in alignUp() function 67 return safe.alignUp(x, 4); in Align4()
|
D | SkPath_serial.cpp | 112 size = safe.alignUp(size, 4); in writeToMemory()
|
D | SkTextBlob.cpp | 49 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize() 58 return safe->alignUp(size, sizeof(void*)); in StorageSize()
|
D | SkString.cpp | 217 allocationSize = safe.alignUp(allocationSize, 4); in Make()
|
/external/skqp/src/core/ |
D | SkSafeMath.h | 50 size_t alignUp(size_t x, size_t alignment) { in alignUp() function 67 return safe.alignUp(x, 4); in Align4()
|
D | SkPath_serial.cpp | 109 size = safe.alignUp(size, 4); in writeToMemory()
|
D | SkTextBlob.cpp | 48 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize() 57 return safe->alignUp(size, sizeof(void*)); in StorageSize()
|
D | SkString.cpp | 213 allocationSize = safe.alignUp(allocationSize, 4); in Make()
|
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/ |
D | internal.h | 210 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
|
D | system.cpp | 682 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/ |
D | guarded_pool_allocator.cpp | 166 uintptr_t GuardedPoolAllocator::alignUp(uintptr_t Ptr, size_t Alignment) { in alignUp() function in gwp_asan::GuardedPoolAllocator 230 UserPtr = alignUp(SlotStart, Alignment); in allocate()
|
D | guarded_pool_allocator.h | 127 static uintptr_t alignUp(uintptr_t Ptr, size_t Alignment);
|
/external/swiftshader/tests/VulkanUnitTests/ |
D | ComputeTests.cpp | 27 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/ |
D | memory.cpp | 186 auto aligned = reinterpret_cast<uint8_t*>(marl::alignUp( in alignedMalloc()
|
/external/swiftshader/src/Reactor/ |
D | LLVMJIT.cpp | 321 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/ |
D | memory.h | 40 MARL_NO_EXPORT inline T alignUp(T val, T alignment) { in alignUp() function
|
D | containers.h | 512 auto const allocChainOffset = alignUp(entriesSize, alignof(AllocationChain)); in grow()
|