Home
last modified time | relevance | path

Searched full:layout (Results 1 – 25 of 1794) sorted by relevance

12345678910>>...72

/freebsd/contrib/kyua/store/
H A Dlayout_test.cpp29 #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/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyClassDefinitionDumper.cpp34 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 DPrettyClassLayoutGraphicalDumper.cpp34 bool PrettyClassLayoutGraphicalDumper::start(const UDTLayoutBase &Layout) { in start() argument
38 for (const auto &Other : Layout.other_items()) in start()
40 for (const auto &Func : Layout.funcs()) in start()
44 const BitVector &UseMap = Layout.usedBytes(); in start()
47 for (const auto &Item : Layout.layout_items()) { in start()
68 VTableLayoutItem &Layout = static_cast<VTableLayoutItem &>(*CurrentItem); in start() local
71 VarDumper.startVbptr(CurrentAbsoluteOffset, Layout.getSize()); in start()
84 auto TailPadding = Layout.tailPadding(); in start()
86 if (TailPadding != 1 || Layout.getSize() != 1) { in start()
112 BaseClassLayout &Layout = static_cast<BaseClassLayout &>(*CurrentItem); in dump() local
[all …]
H A DBytesOutputStyle.cpp203 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/contrib/llvm-project/clang/lib/CodeGen/
H A DHLSLBufferLayoutBuilder.cpp16 // Implementation of constant buffer layout common between DirectX and
55 // Creates a layout type for given struct or class with HLSL constant buffer
56 // layout taking into account PackOffsets, if provided.
57 // Previously created layout types are cached by CGHLSLRuntime.
61 // LLVM type and to calculate its HLSL constant buffer layout. Any embedded
62 // structs (or arrays of structs) are converted to target layout types as well.
67 // -1 value instead. These elements must be placed at the end of the layout
72 // check if we already have the layout type for this struct in createLayoutType()
77 SmallVector<unsigned> Layout; in createLayoutType() local
84 // reserve first spot in the layout vector for buffer size in createLayoutType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp44 const MSFStreamLayout &Layout, in MappedBlockStream()
47 : BlockSize(BlockSize), StreamLayout(Layout), MsfData(MsfData), in MappedBlockStream()
51 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, in createStream()
54 BlockSize, Layout, MsfData, Allocator); in createStream()
58 const MSFLayout &Layout, BinaryStreamRef MsfData, uint32_t StreamIndex, in createIndexedStream()
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,
45 MappedBlockStream(uint32_t BlockSize,const MSFStreamLayout & Layout,BinaryStreamRef MsfData,BumpPtrAllocator & Allocator) MappedBlockStream() argument
52 createStream(uint32_t BlockSize,const MSFStreamLayout & Layout,BinaryStreamRef MsfData,BumpPtrAllocator & Allocator) createStream() argument
59 createIndexedStream(const MSFLayout & Layout,BinaryStreamRef MsfData,uint32_t StreamIndex,BumpPtrAllocator & Allocator) createIndexedStream() argument
70 createDirectoryStream(const MSFLayout & Layout,BinaryStreamRef MsfData,BumpPtrAllocator & Allocator) createDirectoryStream() argument
80 createFpmStream(const MSFLayout & Layout,BinaryStreamRef MsfData,BumpPtrAllocator & Allocator) createFpmStream() argument
310 WritableMappedBlockStream(uint32_t BlockSize,const MSFStreamLayout & Layout,WritableBinaryStreamRef MsfData,BumpPtrAllocator & Allocator) WritableMappedBlockStream() argument
317 createStream(uint32_t BlockSize,const MSFStreamLayout & Layout,WritableBinaryStreamRef MsfData,BumpPtrAllocator & Allocator) createStream() argument
325 createIndexedStream(const MSFLayout & Layout,WritableBinaryStreamRef MsfData,uint32_t StreamIndex,BumpPtrAllocator & Allocator) createIndexedStream() argument
338 createDirectoryStream(const MSFLayout & Layout,WritableBinaryStreamRef MsfData,BumpPtrAllocator & Allocator) createDirectoryStream() argument
347 createFpmStream(const MSFLayout & Layout,WritableBinaryStreamRef MsfData,BumpPtrAllocator & Allocator,bool AltFpm) createFpmStream() argument
[all...]
H A DMSFBuilder.cpp236 // The directory has the following layout, where each item is a ulittle32_t: in computeDirectoryByteSize()
252 llvm::TimeTraceScope timeScope("MSF: Generate layout"); in generateLayout()
313 static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout, in commitFpm() argument
316 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator); in commitFpm()
319 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator, in commitFpm()
324 while (BI < Layout.SB->NumBlocks) { in commitFpm()
328 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; in commitFpm()
339 MSFLayout &Layout) { in commit() argument
346 Layout = std::move(*L); in commit()
348 uint64_t FileSize = uint64_t(Layout.SB->BlockSize) * Layout.SB->NumBlocks; in commit()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiModuleDescriptorBuilder.cpp36 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 DDbiModuleDescriptor.cpp23 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
[all...]
/freebsd/usr.sbin/nfsd/
H A Dpnfs.436 .%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/contrib/mandoc/
H A Dtbl_data.c64 /* 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 Dtbl_term.c286 (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 in term_tbl()
[all...]
H A Dtbl.745 .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 Dtbl.h50 * 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; /* Associate member
[all...]
/freebsd/contrib/ntp/ntpdc/
H A DMakefile.am7 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/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom.c60 * 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/contrib/llvm-project/clang/include/clang/AST/
H A DRecordLayout.h1 //===- 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
90 /// CXXRecordLayoutInfo - Contains C++ specific layout information.
148 /// CXXInfo - If the record layout is for a C++ record, this will have
196 /// getFieldCount - Get the number of fields in the layout.
212 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualSize()
220 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualAlignment()
229 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getPreferredNVAlignment()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.abi691 <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 …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp117 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 size_t layout(BlobAllocator &File, MinidumpYAML::Memory64ListStream &S) { in layout() function
163 static void layout(BlobAllocator &File, MemoryListStream::entry_type &Range) { in layout() function
164 Range.Entry.Memory = layout(File, Range.Content); in layout()
167 static void layout(BlobAllocator &File, ModuleListStream::entry_type &M) { in layout() function
170 M.Entry.CvRecord = layout(File, M.CvRecord); in layout()
171 M.Entry.MiscRecord = layout(File, M.MiscRecord); in layout()
174 static void layout(BlobAllocator &File, ThreadListStream::entry_type &T) { in layout() function
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DOptimizedStructLayout.h1 //===-- 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
54 assert(Size > 0 && "adding an empty field to the layout"); in Offset()
57 /// The offset of this field in the final layout. If this is
58 /// initialized to FlexibleOffset, layout will overwrite it with
77 /// After layout, this will be true of all the fields.
90 /// Compute a layout for a struct containing the given fields, making a
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DLayout.h1 //===- 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/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi1083 <data-member access='public' layout-offset-in-bits='0'>
1086 <data-member access='public' layout-offset-in-bits='64'>
1089 <data-member access='public' layout-offset-in-bits='128'>
1096 <data-member access='public' layout-offset-in-bits='0'>
1107 <data-member access='public' layout-offset-in-bits='0'>
1110 <data-member access='public' layout-offset-in-bits='64'>
1113 <data-member access='public' layout-offset-in-bits='80'>
1118 <data-member access='public' layout-offset-in-bits='0'>
1123 <data-member access='public' layout-offset-in-bits='0'>
1126 <data-member access='public' layout-offset-in-bits='16'>
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp56 /// Externally provided layout. Typically used when the AST source, such
141 CharUnits getFieldOffset(const ASTRecordLayout &Layout, in getFieldOffset() argument
143 uint64_t FieldOffset = Layout.getFieldOffset(Field->getFieldIndex()); in getFieldOffset()
192 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl); in ComputeEmptySubobjectSizes() local
195 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
198 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes()
216 const ASTRecordLayout &Layout = Context.getASTRecordLayout(MemberDecl); in ComputeEmptySubobjectSizes() local
219 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
222 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes()
280 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Info->Class); in CanPlaceBaseSubobjectAtOffset() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DASanStackFrameLayout.cpp66 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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DCBufferDataLayout.cpp1 //===- 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 in getStructLayout()
[all...]

12345678910>>...72