Home
last modified time | relevance | path

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

12345678910>>...64

/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.cpp35 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 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/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()
315 static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout, in commitFpm()
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()
348 Layout in commit()
312 commitFpm(WritableBinaryStream & MsfBuffer,const MSFLayout & Layout,BumpPtrAllocator & Allocator) commitFpm() argument
338 commit(StringRef Path,MSFLayout & Layout) commit() argument
[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.c260 (ic || sp->layout->first->pos != TBL_CELL_SPAN)) { in term_tbl()
279 cp = cpn = sp->layout->first; in term_tbl()
295 (ic || sp->layout->first->pos != TBL_CELL_SPAN)) { in term_tbl()
309 if (sp->pos == TBL_SPAN_DATA && uvert < sp->layout->vert) in term_tbl()
310 uvert = dvert = sp->layout->vert; in term_tbl()
312 dvert < sp->next->layout->vert) in term_tbl()
313 dvert = sp->next->layout->vert; in term_tbl()
314 if (sp->prev != NULL && uvert < sp->prev->layout->vert && in term_tbl()
315 (horiz || (IS_HORIZ(sp->layout->first) && in term_tbl()
316 !IS_HORIZ(sp->prev->layout->first)))) 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. */
71 * A layout row.
74 struct tbl_row *next; /* Layout row below. */
75 struct tbl_cell *first; /* Leftmost layout cell. */
76 struct tbl_cell *last; /* Rightmost layout cell. */
91 * actual string value that's in the cell. The rest is layout.
95 struct tbl_cell *layout; /* Associated layout cell. */ member
116 struct tbl_row *layout; /* Associated layout row. */ member
/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/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.abi228 <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-offset-in-bits='0'>
[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
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/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/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 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/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
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/sys/contrib/device-tree/Bindings/nvmem/layouts/
H A Dfixed-layout.yaml4 $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/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi698 <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'>
710 <data-member access='public' layout-offset-in-bits='0'>
713 <data-member access='public' layout-offset-in-bits='64'>
716 <data-member access='public' layout-offset-in-bits='128'>
719 <data-member access='public' layout-offset-in-bits='192'>
722 <data-member access='public' layout-offset-in-bits='256'>
725 <data-member access='public' layout-offset-in-bits='320'>
1162 <data-member access='public' layout-offset-in-bits='0'>
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp57 /// 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 …]
/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...]
/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 …]

12345678910>>...64