/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.c | 925 #define BUFDUMPHDR(hdr) \ 926 (void) printf("%s: %s%s\n", g_pname, hdr, strlen(hdr) > 0 ? ":" : "");
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 2085 dump_none, /* deadlist hdr */ 4622 const char *hdr; local 4627 hdr = " 7 6 5 4 3 2 1 0 f e d c b a 9 8"; 4629 hdr = " 0 1 2 3 4 5 6 7 8 9 a b c d e f"; 4631 (void) printf("\n%s\n%6s %s 0123456789abcdef\n", label, "", hdr);
|
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_create.c | 55 static const ctf_header_t hdr = { { CTF_MAGIC, CTF_VERSION, 0 } }; local 68 cts.cts_data = (void *)&hdr; 69 cts.cts_size = sizeof (hdr); 239 ctf_header_t hdr; local 260 bzero(&hdr, sizeof (hdr)); 261 hdr.cth_magic = CTF_MAGIC; 262 hdr.cth_version = CTF_VERSION; 265 hdr.cth_parname = 1; /* i.e. _CTF_STRTAB_TEMPLATE[1] */ 311 hdr [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 228 } hdr; local 233 bzero(&hdr.ctf, sizeof (hdr)); 238 if ((nbytes = pread64(fd, &hdr.ctf, sizeof (hdr), 0)) <= 0) 246 hdr.ctf.ctp_magic == CTF_MAGIC) { 247 if (hdr.ctf.ctp_version > CTF_VERSION) 276 bcmp(&hdr.e32.e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { 288 if (hdr.e32.e_ident[EI_DATA] != order) 290 if (hdr [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_options.c | 884 dof_hdr_t hdr, *dof; local 893 bzero(&hdr, sizeof (dof_hdr_t)); 894 hdr.dofh_loadsz = sizeof (dof_hdr_t); 897 if (dt_ioctl(dtp, DTRACEIOC_DOFGET, &hdr) == -1) 899 dof = &hdr; 904 if (hdr.dofh_loadsz < sizeof (dof_hdr_t)) 907 dof = alloca(hdr.dofh_loadsz); 909 dof->dofh_loadsz = hdr.dofh_loadsz;
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | amd.h | 348 qelem hdr; member in struct:mnt_map
|
H A D | mapc.c | 821 ins_que(&m->hdr, &map_list_head); 843 rem_que(&m->hdr);
|
H A D | sched.c | 54 qelem hdr; /* Linked list */ member in struct:pjob 102 ins_que(&p->hdr, &proc_wait_list); 170 rem_que(&p->hdr); 171 ins_que(&p->hdr, &proc_list_head); 232 rem_que(&p->hdr);
|
/freebsd-11-stable/contrib/amd/fsinfo/ |
H A D | fsi_util.c | 269 pref_open(char *pref, char *hn, void (*hdr) (FILE *, char *), char *arg) 278 (*hdr) (ef, arg);
|
H A D | fsinfo.h | 40 extern FILE *pref_open(char *pref, char *hn, void (*hdr) (FILE *, char *), char *arg);
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | Makefile.am | 366 vms-hdr.lo \ 544 vms-hdr.c \ 1795 vms-hdr.lo: vms-hdr.c $(INCDIR)/filenames.h bfdver.h \
|
H A D | Makefile.in | 615 vms-hdr.lo \ 793 vms-hdr.c \ 1023 distclean-hdr: 1244 distclean-hdr distclean-libtool distclean-tags 1293 distclean-hdr distclean-libtool distclean-recursive \ 2374 vms-hdr.lo: vms-hdr.c $(INCDIR)/filenames.h bfdver.h \
|
H A D | aoutf1.h | 549 struct internal_sunos_core *hdr; /* Core file header. */ 629 abfd->tdata.sun_core_data->hdr = core; 685 return core_hdr (abfd)->hdr->c_cmdname; 691 return core_hdr (abfd)->hdr->c_signo; 704 if ((core_hdr (core_bfd)->hdr)->c_len == SOLARIS_BCP_CORE_LEN) 707 return memcmp ((char *) &((core_hdr (core_bfd)->hdr)->c_aouthdr), 548 struct internal_sunos_core *hdr; /* Core file header. */ member in struct:sun_core_struct
|
H A D | aoutx.h | 480 abfd->tdata.aout_data->a.hdr = &rawptr->e; 482 *(abfd->tdata.aout_data->a.hdr) = *execp; 483 execp = abfd->tdata.aout_data->a.hdr;
|
H A D | archive.c | 374 struct ar_hdr hdr; 375 char *hdrp = (char *) &hdr; 389 if (strncmp (hdr.ar_fmag, ARFMAG, 2) != 0 391 || strncmp (hdr.ar_fmag, mag, 2) != 0)) 398 parsed_size = strtol (hdr.ar_size, NULL, 10); 408 if ((hdr.ar_name[0] == '/' 409 || (hdr.ar_name[0] == ' ' 410 && memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)) == NULL)) 413 filename = get_extended_arelt_filename (abfd, hdr.ar_name); 419 else if (hdr 371 struct ar_hdr hdr; local 1266 struct ar_hdr *hdr = arch_hdr (current); local 1308 struct ar_hdr *hdr = arch_hdr (current); local 1365 struct ar_hdr *hdr; local 1445 struct ar_hdr *hdr; local 1505 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local 1537 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local 1585 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local 1694 struct ar_hdr hdr; local 1719 struct ar_hdr *hdr = arch_hdr (current); local 1939 struct ar_hdr hdr; local 2020 struct ar_hdr hdr; local 2089 struct ar_hdr hdr; local [all...] |
H A D | archive64.c | 158 struct ar_hdr hdr; local 171 memset (&hdr, ' ', sizeof (struct ar_hdr)); 172 memcpy (hdr.ar_name, "/SYM64/", strlen ("/SYM64/")); 173 _bfd_ar_spacepad (hdr.ar_size, sizeof (hdr.ar_size), "%-10ld", 175 _bfd_ar_spacepad (hdr.ar_date, sizeof (hdr.ar_date), "%ld", 178 _bfd_ar_spacepad (hdr.ar_uid, sizeof (hdr.ar_uid), "%ld", 0); 179 _bfd_ar_spacepad (hdr [all...] |
H A D | coff-alpha.c | 2124 struct ar_hdr *hdr; 2141 hdr = (struct ar_hdr *) tdata->arch_header; 2142 if (strncmp (hdr->ar_fmag, ARFZMAG, 2) != 0) 2231 nbfd->mtime = strtol (hdr->ar_date, (char **) NULL, 10); 2116 struct ar_hdr *hdr; local
|
H A D | coff-rs6000.c | 1149 struct xcoff_ar_hdr hdr; 1162 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR, abfd) 1167 namlen = strtol (hdr.namlen, (char **) NULL, 10); 1172 sz = strtol (hdr.size, (char **) NULL, 10); 1204 struct xcoff_ar_hdr_big hdr; 1217 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR_BIG, abfd) 1222 namlen = strtol (hdr.namlen, (char **) NULL, 10); 1230 sz = strtol (hdr.size, (char **) NULL, 10); 1322 struct xcoff_ar_file_hdr hdr; 1325 memcpy (hdr 1146 struct xcoff_ar_hdr hdr; local 1201 struct xcoff_ar_hdr_big hdr; local 1319 struct xcoff_ar_file_hdr hdr; local 1346 struct xcoff_ar_file_hdr_big hdr; local 1400 struct xcoff_ar_hdr hdr; local 1432 struct xcoff_ar_hdr_big hdr; local 1599 struct xcoff_ar_hdr hdr; local 1864 struct xcoff_ar_hdr_big *hdr; local 1965 struct xcoff_ar_hdr_big *hdr; local 2323 struct xcoff_ar_hdr_big *hdr, ahdr; local [all...] |
H A D | coff64-rs6000.c | 1880 struct xcoff_ar_hdr_big hdr; 1900 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR_BIG, abfd) 1905 namlen = strtol (hdr.namlen, (char **) NULL, 10); 1910 sz = bfd_scan_vma (hdr.size, (const char **) NULL, 10); 1969 struct xcoff_ar_file_hdr_big hdr; 1986 memcpy (hdr.magic, magic, SXCOFFARMAG); 1990 if (bfd_bread ((PTR) &hdr.memoff, amt, abfd) != amt) 2010 bfd_ardata (abfd)->first_file_filepos = bfd_scan_vma (hdr.firstmemoff, 2019 memcpy (bfd_ardata (abfd)->tdata, &hdr, SIZEOF_AR_FILE_HDR_BIG); 1879 struct xcoff_ar_hdr_big hdr; local 1968 struct xcoff_ar_file_hdr_big hdr; local
|
H A D | coffcode.h | 592 void * hdr, 597 struct internal_scnhdr *internal_s = (struct internal_scnhdr *) hdr; 735 void * hdr, 739 struct internal_scnhdr *internal_s = (struct internal_scnhdr *) hdr; 1002 void * hdr, 1007 struct internal_scnhdr *internal_s = (struct internal_scnhdr *) hdr; 1106 sec_flags = handle_COMDAT (abfd, sec_flags, hdr, name, section); 1605 struct internal_scnhdr *hdr = (struct internal_scnhdr *) scnhdr; 1611 if ((1 << i) >= hdr->s_align) 1616 i = (hdr 590 styp_to_sec_flags(bfd *abfd ATTRIBUTE_UNUSED, void * hdr, const char *name, asection *section ATTRIBUTE_UNUSED, flagword *flags_ptr) argument 732 handle_COMDAT(bfd * abfd, flagword sec_flags, void * hdr, const char *name, asection *section) argument 1000 styp_to_sec_flags(bfd *abfd, void * hdr, const char *name, asection *section, flagword *flags_ptr) argument 1604 struct internal_scnhdr *hdr = (struct internal_scnhdr *) scnhdr; local 1648 struct internal_scnhdr *hdr = (struct internal_scnhdr *) scnhdr; local 1720 struct internal_scnhdr *hdr = (struct internal_scnhdr *) scnhdr; local [all...] |
H A D | coffgen.c | 51 struct internal_scnhdr *hdr, 63 && hdr->s_name[0] == '/') 70 memcpy (buf, hdr->s_name + 1, SCNNMLEN - 1); 92 name = bfd_alloc (abfd, (bfd_size_type) sizeof (hdr->s_name) + 1); 95 strncpy (name, (char *) &hdr->s_name[0], sizeof (hdr->s_name)); 96 name[sizeof (hdr->s_name)] = 0; 103 return_section->vma = hdr->s_vaddr; 104 return_section->lma = hdr->s_paddr; 105 return_section->size = hdr 50 make_a_section_from_file(bfd *abfd, struct internal_scnhdr *hdr, unsigned int target_index) argument [all...] |
H A D | ecoff.c | 353 void * hdr, 358 struct internal_scnhdr *internal_s = hdr; 3018 struct ar_hdr hdr; 3041 memset ((void *) &hdr, 0, sizeof hdr); 3044 strcpy (hdr.ar_name, ecoff_backend (abfd)->armap_start); 3045 hdr.ar_name[ARMAP_HEADER_MARKER_INDEX] = ARMAP_MARKER; 3046 hdr.ar_name[ARMAP_HEADER_ENDIAN_INDEX] = 3050 hdr.ar_name[ARMAP_OBJECT_MARKER_INDEX] = ARMAP_MARKER; 3051 hdr 351 _bfd_ecoff_styp_to_sec_flags(bfd *abfd ATTRIBUTE_UNUSED, void * hdr, const char *name ATTRIBUTE_UNUSED, asection *section ATTRIBUTE_UNUSED, flagword * flags_ptr) argument 3010 struct ar_hdr hdr; local [all...] |
H A D | elf-attrs.c | 435 _bfd_elf_parse_attributes (bfd *abfd, Elf_Internal_Shdr * hdr) argument 442 contents = bfd_malloc (hdr->sh_size); 445 if (!bfd_get_section_contents (abfd, hdr->bfd_section, contents, 0, 446 hdr->sh_size)) 455 len = hdr->sh_size - 1;
|
H A D | elf.c | 295 Elf_Internal_Shdr *hdr; local 303 hdr = elf_elfsections (abfd)[shindex]; 305 if (hdr->contents == NULL 309 if (strindex >= hdr->sh_size) 314 abfd, strindex, (unsigned long) hdr->sh_size, 315 (shindex == shstrndx && strindex == hdr->sh_name 317 : bfd_elf_string_from_elf_section (abfd, shstrndx, hdr->sh_name))); 321 return ((char *) hdr->contents) + strindex; 475 Elf_Internal_Shdr *hdr; local 482 hdr 499 setup_group(bfd *abfd, Elf_Internal_Shdr *hdr, asection *newsect) argument 779 _bfd_elf_make_section_from_shdr(bfd *abfd, Elf_Internal_Shdr *hdr, const char *name, int shindex) argument 1843 Elf_Internal_Shdr *hdr = elf_elfsections (abfd)[shindex]; local 2600 _bfd_elf_make_section_from_phdr(bfd *abfd, Elf_Internal_Phdr *hdr, int index, const char *typename) argument 2673 bfd_section_from_phdr(bfd *abfd, Elf_Internal_Phdr *hdr, int index) argument 3616 Elf_Internal_Shdr *hdr; local 3947 asection *hdr; local 4717 Elf_Internal_Shdr *hdr; local 4802 Elf_Internal_Shdr *hdr; local 4906 Elf_Internal_Shdr *hdr; local 6541 Elf_Internal_Shdr *hdr = &elf_tdata (abfd)->symtab_hdr; local 6556 Elf_Internal_Shdr *hdr = &elf_tdata (abfd)->dynsymtab_hdr; local 6715 Elf_Internal_Shdr *hdr; local 6828 Elf_Internal_Shdr *hdr; local 7296 Elf_Internal_Shdr *hdr; local 8791 Elf_Internal_Shdr *hdr; local [all...] |
H A D | elf32-arm.c | 3273 Elf_Internal_Shdr *hdr; local 3282 hdr = &elf_tdata (abfd)->symtab_hdr; 3283 localsyms = hdr->sh_info; 3285 /* Obtain a buffer full of symbols for this BFD. The hdr->sh_info field 3288 isymbuf = bfd_elf_get_elf_syms (abfd, hdr, localsyms, 0, NULL, NULL, 3305 hdr->sh_link, isym->st_name); 7895 Elf_Internal_Shdr *hdr; local 7896 hdr = &elf_section_data (o)->this_hdr; 7897 if (hdr->sh_type == SHT_ARM_EXIDX && hdr 9211 Elf_Internal_Shdr *hdr local 9413 elf32_arm_section_flags(flagword *flags, const Elf_Internal_Shdr *hdr) argument 9441 elf32_arm_fake_sections(bfd * abfd, Elf_Internal_Shdr * hdr, asection * sec) argument 9460 elf32_arm_section_from_shdr(bfd *abfd, Elf_Internal_Shdr * hdr, const char *name, int shindex) argument [all...] |