Home
last modified time | relevance | path

Searched refs:chdr (Results 1 – 9 of 9) sorted by relevance

/external/elfutils/libelf/
Delf_compress.c260 GElf_Chdr chdr; in __libelf_decompress_elf() local
261 if (gelf_getchdr (scn, &chdr) == NULL) in __libelf_decompress_elf()
264 if (chdr.ch_type != ELFCOMPRESS_ZLIB) in __libelf_decompress_elf()
270 if (! powerof2 (chdr.ch_addralign)) in __libelf_decompress_elf()
291 void *buf_out = __libelf_decompress (buf_in, size_in, chdr.ch_size); in __libelf_decompress_elf()
292 *size_out = chdr.ch_size; in __libelf_decompress_elf()
293 *addralign = chdr.ch_addralign; in __libelf_decompress_elf()
408 Elf32_Chdr chdr; in elf_compress() local
409 chdr.ch_type = ELFCOMPRESS_ZLIB; in elf_compress()
410 chdr.ch_size = orig_size; in elf_compress()
[all …]
Dgelf_getchdr.c52 Elf32_Chdr *chdr = elf32_getchdr (scn); in gelf_getchdr() local
53 if (chdr == NULL) in gelf_getchdr()
55 dest->ch_type = chdr->ch_type; in gelf_getchdr()
56 dest->ch_size = chdr->ch_size; in gelf_getchdr()
57 dest->ch_addralign = chdr->ch_addralign; in gelf_getchdr()
61 Elf64_Chdr *chdr = elf64_getchdr (scn); in gelf_getchdr() local
62 if (chdr == NULL) in gelf_getchdr()
64 *dest = *chdr; in gelf_getchdr()
Delf32_updatenull.c394 ElfW2(LIBELFBITS,Chdr) *chdr; in __elfw2()
395 chdr = elfw2(LIBELFBITS,getchdr) (scn); in __elfw2()
396 if (unlikely (chdr == NULL)) in __elfw2()
398 sh_size = chdr->ch_size; in __elfw2()
/external/elfutils/tests/
Delfgetchdr.c79 GElf_Chdr chdr; in main() local
80 if (gelf_getchdr (scn, &chdr) == NULL) in main()
89 idx, chdr.ch_type, chdr.ch_size, chdr.ch_addralign); in main()
Dsystem-elf-libelf-test.c32 Elf32_Chdr *chdr = elf32_getchdr (NULL); in main() local
34 return chdr == NULL ? 0 : -1; in main()
/external/tcpdump/
Dprint-sl.c200 const u_char *chdr, const struct ip *ip, in compressed_sl_print() argument
203 register const u_char *cp = chdr; in compressed_sl_print()
247 ND_PRINT((ndo, " %d (%ld)", lastlen[dir][lastconn], (long)(cp - chdr))); in compressed_sl_print()
/external/syslinux/efi/
Dmain.c737 } *chdr; in valid_pecoff_image() local
749 chdr = (struct coff_header *)&buf[pehdr->offset]; in valid_pecoff_image()
750 if (chdr->signature != 0x4550) { in valid_pecoff_image()
756 if (chdr->machine != 0x8664) { in valid_pecoff_image()
761 if (chdr->machine != 0x14c) { in valid_pecoff_image()
/external/elfutils/src/
Dreadelf.c1203 GElf_Chdr chdr; in print_shdr() local
1204 if (gelf_getchdr (scn, &chdr) != NULL) in print_shdr()
1207 elf_ch_type_name (chdr.ch_type), in print_shdr()
1208 chdr.ch_type, in print_shdr()
1210 chdr.ch_size, chdr.ch_addralign); in print_shdr()
Delflint.c3924 GElf_Chdr chdr; in check_sections() local
3925 if (gelf_getchdr (scn, &chdr) == NULL) in check_sections()