/third_party/spirv-tools/test/opt/ |
H A D | fold_test.cpp | 118 const std::string& Header() { in Header() function 337 // we separates those definitions from Header(). 340 Header() + in HeaderWithNaN() 353 Header() + "%main = OpFunction %void None %void_func\n" + 363 Header() + "%main = OpFunction %void None %void_func\n" + 373 Header() + "%main = OpFunction %void None %void_func\n" + 383 Header() + "%main = OpFunction %void None %void_func\n" + 393 Header() + "%main = OpFunction %void None %void_func\n" + 403 Header() + "%main = OpFunction %void None %void_func\n" + 413 Header() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | fold_test.cpp | 114 const std::string& Header() { in Header() function 302 // we separates those definitions from Header(). 305 Header() + in HeaderWithNaN() 318 Header() + "%main = OpFunction %void None %void_func\n" + 328 Header() + "%main = OpFunction %void None %void_func\n" + 338 Header() + "%main = OpFunction %void None %void_func\n" + 348 Header() + "%main = OpFunction %void None %void_func\n" + 358 Header() + "%main = OpFunction %void None %void_func\n" + 368 Header() + "%main = OpFunction %void None %void_func\n" + 378 Header() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | fold_test.cpp | 114 const std::string& Header() { in Header() function 300 // we separates those definitions from Header(). 303 Header() + in HeaderWithNaN() 316 Header() + "%main = OpFunction %void None %void_func\n" + 326 Header() + "%main = OpFunction %void None %void_func\n" + 336 Header() + "%main = OpFunction %void None %void_func\n" + 346 Header() + "%main = OpFunction %void None %void_func\n" + 356 Header() + "%main = OpFunction %void None %void_func\n" + 366 Header() + "%main = OpFunction %void None %void_func\n" + 376 Header() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
H A D | COFFEmitter.cpp | 51 return Obj.Header.Machine == COFF::IMAGE_FILE_MACHINE_AMD64 || in is64Bit() 52 Obj.Header.Machine == COFF::IMAGE_FILE_MACHINE_ARM64; in is64Bit() 56 return Obj.OptionalHeader->Header.FileAlignment; in getFileAlignment() 78 std::copy(Name.begin(), Name.end(), Sec.Header.Name); in parseSections() 87 Sec.Header.Name[0] = '/'; in parseSections() 88 std::copy(str.begin(), str.end(), Sec.Header.Name + 1); in parseSections() 100 Sec.Header.Characteristics |= (Log2_32(Sec.Alignment) + 1) << 20; in parseSections() 116 std::copy(Name.begin(), Name.end(), Sym.Header.Name); in parseSymbols() 120 *reinterpret_cast<support::aligned_ulittle32_t *>(Sym.Header.Name + 4) = in parseSymbols() 124 Sym.Header in parseSymbols() 351 initializeOptionalHeader(COFFParser &CP, uint16_t Magic, T Header) initializeOptionalHeader() argument [all...] |
H A D | ELFEmitter.cpp | 143 bool initImplicitHeader(ContiguousBlobAccumulator &CBA, Elf_Shdr &Header, 275 Elf_Ehdr Header; in writeELFHeader() 276 zero(Header); in writeELFHeader() 277 Header.e_ident[EI_MAG0] = 0x7f; in writeELFHeader() 278 Header.e_ident[EI_MAG1] = 'E'; in writeELFHeader() 279 Header.e_ident[EI_MAG2] = 'L'; in writeELFHeader() 280 Header.e_ident[EI_MAG3] = 'F'; in writeELFHeader() 281 Header.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeELFHeader() 282 Header.e_ident[EI_DATA] = Doc.Header in writeELFHeader() 371 initImplicitHeader(ContiguousBlobAccumulator &CBA, Elf_Shdr &Header, StringRef SecName, ELFYAML::Section *YAMLSec) initImplicitHeader() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
H A D | TpiStream.cpp | 48 if (Reader.readObject(Header)) in reload() 52 if (Header->Version != PdbTpiV80) in reload() 56 if (Header->HeaderSize != sizeof(TpiStreamHeader)) in reload() 58 "Corrupt TPI Header size."); in reload() 60 if (Header->HashKeySize != sizeof(ulittle32_t)) in reload() 64 if (Header->NumHashBuckets < MinTpiHashBuckets || in reload() 65 Header->NumHashBuckets > MaxTpiHashBuckets) in reload() 71 Reader.readSubstream(TypeRecordsSubstream, Header->TypeRecordBytes)) in reload() 80 if (Header->HashStreamIndex != kInvalidStreamIndex) { in reload() 81 auto HS = Pdb.safelyCreateIndexedStream(Header in reload() [all...] |
H A D | DbiStream.cpp | 48 : Stream(std::move(Stream)), Header(nullptr) {} in DbiStream() 58 if (auto EC = Reader.readObject(Header)) in reload() 62 if (Header->VersionSignature != -1) in reload() 69 if (Header->VersionHeader < PdbDbiV70) in reload() 74 sizeof(DbiStreamHeader) + Header->ModiSubstreamSize + in reload() 75 Header->SecContrSubstreamSize + Header->SectionMapSize + in reload() 76 Header->FileInfoSize + Header->TypeServerSize + in reload() 77 Header in reload() 370 const SecMapHeader *Header; initializeSectionMapData() local [all...] |
H A D | PDBStringTable.cpp | 22 uint32_t PDBStringTable::getByteSize() const { return Header->ByteSize; } in getByteSize() 24 uint32_t PDBStringTable::getHashVersion() const { return Header->HashVersion; } in getHashVersion() 25 uint32_t PDBStringTable::getSignature() const { return Header->Signature; } in getSignature() 28 if (auto EC = Reader.readObject(Header)) in readHeader() 31 if (Header->Signature != PDBStringTableSignature) in readHeader() 34 if (Header->HashVersion != 1 && Header->HashVersion != 2) in readHeader() 92 std::tie(SectionReader, Reader) = Reader.split(Header->ByteSize); in reload() 115 (Header->HashVersion == 1) ? hashStringV1(Str) : hashStringV2(Str); in getIDForString()
|
H A D | PublicsStream.cpp | 45 uint32_t PublicsStream::getSymHash() const { return Header->SymHash; } in getSymHash() 47 return Header->ISectThunkTable; in getThunkTableSection() 50 return Header->OffThunkTable; in getThunkTableOffset() 68 if (Reader.readObject(Header)) in reload() 77 uint32_t NumAddressMapEntries = Header->AddrMap / sizeof(uint32_t); in reload() 84 if (auto EC = Reader.readArray(ThunkMap, Header->NumThunks)) in reload() 91 if (auto EC = Reader.readArray(SectionOffsets, Header->NumSections)) in reload()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFUnitIndex.cpp | 20 bool DWARFUnitIndex::Header::parse(DataExtractor IndexData, in parse() 31 void DWARFUnitIndex::Header::dump(raw_ostream &OS) const { in dump() 39 Header.NumBuckets = 0; in parse() 49 if (!Header.parse(IndexData, &Offset)) in parseImpl() 53 Offset, Header.NumBuckets * (8 + 4) + in parseImpl() 54 (2 * Header.NumUnits + 1) * 4 * Header.NumColumns)) in parseImpl() 57 Rows = std::make_unique<Entry[]>(Header.NumBuckets); in parseImpl() 59 std::make_unique<Entry::SectionContribution *[]>(Header.NumUnits); in parseImpl() 60 ColumnKinds = std::make_unique<DWARFSectionKind[]>(Header in parseImpl() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/ |
H A D | Header.java | 34 public final class Header { class 43 public static final Comparator<Header> COMPARATOR_BY_OFFSET = new Comparator<Header>() { 45 public int compare(Header h1, Header h2) { 50 public static final Comparator<Header> COMPARATOR_BY_TAG = new Comparator<Header>() { 52 public int compare(Header h1, Header h2) { 67 public Header(in method in Header 85 public Header(int tag, int length) { Header() method in Header 102 public Header(int tag) { Header() method in Header [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/ |
H A D | Font.java | 26 import com.google.typography.font.sfntly.table.Header; 460 List<Header> tableRecords = buildTableHeadersForSerialization(finalTableOrdering); in serialize() 476 private List<Header> buildTableHeadersForSerialization(List<Integer> tableOrdering) { in buildTableHeadersForSerialization() 479 List<Header> tableHeaders = new ArrayList<Header>(this.numTables()); in buildTableHeadersForSerialization() 485 tableHeaders.add(new Header( in buildTableHeadersForSerialization() 501 private void serializeHeader(FontOutputStream fos, List<Header> tableHeaders) in serializeHeader() 511 List<Header> sortedHeaders = new ArrayList<Header>(tableHeaders); in serializeHeader() 512 Collections.sort(sortedHeaders, Header in serializeHeader() [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/ |
H A D | table.h | 43 virtual Header* header() { return header_; } in header() 50 static CALLER_ATTACH Builder* GetBuilder(Header* header, 56 Builder(Header* header, WritableFontData* data); 57 Builder(Header* header, ReadableFontData* data); 58 Builder(Header* header); 61 Ptr<Header> header_; 73 virtual Header* header() { return header_; } in header() 92 Table(Header* header, ReadableFontData* data); 95 Ptr<Header> header_; 102 GenericTable(Header* heade [all...] |
H A D | header.cc | 22 * Header class 24 Header::Header(int32_t tag) in Header() function in sfntly::Header 34 Header::Header(int32_t tag, int32_t length) in Header() function in sfntly::Header 44 Header::Header(int32_t tag, int64_t checksum, int32_t offset, int32_t length) in Header() function in sfntly::Header 54 Header::~Header() {} in ~Header()
|
H A D | header.h | 24 class Header : public RefCounted<Header> { class 27 explicit Header(int32_t tag); 30 Header(int32_t tag, int32_t length); 33 Header(int32_t tag, int64_t checksum, int32_t offset, int32_t length); 34 virtual ~Header(); 86 typedef Ptr<Header> HeaderPtr;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFListTable.h | 57 struct Header { struct in llvm::DWARFListTableHeader 74 Header HeaderData; 140 DWARFListTableHeader Header; member in llvm::DWARFListTableBase 151 : Header(SectionName, ListTypeString), HeaderString(HeaderString) {} in DWARFListTableBase() 155 Header.clear(); in clear() 160 return Header.extract(Data, OffsetPtr); in extractHeaderAndOffsets() 168 uint64_t getHeaderOffset() const { return Header.getHeaderOffset(); } in getHeaderOffset() 169 uint8_t getAddrSize() const { return Header.getAddrSize(); } in getAddrSize() 170 dwarf::DwarfFormat getFormat() const { return Header.getFormat(); } in getFormat() 179 return Header in getOffsetEntry() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugChecksumsSubsection.cpp | 38 const FileChecksumEntryHeader *Header; in operator ()() local 39 if (auto EC = Reader.readObject(Header)) in operator ()() 42 Item.FileNameOffset = Header->FileNameOffset; in operator ()() 43 Item.Kind = static_cast<FileChecksumKind>(Header->ChecksumKind); in operator ()() 44 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize)) in operator ()() 47 Len = alignTo(Header->ChecksumSize + sizeof(FileChecksumEntryHeader), 4); in operator ()() 96 FileChecksumEntryHeader Header; in commit() local 97 Header.ChecksumKind = uint8_t(FC.Kind); in commit() 98 Header.ChecksumSize = FC.Checksum.size(); in commit() 99 Header in commit() [all...] |
H A D | DebugLinesSubsection.cpp | 29 bool HasColumn = Header->Flags & uint16_t(LF_HaveColumns); in operator ()() 57 if (auto EC = Reader.readObject(Header)) in initialize() 60 LinesAndColumns.getExtractor().Header = Header; in initialize() 68 return !!(Header->Flags & LF_HaveColumns); in hasColumnInfo() 104 LineFragmentHeader Header; in commit() local 105 Header.CodeSize = CodeSize; in commit() 106 Header.Flags = hasColumnInfo() ? LF_HaveColumns : 0; in commit() 107 Header.RelocOffset = RelocOffset; in commit() 108 Header in commit() [all...] |
H A D | DebugSubsectionRecord.cpp | 33 const DebugSubsectionHeader *Header; in initialize() local 35 if (auto EC = Reader.readObject(Header)) in initialize() 39 static_cast<DebugSubsectionKind>(uint32_t(Header->Kind)); in initialize() 40 if (auto EC = Reader.readStreamRef(Info.Data, Header->Length)) in initialize() 75 DebugSubsectionHeader Header; in commit() local 76 Header.Kind = uint32_t(Subsection ? Subsection->kind() : Contents.kind()); in commit() 77 // The value written into the Header's Length field is only padded to the in commit() 81 Header.Length = alignTo(DataSize, alignOf(Container)); in commit() 83 if (auto EC = Writer.writeObject(Header)) in commit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceELFSection.h | 51 : Name(Name), Header() { in ELFSection() 52 Header.sh_type = ShType; in ELFSection() 53 Header.sh_flags = ShFlags; in ELFSection() 54 Header.sh_addralign = ShAddralign; in ELFSection() 55 Header.sh_entsize = ShEntsize; in ELFSection() 69 void setSize(Elf64_Xword sh_size) { Header.sh_size = sh_size; } in setSize() 70 SizeT getCurrentSize() const { return Header.sh_size; } in getCurrentSize() 72 void setNameStrIndex(Elf64_Word sh_name) { Header.sh_name = sh_name; } in setNameStrIndex() 76 void setLinkNum(Elf64_Word sh_link) { Header.sh_link = sh_link; } in setLinkNum() 78 void setInfoNum(Elf64_Word sh_info) { Header 94 Elf64_Shdr Header; global() member in Ice::ELFSection [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
H A D | WinCOFFObjectWriter.cpp | 113 COFF::section Header = {}; member in __anon24263::COFFSection 137 COFF::header Header = {}; member in __anon24263::WinCOFFObjectWriter 156 memset(&Header, 0, sizeof(Header)); 157 Header.Machine = TargetObjectWriter->getMachine(); 183 void WriteFileHeader(const COFF::header &Header); 238 Header.Machine = TargetObjectWriter->getMachine(); in WinCOFFObjectWriter() 318 Section->Header.Characteristics = MCSec.getCharacteristics(); in defineSection() 319 Section->Header.Characteristics |= getAlignment(MCSec); in defineSection() 447 std::memcpy(S.Header in SetSectionName() 482 WriteFileHeader(const COFF::header &Header) WriteFileHeader() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
H A D | MCDwarf.h | 278 MCDwarfLineTableHeader Header; member in llvm::MCDwarfDwoLineTable 285 if (!Header.RootFile.Name.empty()) in maybeSetRootFile() 287 Header.setRootFile(Directory, FileName, Checksum, Source); in maybeSetRootFile() 294 return cantFail(Header.tryGetFile(Directory, FileName, Checksum, Source, in getFile() 303 MCDwarfLineTableHeader Header; member in llvm::MCDwarfLineTable 328 Header.CompilationDir = Directory; in setRootFile() 329 Header.RootFile.Name = FileName; in setRootFile() 330 Header.RootFile.DirIndex = 0; in setRootFile() 331 Header.RootFile.Checksum = Checksum; in setRootFile() 332 Header in setRootFile() [all...] |
/third_party/gn/src/gn/ |
H A D | immutable_vector.h | 84 struct Header { struct in ImmutableVectorView 89 ImmutableVectorView(Header* header) : header_(header) {} in ImmutableVectorView() 91 Header* header_ = nullptr; 213 using Header = typename ImmutableVectorView<T>::Header; 216 static constexpr size_t kAlignment = alignof(T) > alignof(Header) 218 : alignof(Header); 222 static Header* AllocateFor(size_t count) { in AllocateFor() 226 auto* header = reinterpret_cast<Header*>( in AllocateFor() 227 Allocator::Alloc(sizeof(Header) in AllocateFor() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrMemoryPool.cpp | 62 static_assert(alignof(Header) <= kAlignment); in allocate() 65 SkBlockAllocator::ByteRange alloc = fAllocator.allocate<kAlignment, sizeof(Header)>(size); in allocate() 68 Header* header = static_cast<Header*>(alloc.fBlock->ptr(alloc.fAlignedOffset - sizeof(Header))); in allocate() 97 Header* header = reinterpret_cast<Header*>(reinterpret_cast<intptr_t>(p) - sizeof(Header)); in release()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
H A D | MachOUniversal.h | 41 MachO::fat_arch Header; member in llvm::object::MachOUniversalBinary::ObjectForArch 59 return Header.cputype; in getCPUType() 65 return Header.cpusubtype; in getCPUSubType() 71 return Header.offset; in getOffset() 77 return Header.size; in getSize() 83 return Header.align; in getAlign() 97 MachOObjectFile::getArchTriple(Header.cputype, Header.cpusubtype, in getArchFlagName()
|