Searched refs:Align (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | record.cpp | 212 p += Align(strlen(filename) + 1, 8); in MmapRecord() 236 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + in SetDataAndFilename() 245 p += Align(filename.size() + 1, 8); in SetDataAndFilename() 264 p += Align(strlen(filename) + 1, 8); in Mmap2Record() 287 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + in SetDataAndFilename() 296 p += Align(filename.size() + 1, 8); in SetDataAndFilename() 319 p += Align(strlen(p) + 1, 8); in CommRecord() 332 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + in CommRecord() 341 p += Align(comm.size() + 1, 8); in CommRecord() 352 size_t old_name_len = Align(strlen(comm) + 1, 8); in SetCommandName() [all …]
|
D | UnixSocket.h | 65 uint32_t aligned_len = Align(message.len, UnixSocketMessageAlignment); in StoreMessage()
|
D | UnixSocket.cpp | 186 aligned_len = Align(msg->len, UnixSocketMessageAlignment); in ConsumeDataInReadBuffer()
|
D | utils.h | 32 static inline uint64_t Align(uint64_t value, uint64_t alignment) { in Align() function
|
D | record_file_writer.cpp | 249 uint32_t len = static_cast<uint32_t>(Align(s.size() + 1, 64)); in WriteStringWithLength() 256 size_t pad_size = Align(s.size() + 1, 64) - s.size() - 1; in WriteStringWithLength()
|
D | UnixSocket_test.cpp | 69 size_t aligned_len = Align(msg->len, UnixSocketMessageAlignment); in TEST()
|
D | read_elf.cpp | 116 namesz = Align(namesz, 4); in GetBuildIdFromNoteSection() 117 descsz = Align(descsz, 4); in GetBuildIdFromNoteSection()
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 797 void Align(size_t elem_size) { 827 Align(sizeof(T)); 859 Align(AlignOf<T>()); 873 Align(sizeof(uoffset_t)); 970 Align(alignment);
|