Searched refs:RoundUpToAlignment (Results 1 – 9 of 9) sorted by relevance
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | MathExtrasTest.cpp | 98 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/ |
D | MathExtras.h | 389 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/ |
D | JITCodeEmitter.h | 152 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/ |
D | MathExtras.h | 428 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/ |
D | MemoryBuffer.cpp | 126 RoundUpToAlignment(sizeof(MemoryBufferMem) + BufferName.size() + 1, in getNewUninitMemBuffer()
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 98 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/ |
D | ELFObjectWriter.cpp | 1191 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment()); in WriteObject() 1200 FileOff = RoundUpToAlignment(FileOff, NaturalAlignment); in WriteObject() 1212 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment()); in WriteObject()
|
D | MachObjectWriter.cpp | 535 StartAddress = RoundUpToAlignment(StartAddress, SD->getAlignment()); in computeSectionAddresses()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceBitVector.h | 263 return llvm::RoundUpToAlignment(Value, Align); in alignTo()
|