HomeSort by relevance Sort by last modified time
    Searched refs:note_header (Results 1 - 6 of 6) sorted by null

  /external/google-breakpad/src/common/linux/
file_id.cc 65 const Nhdr* note_header = reinterpret_cast<const Nhdr*>(section); local
66 while (reinterpret_cast<const void *>(note_header) < section_end) {
67 if (note_header->n_type == NT_GNU_BUILD_ID)
69 note_header = reinterpret_cast<const Nhdr*>(
70 reinterpret_cast<const char*>(note_header) + sizeof(Nhdr) +
71 NOTE_PADDING(note_header->n_namesz) +
72 NOTE_PADDING(note_header->n_descsz));
74 if (reinterpret_cast<const void *>(note_header) >= section_end ||
75 note_header->n_descsz == 0) {
79 const char* build_id = reinterpret_cast<const char*>(note_header)
    [all...]
synth_elf.cc 246 Elf32_Nhdr note_header; local
247 memset(&note_header, 0, sizeof(note_header));
248 note_header.n_namesz = name.length() + 1;
249 note_header.n_descsz = desc_size;
250 note_header.n_type = type;
252 Append(reinterpret_cast<const uint8_t*>(&note_header),
253 sizeof(note_header));
  /external/perf_data_converter/src/quipper/
dso_android.cc 58 Elf64_Nhdr note_header; local
60 while (data->ReadData(sizeof(note_header), &note_header)) {
61 size_t name_size = Align<4>(note_header.n_namesz);
62 size_t desc_size = Align<4>(note_header.n_descsz);
68 if (note_header.n_type == NT_GNU_BUILD_ID && name == ELF_NOTE_GNU) {
dso.cc 80 GElf_Nhdr note_header; local
84 (next = gelf_getnote(data, off, &note_header, &name_off, &desc_off)) > 0;
87 string name(buf + name_off, strnlen(buf + name_off, note_header.n_namesz));
88 string desc(buf + desc_off, note_header.n_descsz);
89 if (note_header.n_type == NT_GNU_BUILD_ID && name == ELF_NOTE_GNU) {
145 GElf_Nhdr note_header; local
147 while (data->ReadData(sizeof(note_header), &note_header)) {
148 size_t name_size = Align<4>(note_header.n_namesz);
149 size_t desc_size = Align<4>(note_header.n_descsz)
    [all...]
dso_test_utils.cc 119 GElf_Nhdr note_header; local
120 note_header.n_namesz = Align<4>(note_name.size());
121 note_header.n_descsz = Align<4>(buildid.size());
122 note_header.n_type = NT_GNU_BUILD_ID;
124 data_str.append(reinterpret_cast<char *>(&note_header),
125 sizeof(note_header));
127 data_str.append(string(note_header.n_namesz - note_name.size(), '\0'));
129 data_str.append(string(note_header.n_descsz - buildid.size(), '\0'));
dso_test.cc 104 const GElf_Nhdr note_header = { local
119 data.append(reinterpret_cast<const char*>(&note_header), sizeof(note_header));

Completed in 76 milliseconds