Home
last modified time | relevance | path

Searched refs:RoundUpToAlignment (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/Support/
DMathExtrasTest.cpp98 TEST(MathExtras, RoundUpToAlignment) { in TEST() argument
99 EXPECT_EQ(8u, RoundUpToAlignment(5, 8)); in TEST()
100 EXPECT_EQ(24u, RoundUpToAlignment(17, 8)); in TEST()
101 EXPECT_EQ(0u, RoundUpToAlignment(~0LL, 8)); in TEST()
/external/capstone/
DMathExtras.h389 static inline uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align) { in RoundUpToAlignment() function
397 return RoundUpToAlignment(Value, Align) - Value; in OffsetToAlignment()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DJITCodeEmitter.h152 uint8_t *NewPtr = (uint8_t*)RoundUpToAlignment((uintptr_t)CurBufferPtr, in emitAlignment()
161 uint8_t *NewPtr = (uint8_t*)RoundUpToAlignment((uintptr_t)CurBufferPtr, in emitAlignmentWithFill()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h428 inline uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align) { in RoundUpToAlignment() function
436 return RoundUpToAlignment(Value, Align) - Value; in OffsetToAlignment()
/external/swiftshader/third_party/LLVM/lib/Support/
DMemoryBuffer.cpp126 RoundUpToAlignment(sizeof(MemoryBufferMem) + BufferName.size() + 1, in getNewUninitMemBuffer()
/external/libchrome/base/debug/
Dactivity_tracker.cc98 size_t RoundUpToAlignment(size_t index, size_t alignment) { in RoundUpToAlignment() function
476 RoundUpToAlignment(sizeof(FieldHeader) + name_size, kMemoryAlignment) - in Set()
478 size_t value_extent = RoundUpToAlignment(size, kMemoryAlignment); in Set()
570 size_t value_offset = RoundUpToAlignment( in ImportExistingData()
/external/swiftshader/third_party/LLVM/lib/MC/
DELFObjectWriter.cpp1191 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment()); in WriteObject()
1200 FileOff = RoundUpToAlignment(FileOff, NaturalAlignment); in WriteObject()
1212 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment()); in WriteObject()
DMachObjectWriter.cpp535 StartAddress = RoundUpToAlignment(StartAddress, SD->getAlignment()); in computeSectionAddresses()
/external/swiftshader/third_party/subzero/src/
DIceBitVector.h263 return llvm::RoundUpToAlignment(Value, Align); in alignTo()