Home
last modified time | relevance | path

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

/third_party/elfutils/libelf/
H A 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()
H A Delf_compress.c267 GElf_Chdr chdr; in __libelf_decompress_elf() local
268 if (gelf_getchdr (scn, &chdr) == NULL) in __libelf_decompress_elf()
271 if (chdr.ch_type != ELFCOMPRESS_ZLIB) in __libelf_decompress_elf()
277 if (! powerof2 (chdr.ch_addralign)) in __libelf_decompress_elf()
298 void *buf_out = __libelf_decompress (buf_in, size_in, chdr.ch_size); in __libelf_decompress_elf()
299 *size_out = chdr.ch_size; in __libelf_decompress_elf()
300 *addralign = chdr.ch_addralign; in __libelf_decompress_elf()
424 Elf32_Chdr chdr; in elf_compress() local
425 chdr.ch_type = ELFCOMPRESS_ZLIB; in elf_compress()
426 chdr in elf_compress()
438 Elf64_Chdr chdr; elf_compress() local
[all...]
H A Delf32_updatenull.c406 ElfW2(LIBELFBITS,Chdr) *chdr; in __elfw2()
407 chdr = elfw2(LIBELFBITS,getchdr) (scn); in __elfw2()
408 if (unlikely (chdr == NULL)) in __elfw2()
410 sh_size = chdr->ch_size; in __elfw2()
/third_party/elfutils/tests/
H A Delfgetchdr.c81 GElf_Chdr chdr; in main() local
82 if (gelf_getchdr (scn, &chdr) == NULL) in main()
91 idx, chdr.ch_type, chdr.ch_size, chdr.ch_addralign); in main()
H A Dsystem-elf-libelf-test.c32 Elf32_Chdr *chdr = elf32_getchdr (NULL); in main()
34 return chdr == NULL ? 0 : -1; in main()
/third_party/ffmpeg/libavformat/
H A Dargo_asf.c354 ArgoASFChunkHeader chdr; in argo_asf_write_header() local
384 chdr.num_blocks = 0; in argo_asf_write_header()
385 chdr.num_samples = ASF_SAMPLE_COUNT; in argo_asf_write_header()
386 chdr.unk1 = 0; in argo_asf_write_header()
389 chdr.sample_rate = 44100; in argo_asf_write_header()
391 chdr.sample_rate = par->sample_rate; in argo_asf_write_header()
393 chdr.unk2 = ~0; in argo_asf_write_header()
394 chdr.flags = ASF_CF_BITS_PER_SAMPLE | ASF_CF_ALWAYS1; in argo_asf_write_header()
397 chdr.flags |= ASF_CF_STEREO; in argo_asf_write_header()
400 argo_asf_write_chunk_header(&chdr, in argo_asf_write_header()
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_drmeter.c139 float chdr, secondpeak, rmssum = 0; in print_stats() local
166 chdr = 20 * log10(secondpeak / sqrt(rmssum / (0.2 * p->blknum))); in print_stats()
167 dr += chdr; in print_stats()
168 av_log(ctx, AV_LOG_INFO, "Channel %d: DR: %g\n", ch + 1, chdr); in print_stats()
/third_party/libunwind/libunwind/src/dwarf/
H A DGfind_proc_info-lsb.c139 Elf_W (Chdr) *chdr = (shdr->sh_offset + ei.image); in load_debug_frame()
141 if (chdr->ch_type == ELFCOMPRESS_ZLIB) in load_debug_frame()
143 *bufsize = destSize = chdr->ch_size; in load_debug_frame()
154 shdr->sh_offset + ei.image + sizeof(*chdr), in load_debug_frame()
155 shdr->sh_size - sizeof(*chdr)); in load_debug_frame()
171 chdr->ch_type); in load_debug_frame()
/third_party/alsa-lib/src/topology/
H A Ddapm.c884 struct snd_soc_tplg_ctl_hdr *chdr; in tplg_decode_dapm_widget() local
951 chdr = bin; in tplg_decode_dapm_widget()
952 switch (chdr->type) { in tplg_decode_dapm_widget()
1014 chdr->type); in tplg_decode_dapm_widget()
/third_party/libwebsockets/lib/roles/cgi/
H A Dcgi-server.c841 char chdr[LWS_HTTP_CHUNK_HDR_SIZE]; in lws_cgi_write_split_stdout_headers() local
842 m = lws_snprintf(chdr, LWS_HTTP_CHUNK_HDR_SIZE - 3, in lws_cgi_write_split_stdout_headers()
845 memcpy(start, chdr, (unsigned int)m); in lws_cgi_write_split_stdout_headers()
/third_party/lwip/src/api/
H A Dsockets.c1196 struct cmsghdr *chdr = CMSG_FIRSTHDR(msg); /* This will always return a header!! */ in lwip_recvfrom_udp_raw() local
1197 struct in_pktinfo *pkti = (struct in_pktinfo *)CMSG_DATA(chdr); in lwip_recvfrom_udp_raw()
1198 chdr->cmsg_level = IPPROTO_IP; in lwip_recvfrom_udp_raw()
1199 chdr->cmsg_type = IP_PKTINFO; in lwip_recvfrom_udp_raw()
1200 chdr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in lwip_recvfrom_udp_raw()
/third_party/elfutils/src/
H A Dreadelf.c1347 GElf_Chdr chdr; in print_shdr() local
1348 if (gelf_getchdr (scn, &chdr) != NULL) in print_shdr()
1351 elf_ch_type_name (chdr.ch_type), in print_shdr()
1352 chdr.ch_type, in print_shdr()
1354 chdr.ch_size, chdr.ch_addralign); in print_shdr()
H A Delflint.c3982 GElf_Chdr chdr; in check_sections() local
3983 if (gelf_getchdr (scn, &chdr) == NULL) in check_sections()

Completed in 31 milliseconds