Searched refs:Align (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | record.cpp | 219 p += Align(strlen(filename) + 1, 8); in MmapRecord() 240 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + sample_id.Size()); in SetDataAndFilename() 248 p += Align(filename.size() + 1, 8); in SetDataAndFilename() 265 p += Align(strlen(filename) + 1, 8); in Mmap2Record() 287 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + sample_id.Size()); in SetDataAndFilename() 295 p += Align(filename.size() + 1, 8); in SetDataAndFilename() 315 p += Align(strlen(p) + 1, 8); in CommRecord() 328 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + sample_id_size); in CommRecord() 336 p += Align(comm.size() + 1, 8); in CommRecord() 347 size_t old_name_len = Align(strlen(comm) + 1, 8); in SetCommandName() [all …]
|
D | utils.h | 44 static inline uint64_t Align(uint64_t value, uint64_t alignment) { in Align() function
|
D | record_file_writer.cpp | 265 uint32_t len = static_cast<uint32_t>(Align(s.size() + 1, 64)); in WriteStringWithLength() 272 size_t pad_size = Align(s.size() + 1, 64) - s.size() - 1; in WriteStringWithLength()
|
D | read_elf.cpp | 105 namesz = Align(namesz, 4); in GetBuildIdFromNoteSection() 106 descsz = Align(descsz, 4); in GetBuildIdFromNoteSection()
|
D | thread_tree.cpp | 176 uint64_t sym_map_end = Align(sym.addr + sym.len, page_size); in AddThreadMapsForDsoSymbols()
|
D | RecordReadThread.cpp | 593 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 | 1318 void Align(size_t elem_size) { 1341 Align(sizeof(T)); 1375 Align(AlignOf<T>()); 1389 Align(sizeof(uoffset_t)); 1494 Align(alignment); 2054 Align(AlignOf<T>());
|