/dragonfly/crypto/openssh/ |
H A D | krl.c | 712 sshbuf_reset(sect); in revoked_certs_generate() 726 sshbuf_free(sect); in revoked_certs_generate() 768 sshbuf_reset(sect); in ssh_krl_to_blob() 779 sshbuf_reset(sect); in ssh_krl_to_blob() 791 sshbuf_reset(sect); in ssh_krl_to_blob() 822 sshbuf_free(sect); in ssh_krl_to_blob() 1119 sshbuf_free(sect); in ssh_krl_from_blob() 1120 sect = NULL; in ssh_krl_from_blob() 1149 sect = NULL; in ssh_krl_from_blob() 1158 if (sect != NULL && sshbuf_len(sect) > 0) { in ssh_krl_from_blob() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | symfile.c | 307 asection *sect; in init_objfile_sect_indices() local 311 if (sect) in init_objfile_sect_indices() 315 if (sect) in init_objfile_sect_indices() 319 if (sect) in init_objfile_sect_indices() 323 if (sect) in init_objfile_sect_indices() 612 if (sect) in addr_info_make_relative() 777 for (sect = abfd->sections; sect != NULL; sect = sect->next) in default_symfile_segments() 798 for (i = 0, sect = abfd->sections; sect != NULL; i++, sect = sect->next) in default_symfile_segments() 1831 if (sect) in get_section_index() 3751 for (i = 0, sect = abfd->sections; sect != NULL; i++, sect = sect->next) in symfile_map_offsets_to_segments() [all …]
|
H A D | maint.c | 446 struct obj_section *sect; in maintenance_translate_address() local 454 sect = NULL; in maintenance_translate_address() 466 ALL_OBJSECTIONS (objfile, sect) in maintenance_translate_address() 478 if (sect) in maintenance_translate_address() 489 sect = SYMBOL_OBJ_SECTION(sym); in maintenance_translate_address() 490 if (sect != NULL) in maintenance_translate_address() 495 gdb_assert (sect->the_bfd_section && sect->the_bfd_section->name); in maintenance_translate_address() 496 section_name = sect->the_bfd_section->name; in maintenance_translate_address() 498 gdb_assert (sect->objfile && sect->objfile->name); in maintenance_translate_address() 499 obj_name = sect->objfile->name; in maintenance_translate_address() [all …]
|
H A D | solib-target.c | 349 asection *sect; in solib_target_relocate_section_addresses() local 354 for (i = 0, sect = so->abfd->sections; in solib_target_relocate_section_addresses() 355 sect != NULL; in solib_target_relocate_section_addresses() 356 i++, sect = sect->next) in solib_target_relocate_section_addresses() 357 if ((bfd_get_section_flags (so->abfd, sect) & SEC_ALLOC)) in solib_target_relocate_section_addresses() 375 for (i = 0, sect = so->abfd->sections; in solib_target_relocate_section_addresses() 376 sect != NULL; in solib_target_relocate_section_addresses() 377 i++, sect = sect->next) in solib_target_relocate_section_addresses() 379 if (!(bfd_get_section_flags (so->abfd, sect) & SEC_ALLOC)) in solib_target_relocate_section_addresses() 381 if (bfd_section_size (so->abfd, sect) > 0) in solib_target_relocate_section_addresses() [all …]
|
H A D | osabi.c | 381 check_note (bfd *abfd, asection *sect, char *note, unsigned int *sectsize, in check_note() argument 388 if (!bfd_get_section_contents (abfd, sect, note, 0, *sectsize)) in check_note() 403 if (notesz > bfd_section_size (abfd, sect)) in check_note() 425 generic_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect, void *obj) in generic_elf_osabi_sniff_abi_tag_sections() argument 432 name = bfd_get_section_name (abfd, sect); in generic_elf_osabi_sniff_abi_tag_sections() 433 sectsize = bfd_section_size (abfd, sect); in generic_elf_osabi_sniff_abi_tag_sections() 450 if (check_note (abfd, sect, note, §size, "GNU", 16, NT_GNU_ABI_TAG)) in generic_elf_osabi_sniff_abi_tag_sections() 486 if (check_note (abfd, sect, note, §size, "FreeBSD", 4, in generic_elf_osabi_sniff_abi_tag_sections() 495 if (check_note (abfd, sect, note, §size, "DragonFly", 4, in generic_elf_osabi_sniff_abi_tag_sections() 508 && check_note (abfd, sect, note, §size, "NetBSD", 4, NT_NETBSD_IDENT)) in generic_elf_osabi_sniff_abi_tag_sections() [all …]
|
H A D | elfread.c | 87 asection *sect; in elf_symfile_segments() local 122 for (i = 0, sect = abfd->sections; sect != NULL; i++, sect = sect->next) in elf_symfile_segments() 130 vma = bfd_get_section_vma (abfd, sect); in elf_symfile_segments() 153 bfd_section_name (abfd, sect)); in elf_symfile_segments() 281 asection *sect; in elf_symtab_read() local 299 for (sect = abfd->sections; sect != NULL; sect = sect->next) in elf_symtab_read() 305 && symaddr < bfd_get_section_vma (abfd, sect) in elf_symtab_read() 306 + bfd_get_section_size (sect)) in elf_symtab_read() 309 if (!sect) in elf_symtab_read() 325 if (strncmp (sect->name, ".plt", 4) != 0 in elf_symtab_read() [all …]
|
H A D | exec.c | 528 bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3) in bfdsec_to_vmap() argument 535 if ((bfd_get_section_flags (abfd, sect) & SEC_LOAD) == 0) in bfdsec_to_vmap() 538 if (strcmp (bfd_section_name (abfd, sect), ".text") == 0) in bfdsec_to_vmap() 540 vp->tstart = bfd_section_vma (abfd, sect); in bfdsec_to_vmap() 541 vp->tend = vp->tstart + bfd_section_size (abfd, sect); in bfdsec_to_vmap() 542 vp->tvma = bfd_section_vma (abfd, sect); in bfdsec_to_vmap() 543 vp->toffs = sect->filepos; in bfdsec_to_vmap() 545 else if (strcmp (bfd_section_name (abfd, sect), ".data") == 0) in bfdsec_to_vmap() 547 vp->dstart = bfd_section_vma (abfd, sect); in bfdsec_to_vmap() 548 vp->dend = vp->dstart + bfd_section_size (abfd, sect); in bfdsec_to_vmap() [all …]
|
H A D | gdb_bfd.c | 204 struct gdb_bfd_section_data *sect = bfd_get_section_userdata (abfd, sectp); in free_one_bfd_section() local 206 if (sect != NULL && sect->data != NULL) in free_one_bfd_section() 209 if (sect->map_addr != NULL) in free_one_bfd_section() 213 res = munmap (sect->map_addr, sect->map_len); in free_one_bfd_section() 218 xfree (sect->data); in free_one_bfd_section()
|
/dragonfly/usr.sbin/manctl/ |
H A D | manctl.sh | 59 local sect 75 sect=$1 93 mv $pname $fname.$sect 194 local sect 208 sect=$1 211 case "$sect" in 248 local sect 262 sect=$1 265 case "$sect" in
|
/dragonfly/usr.sbin/fstyp/ |
H A D | exfat.c | 135 read_sectn(FILE *fp, off_t sect, unsigned count, unsigned bytespersec) in read_sectn() argument 137 return (read_buf(fp, sect * bytespersec, bytespersec * count)); in read_sectn() 141 read_sect(FILE *fp, off_t sect, unsigned bytespersec) in read_sect() argument 143 return (read_sectn(fp, sect, 1, bytespersec)); in read_sect() 157 unsigned n, sect; in exfat_compute_boot_chksum() local 161 for (sect = 0; sect < 11; sect++) { in exfat_compute_boot_chksum() 162 sector = read_sect(fp, region + sect, bytespersec); in exfat_compute_boot_chksum() 166 if (sect == 0) { in exfat_compute_boot_chksum()
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | opncls.c | 1176 asection *sect; in bfd_get_debug_link_info() local 1187 if (sect == NULL) in bfd_get_debug_link_info() 1202 if (crc_offset >= bfd_get_section_size (sect)) in bfd_get_debug_link_info() 1233 asection *sect; in bfd_get_alt_debug_link_info() local 1244 if (sect == NULL) in bfd_get_alt_debug_link_info() 1257 if (buildid_offset >= bfd_get_section_size (sect)) in bfd_get_alt_debug_link_info() 1569 asection *sect; in bfd_create_gnu_debuglink_section() local 1583 if (sect) in bfd_create_gnu_debuglink_section() 1592 if (sect == NULL) in bfd_create_gnu_debuglink_section() 1604 return sect; in bfd_create_gnu_debuglink_section() [all …]
|
H A D | section.c | 1391 asection *sect; in bfd_map_over_sections() local 1394 for (sect = abfd->sections; sect != NULL; i++, sect = sect->next) in bfd_map_over_sections() 1395 (*operation) (abfd, sect, user_storage); in bfd_map_over_sections() 1427 asection *sect; in bfd_sections_find_if() local 1429 for (sect = abfd->sections; sect != NULL; sect = sect->next) in bfd_sections_find_if() 1430 if ((*operation) (abfd, sect, user_storage)) in bfd_sections_find_if() 1433 return sect; in bfd_sections_find_if()
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | opncls.c | 1206 asection *sect; in bfd_get_debug_link_info_1() local 1218 if (sect == NULL) in bfd_get_debug_link_info_1() 1296 asection *sect; in bfd_get_alt_debug_link_info() local 1308 if (sect == NULL) in bfd_get_alt_debug_link_info() 1697 asection *sect; in bfd_create_gnu_debuglink_section() local 1711 if (sect) in bfd_create_gnu_debuglink_section() 1720 if (sect == NULL) in bfd_create_gnu_debuglink_section() 1739 return sect; in bfd_create_gnu_debuglink_section() 1764 struct bfd_section *sect, in bfd_fill_in_gnu_debuglink_section() argument 1859 asection *sect; in get_build_id() local [all …]
|
H A D | section.c | 1358 asection *sect; in bfd_map_over_sections() local 1361 for (sect = abfd->sections; sect != NULL; i++, sect = sect->next) in bfd_map_over_sections() 1362 (*operation) (abfd, sect, user_storage); in bfd_map_over_sections() 1394 asection *sect; in bfd_sections_find_if() local 1396 for (sect = abfd->sections; sect != NULL; sect = sect->next) in bfd_sections_find_if() 1397 if ((*operation) (abfd, sect, user_storage)) in bfd_sections_find_if() 1400 return sect; in bfd_sections_find_if()
|
/dragonfly/games/adventure/ |
H A D | io.c | 192 int sect; in rdata() local 200 sect = next() - '0'; /* 1st digit of section number */ in rdata() 202 printf("Section %c", sect + '0'); in rdata() 209 sect = 10 * sect + ch - '0'; in rdata() 214 switch (sect) { in rdata() 254 printf("Invalid data section number: %d\n", sect); in rdata() 285 rdesc(int sect) in rdesc() argument 296 && !(sect == 5 && (locc == 0 || locc >= 100))) { in rdesc() 297 switch (sect) { /* now put it into right table */ in rdesc() 337 if (sect != 5 || (locc > 0 && locc < 100)) { in rdesc()
|
/dragonfly/contrib/gdb-7/bfd/ |
H A D | section.c | 1326 asection *sect; in bfd_map_over_sections() local 1329 for (sect = abfd->sections; sect != NULL; i++, sect = sect->next) in bfd_map_over_sections() 1330 (*operation) (abfd, sect, user_storage); in bfd_map_over_sections() 1362 asection *sect; in bfd_sections_find_if() local 1364 for (sect = abfd->sections; sect != NULL; sect = sect->next) in bfd_sections_find_if() 1365 if ((*operation) (abfd, sect, user_storage)) in bfd_sections_find_if() 1368 return sect; in bfd_sections_find_if()
|
H A D | opncls.c | 1158 asection *sect; in get_debug_link_info() local 1167 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK); in get_debug_link_info() 1169 if (sect == NULL) in get_debug_link_info() 1172 if (!bfd_malloc_and_get_section (abfd, sect, &contents)) in get_debug_link_info() 1414 asection *sect; in bfd_create_gnu_debuglink_section() local 1427 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK); in bfd_create_gnu_debuglink_section() 1428 if (sect) in bfd_create_gnu_debuglink_section() 1437 if (sect == NULL) in bfd_create_gnu_debuglink_section() 1449 return sect; in bfd_create_gnu_debuglink_section() 1475 struct bfd_section *sect, in bfd_fill_in_gnu_debuglink_section() argument [all …]
|
/dragonfly/lib/libc/resolv/ |
H A D | res_findzonecut.c | 275 ns_sect sect; in get_soa() local 307 sect = ns_s_max, n = 0; in get_soa() 313 sect = ns_s_an, n = ancount; in get_soa() 315 sect = ns_s_ns, n = nscount; in get_soa() 317 sect = ns_s_max, n = 0; in get_soa() 326 p_section(sect, ns_o_query), i)); in get_soa() 336 switch (sect) { in get_soa() 528 if (ns_parserr(msg, sect, i, &rr) < 0) { in save_ns() 530 p_section(sect, ns_o_query), i)); in save_ns() 585 if (ns_parserr(msg, sect, i, &rr) < 0) { in save_a() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | varasm.c | 251 section *sect; in get_unnamed_section() local 260 return sect; in get_unnamed_section() 268 section *sect; in get_noswitch_section() local 274 return sect; in get_noswitch_section() 352 return sect; in get_section() 383 block->sect = sect; in get_block_for_section() 1212 section *sect; in get_block_for_decl() local 2179 section *sect; in assemble_variable() local 2299 if (sect && (sect->common.flags & SECTION_CODE) != 0) in assemble_variable() 2339 section *sect; in assemble_vtv_preinit_initializer() local [all …]
|
/dragonfly/lib/libc/nameser/ |
H A D | ns_parse.c | 37 static void setsection(ns_msg *msg, ns_sect sect); 198 setsection(ns_msg *msg, ns_sect sect) { in setsection() argument 199 msg->_sect = sect; in setsection() 200 if (sect == ns_s_max) { in setsection() 205 msg->_msg_ptr = msg->_sections[(int)sect]; in setsection()
|
/dragonfly/share/mk/ |
H A D | bsd.man.mk | 75 .for sect in ${SECTIONS} 76 .if defined(MAN${sect}) && !empty(MAN${sect}) 77 MAN+= ${MAN${sect}} 198 page=$$1; shift; sect=$$1; shift; \ 199 d=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}; \
|
/dragonfly/crypto/libressl/crypto/x509/ |
H A D | x509_pci.c | 249 STACK_OF(CONF_VALUE) *sect; in r2i_pci() 252 sect = X509V3_get_section(ctx, cnf->name + 1); in r2i_pci() 253 if (!sect) { in r2i_pci() 259 j < sk_CONF_VALUE_num(sect); j++) { in r2i_pci() 261 sk_CONF_VALUE_value(sect, j), in r2i_pci() 264 X509V3_section_free(ctx, sect); in r2i_pci()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | varasm.c | 244 section *sect; in get_unnamed_section() local 253 return sect; in get_unnamed_section() 261 section *sect; in get_noswitch_section() local 267 return sect; in get_noswitch_section() 288 *slot = sect; in get_section() 332 return sect; in get_section() 363 block->sect = sect; in get_block_for_section() 1054 section *sect; in get_block_for_decl() local 1937 section *sect; in assemble_variable() local 2044 if (sect && (sect->common.flags & SECTION_CODE) != 0) in assemble_variable() [all …]
|
/dragonfly/usr.bin/man/ |
H A D | man.sh | 464 local found_page locpath p path sect 484 for sect in $MANSECT; do 485 decho "Searching section $sect" 2 492 if find_file $p $sect $MACHINE "$1"; then 506 if find_file $p $sect $MACHINE_ARCH "$1"; then 519 if find_file $p $sect '' "$1"; then 591 for sect in $man_default_sections; do 592 if [ "$sect" = "$1" ]; then
|
/dragonfly/contrib/mdocml/ |
H A D | dbm.c | 51 int32_t sect; member 155 res.sect = dbm_get(pages[ip].sect); in dbm_page_get() 156 if (res.sect == NULL) in dbm_page_get() 157 res.sect = "(NULL)\0"; in dbm_page_get() 253 cp = dbm_get(pages[0].sect); in page_bytitle()
|