Searched refs:chdr (Results 1 – 10 of 10) sorted by relevance
/external/elfutils/libelf/ |
D | elf_compress.c | 271 GElf_Chdr chdr; in __libelf_decompress_elf() local 272 if (gelf_getchdr (scn, &chdr) == NULL) in __libelf_decompress_elf() 275 if (chdr.ch_type != ELFCOMPRESS_ZLIB) in __libelf_decompress_elf() 281 if (! powerof2 (chdr.ch_addralign)) in __libelf_decompress_elf() 302 void *buf_out = __libelf_decompress (buf_in, size_in, chdr.ch_size); in __libelf_decompress_elf() 303 *size_out = chdr.ch_size; in __libelf_decompress_elf() 304 *addralign = chdr.ch_addralign; in __libelf_decompress_elf() 428 Elf32_Chdr chdr; in elf_compress() local 429 chdr.ch_type = ELFCOMPRESS_ZLIB; in elf_compress() 430 chdr.ch_size = orig_size; in elf_compress() [all …]
|
D | gelf_getchdr.c | 52 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()
|
D | elf32_updatenull.c | 389 ElfW2(LIBELFBITS,Chdr) *chdr; in __elfw2() 390 chdr = elfw2(LIBELFBITS,getchdr) (scn); in __elfw2() 391 if (unlikely (chdr == NULL)) in __elfw2() 393 sh_size = chdr->ch_size; in __elfw2()
|
/external/elfutils/tests/ |
D | elfgetchdr.c | 79 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()
|
D | system-elf-libelf-test.c | 32 Elf32_Chdr *chdr = elf32_getchdr (NULL); in main() local 34 return chdr == NULL ? 0 : -1; in main()
|
/external/libpcap/ |
D | pcap-common.c | 1273 pcap_can_socketcan_hdr *chdr; in swap_linux_sll_header() local 1288 chdr = (pcap_can_socketcan_hdr *)(buf + sizeof(struct sll_header)); in swap_linux_sll_header() 1289 if (caplen < (u_int) sizeof(struct sll_header) + sizeof(chdr->can_id) || in swap_linux_sll_header() 1290 length < (u_int) sizeof(struct sll_header) + sizeof(chdr->can_id)) { in swap_linux_sll_header() 1294 chdr->can_id = SWAPLONG(chdr->can_id); in swap_linux_sll_header()
|
/external/tcpdump/ |
D | print-sl.c | 228 const u_char *chdr, const struct ip *ip, in compressed_sl_print() argument 231 register const u_char *cp = chdr; in compressed_sl_print() 275 ND_PRINT((ndo, " %d (%ld)", lastlen[dir][lastconn], (long)(cp - chdr))); in compressed_sl_print()
|
/external/scapy/scapy/layers/tls/ |
D | record.py | 439 chdr = hdr[:3] + struct.pack('!H', len(cfrag)) 440 is_mac_ok = self._tls_hmac_verify(chdr, cfrag, mac) 464 chdr = hdr[:3] + struct.pack('!H', len(cfrag)) 465 is_mac_ok = self._tls_hmac_verify(chdr, cfrag, mac)
|
/external/elfutils/src/ |
D | readelf.c | 1286 GElf_Chdr chdr; in print_shdr() local 1287 if (gelf_getchdr (scn, &chdr) != NULL) in print_shdr() 1290 elf_ch_type_name (chdr.ch_type), in print_shdr() 1291 chdr.ch_type, in print_shdr() 1293 chdr.ch_size, chdr.ch_addralign); in print_shdr()
|
D | elflint.c | 3956 GElf_Chdr chdr; in check_sections() local 3957 if (gelf_getchdr (scn, &chdr) == NULL) in check_sections()
|