Home
last modified time | relevance | path

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

/third_party/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.cpp53 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize()
62 return safe->alignUp(size, sizeof(void*)); in StorageSize()
DSkString.cpp218 allocationSize = safe.alignUp(allocationSize, 4); in Make()
/third_party/node/deps/v8/tools/turbolizer/src/
Dnode.ts8 import { alignUp, measureText } from "./util";
49 this.width = alignUp(innerwidth + NODE_INPUT_WIDTH * 2,
Dutil.ts74 export function alignUp(raw: number, multiple: number): number { function
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dmemory.cpp186 auto aligned = reinterpret_cast<uint8_t*>(marl::alignUp( in alignedMalloc()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMJIT.cpp328 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/
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()