Searched refs:Align (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | record.cpp | 215 p += Align(strlen(filename) + 1, 8); in MmapRecord() 239 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + in SetDataAndFilename() 248 p += Align(filename.size() + 1, 8); in SetDataAndFilename() 267 p += Align(strlen(filename) + 1, 8); in Mmap2Record() 290 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + in SetDataAndFilename() 299 p += Align(filename.size() + 1, 8); in SetDataAndFilename() 322 p += Align(strlen(p) + 1, 8); in CommRecord() 335 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + in CommRecord() 344 p += Align(comm.size() + 1, 8); in CommRecord() 355 size_t old_name_len = Align(strlen(comm) + 1, 8); in SetCommandName() [all …]
|
D | utils.h | 33 static inline uint64_t Align(uint64_t value, uint64_t alignment) { in Align() function
|
D | record_file_writer.cpp | 262 uint32_t len = static_cast<uint32_t>(Align(s.size() + 1, 64)); in WriteStringWithLength() 269 size_t pad_size = Align(s.size() + 1, 64) - s.size() - 1; in WriteStringWithLength()
|
D | read_elf.cpp | 104 namesz = Align(namesz, 4); in GetBuildIdFromNoteSection() 105 descsz = Align(descsz, 4); in GetBuildIdFromNoteSection()
|
D | RecordReadThread.cpp | 592 AuxTraceRecord auxtrace(Align(aux_size, 8), offset, event_fd->Cpu(), 0, event_fd->Cpu()); in ReadAuxDataFromKernelBuffer()
|
/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);
|