Searched refs:Align (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | record.cpp | 206 p += Align(strlen(filename) + 1, 8); in MmapRecord() 230 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + in SetDataAndFilename() 239 p += Align(filename.size() + 1, 8); in SetDataAndFilename() 259 p += Align(strlen(filename) + 1, 8); in Mmap2Record() 266 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + in SetDataAndFilename() 275 p += Align(filename.size() + 1, 8); in SetDataAndFilename() 298 p += Align(strlen(p) + 1, 8); in CommRecord() 311 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + in CommRecord() 320 p += Align(comm.size() + 1, 8); in CommRecord() 683 p += Align(build_id.Size(), 8); in BuildIdRecord() [all …]
|
D | utils.h | 30 static inline uint64_t Align(uint64_t value, uint64_t alignment) { in Align() function
|
D | UnixSocket.h | 65 uint32_t aligned_len = Align(message.len, UnixSocketMessageAlignment); in StoreMessage()
|
D | record_file_writer.cpp | 246 uint32_t len = static_cast<uint32_t>(Align(s.size() + 1, 64)); in WriteStringWithLength() 253 size_t pad_size = Align(s.size() + 1, 64) - s.size() - 1; in WriteStringWithLength()
|
D | UnixSocket.cpp | 186 aligned_len = Align(msg->len, UnixSocketMessageAlignment); in ConsumeDataInReadBuffer()
|
D | UnixSocket_test.cpp | 69 size_t aligned_len = Align(msg->len, UnixSocketMessageAlignment); in TEST()
|
D | read_elf.cpp | 115 namesz = Align(namesz, 4); in GetBuildIdFromNoteSection() 116 descsz = Align(descsz, 4); in GetBuildIdFromNoteSection()
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 796 void Align(size_t elem_size) { 826 Align(sizeof(T)); 858 Align(AlignOf<T>()); 872 Align(sizeof(uoffset_t)); 969 Align(alignment);
|