/freebsd-src/contrib/kyua/store/ |
H A D | layout_test.cpp | 29 #include "store/layout.hpp" 40 #include "store/layout.hpp" 48 namespace layout = store::layout; 54 const fs::path store_dir = layout::query_store_dir(); in ATF_TEST_CASE_BODY() 57 const std::string test_suite = layout::test_suite_for_path( in ATF_TEST_CASE_BODY() 64 layout::find_results("LATEST").str()); in ATF_TEST_CASE_BODY() 68 layout::find_results("LATEST").str()); in ATF_TEST_CASE_BODY() 72 layout::find_results("LATEST").str()); in ATF_TEST_CASE_BODY() 79 const fs::path store_dir = layout::query_store_dir(); in ATF_TEST_CASE_BODY() 88 "results." + layout::test_suite_for_path(dir1) + ".")).str(); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | PrettyClassDefinitionDumper.cpp | 34 ClassLayout Layout(Class); in start() local 35 start(Layout); in start() 38 void ClassDefinitionDumper::start(const ClassLayout &Layout) { in start() argument 39 prettyPrintClassIntro(Layout); in start() 42 DumpedAnything |= Dumper.start(Layout); in start() 44 prettyPrintClassOutro(Layout); in start() 47 void ClassDefinitionDumper::prettyPrintClassIntro(const ClassLayout &Layout) { in prettyPrintClassIntro() argument 51 uint32_t Size = Layout.getSize(); in prettyPrintClassIntro() 52 const PDBSymbolTypeUDT &Class = Layout.getClass(); in prettyPrintClassIntro() 54 if (Layout.getClass().isConstType()) in prettyPrintClassIntro() [all …]
|
H A D | PrettyClassLayoutGraphicalDumper.cpp | 35 bool PrettyClassLayoutGraphicalDumper::start(const UDTLayoutBase &Layout) { in start() argument 39 for (const auto &Other : Layout.other_items()) in start() 41 for (const auto &Func : Layout.funcs()) in start() 45 const BitVector &UseMap = Layout.usedBytes(); in start() 48 for (const auto &Item : Layout.layout_items()) { in start() 69 VTableLayoutItem &Layout = static_cast<VTableLayoutItem &>(*CurrentItem); in start() local 72 VarDumper.startVbptr(CurrentAbsoluteOffset, Layout.getSize()); in start() 85 auto TailPadding = Layout.tailPadding(); in start() 87 if (TailPadding != 1 || Layout.getSize() != 1) { in start() 113 BaseClassLayout &Layout = static_cast<BaseClassLayout &>(*CurrentItem); in dump() local [all …]
|
H A D | BytesOutputStyle.cpp | 203 auto Layout = File.getStreamLayout(StreamPDB); in dumpNameMap() local 204 P.formatMsfStreamData("Named Stream Map", File, Layout, NS); in dumpNameMap() 233 auto Layout = File.getStreamLayout(StreamDBI); in dumpSectionContributions() local 234 P.formatMsfStreamData("Section Contributions", File, Layout, NS); in dumpSectionContributions() 244 auto Layout = File.getStreamLayout(StreamDBI); in dumpSectionMap() local 245 P.formatMsfStreamData("Section Map", File, Layout, NS); in dumpSectionMap() 255 auto Layout = File.getStreamLayout(StreamDBI); in dumpModuleInfos() local 256 P.formatMsfStreamData("Module Infos", File, Layout, NS); in dumpModuleInfos() 266 auto Layout = File.getStreamLayout(StreamDBI); in dumpFileInfo() local 267 P.formatMsfStreamData("File Info", File, Layout, NS); in dumpFileInfo() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCAssembler.cpp | 69 STATISTIC(RelaxationSteps, "Number of assembler layout and relaxation steps"); 909 void MCAssembler::layout() { in layout() 912 errs() << "assembler backend - pre-layout\n--\n"; in layout() 939 // Layout until everything fits. in layout() 945 // another. If any fragment has changed size, we have to re-layout (and in layout() 955 // Finalize the layout, including fragment lowering. in Finish() 959 errs() << "assembler backend - final-layout\n--\n"; in fixupNeedsRelaxation() 962 // Allow the object writer a chance to perform post-layout binding (for in fixupNeedsRelaxation() 1046 layout(); in relaxLEB() 196 evaluateFixup(const MCAsmLayout & Layout,const MCFixup & Fixup,const MCFragment * DF,MCValue & Target,const MCSubtargetInfo * STI,uint64_t & Value,bool & WasForced) const evaluateFixup() argument 301 computeFragmentSize(const MCAsmLayout & Layout,const MCFragment & F) const computeFragmentSize() argument 521 writeFragment(raw_ostream & OS,const MCAssembler & Asm,const MCAsmLayout & Layout,const MCFragment & F) writeFragment() argument 799 handleFixup(const MCAsmLayout & Layout,MCFragment & F,const MCFixup & Fixup,const MCSubtargetInfo * STI) handleFixup() argument 816 layout(MCAsmLayout & Layout) layout() argument 950 MCAsmLayout Layout(*this); Finish() local 990 relaxInstruction(MCAsmLayout & Layout,MCRelaxableFragment & F) relaxInstruction() argument 1016 relaxLEB(MCAsmLayout & Layout,MCLEBFragment & LF) relaxLEB() argument 1092 relaxBoundaryAlign(MCAsmLayout & Layout,MCBoundaryAlignFragment & BF) relaxBoundaryAlign() argument 1116 relaxDwarfLineAddr(MCAsmLayout & Layout,MCDwarfLineAddrFragment & DF) relaxDwarfLineAddr() argument 1140 relaxDwarfCallFrameFragment(MCAsmLayout & Layout,MCDwarfCallFrameFragment & DF) relaxDwarfCallFrameFragment() argument 1165 relaxCVInlineLineTable(MCAsmLayout & Layout,MCCVInlineLineTableFragment & F) relaxCVInlineLineTable() argument 1172 relaxCVDefRange(MCAsmLayout & Layout,MCCVDefRangeFragment & F) relaxCVDefRange() argument 1179 relaxPseudoProbeAddr(MCAsmLayout & Layout,MCPseudoProbeAddrFragment & PF) relaxPseudoProbeAddr() argument 1196 relaxFragment(MCAsmLayout & Layout,MCFragment & F) relaxFragment() argument 1222 layoutSectionOnce(MCAsmLayout & Layout,MCSection & Sec) layoutSectionOnce() argument 1243 layoutOnce(MCAsmLayout & Layout) layoutOnce() argument 1255 finishLayout(MCAsmLayout & Layout) finishLayout() argument
|
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/MSF/ |
H A D | MappedBlockStream.cpp | 44 const MSFStreamLayout &Layout, in MappedBlockStream() argument 47 : BlockSize(BlockSize), StreamLayout(Layout), MsfData(MsfData), in MappedBlockStream() 51 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, in createStream() argument 54 BlockSize, Layout, MsfData, Allocator); in createStream() 58 const MSFLayout &Layout, BinaryStreamRef MsfData, uint32_t StreamIndex, in createIndexedStream() argument 60 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index"); in createIndexedStream() 62 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream() 63 SL.Length = Layout.StreamSizes[StreamIndex]; in createIndexedStream() 65 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream() 69 MappedBlockStream::createDirectoryStream(const MSFLayout &Layout, in createDirectoryStream() argument [all …]
|
H A D | MSFBuilder.cpp | 236 // The directory has the following layout, where each item is a ulittle32_t: in computeDirectoryByteSize() 252 llvm::TimeTraceScope timeScope("MSF: Generate layout"); in generateLayout() 315 static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout, in commitFpm() argument 318 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator); in commitFpm() 321 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator, in commitFpm() 326 while (BI < Layout.SB->NumBlocks) { in commitFpm() 330 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; in commitFpm() 341 MSFLayout &Layout) { in commit() argument 348 Layout = std::move(*L); in commit() 350 uint64_t FileSize = uint64_t(Layout.SB->BlockSize) * Layout.SB->NumBlocks; in commit() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | DbiModuleDescriptorBuilder.cpp | 36 Size += 0; // TODO: Layout.C11Bytes in calculateDiSymbolStreamSize() 47 ::memset(&Layout, 0, sizeof(Layout)); in DbiModuleDescriptorBuilder() 48 Layout.Mod = ModIndex; in DbiModuleDescriptorBuilder() 54 return Layout.ModDiStream; in getStreamIndex() 67 Layout.SC = SC; in setFirstSectionContrib() 114 uint32_t L = sizeof(Layout); in calculateSerializedLength() 121 Layout.FileNameOffs = 0; // TODO: Fix this in finalize() 122 Layout.Flags = 0; // TODO: Fix this in finalize() 123 Layout.C11Bytes = 0; in finalize() 124 Layout.C13Bytes = calculateC13DebugInfoSize(); in finalize() [all …]
|
H A D | DbiModuleDescriptor.cpp | 23 if (auto EC = Reader.readObject(Info.Layout)) in initialize() 35 return (Layout->Flags & ModInfoFlags::HasECFlagMask) != 0; in hasECInfo() 39 return (Layout->Flags & ModInfoFlags::TypeServerIndexMask) >> in getTypeServerIndex() 44 return Layout->SC; in getSectionContrib() 48 return Layout->ModDiStream; in getModuleStreamIndex() 52 return Layout->SymBytes; in getSymbolDebugInfoByteSize() 56 return Layout->C11Bytes; in getC11LineInfoByteSize() 60 return Layout->C13Bytes; in getC13LineInfoByteSize() 64 return Layout->NumFiles; in getNumberOfFiles() 68 return Layout->SrcFileNameNI; in getSourceFileNameIndex() [all …]
|
/freebsd-src/usr.sbin/nfsd/ |
H A D | pnfs.4 | 36 .%T "Parallel NFS (pNFS) Flexible File Layout RFC 8435" . 54 The critical piece of information in DeviceInfo for the layout types 59 layout specific information. 68 The second is the layout, which is per file and references the DeviceInfo 73 server, a layout covers all bytes of a file. 74 A layout may be recalled by the MDS using a LayoutRecall callback. 75 When a client returns a layout via the LayoutReturn operation it can 77 at least for certain layout types such as the Flexible File Layout. 81 client and server supports two layout types. 83 The File Layout is described in RFC5661 and uses the NFSv4.1 or NFSv4.2 protocol [all …]
|
/freebsd-src/contrib/mandoc/ |
H A D | tbl_data.c | 64 /* Advance to the next layout cell, skipping spanners. */ in getdata() 66 cp = dp->last == NULL ? dp->layout->first : dp->last->layout->next; in getdata() 71 * If the current layout row is out of cells, allocate in getdata() 78 if (dp->layout->last->col + 1 < dp->opts->cols) { in getdata() 83 dp->layout->last->next = cp; in getdata() 84 cp->col = dp->layout->last->col + 1; in getdata() 85 dp->layout->last = cp; in getdata() 96 dat->layout = cp; in getdata() 108 * not over layout rows, because one layout row in getdata() 119 pdat->layout->col < dat->layout->col) in getdata() [all …]
|
H A D | tbl_term.c | 263 (ic || sp->layout->first->pos != TBL_CELL_SPAN)) { in term_tbl() 282 cp = cpn = sp->layout->first; in term_tbl() 299 (ic || sp->layout->first->pos != TBL_CELL_SPAN)) { in term_tbl() 313 if (sp->pos == TBL_SPAN_DATA && uvert < sp->layout->vert) in term_tbl() 314 uvert = dvert = sp->layout->vert; in term_tbl() 316 dvert < sp->next->layout->vert) in term_tbl() 317 dvert = sp->next->layout->vert; in term_tbl() 318 if (sp->prev != NULL && uvert < sp->prev->layout->vert && in term_tbl() 319 (horiz || (IS_HORIZ(sp->layout->first) && in term_tbl() 320 !IS_HORIZ(sp->prev->layout in term_tbl() [all...] |
H A D | tbl.7 | 45 .Sx Layout 56 .Sx Layout 75 layout key. 105 .Ss Layout 106 The table layout follows an 114 Each layout line specifies how one line of 117 The last layout line ends with a full stop. 119 Multiple layout lines can be joined by commas on a single physical 122 Each layout line consists of one or more layout cel [all...] |
/freebsd-src/contrib/ntp/ntpdc/ |
H A D | Makefile.am | 7 EXTRA_PROGRAMS= ntpdc ntpdc-layout 8 EXTRA_DATA= check-layout 27 # ntpdc-layout doesn't need any additional libraries at all 36 check-layout \ 37 layout.here \ 39 ntpdc-layout \ 49 layout.std \ 139 ntpdc-layout.o: nl.c 141 layout.here: ntpdc-layout 142 $(AM_V_at)./ntpdc-layout > $@ [all …]
|
/freebsd-src/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_data_sprom.c | 60 * The SPROM data format is a fixed-layout, non-self-descriptive binary format, 112 * the @p layout's expected magic value. 114 * If @p layout does not defined a magic value, @p magic is set to 0x0 118 * @param layout The SPROM layout against which @p io should be verified. 127 const bhnd_sprom_layout *layout, uint16_t *magic) in bhnd_nvram_sprom_check_magic() argument 131 /* Skip if layout does not define a magic value */ in bhnd_nvram_sprom_check_magic() 132 if (layout->flags & SPROM_LAYOUT_MAGIC_NONE) in bhnd_nvram_sprom_check_magic() 136 error = bhnd_nvram_io_read(io, layout->magic_offset, magic, in bhnd_nvram_sprom_check_magic() 143 /* If the signature does not match, skip to next layout */ in bhnd_nvram_sprom_check_magic() 144 if (*magic != layout->magic_value) in bhnd_nvram_sprom_check_magic() [all …]
|
/freebsd-src/sys/contrib/openzfs/lib/libzfs_core/ |
H A D | libzfs_core.abi | 228 <data-member access='public' layout-offset-in-bits='0'> 231 <data-member access='public' layout-offset-in-bits='32'> 234 <data-member access='public' layout-offset-in-bits='64'> 237 <data-member access='public' layout-offset-in-bits='128'> 636 <data-member access='public' layout-offset-in-bits='0'> 643 <data-member access='public' layout-offset-in-bits='0'> 646 <data-member access='public' layout-offset-in-bits='64'> 649 <data-member access='public' layout-offset-in-bits='128'> 655 <data-member access='public' layout-offset-in-bits='0'> 666 <data-member access='public' layout [all...] |
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/ |
H A D | RecordLayout.h | 1 //===- RecordLayout.h - Layout information for a struct/union ---*- C++ -*-===// 32 /// This class contains layout information for one RecordDecl, 35 /// This class is also used to contain layout information for one 41 /// The offset to this virtual base in the complete-object layout 89 /// CXXRecordLayoutInfo - Contains C++ specific layout information. 147 /// CXXInfo - If the record layout is for a C++ record, this will have 195 /// getFieldCount - Get the number of fields in the layout. 211 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualSize() 219 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualAlignment() 228 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getPreferredNVAlignment() [all …]
|
/freebsd-src/contrib/llvm-project/lld/MachO/ |
H A D | Layout.h | 1 //===- Layout.h -----------------------------------------------------------===// 38 // barOffset = offsetof(Layout<Ptr>, bar); 39 // bazOffset = offsetof(Layout<Ptr>, baz); 40 // totalSize = sizeof(Layout<Ptr>); 42 // template <class Ptr> struct Layout { 49 #define _INIT_OFFSET(type, name) name##Offset = offsetof(Layout<Ptr>, name); 53 struct className##Layout { \ 57 className##Layout(size_t wordSize) { \ 69 totalSize = sizeof(Layout<Ptr>); \ 71 template <class Ptr> struct Layout { \
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCAsmLayout.h |
|
H A D | MCAssembler.h | 114 /// Perform one layout iteration and return true if any offsets 159 // layout. 201 // Layout all section and prepare them for emission. 202 void layout();
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | OptimizedStructLayout.h | 1 //===-- OptimizedStructLayout.h - Struct layout algorithm ---------*- C++ -*-=// 12 /// requirements of the struct while still satisfying the layout 13 /// requirements of the individual fields. The resulting layout may be 28 /// - Second, there are other ways that a struct layout could be optimized 29 /// besides space usage, such as locality. This layout may have a mixed 53 assert(Size > 0 && "adding an empty field to the layout"); in Offset() 56 /// The offset of this field in the final layout. If this is 57 /// initialized to FlexibleOffset, layout will overwrite it with 76 /// After layout, this will be true of all the fields. 89 /// Compute a layout for a struct containing the given fields, making a [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MinidumpEmitter.cpp | 117 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { in layout() function 122 static size_t layout(BlobAllocator &File, MinidumpYAML::ExceptionStream &S) { in layout() function 134 S.MDExceptionStream.ThreadContext = layout(File, S.ThreadContext); in layout() 139 static void layout(BlobAllocator &File, MemoryListStream::entry_type &Range) { in layout() function 140 Range.Entry.Memory = layout(File, Range.Content); in layout() 143 static void layout(BlobAllocator &File, ModuleListStream::entry_type &M) { in layout() function 146 M.Entry.CvRecord = layout(File, M.CvRecord); in layout() 147 M.Entry.MiscRecord = layout(File, M.MiscRecord); in layout() 150 static void layout(BlobAllocator &File, ThreadListStream::entry_type &T) { in layout() function 151 T.Entry.Stack.Memory = layout(File, T.Stack); in layout() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MachObjectWriter.cpp | 60 recordRelocation(MachObjectWriter * Writer,MCAssembler & Asm,const MCAsmLayout & Layout,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordRelocation() argument 103 RecordX86_64Relocation(MachObjectWriter * Writer,MCAssembler & Asm,const MCAsmLayout & Layout,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) RecordX86_64Relocation() argument 365 recordScatteredRelocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCAsmLayout & Layout,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,unsigned Log2Size,uint64_t & FixedValue) recordScatteredRelocation() argument 465 recordTLVPRelocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCAsmLayout & Layout,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordTLVPRelocation() argument 505 RecordX86Relocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCAsmLayout & Layout,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) RecordX86Relocation() argument
|
/freebsd-src/sys/contrib/device-tree/Bindings/nvmem/layouts/ |
H A D | fixed-layout.yaml | 4 $id: http://devicetree.org/schemas/nvmem/layouts/fixed-layout.yaml# 7 title: NVMEM layout for fixed NVMEM cells 10 Many NVMEM devices have hardcoded cells layout (offset and size of defined 13 This binding allows defining such NVMEM layout with its cells. It can be used 21 const: fixed-layout 42 nvmem-layout { 43 compatible = "fixed-layout";
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | CBufferDataLayout.cpp | 1 //===- Target/DirectX/CBufferDataLayout.cpp - Cbuffer layout helper -------===// 9 // Utils to help cbuffer layout. 21 // Implement cbuffer layout in 74 LegacyStructLayout &Layout = getStructLayout(ST); in getTypeAllocSize() local 75 return Layout.Size; in getTypeAllocSize() 87 // layout. in getTypeAllocSize() 99 LegacyStructLayout Layout; in getStructLayout() local 100 Layout.ST = ST; in getStructLayout() 106 Layout.Offsets.emplace_back(Offset); in getStructLayout() 109 Layout.Size = Offset; in getStructLayout() [all …]
|