Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DUnwindTable.cpp58 SectionSP sect = sl->FindSectionByType(eSectionTypeEHFrame, true); in Initialize() local
59 if (sect.get()) { in Initialize()
61 *object_file, sect, DWARFCallFrameInfo::EH); in Initialize()
64 sect = sl->FindSectionByType(eSectionTypeDWARFDebugFrame, true); in Initialize()
65 if (sect) { in Initialize()
67 *object_file, sect, DWARFCallFrameInfo::DWARF); in Initialize()
70 sect = sl->FindSectionByType(eSectionTypeCompactUnwind, true); in Initialize()
71 if (sect) { in Initialize()
73 std::make_unique<CompactUnwindInfo>(*object_file, sect); in Initialize()
76 sect = sl->FindSectionByType(eSectionTypeARMexidx, true); in Initialize()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileFromAtoms.cpp253 return sect; in getRelocatableSection()
338 return sect; in getFinalSection()
367 auto *sect = in sectionForAtom() local
372 return sect; in sectionForAtom()
559 sect->address = llvm::alignTo(addr, sect->alignment); in layoutSectionsInSegment()
560 addr = sect->address + sect->size; in layoutSectionsInSegment()
582 sect->address = llvm::alignTo(addr, sect->alignment); in layoutSectionsInTextSegment()
583 addr = sect->address + sect->size; in layoutSectionsInTextSegment()
1073 sym.sect = sect->finalSectionIndex; in addSymbols()
1089 sym.sect = sect->finalSectionIndex; in addSymbols()
[all …]
H A DMachONormalizedFileBinaryReader.cpp295 const section_64 *sect = &sects[i]; in readBinary() local
297 section.segmentName = getString16(sect->segname); in readBinary()
306 size_t contentSize = read64(&sect->size, isBig); in readBinary()
311 read32(&sect->reloff, isBig), in readBinary()
312 read32(&sect->nreloc, isBig)); in readBinary()
338 const section *sect = &sects[i]; in readBinary() local
350 size_t contentSize = read32(&sect->size, isBig); in readBinary()
355 read32(&sect->reloff, isBig), in readBinary()
356 read32(&sect->nreloc, isBig)); in readBinary()
396 sout.sect = sin->n_sect; in readBinary()
[all …]
H A DMachONormalizedFileToAtoms.cpp234 if (sym.sect != sectionIndex) in appendSymbolsInSection()
284 if (&sect == &section) in processSymboledSection()
508 const Section *sect = nullptr; in findAtomCoveringAddress() local
510 if (!sect) in findAtomCoveringAddress()
535 const Section *sect = nullptr; in convertRelocs() local
538 if (!sect) in convertRelocs()
1426 return (sect.segmentName == "__OBJC" && sect.sectionName == "__image_info") || in isObjCImageInfo()
1427 (sect.segmentName == "__DATA" && sect.sectionName == "__objc_imageinfo"); in isObjCImageInfo()
1442 if (isDebugInfoSection(sect)) in normalizedObjectToAtoms()
1447 if (isObjCImageInfo(sect)) { in normalizedObjectToAtoms()
[all …]
H A DMachONormalizedFileBinaryWriter.cpp606 if (sect.indirectSymbols.empty()) in indirectSymbolIndex()
614 if (sect.indirectSymbols.empty()) in indirectSymbolElementSize()
616 if (sect.type != S_SYMBOL_STUBS) in indirectSymbolElementSize()
618 return sect.content.size() / sect.indirectSymbols.size(); in indirectSymbolElementSize()
721 sect->offset = 0; in writeSegmentLoadCommands()
725 sect->reloff = 0; in writeSegmentLoadCommands()
726 sect->nreloc = 0; in writeSegmentLoadCommands()
731 swapStruct(*sect); in writeSegmentLoadCommands()
732 ++sect; in writeSegmentLoadCommands()
1054 nb->n_sect = sym.sect; in appendSymbols()
[all …]
H A DMachONormalizedFileYAML.cpp296 static void mapping(IO &io, Section &sect) { in mapping()
297 io.mapRequired("segment", sect.segmentName); in mapping()
298 io.mapRequired("section", sect.sectionName); in mapping()
299 io.mapRequired("type", sect.type); in mapping()
300 io.mapOptional("attributes", sect.attributes); in mapping()
302 io.mapRequired("address", sect.address); in mapping()
303 if (isZeroFillSection(sect.type)) { in mapping()
305 uint64_t size = sect.content.size(); in mapping()
309 sect.content = makeArrayRef(bytes, size); in mapping()
313 io, sect.content); in mapping()
[all …]
H A DSectCreateFile.h65 void addSection(StringRef seg, StringRef sect, in addSection() argument
68 new (allocator()) SectCreateAtom(*this, seg, sect, std::move(content))); in addSection()
/freebsd-13.1/crypto/openssh/
H A Dkrl.c712 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 …]
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_i18n.cpp266 for (m = 0; m < table->sect[s].size; ++m) { in kmp_i18n_table_free()
268 KMP_INTERNAL_FREE((void *)table->sect[s].str[m]); in kmp_i18n_table_free()
269 table->sect[s].str[m] = NULL; in kmp_i18n_table_free()
271 table->sect[s].size = 0; in kmp_i18n_table_free()
273 KMP_INTERNAL_FREE((void *)table->sect[s].str); in kmp_i18n_table_free()
274 table->sect[s].str = NULL; in kmp_i18n_table_free()
277 KMP_INTERNAL_FREE((void *)table->sect); in kmp_i18n_table_free()
278 table->sect = NULL; in kmp_i18n_table_free()
557 if (table.sect[section].size == 0) { in __kmp_i18n_catgets()
561 table.sect[section].size = in __kmp_i18n_catgets()
[all …]
/freebsd-13.1/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
/freebsd-13.1/usr.sbin/fstyp/
H A Dexfat.c140 read_sectn(FILE *fp, off_t sect, unsigned count, unsigned bytespersec) in read_sectn() argument
142 return (read_buf(fp, sect * bytespersec, bytespersec * count)); in read_sectn()
146 read_sect(FILE *fp, off_t sect, unsigned bytespersec) in read_sect() argument
148 return (read_sectn(fp, sect, 1, bytespersec)); in read_sect()
162 unsigned n, sect; in exfat_compute_boot_chksum() local
166 for (sect = 0; sect < 11; sect++) { in exfat_compute_boot_chksum()
167 sector = read_sect(fp, region + sect, bytespersec); in exfat_compute_boot_chksum()
171 if (sect == 0) { in exfat_compute_boot_chksum()
/freebsd-13.1/lib/libc/resolv/
H A Dres_findzonecut.c283 ns_sect sect; in get_soa() local
315 sect = ns_s_max, n = 0; in get_soa()
321 sect = ns_s_an, n = ancount; in get_soa()
323 sect = ns_s_ns, n = nscount; in get_soa()
325 sect = ns_s_max, n = 0; in get_soa()
334 p_section(sect, ns_o_query), i)); in get_soa()
344 switch (sect) { in get_soa()
536 if (ns_parserr(msg, sect, i, &rr) < 0) { in save_ns()
538 p_section(sect, ns_o_query), i)); in save_ns()
593 if (ns_parserr(msg, sect, i, &rr) < 0) { in save_a()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c227 struct section_64 sect; in scan_macho_load_commands() local
233 struct section sect; in scan_macho_load_commands() local
234 memset(&sect, 0, sizeof(struct section)); in scan_macho_load_commands()
242 struct section_64 sect; in scan_macho_load_commands() local
247 struct section sect; in scan_macho_load_commands() local
248 memset(&sect, 0, sizeof(struct section)); in scan_macho_load_commands()
255 struct section_64 sect; in scan_macho_load_commands() local
258 baton->text_section_vmaddr = sect.addr; in scan_macho_load_commands()
261 struct section sect; in scan_macho_load_commands() local
262 memset(&sect, 0, sizeof(struct section)); in scan_macho_load_commands()
[all …]
/freebsd-13.1/crypto/openssl/crypto/conf/
H A Dconf_ssl.c86 CONF_VALUE *sect = sk_CONF_VALUE_value(cmd_lists, (int)i); in ssl_module_init() local
87 STACK_OF(CONF_VALUE) *cmds = NCONF_get_section(cnf, sect->value); in ssl_module_init()
96 ERR_add_error_data(4, "name=", sect->name, ", value=", sect->value); in ssl_module_init()
99 ssl_name->name = OPENSSL_strdup(sect->name); in ssl_module_init()
/freebsd-13.1/sys/dev/ice/
H A Dice_vlan_mode.c44 struct ice_meta_init_section *sect; in ice_pkg_get_supported_vlan_mode() local
53 meta_init_size, (void **)&sect); in ice_pkg_get_supported_vlan_mode()
58 sect->count = CPU_TO_LE16(1); in ice_pkg_get_supported_vlan_mode()
59 sect->offset = CPU_TO_LE16(ICE_META_VLAN_MODE_ENTRY); in ice_pkg_get_supported_vlan_mode()
71 arr[i] = LE32_TO_CPU(sect->entry[0].bm[i]); in ice_pkg_get_supported_vlan_mode()
/freebsd-13.1/crypto/openssl/crypto/x509v3/
H A Dv3_pci.c264 STACK_OF(CONF_VALUE) *sect; in r2i_pci()
267 sect = X509V3_get_section(ctx, cnf->name + 1); in r2i_pci()
268 if (!sect) { in r2i_pci()
273 for (j = 0; success_p && j < sk_CONF_VALUE_num(sect); j++) { in r2i_pci()
275 process_pci_value(sk_CONF_VALUE_value(sect, j), in r2i_pci()
278 X509V3_section_free(ctx, sect); in r2i_pci()
/freebsd-13.1/usr.bin/man/
H A Dman.sh466 local found_page locpath p path sect
486 for sect in $MANSECT; do
487 decho "Searching section $sect" 2
494 if find_file $p $sect $MACHINE "$1"; then
508 if find_file $p $sect $MACHINE_ARCH "$1"; then
521 if find_file $p $sect '' "$1"; then
594 for sect in $man_default_sections; do
595 if [ "$sect" = "$1" ]; then
/freebsd-13.1/contrib/mandoc/
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()
/freebsd-13.1/lib/geom/virstor/
H A Dgeom_virstor.c156 unsigned char *sect; in virstor_label() local
409 sect = malloc(ssize); in virstor_label()
410 if (sect == NULL) in virstor_label()
412 bzero(sect, ssize); in virstor_label()
413 virstor_metadata_encode(&md, sect); in virstor_label()
414 error = g_metadata_store(name, sect, ssize); in virstor_label()
415 free(sect); in virstor_label()
/freebsd-13.1/lib/libc/nameser/
H A Dns_parse.c43 static void setsection(ns_msg *msg, ns_sect sect);
268 setsection(ns_msg *msg, ns_sect sect) { in setsection() argument
269 msg->_sect = sect; in setsection()
270 if (sect == ns_s_max) { in setsection()
275 msg->_msg_ptr = msg->_sections[(int)sect]; in setsection()
/freebsd-13.1/contrib/openpam/misc/
H A Dgendoc.pl228 my ($page, $sect) = ($1, $2 ? int($2) : 3);
229 ++$xref{$sect}->{$page};
421 foreach my $sect (sort(keys(%{$xref}))) {
422 foreach my $page (sort(dictionary_order keys(%{$xref->{$sect}}))) {
423 push(@refs, "$page $sect");
/freebsd-13.1/sys/compat/ndis/
H A Dsubr_pe.c374 image_section_header sect; local
385 pe_get_section(imgbase, &sect, ".text");
386 txt = pe_translate_addr(imgbase, sect.ish_vaddr);
387 delta = (uint32_t)(txt) - base - sect.ish_vaddr;
389 pe_get_section(imgbase, &sect, ".reloc");
391 relhdr = (image_base_reloc *)(imgbase + sect.ish_rawdataaddr);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h1089 sys::swapByteOrder(sect.addr); in swapStruct()
1090 sys::swapByteOrder(sect.size); in swapStruct()
1091 sys::swapByteOrder(sect.offset); in swapStruct()
1092 sys::swapByteOrder(sect.align); in swapStruct()
1093 sys::swapByteOrder(sect.reloff); in swapStruct()
1094 sys::swapByteOrder(sect.nreloc); in swapStruct()
1095 sys::swapByteOrder(sect.flags); in swapStruct()
1101 sys::swapByteOrder(sect.addr); in swapStruct()
1102 sys::swapByteOrder(sect.size); in swapStruct()
1104 sys::swapByteOrder(sect.align); in swapStruct()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DSection.cpp426 size_t SectionList::FindSectionIndex(const Section *sect) { in FindSectionIndex() argument
431 if (sect_iter->get() == sect) { in FindSectionIndex()
550 Section *sect = sect_iter->get(); in FindSectionContainingFileAddress() local
551 if (sect->ContainsFileAddress(vm_addr)) { in FindSectionContainingFileAddress()
556 sect_sp = sect->GetChildren().FindSectionContainingFileAddress( in FindSectionContainingFileAddress()
559 if (sect_sp.get() == nullptr && !sect->IsFake()) in FindSectionContainingFileAddress()
/freebsd-13.1/contrib/ntp/sntp/ag-tpl/0-old/
H A Dagmdoc-cmd.tpl35 "\n.Dt " UP-PROG-NAME " " man-sect " " section-name
45 (get "prog-name") "." man-sect)) :+][+:

123