| /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 …]
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /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.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 cell specifications, 140 layout cell. [all …]
|
| H A D | tbl_term.c | 286 (ic || sp->layout->first->pos != TBL_CELL_SPAN)) { in term_tbl() 306 cp = cpn = sp->layout->first; in term_tbl() 325 (ic || sp->layout->first->pos != TBL_CELL_SPAN)) { in term_tbl() 339 if (sp->pos == TBL_SPAN_DATA && uvert < sp->layout->vert) in term_tbl() 340 uvert = dvert = sp->layout->vert; in term_tbl() 342 dvert < sp->next->layout->vert) in term_tbl() 343 dvert = sp->next->layout->vert; in term_tbl() 344 if (sp->prev != NULL && uvert < sp->prev->layout->vert && in term_tbl() 345 (horiz || (IS_HORIZ(sp->layout->first) && in term_tbl() 346 !IS_HORIZ(sp->prev->layout->first)))) in term_tbl() [all …]
|
| H A D | tbl.h | 50 * A cell in a layout row. 53 struct tbl_cell *next; /* Layout cell to the right. */ 70 * A layout row. 73 struct tbl_row *next; /* Layout row below. */ 74 struct tbl_cell *first; /* Leftmost layout cell. */ 75 struct tbl_cell *last; /* Rightmost layout cell. */ 90 * actual string value that's in the cell. The rest is layout. 94 struct tbl_cell *layout; /* Associated layout cell. */ member 115 struct tbl_row *layout; /* Associated layout row. */ member
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /src/sys/contrib/openzfs/lib/libzfs_core/ |
| H A D | libzfs_core.abi | 691 <data-member access='public' layout-offset-in-bits='0'> 698 <data-member access='public' layout-offset-in-bits='0'> 701 <data-member access='public' layout-offset-in-bits='64'> 704 <data-member access='public' layout-offset-in-bits='128'> 711 <data-member access='public' layout-offset-in-bits='0'> 722 <data-member access='public' layout-offset-in-bits='0'> 725 <data-member access='public' layout-offset-in-bits='64'> 728 <data-member access='public' layout-offset-in-bits='80'> 733 <data-member access='public' layout-offset-in-bits='0'> 738 <data-member access='public' layout-offset-in-bits='0'> [all …]
|
| /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 …]
|
| /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 { \
|
| /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 …]
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | RecordLayoutBuilder.cpp | 57 /// Externally provided layout. Typically used when the AST source, such 143 getFieldOffset(const ASTRecordLayout &Layout, unsigned FieldNo) const { in getFieldOffset() argument 144 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); in getFieldOffset() 193 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl); in ComputeEmptySubobjectSizes() local 196 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes() 199 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes() 217 const ASTRecordLayout &Layout = Context.getASTRecordLayout(MemberDecl); in ComputeEmptySubobjectSizes() local 220 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes() 223 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes() 281 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Info->Class); in CanPlaceBaseSubobjectAtOffset() local [all …]
|
| /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 …]
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ASanStackFrameLayout.cpp | 66 ASanStackFrameLayout Layout; in ComputeASanStackFrameLayout() local 67 Layout.Granularity = Granularity; in ComputeASanStackFrameLayout() 68 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout() 78 assert(Layout.FrameAlignment >= Alignment); in ComputeASanStackFrameLayout() 91 Layout.FrameSize = Offset; in ComputeASanStackFrameLayout() 92 assert((Layout.FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout() 93 return Layout; in ComputeASanStackFrameLayout() 116 const ASanStackFrameLayout &Layout) { in GetShadowBytes() argument 120 const uint64_t Granularity = Layout.Granularity; in GetShadowBytes() 129 SB.resize(Layout.FrameSize / Granularity, kAsanStackRightRedzoneMagic); in GetShadowBytes() [all …]
|
| /src/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs.abi | 1082 <data-member access='public' layout-offset-in-bits='0'> 1085 <data-member access='public' layout-offset-in-bits='64'> 1088 <data-member access='public' layout-offset-in-bits='128'> 1095 <data-member access='public' layout-offset-in-bits='0'> 1106 <data-member access='public' layout-offset-in-bits='0'> 1109 <data-member access='public' layout-offset-in-bits='64'> 1112 <data-member access='public' layout-offset-in-bits='80'> 1117 <data-member access='public' layout-offset-in-bits='0'> 1122 <data-member access='public' layout-offset-in-bits='0'> 1125 <data-member access='public' layout-offset-in-bits='16'> [all …]
|
| /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";
|