Home
last modified time | relevance | path

Searched refs:Align (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Drecord.cpp219 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 …]
Dutils.h44 static inline uint64_t Align(uint64_t value, uint64_t alignment) { in Align() function
Drecord_file_writer.cpp265 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()
Dread_elf.cpp105 namesz = Align(namesz, 4); in GetBuildIdFromNoteSection()
106 descsz = Align(descsz, 4); in GetBuildIdFromNoteSection()
Dthread_tree.cpp176 uint64_t sym_map_end = Align(sym.addr + sym.len, page_size); in AddThreadMapsForDsoSymbols()
DRecordReadThread.cpp593 AuxTraceRecord auxtrace(Align(aux_size, 8), offset, event_fd->Cpu(), 0, event_fd->Cpu()); in ReadAuxDataFromKernelBuffer()
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1318 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>());