/dflybsd-src/contrib/elftoolchain/libelf/ |
H A D | libelf_extended.c | 51 Elf_Scn *scn; in _libelf_setshnum() local 54 if ((scn = _libelf_getscn0(e)) == NULL) in _libelf_setshnum() 57 assert(scn->s_ndx == SHN_UNDEF); in _libelf_setshnum() 60 scn->s_shdr.s_shdr32.sh_size = shnum; in _libelf_setshnum() 62 scn->s_shdr.s_shdr64.sh_size = shnum; in _libelf_setshnum() 64 (void) elf_flagshdr(scn, ELF_C_SET, ELF_F_DIRTY); in _libelf_setshnum() 81 Elf_Scn *scn; in _libelf_setshstrndx() local 84 if ((scn = _libelf_getscn0(e)) == NULL) in _libelf_setshstrndx() 87 assert(scn->s_ndx == SHN_UNDEF); in _libelf_setshstrndx() 90 scn->s_shdr.s_shdr32.sh_link = shstrndx; in _libelf_setshstrndx() [all …]
|
H A D | elf_scn.c | 47 Elf_Scn *scn; in _libelf_load_section_headers() local 107 if ((scn = _libelf_allocate_scn(e, i)) == NULL) in _libelf_load_section_headers() 110 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_section_headers() 114 scn->s_offset = scn->s_rawoff = in _libelf_load_section_headers() 115 scn->s_shdr.s_shdr32.sh_offset; in _libelf_load_section_headers() 116 scn->s_size = scn->s_shdr.s_shdr32.sh_size; in _libelf_load_section_headers() 118 scn->s_offset = scn->s_rawoff = in _libelf_load_section_headers() 119 scn->s_shdr.s_shdr64.sh_offset; in _libelf_load_section_headers() 120 scn->s_size = scn->s_shdr.s_shdr64.sh_size; in _libelf_load_section_headers() 174 Elf_Scn *scn; in elf_newscn() local [all …]
|
H A D | gelf_symshndx.c | 41 Elf_Scn *scn; in gelf_getsymshndx() local 51 if (lid == NULL || (scn = lid->d_scn) == NULL || in gelf_getsymshndx() 52 (e = scn->s_elf) == NULL || (e != ld->d_scn->s_elf) || in gelf_getsymshndx() 62 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getsymshndx() 64 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getsymshndx() 94 Elf_Scn *scn; in gelf_update_symshndx() local 104 if (lid == NULL || (scn = lid->d_scn) == NULL || in gelf_update_symshndx() 105 (e = scn->s_elf) == NULL || (e != ld->d_scn->s_elf)) { in gelf_update_symshndx() 114 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_symshndx() 116 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_symshndx()
|
H A D | gelf_dyn.c | 42 Elf_Scn *scn; in gelf_getdyn() local 51 (scn = d->d_scn) == NULL || in gelf_getdyn() 52 (e = scn->s_elf) == NULL) { in gelf_getdyn() 61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getdyn() 63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getdyn() 102 Elf_Scn *scn; in gelf_update_dyn() local 111 (scn = d->d_scn) == NULL || in gelf_update_dyn() 112 (e = scn->s_elf) == NULL) { in gelf_update_dyn() 121 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_dyn() 123 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_dyn()
|
H A D | gelf_syminfo.c | 40 Elf_Scn *scn; in gelf_getsyminfo() local 49 (scn = d->d_scn) == NULL || in gelf_getsyminfo() 50 (e = scn->s_elf) == NULL) { in gelf_getsyminfo() 59 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getsyminfo() 61 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getsyminfo() 101 Elf_Scn *scn; in gelf_update_syminfo() local 110 (scn = d->d_scn) == NULL || in gelf_update_syminfo() 111 (e = scn->s_elf) == NULL) { in gelf_update_syminfo() 120 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_syminfo() 122 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_syminfo()
|
H A D | gelf_cap.c | 42 Elf_Scn *scn; in gelf_getcap() local 51 (scn = d->d_scn) == NULL || in gelf_getcap() 52 (e = scn->s_elf) == NULL) { in gelf_getcap() 61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getcap() 63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getcap() 102 Elf_Scn *scn; in gelf_update_cap() local 111 (scn = d->d_scn) == NULL || in gelf_update_cap() 112 (e = scn->s_elf) == NULL) { in gelf_update_cap() 121 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_cap() 123 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_cap()
|
H A D | gelf_move.c | 42 Elf_Scn *scn; in gelf_getmove() local 51 (scn = d->d_scn) == NULL || in gelf_getmove() 52 (e = scn->s_elf) == NULL) { in gelf_getmove() 61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getmove() 63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getmove() 105 Elf_Scn *scn; in gelf_update_move() local 114 (scn = d->d_scn) == NULL || in gelf_update_move() 115 (e = scn->s_elf) == NULL) { in gelf_update_move() 124 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_move() 126 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_move()
|
H A D | gelf_rel.c | 42 Elf_Scn *scn; in gelf_getrel() local 51 (scn = d->d_scn) == NULL || in gelf_getrel() 52 (e = scn->s_elf) == NULL) { in gelf_getrel() 61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getrel() 63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getrel() 104 Elf_Scn *scn; in gelf_update_rel() local 113 (scn = d->d_scn) == NULL || in gelf_update_rel() 114 (e = scn->s_elf) == NULL) { in gelf_update_rel() 123 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_rel() 125 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_rel()
|
H A D | gelf_sym.c | 42 Elf_Scn *scn; in gelf_getsym() local 51 (scn = d->d_scn) == NULL || in gelf_getsym() 52 (e = scn->s_elf) == NULL) { in gelf_getsym() 61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getsym() 63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getsym() 104 Elf_Scn *scn; in gelf_update_sym() local 113 (scn = d->d_scn) == NULL || in gelf_update_sym() 114 (e = scn->s_elf) == NULL) { in gelf_update_sym() 123 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_sym() 125 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_sym()
|
H A D | gelf_rela.c | 42 Elf_Scn *scn; in gelf_getrela() local 51 (scn = d->d_scn) == NULL || in gelf_getrela() 52 (e = scn->s_elf) == NULL) { in gelf_getrela() 61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getrela() 63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getrela() 105 Elf_Scn *scn; in gelf_update_rela() local 114 (scn = d->d_scn) == NULL || in gelf_update_rela() 115 (e = scn->s_elf) == NULL) { in gelf_update_rela() 124 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_rela() 126 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_rela()
|
H A D | gelf_shdr.c | 90 gelf_update_shdr(Elf_Scn *scn, GElf_Shdr *s) in gelf_update_shdr() argument 97 if (s == NULL || scn == NULL || (e = scn->s_elf) == NULL || in gelf_update_shdr() 109 (void) elf_flagscn(scn, ELF_C_SET, ELF_F_DIRTY); in gelf_update_shdr() 112 scn->s_shdr.s_shdr64 = *s; in gelf_update_shdr() 116 sh32 = &scn->s_shdr.s_shdr32; in gelf_update_shdr()
|
H A D | elf_end.c | 43 Elf_Scn *scn, *tscn; in elf_end() local 69 STAILQ_FOREACH_SAFE(scn, &e->e_u.e_elf.e_scn, s_next, in elf_end() 71 scn = _libelf_release_scn(scn); in elf_end()
|
H A D | libelf_checksum.c | 49 Elf_Scn *scn; in _libelf_checksum() local 79 if ((scn = elf_getscn(e, shn)) == NULL) in _libelf_checksum() 81 if (gelf_getshdr(scn, &shdr) == NULL) in _libelf_checksum() 89 while ((d = elf_rawdata(scn, d)) != NULL) in _libelf_checksum()
|
H A D | libelf_ehdr.c | 44 Elf_Scn *scn; in _libelf_load_extended() local 60 if ((scn = _libelf_allocate_scn(e, (size_t) 0)) == NULL) in _libelf_load_extended() 64 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_extended() 68 #define GET_SHDR_MEMBER(M) ((ec == ELFCLASS32) ? scn->s_shdr.s_shdr32.M : \ in _libelf_load_extended() 69 scn->s_shdr.s_shdr64.M) in _libelf_load_extended()
|
H A D | elf_update.c | 937 Elf_Scn *scn; in _libelf_write_shdr() local 971 STAILQ_FOREACH(scn, &e->e_u.e_elf.e_scn, s_next) { in _libelf_write_shdr() 973 src.d_buf = &scn->s_shdr.s_shdr32; in _libelf_write_shdr() 975 src.d_buf = &scn->s_shdr.s_shdr64; in _libelf_write_shdr() 978 dst.d_buf = nf + ex->ex_start + scn->s_ndx * fsz; in _libelf_write_shdr() 1009 Elf_Scn *scn, *tscn; in _libelf_write_elf() local 1133 STAILQ_FOREACH_SAFE(scn, &e->e_u.e_elf.e_scn, s_next, tscn) in _libelf_write_elf() 1134 _libelf_release_scn(scn); in _libelf_write_elf()
|
/dflybsd-src/contrib/file/src/ |
H A D | readcdf.c | 371 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn) in cdf_file_catalog_info() argument 376 dir, "Catalog", scn)) == -1) in cdf_file_catalog_info() 379 cdf_dump_catalog(h, scn); in cdf_file_catalog_info() 381 if ((i = cdf_file_catalog(ms, h, scn)) == -1) in cdf_file_catalog_info() 389 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn, in cdf_check_summary_info() argument 399 cdf_dump_summary_info(h, scn); in cdf_check_summary_info() 401 if ((i = cdf_file_summary_info(ms, h, scn, root_storage)) < 0) { in cdf_check_summary_info() 429 dir, scn); in cdf_check_summary_info() 549 cdf_stream_t sst, scn; in file_trycdf() local 555 scn.sst_tab = NULL; in file_trycdf() [all …]
|
H A D | cdf.c | 332 cdf_zero_stream(cdf_stream_t *scn) in cdf_zero_stream() argument 334 scn->sst_len = 0; in cdf_zero_stream() 335 scn->sst_dirlen = 0; in cdf_zero_stream() 336 scn->sst_ss = 0; in cdf_zero_stream() 337 free(scn->sst_tab); in cdf_zero_stream() 338 scn->sst_tab = NULL; in cdf_zero_stream() 598 const cdf_sat_t *sat, cdf_secid_t sid, size_t len, cdf_stream_t *scn) in cdf_read_long_sector_chain() argument 602 scn->sst_tab = NULL; in cdf_read_long_sector_chain() 603 scn->sst_len = cdf_count_chain(sat, sid, ss); in cdf_read_long_sector_chain() 604 scn->sst_dirlen = MAX(h->h_min_size_standard_stream, len); in cdf_read_long_sector_chain() [all …]
|
/dflybsd-src/sys/vfs/msdosfs/ |
H A D | msdosfs_lookup.c | 128 u_long scn; /* starting cluster number */ in msdosfs_lookup() local 163 scn = MSDOSFSROOT; in msdosfs_lookup() 410 scn = getushort(dep->deStartCluster); in msdosfs_lookup() 412 scn |= getushort(dep->deHighClust) << 16; in msdosfs_lookup() 413 if (scn == pmp->pm_rootdirblk) { in msdosfs_lookup() 418 scn = MSDOSFSROOT; in msdosfs_lookup() 423 cluster = scn; in msdosfs_lookup() 445 if (FAT32(pmp) && scn == MSDOSFSROOT) in msdosfs_lookup() 446 scn = pmp->pm_rootdirblk; in msdosfs_lookup() 473 if (dp->de_StartCluster == scn && isadir) { /* "." */ in msdosfs_lookup() [all …]
|
/dflybsd-src/contrib/binutils-2.27/binutils/ |
H A D | od-xcoff.c | 542 struct external_scnhdr scn; in dump_xcoff32_sections_header() local 545 if (bfd_bread (&scn, sizeof (scn), abfd) != sizeof (scn)) in dump_xcoff32_sections_header() 550 flags = bfd_h_get_32 (abfd, scn.s_flags); in dump_xcoff32_sections_header() 552 i + 1, scn.s_name, in dump_xcoff32_sections_header() 553 (unsigned int)bfd_h_get_32 (abfd, scn.s_paddr), in dump_xcoff32_sections_header() 554 (unsigned int)bfd_h_get_32 (abfd, scn.s_vaddr), in dump_xcoff32_sections_header() 555 (unsigned int)bfd_h_get_32 (abfd, scn.s_size), in dump_xcoff32_sections_header() 556 (unsigned int)bfd_h_get_32 (abfd, scn.s_scnptr), in dump_xcoff32_sections_header() 557 (unsigned int)bfd_h_get_32 (abfd, scn.s_relptr), in dump_xcoff32_sections_header() 558 (unsigned int)bfd_h_get_32 (abfd, scn.s_lnnoptr), in dump_xcoff32_sections_header() [all …]
|
/dflybsd-src/lib/libexecinfo/ |
H A D | symtab.c | 90 Elf_Scn *scn = NULL; in symtab_create() local 109 while ((scn = elf_nextscn(elf, scn)) != NULL) { in symtab_create() 115 if (gelf_getshdr(scn, &shdr) == NULL) in symtab_create() 120 edata = elf_getdata(scn, NULL); in symtab_create()
|
H A D | private_libelf.h | 2401 Elf_Scn *scn; in _libelf_load_extended() local 2417 if ((scn = _libelf_allocate_scn(e, (size_t) 0)) == NULL) in _libelf_load_extended() 2421 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_extended() 2426 scn->s_shdr.s_shdr64.M) in _libelf_load_extended() 2598 Elf_Scn *scn; in _libelf_load_section_headers() local 2663 if ((scn = _libelf_allocate_scn(e, i)) == NULL) in _libelf_load_section_headers() 2666 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_section_headers() 2671 scn->s_offset = scn->s_rawoff = in _libelf_load_section_headers() 2672 scn->s_shdr.s_shdr32.sh_offset; in _libelf_load_section_headers() 2673 scn->s_size = scn->s_shdr.s_shdr32.sh_size; in _libelf_load_section_headers() [all …]
|
/dflybsd-src/share/misc/ |
H A D | iso639 | 409 scn scn Sicilian
|
/dflybsd-src/contrib/gcc-8.0/ |
H A D | README.DELETED | 430 gcc/ada/scn.adb 431 gcc/ada/scn.ads
|