Searched refs:alignUp (Results 1 – 11 of 11) sorted by relevance
/third_party/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 | 53 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize() 62 return safe->alignUp(size, sizeof(void*)); in StorageSize()
|
D | SkString.cpp | 218 allocationSize = safe.alignUp(allocationSize, 4); in Make()
|
/third_party/node/deps/v8/tools/turbolizer/src/ |
D | node.ts | 8 import { alignUp, measureText } from "./util"; 49 this.width = alignUp(innerwidth + NODE_INPUT_WIDTH * 2,
|
D | util.ts | 74 export function alignUp(raw: number, multiple: number): number { function
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | memory.cpp | 186 auto aligned = reinterpret_cast<uint8_t*>(marl::alignUp( in alignedMalloc()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | LLVMJIT.cpp | 328 T alignUp(T val, T alignment) in alignUp() function 339 …aligned = reinterpret_cast<uint8_t *>(alignUp(reinterpret_cast<uintptr_t>(aligned), alignment)); … in alignedAlloc()
|
/third_party/skia/third_party/externals/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()
|