Searched defs:chdr (Results 1 - 7 of 7) sorted by relevance

/external/elfutils/libelf/
H A Dgelf_getchdr.c52 Elf32_Chdr *chdr = elf32_getchdr (scn); local
53 if (chdr == NULL)
55 dest->ch_type = chdr->ch_type;
56 dest->ch_size = chdr->ch_size;
57 dest->ch_addralign = chdr->ch_addralign;
61 Elf64_Chdr *chdr = elf64_getchdr (scn); local
62 if (chdr == NULL)
64 *dest = *chdr;
H A Delf_compress.c260 GElf_Chdr chdr; local
261 if (gelf_getchdr (scn, &chdr) == NULL)
264 if (chdr.ch_type != ELFCOMPRESS_ZLIB)
270 if (! powerof2 (chdr.ch_addralign))
291 void *buf_out = __libelf_decompress (buf_in, size_in, chdr.ch_size);
292 *size_out = chdr.ch_size;
293 *addralign = chdr.ch_addralign;
408 Elf32_Chdr chdr; local
409 chdr.ch_type = ELFCOMPRESS_ZLIB;
410 chdr
422 Elf64_Chdr chdr; local
[all...]
/external/elfutils/tests/
H A Delfgetchdr.c79 GElf_Chdr chdr; local
80 if (gelf_getchdr (scn, &chdr) == NULL)
89 idx, chdr.ch_type, chdr.ch_size, chdr.ch_addralign);
/external/tcpdump/
H A Dprint-sl.c200 const u_char *chdr, const struct ip *ip,
203 register const u_char *cp = chdr;
241 * 'cp - chdr' is the length of the compressed header.
247 ND_PRINT((ndo, " %d (%ld)", lastlen[dir][lastconn], (long)(cp - chdr)));
199 compressed_sl_print(netdissect_options *ndo, const u_char *chdr, const struct ip *ip, u_int length, int dir) argument
/external/syslinux/efi/
H A Dmain.c737 } *chdr; local
749 chdr = (struct coff_header *)&buf[pehdr->offset];
750 if (chdr->signature != 0x4550) {
756 if (chdr->machine != 0x8664) {
761 if (chdr->machine != 0x14c) {
/external/elfutils/src/
H A Delflint.c3924 GElf_Chdr chdr; local
3925 if (gelf_getchdr (scn, &chdr) == NULL)
H A Dreadelf.c1203 GElf_Chdr chdr; local
1204 if (gelf_getchdr (scn, &chdr) != NULL)
1207 elf_ch_type_name (chdr.ch_type),
1208 chdr.ch_type,
1210 chdr.ch_size, chdr.ch_addralign);

Completed in 197 milliseconds