Searched refs:sect (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-10-stable/sys/contrib/ia64/libuwx/src/
H A Duwx_symbols.c244 struct elf_section *sect; local
249 sect = &ef->sections[shndx];
252 if (sect->contents != NULL)
255 sect->contents = (*ef->allocate_cb)(sect->size);
256 if (sect->contents == NULL)
259 fseek(ef->fd, (long)sect->offset, SEEK_SET);
260 if (fread(sect->contents, 1, sect->size, ef->fd) != sect
279 struct elf_section *sect; local
471 struct elf_section *sect; local
685 struct elf_section *sect; local
721 struct elf_section *sect; local
[all...]
/freebsd-10-stable/usr.sbin/manctl/
H A Dmanctl.sh68 local sect
84 sect=$1
102 mv $pname $fname.$sect
203 local sect
217 sect=$1
220 case "$sect" in
257 local sect
271 sect=$1
274 case "$sect" in
/freebsd-10-stable/contrib/gdb/gdb/
H A Dexec.c379 bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3)
386 if ((bfd_get_section_flags (abfd, sect) & SEC_LOAD) == 0)
389 if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".text"))
391 vp->tstart = bfd_section_vma (abfd, sect);
392 vp->tend = vp->tstart + bfd_section_size (abfd, sect);
393 vp->tvma = bfd_section_vma (abfd, sect);
394 vp->toffs = sect->filepos;
396 else if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".data"))
398 vp->dstart = bfd_section_vma (abfd, sect);
399 vp->dend = vp->dstart + bfd_section_size (abfd, sect);
377 bfdsec_to_vmap(struct bfd *abfd, struct bfd_section *sect, void *arg3) argument
599 struct section_table *sect; local
[all...]
H A Ddsrec.c34 asection * sect, int sectoff, int *maxrecsize,
219 make_srec (char *srec, CORE_ADDR targ_addr, bfd *abfd, asection *sect, argument
234 if (sect)
261 if (sect && abfd)
264 payload_size = min (payload_size, sect->_raw_size - sectoff);
266 bfd_get_section_contents (abfd, sect, binbuf, sectoff, payload_size);
H A Dosabi.c367 check_note (bfd *abfd, asection *sect, const char *note,
382 if (notesz > bfd_section_size (abfd, sect))
404 generic_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect, void *obj)
411 name = bfd_get_section_name (abfd, sect);
412 sectsize = bfd_section_size (abfd, sect);
419 bfd_get_section_contents (abfd, sect, note, 0, sectsize);
425 if (check_note (abfd, sect, note, "GNU", 16, NT_GNU_ABI_TAG))
460 if (check_note (abfd, sect, note, "FreeBSD", 4, NT_FREEBSD_ABI_TAG))
474 if (check_note (abfd, sect, note, "FreeBSD", 4, NT_FREEBSD_TAG))
480 if (check_note (abfd, sect, not
364 check_note(bfd *abfd, asection *sect, const char *note, const char *name, unsigned long descsz, unsigned long type) argument
401 generic_elf_osabi_sniff_abi_tag_sections(bfd *abfd, asection *sect, void *obj) argument
[all...]
H A Dmaint.c442 asection *sect; local
450 sect = NULL;
465 sect = bfd_get_section_by_name (objfile->obfd, arg);
466 if (sect != NULL)
470 if (!sect)
476 if (sect)
477 sym = lookup_minimal_symbol_by_pc_section (address, sect);
485 else if (sect)
486 printf_filtered ("no symbol at %s:0x%s\n", sect->name, paddr (address));
H A Dsymfile.c308 find_lowest_section (bfd *abfd, asection *sect, void *obj)
312 if (0 == (bfd_get_section_flags (abfd, sect) & SEC_LOAD))
315 *lowest = sect; /* First loadable section */
316 else if (bfd_section_vma (abfd, *lowest) > bfd_section_vma (abfd, sect))
317 *lowest = sect; /* A lower loadable section */
318 else if (bfd_section_vma (abfd, *lowest) == bfd_section_vma (abfd, sect)
320 <= bfd_section_size (abfd, sect)))
321 *lowest = sect;
390 asection *sect;
393 sect
307 find_lowest_section(bfd *abfd, asection *sect, void *obj) argument
389 asection *sect; local
579 asection *sect; local
984 asection *sect; local
1041 asection *sect; local
1274 asection *sect = bfd_get_section_by_name (objfile->obfd, section_name); local
2804 struct obj_section *sect; local
[all...]
H A Dxcoffread.c242 find_targ_sec (bfd *abfd, asection *sect, void *obj)
246 if (sect->target_index == args->targ_index)
249 if (bfd_get_section_flags (abfd, sect) & SEC_CODE)
251 else if (bfd_get_section_flags (abfd, sect) & SEC_LOAD)
254 *args->resultp = sect->index;
255 *args->bfd_sect = sect;
264 asection *sect = NULL;
268 args.bfd_sect = &sect;
279 asection *sect = NULL;
283 args.bfd_sect = &sect;
239 find_targ_sec(bfd *abfd, asection *sect, void *obj) argument
261 asection *sect = NULL; local
276 asection *sect = NULL; local
2958 asection *sect = NULL; local
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dkrl.c554 struct sshbuf *sect; local
557 if ((sect = sshbuf_new()) == NULL)
601 if ((r = put_bitmap(sect, bitmap)) != 0)
608 (r = sshbuf_put_stringb(buf, sect)) != 0)
610 sshbuf_reset(sect);
618 sshbuf_reset(sect);
629 if ((r = sshbuf_put_u64(sect,
640 if ((r = sshbuf_put_u64(sect, rs->lo + i)) != 0)
645 if ((r = sshbuf_put_u64(sect, rs->lo)) != 0 ||
646 (r = sshbuf_put_u64(sect, r
712 struct sshbuf *sect; local
924 struct sshbuf *copy = NULL, *sect = NULL; local
[all...]
/freebsd-10-stable/contrib/binutils/bfd/
H A Dsection.c848 bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
1197 void (*func) (bfd *abfd, asection *sect, void *obj),
1221 asection *sect; local
1224 for (sect = abfd->sections; sect != NULL; i++, sect = sect->next)
1225 (*operation) (abfd, sect, user_storage);
1238 bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
1257 asection *sect; local
[all...]
H A Dopncls.c1125 asection *sect;
1134 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK);
1136 if (sect == NULL)
1139 if (!bfd_malloc_and_get_section (abfd, sect, &contents))
1364 asection *sect;
1377 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK);
1378 if (sect)
1386 sect = bfd_make_section_with_flags (abfd, GNU_DEBUGLINK, flags);
1387 if (sect == NULL)
1395 if (! bfd_set_section_size (abfd, sect, debuglink_siz
1124 asection *sect; local
1363 asection *sect; local
1423 bfd_fill_in_gnu_debuglink_section(bfd *abfd, struct bfd_section *sect, const char *filename) argument
[all...]
/freebsd-10-stable/contrib/gperf/doc/
H A Dhelp2man264 my $sect = 'DESCRIPTION';
288 $sect = uc $1;
295 $sect = 'COPYRIGHT';
296 $include{$sect} ||= '';
297 $include{$sect} .= ".PP\n" if $include{$sect};
319 $include{$sect} .= $copy;
327 $sect = 'REPORTING BUGS';
333 $sect = 'AUTHOR';
343 $include{$sect} ||
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Symbol/
H A DUnwindTable.cpp50 SectionSP sect = sl->FindSectionByType (eSectionTypeEHFrame, true); local
51 if (sect.get())
53 m_eh_frame = new DWARFCallFrameInfo(m_object_file, sect, eRegisterKindGCC, true);
/freebsd-10-stable/lib/libc/resolv/
H A Dres_findzonecut.c281 ns_sect sect; local
313 sect = ns_s_max, n = 0;
319 sect = ns_s_an, n = ancount;
321 sect = ns_s_ns, n = nscount;
323 sect = ns_s_max, n = 0;
330 if (ns_parserr(&msg, sect, i, &rr) < 0) {
332 p_section(sect, ns_o_query), i));
342 switch (sect) {
522 save_ns(res_state statp, ns_msg *msg, ns_sect sect, argument
528 for (i = 0; i < ns_msg_count(*msg, sect);
581 save_a(res_state statp, ns_msg *msg, ns_sect sect, const char *owner, ns_class class, int opts, rr_ns *nsrr) argument
[all...]
/freebsd-10-stable/crypto/openssl/crypto/x509v3/
H A Dv3_pci.c246 STACK_OF(CONF_VALUE) *sect;
249 sect = X509V3_get_section(ctx, cnf->name + 1);
250 if (!sect) {
255 for (j = 0; success_p && j < sk_CONF_VALUE_num(sect); j++) {
257 process_pci_value(sk_CONF_VALUE_value(sect, j),
260 X509V3_section_free(ctx, sect);
H A Dv3_crld.c93 char *sect)
97 if (*sect == '@')
98 gnsect = X509V3_get_section(ctx, sect + 1);
100 gnsect = X509V3_parse_list(sect);
106 if (*sect == '@')
/freebsd-10-stable/contrib/texinfo/info/
H A Dinfokey.c65 struct sect struct
73 static int compile (FILE *fp, const char *filename, struct sect *sections);
74 static int write_infokey_file (FILE *fp, struct sect *sections);
196 static struct sect sections[3];
380 static int add_to_section (struct sect *s, const char *str, unsigned int len);
387 compile (FILE *fp, const char *filename, struct sect *sections)
789 add_to_section (struct sect *s, const char *str, unsigned int len)
829 putsect (struct sect *s, int code, FILE *fp)
841 write_infokey_file (FILE *fp, struct sect *sections)
/freebsd-10-stable/share/mk/
H A Dbsd.man.mk182 page=$$1; shift; sect=$$1; shift; \
183 d=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}; \
213 name=$$1; shift; sect=$$1; shift; \
214 l=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}/$$name; \
215 name=$$1; shift; sect=$$1; shift; \
216 t=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}/$$name; \
228 name=$$1; shift; sect=$$1; shift; \
229 l=${DESTDIR}${CATDIR}$${sect}${MANSUBDIR}/$$name; \
230 name=$$1; shift; sect=$$1; shift; \
231 t=${DESTDIR}${CATDIR}$${sect}
[all...]
/freebsd-10-stable/usr.bin/man/
H A Dman.sh407 local found_page locpath p path sect
427 for sect in $MANSECT; do
428 decho "Searching section $sect" 2
435 if find_file $p $sect $MACHINE "$1"; then
449 if find_file $p $sect $MACHINE_ARCH "$1"; then
462 if find_file $p $sect '' "$1"; then
534 for sect in $man_default_sections; do
535 if [ "$sect" = "$1" ]; then
/freebsd-10-stable/contrib/gcc/
H A Dvarasm.c224 hash_section (section *sect)
226 if (sect->common.flags & SECTION_NAMED)
227 return htab_hash_string (sect->named.name);
228 return sect->common.flags;
239 return old->sect == new;
246 return hash_section (old->sect);
255 section *sect;
257 sect = ggc_alloc (sizeof (struct unnamed_section));
258 sect->unnamed.common.flags = flags | SECTION_UNNAMED;
259 sect
223 hash_section(section *sect) argument
254 section *sect; local
271 section *sect; local
286 section *sect, **slot; local
330 get_block_for_section(section *sect) argument
428 unlikely_text_section_p(section *sect) argument
923 section *sect; local
1653 assemble_noswitch_variable(tree decl, const char *name, section *sect) argument
1725 section *sect; local
2818 section *sect = get_constant_section (exp); local
3250 section *sect = targetm.asm_out.select_rtx_section (mode, x, align); local
5806 section *sect; local
[all...]
/freebsd-10-stable/sbin/geom/class/virstor/
H A Dgeom_virstor.c210 unsigned char *sect; local
463 sect = malloc(ssize);
464 if (sect == NULL)
466 bzero(sect, ssize);
467 virstor_metadata_encode(&md, sect);
468 error = my_g_metadata_store(name, sect, ssize);
469 free(sect);
/freebsd-10-stable/contrib/binutils/binutils/
H A Dstrings.c338 strings_a_section (bfd *abfd, asection *sect, void *arg)
345 if ((sect->flags & DATA_FLAGS) != DATA_FLAGS)
348 sectsize = bfd_get_section_size (sect);
376 if (bfd_get_section_contents (abfd, sect, mem, (file_ptr) 0, sectsize))
380 print_strings (filename_and_sizep->filename, NULL, sect->filepos,
335 strings_a_section(bfd *abfd, asection *sect, void *arg) argument
/freebsd-10-stable/lib/libc/nameser/
H A Dns_parse.c41 static void setsection(ns_msg *msg, ns_sect sect);
266 setsection(ns_msg *msg, ns_sect sect) { argument
267 msg->_sect = sect;
268 if (sect == ns_s_max) {
273 msg->_msg_ptr = msg->_sections[(int)sect];
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/
H A DSection.cpp353 SectionList::FindSectionIndex (const Section* sect) argument
360 if (sect_iter->get() == sect)
505 Section *sect = sect_iter->get(); local
506 if (sect->ContainsFileAddress (vm_addr))
512 sect_sp = sect->GetChildren().FindSectionContainingFileAddress(vm_addr, depth - 1);
514 if (sect_sp.get() == NULL && !sect->IsFake())
/freebsd-10-stable/sys/compat/ndis/
H A Dsubr_pe.c372 image_section_header sect; local
383 pe_get_section(imgbase, &sect, ".text");
384 txt = pe_translate_addr(imgbase, sect.ish_vaddr);
385 delta = (uint32_t)(txt) - base - sect.ish_vaddr;
387 pe_get_section(imgbase, &sect, ".reloc");
389 relhdr = (image_base_reloc *)(imgbase + sect.ish_rawdataaddr);

Completed in 344 milliseconds

123