Home
last modified time | relevance | path

Searched refs:sect (Results 1 – 25 of 84) sorted by relevance

1234

/dflybsd-src/crypto/openssh/
H A Dkrl.c580 struct sshbuf *sect; in revoked_certs_generate() local
583 if ((sect = sshbuf_new()) == NULL) in revoked_certs_generate()
627 if ((r = put_bitmap(sect, bitmap)) != 0) in revoked_certs_generate()
634 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate()
636 sshbuf_reset(sect); in revoked_certs_generate()
644 sshbuf_reset(sect); in revoked_certs_generate()
655 if ((r = sshbuf_put_u64(sect, in revoked_certs_generate()
666 if ((r = sshbuf_put_u64(sect, rs->lo + i)) != 0) in revoked_certs_generate()
671 if ((r = sshbuf_put_u64(sect, rs->lo)) != 0 || in revoked_certs_generate()
672 (r = sshbuf_put_u64(sect, rs->hi)) != 0) in revoked_certs_generate()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/
H A Dsymfile.c184 find_lowest_section (bfd *abfd, asection *sect, void *obj) in find_lowest_section() argument
188 if (0 == (bfd_get_section_flags (abfd, sect) & (SEC_ALLOC | SEC_LOAD))) in find_lowest_section()
191 *lowest = sect; /* First loadable section */ in find_lowest_section()
192 else if (bfd_section_vma (abfd, *lowest) > bfd_section_vma (abfd, sect)) in find_lowest_section()
193 *lowest = sect; /* A lower loadable section */ in find_lowest_section()
194 else if (bfd_section_vma (abfd, *lowest) == bfd_section_vma (abfd, sect) in find_lowest_section()
196 <= bfd_section_size (abfd, sect))) in find_lowest_section()
197 *lowest = sect; in find_lowest_section()
307 asection *sect; in init_objfile_sect_indices() local
310 sect = bfd_get_section_by_name (objfile->obfd, ".text"); in init_objfile_sect_indices()
[all …]
H A Dmaint.c446 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()
468 if (strcmp (sect->the_bfd_section->name, arg) == 0) in maintenance_translate_address()
478 if (sect) in maintenance_translate_address()
479 sym = lookup_minimal_symbol_by_pc_section (address, 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()
[all …]
H A Dsolib-target.c349 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 Dosabi.c381 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, &sectsize, "GNU", 16, NT_GNU_ABI_TAG)) in generic_elf_osabi_sniff_abi_tag_sections()
486 if (check_note (abfd, sect, note, &sectsize, "FreeBSD", 4, in generic_elf_osabi_sniff_abi_tag_sections()
495 if (check_note (abfd, sect, note, &sectsize, "DragonFly", 4, in generic_elf_osabi_sniff_abi_tag_sections()
508 && check_note (abfd, sect, note, &sectsize, "NetBSD", 4, NT_NETBSD_IDENT)) in generic_elf_osabi_sniff_abi_tag_sections()
[all …]
H A Delfread.c87 asection *sect; in elf_symfile_segments() local
122 for (i = 0, sect = abfd->sections; sect != NULL; i++, sect = sect->next) in elf_symfile_segments()
127 if ((bfd_get_section_flags (abfd, sect) & SEC_ALLOC) == 0) in elf_symfile_segments()
130 vma = bfd_get_section_vma (abfd, sect); in elf_symfile_segments()
150 if (bfd_get_section_size (sect) > 0 && j == num_segments in elf_symfile_segments()
151 && (bfd_get_section_flags (abfd, sect) & SEC_LOAD) != 0) 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()
301 if ((bfd_get_section_flags (abfd, sect) & SEC_ALLOC) == 0) in elf_symtab_read()
[all …]
H A Dexec.c528 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 Dgdb_bfd.c204 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()
/dflybsd-src/usr.sbin/manctl/
H A Dmanctl.sh59 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
/dflybsd-src/usr.sbin/fstyp/
H A Dexfat.c135 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()
/dflybsd-src/contrib/binutils-2.27/bfd/
H A Dopncls.c1176 asection *sect; in bfd_get_debug_link_info() local
1185 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK); in bfd_get_debug_link_info()
1187 if (sect == NULL) in bfd_get_debug_link_info()
1190 if (!bfd_malloc_and_get_section (abfd, sect, &contents)) in bfd_get_debug_link_info()
1200 crc_offset = strnlen (name, bfd_get_section_size (sect)) + 1; 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
1242 sect = bfd_get_section_by_name (abfd, GNU_DEBUGALTLINK); in bfd_get_alt_debug_link_info()
1244 if (sect == NULL) in bfd_get_alt_debug_link_info()
1247 if (!bfd_malloc_and_get_section (abfd, sect, & contents)) in bfd_get_alt_debug_link_info()
[all …]
H A Dsection.c1391 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()
/dflybsd-src/contrib/binutils-2.34/bfd/
H A Dopncls.c1206 asection *sect; in bfd_get_debug_link_info_1() local
1216 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK); in bfd_get_debug_link_info_1()
1218 if (sect == NULL) in bfd_get_debug_link_info_1()
1221 size = bfd_section_size (sect); in bfd_get_debug_link_info_1()
1227 if (!bfd_malloc_and_get_section (abfd, sect, &contents)) in bfd_get_debug_link_info_1()
1296 asection *sect; in bfd_get_alt_debug_link_info() local
1306 sect = bfd_get_section_by_name (abfd, GNU_DEBUGALTLINK); in bfd_get_alt_debug_link_info()
1308 if (sect == NULL) in bfd_get_alt_debug_link_info()
1311 size = bfd_section_size (sect); in bfd_get_alt_debug_link_info()
1315 if (!bfd_malloc_and_get_section (abfd, sect, & contents)) in bfd_get_alt_debug_link_info()
[all …]
H A Dsection.c1358 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()
/dflybsd-src/games/adventure/
H A Dio.c192 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()
/dflybsd-src/contrib/gdb-7/bfd/
H A Dsection.c1326 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 Dopncls.c1158 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()
1436 sect = bfd_make_section_with_flags (abfd, GNU_DEBUGLINK, flags); in bfd_create_gnu_debuglink_section()
1437 if (sect == NULL) in bfd_create_gnu_debuglink_section()
1445 if (! bfd_set_section_size (abfd, sect, debuglink_size)) in bfd_create_gnu_debuglink_section()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dvarasm.c224 hash_section (section *sect) in hash_section() argument
226 if (sect->common.flags & SECTION_NAMED) in hash_section()
227 return htab_hash_string (sect->named.name); in hash_section()
228 return sect->common.flags & ~SECTION_DECLARED; in hash_section()
236 return old->sect == new_section; in equal()
242 return hash_section (old->sect); in hash()
251 section *sect; in get_unnamed_section() local
253 sect = ggc_alloc<section> (); in get_unnamed_section()
254 sect->unnamed.common.flags = flags | SECTION_UNNAMED; in get_unnamed_section()
255 sect->unnamed.callback = callback; in get_unnamed_section()
[all …]
/dflybsd-src/lib/libc/resolv/
H A Dres_findzonecut.c275 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()
324 if (ns_parserr(&msg, sect, i, &rr) < 0) { in get_soa()
326 p_section(sect, ns_o_query), i)); in get_soa()
336 switch (sect) { in get_soa()
516 save_ns(res_state statp, ns_msg *msg, ns_sect sect, in save_ns() argument
522 for (i = 0; i < ns_msg_count(*msg, sect); i++) { in save_ns()
[all …]
/dflybsd-src/lib/libc/nameser/
H A Dns_parse.c37 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()
/dflybsd-src/share/mk/
H A Dbsd.man.mk75 .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}; \
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dvarasm.c213 hash_section (section *sect) in hash_section() argument
215 if (sect->common.flags & SECTION_NAMED) in hash_section()
216 return htab_hash_string (sect->named.name); in hash_section()
217 return sect->common.flags; in hash_section()
228 return old->sect == new_section; in object_block_entry_eq()
235 return hash_section (old->sect); in object_block_entry_hash()
244 section *sect; in get_unnamed_section() local
246 sect = ggc_alloc_section (); in get_unnamed_section()
247 sect->unnamed.common.flags = flags | SECTION_UNNAMED; in get_unnamed_section()
248 sect->unnamed.callback = callback; in get_unnamed_section()
[all …]
/dflybsd-src/crypto/libressl/crypto/x509/
H A Dx509_pci.c249 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()
/dflybsd-src/usr.bin/man/
H A Dman.sh464 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
/dflybsd-src/contrib/mdocml/
H A Ddbm.c51 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()

1234