Home
last modified time | relevance | path

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

/external/elfutils/libelf/
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()
Delf_compress.c269 GElf_Chdr chdr; in __libelf_decompress_elf() local
270 if (gelf_getchdr (scn, &chdr) == NULL) in __libelf_decompress_elf()
273 if (chdr.ch_type != ELFCOMPRESS_ZLIB) in __libelf_decompress_elf()
279 if (! powerof2 (chdr.ch_addralign)) in __libelf_decompress_elf()
300 void *buf_out = __libelf_decompress (buf_in, size_in, chdr.ch_size); in __libelf_decompress_elf()
301 *size_out = chdr.ch_size; in __libelf_decompress_elf()
302 *addralign = chdr.ch_addralign; in __libelf_decompress_elf()
426 Elf32_Chdr chdr; in elf_compress() local
427 chdr.ch_type = ELFCOMPRESS_ZLIB; in elf_compress()
428 chdr.ch_size = orig_size; in elf_compress()
[all …]
Delf32_updatenull.c408 ElfW2(LIBELFBITS,Chdr) *chdr; in __elfw2()
409 chdr = elfw2(LIBELFBITS,getchdr) (scn); in __elfw2()
410 if (unlikely (chdr == NULL)) in __elfw2()
412 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/libpcap/
Dpcap-common.c1411 pcap_can_socketcan_hdr *chdr; in swap_linux_sll_header() local
1426 chdr = (pcap_can_socketcan_hdr *)(buf + sizeof(struct sll_header)); in swap_linux_sll_header()
1427 if (caplen < (u_int) sizeof(struct sll_header) + sizeof(chdr->can_id) || in swap_linux_sll_header()
1428 length < (u_int) sizeof(struct sll_header) + sizeof(chdr->can_id)) { in swap_linux_sll_header()
1432 chdr->can_id = SWAPLONG(chdr->can_id); in swap_linux_sll_header()
/external/tcpdump/
Dprint-sl.c228 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/
Drecord.py439 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/libwebsockets/lib/roles/cgi/
Dcgi-server.c784 char chdr[LWS_HTTP_CHUNK_HDR_SIZE]; in lws_cgi_write_split_stdout_headers() local
785 m = lws_snprintf(chdr, LWS_HTTP_CHUNK_HDR_SIZE - 3, in lws_cgi_write_split_stdout_headers()
788 memcpy(start, chdr, m); in lws_cgi_write_split_stdout_headers()
/external/elfutils/src/
Dreadelf.c1325 GElf_Chdr chdr; in print_shdr() local
1326 if (gelf_getchdr (scn, &chdr) != NULL) in print_shdr()
1329 elf_ch_type_name (chdr.ch_type), in print_shdr()
1330 chdr.ch_type, in print_shdr()
1332 chdr.ch_size, chdr.ch_addralign); in print_shdr()
Delflint.c3981 GElf_Chdr chdr; in check_sections() local
3982 if (gelf_getchdr (scn, &chdr) == NULL) in check_sections()
/external/mime-support/
Dmime.types783 text/x-chdr h
/external/usrsctp/usrsctplib/netinet/
Dsctp_output.c9685 struct sctp_chunkhdr *chdr; local
9702 chdr = mtod(outchain, struct sctp_chunkhdr *);
9703 chdr->chunk_type = SCTP_HEARTBEAT_ACK;
9704 chdr->chunk_flags = 0;