/macosx-10.10.1/dtrace-147/libelf/ |
H A D | checksum.c | 80 Elf32_Shdr * shdr; local 110 if ((shdr = elf32_getshdr(scn)) == 0) 113 if (!(shdr->sh_flags & SHF_ALLOC)) 116 if ((shdr->sh_type == SHT_DYNSYM) || 117 (shdr->sh_type == SHT_DYNAMIC)) 133 Elf64_Shdr * shdr; local 144 if ((shdr = elf64_getshdr(scn)) == 0) 148 if (!(shdr->sh_flags & SHF_ALLOC)) 158 if ((shdr->sh_type == SHT_DYNSYM) || 159 (shdr [all...] |
H A D | gelf.c | 1100 GElf_Shdr shdr; local 1105 if (gelf_getshdr(scn, &shdr) == NULL) 1107 if (shdr.sh_type != SHT_DYNAMIC) 1110 n = shdr.sh_size / shdr.sh_entsize;
|
/macosx-10.10.1/dtrace-147/tools/ctfconvert/ |
H A D | output.c | 432 GElf_Shdr shdr; local 451 gelf_getshdr(scn, &shdr); 452 nent = shdr.sh_size / shdr.sh_entsize; 455 scn = elf_getscn(elf, shdr.sh_link); 458 if (SHN_MACHO != shdr.sh_link && SHN_MACHO_64 != shdr.sh_link) { 459 scn = elf_getscn(elf, shdr.sh_link); 547 if (SHN_MACHO == shdr.sh_link) { 550 } else if (SHN_MACHO_64 == shdr 627 GElf_Shdr shdr; local 671 GElf_Shdr shdr; local [all...] |
H A D | util.c | 68 GElf_Shdr shdr; local 76 if (gelf_getshdr(scn, &shdr) == NULL) { 83 (size_t)shdr.sh_name)) == NULL) {
|
H A D | dump.c | 1039 GElf_Shdr shdr; local 1044 if (gelf_getshdr(scn, &shdr) != NULL && (name = 1045 elf_strptr(elf, ehdr->e_shstrndx, shdr.sh_name)) != NULL && 1165 GElf_Shdr shdr; local 1168 if (gelf_getshdr(symscn, &shdr) != NULL) { 1170 symstrscn = elf_getscn(elf, shdr.sh_link); 1172 cd.cd_nsyms = shdr.sh_size / shdr.sh_entsize; 1176 if (SHN_MACHO == shdr.sh_link) { /* Underlying file is Mach-o */ 1178 cd.cd_nsyms = shdr [all...] |
/macosx-10.10.1/libpcap-48/libpcap/ |
H A D | pcap-usb-linux.c | 569 pcap_usb_setup* shdr; local 583 shdr = &uhdr->setup; 584 shdr->bmRequestType = strtoul(str1, 0, 16); 585 shdr->bRequest = strtoul(str2, 0, 16); 586 shdr->wValue = htols(strtoul(str3, 0, 16)); 587 shdr->wIndex = htols(strtoul(str4, 0, 16)); 588 shdr->wLength = htols(strtoul(str5, 0, 16));
|
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/ |
H A D | elf.c | 456 Elf_Internal_Shdr *shdr; member in union:elf_internal_group 506 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 507 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8) 531 Elf_Internal_Shdr *shdr = elf_elfsections (abfd)[i]; local 532 if (shdr->sh_type == SHT_GROUP && shdr->sh_size >= 8) 538 elf_tdata (abfd)->group_sect_ptr[num_group] = shdr; 543 amt = shdr->sh_size * sizeof (*dest) / 4; 544 shdr 592 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local 708 Elf_Internal_Shdr *shdr = elf_tdata (abfd)->group_sect_ptr[i]; local [all...] |
H A D | elf32-i370.c | 382 Elf_Internal_Shdr *shdr, 386 shdr->sh_flags |= SHF_EXCLUDE; 389 shdr->sh_type = SHT_ORDERED; 378 i370_elf_fake_sections(bfd *abfd ATTRIBUTE_UNUSED, Elf_Internal_Shdr *shdr, asection *asect) argument
|
H A D | elf-bfd.h | 33 #define NUM_SHDR_ENTRIES(shdr) ((shdr)->sh_size / (shdr)->sh_entsize)
|
H A D | elflink.c | 2043 Elf_Internal_Shdr *shdr, 2056 if (bfd_seek (abfd, shdr->sh_offset, SEEK_SET) != 0) 2060 if (bfd_bread (external_relocs, shdr->sh_size, abfd) != shdr->sh_size) 2069 if (shdr->sh_entsize == bed->s->sizeof_rel) 2071 else if (shdr->sh_entsize == bed->s->sizeof_rela) 2080 erelaend = erela + shdr->sh_size; 2101 erela += shdr->sh_entsize; 2035 elf_link_read_relocs_from_section(bfd *abfd, asection *sec, Elf_Internal_Shdr *shdr, void *external_relocs, Elf_Internal_Rela *internal_relocs) argument
|
H A D | elf32-ppc.c | 1909 Elf_Internal_Shdr *shdr, 1913 shdr->sh_flags |= SHF_EXCLUDE; 1916 shdr->sh_type = SHT_ORDERED; 1905 ppc_elf_fake_sections(bfd *abfd ATTRIBUTE_UNUSED, Elf_Internal_Shdr *shdr, asection *asect) argument
|
/macosx-10.10.1/dtrace-147/libdwarf/ |
H A D | dwarf_init_finish.c | 147 Elf64_Shdr shdr; local 260 sres = elf_sgi_shdr(elf, section_index, &shdr); 267 section_size = shdr.sh_size; 270 elf_sgi_string(elf, ehdr.e_shstrndx, shdr.sh_name,
|
/macosx-10.10.1/ruby-106/ruby/ |
H A D | addr2line.c | 464 ElfW(Shdr) *shdr, *shstr_shdr; 521 shdr = (ElfW(Shdr) *)(file + ehdr->e_shoff); 523 shstr_shdr = shdr + ehdr->e_shstrndx; 527 section_name = shstr + shdr[i].sh_name; 529 debug_line_shdr = shdr + i; 532 gnu_debuglink_shdr = shdr + i;
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 124 Elf_Shdr *shdr = const_cast<Elf_Shdr*>( local 129 shdr->sh_addr = static_cast<addr_type>(Addr);
|
/macosx-10.10.1/dcerpc-61/dcerpc/ncklib/ |
H A D | dglsn.c | 308 rpc_dg_pkt_hdr_p_t shdr = (rpc_dg_pkt_hdr_p_t) &rqe->pkt->hdr; local 312 dhdr->field = SWAB_16(shdr->field); \ 316 dhdr->field = SWAB_32(shdr->field); \ 320 dhdr->ufield = shdr->ufield; \ 325 dhdr->field = shdr->field; \
|
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOPMrootDomain.cpp | 8924 swd_stackshot_hdr *shdr = (swd_stackshot_hdr *)tmpBuf;; local 8927 shdr->magic = SWD_STACKSHOTHDR_MAGIC; 8928 shdr->size = 0; 9161 swd_stackshot_hdr shdr; local 9164 shdr.magic = SWD_STACKSHOTHDR_MAGIC; 9165 shdr.size = 0; 9179 sleepWakeDebugSaveFile(sname, (char*)(&shdr), sizeof(shdr));
|