Searched refs:File (Results 1 - 25 of 437) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/lld/lib/Core/
H A DFile.cpp1 //===- Core/File.cpp - A Container of Atoms -------------------------------===//
9 #include "lld/Core/File.h"
14 File::~File() = default;
16 File::AtomVector<DefinedAtom> File::_noDefinedAtoms;
17 File::AtomVector<UndefinedAtom> File::_noUndefinedAtoms;
18 File::AtomVector<SharedLibraryAtom> File
[all...]
H A DLinkingContext.cpp10 #include "lld/Core/File.h"
26 llvm::Error LinkingContext::writeFile(const File &linkedFile) const {
30 std::unique_ptr<File> LinkingContext::createEntrySymbolFile() const {
34 std::unique_ptr<File>
39 File::kindEntryObject));
45 std::unique_ptr<File> LinkingContext::createUndefinedSymbolFile() const {
49 std::unique_ptr<File>
54 new SimpleFile(filename, File::kindUndefinedSymsObject));
62 std::vector<std::unique_ptr<File>> &result) const {
63 if (std::unique_ptr<File> fil
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/Core/
H A DArchiveLibraryFile.h12 #include "lld/Core/File.h"
18 /// The ArchiveLibraryFile subclass of File is used to represent unix
24 /// object file File is returned.
26 class ArchiveLibraryFile : public File {
28 static bool classof(const File *f) {
33 /// specified name and return the File object for that member, or nullptr.
34 virtual File *find(StringRef name) = 0;
37 parseAllMembers(std::vector<std::unique_ptr<File>> &result) = 0;
41 ArchiveLibraryFile(StringRef path) : File(path, kindArchiveLibrary) {}
H A DWriter.h1 //===- lld/Core/Writer.h - Abstract File Format Interface -----------------===//
18 class File;
29 /// Write a file from the supplied File object
30 virtual llvm::Error writeFile(const File &linkedFile, StringRef path) = 0;
35 virtual void createImplicitFiles(std::vector<std::unique_ptr<File>> &) {}
H A DResolver.h13 #include "lld/Core/File.h"
44 llvm::Expected<bool> handleFile(File &);
47 llvm::Expected<bool> handleArchiveFile(File &);
50 llvm::Error handleSharedLibrary(File &);
61 File *getFile(int &index);
69 llvm::Expected<bool> forEachUndefines(File &file, UndefCallback callback);
89 std::vector<File *> _files;
90 std::map<File *, bool> _newUndefinesAdded;
100 std::map<File *, size_t> _undefineIndex;
H A DNode.h18 #include "lld/Core/File.h"
29 enum class Kind { File, GroupEnd }; member in class:lld::Node::Kind
56 // A container of File.
59 explicit FileNode(std::unique_ptr<File> f)
60 : Node(Node::Kind::File), _file(std::move(f)) {}
63 return a->kind() == Node::Kind::File;
66 File *getFile() { return _file.get(); }
69 std::unique_ptr<File> _file;
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DStreamFile.h12 #include "lldb/Host/File.h"
28 StreamFile(const char *path, File::OpenOptions options,
33 StreamFile(std::shared_ptr<File> file) : m_file_sp(file) { assert(file); };
37 File &GetFile() { return *m_file_sp; }
39 const File &GetFile() const { return *m_file_sp; }
41 std::shared_ptr<File> GetFileSP() { return m_file_sp; }
47 std::shared_ptr<File> m_file_sp; // never NULL
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DLineEntry.h24 uint32_t File; ///< 1 based index of file in FileTable member in struct:llvm::gsym::LineEntry
27 : Addr(A), File(F), Line(L) {}
28 bool isValid() { return File != 0; }
32 return OS << "addr=" << HEX64(LE.Addr) << ", file=" << format("%3u", LE.File)
37 return LHS.Addr == RHS.Addr && LHS.File == RHS.File && LHS.Line == RHS.Line;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPCallbacks.cpp18 bool IsAngled, Optional<FileEntryRef> File,
25 bool IsAngled, Optional<FileEntryRef> File,
27 First->HasInclude(Loc, FileName, IsAngled, File, FileType);
28 Second->HasInclude(Loc, FileName, IsAngled, File, FileType);
17 HasInclude(SourceLocation Loc, StringRef FileName, bool IsAngled, Optional<FileEntryRef> File, SrcMgr::CharacteristicKind FileType) argument
24 HasInclude(SourceLocation Loc, StringRef FileName, bool IsAngled, Optional<FileEntryRef> File, SrcMgr::CharacteristicKind FileType) argument
/freebsd-13-stable/usr.sbin/crunch/crunchgen/
H A Dmkskel.sh5 /* File created via mkskel.sh */
/freebsd-13-stable/sys/contrib/dev/acpica/common/
H A Dcmfsize.c164 * PARAMETERS: File - Open file descriptor
166 * RETURN: File Size. On error, -1 (ACPI_UINT32_MAX)
168 * DESCRIPTION: Get the size of a file. Uses seek-to-EOF. File must be open.
175 ACPI_FILE File)
184 CurrentOffset = ftell (File);
190 Status = fseek (File, 0, SEEK_END);
196 FileSize = ftell (File);
204 Status = fseek (File, CurrentOffset, SEEK_SET);
174 CmGetFileSize( ACPI_FILE File) argument
H A Dacfileio.c167 FILE *File,
229 FILE *File; local
235 File = fopen (Filename, "rb");
236 if (!File)
249 FileSize = CmGetFileSize (File);
270 if (!AcIsFileBinary (File))
273 " %s: File does not appear to contain a valid AML table\n",
286 Filename, File, GetOnlyAmlTables, &Table);
355 fclose(File);
364 * PARAMETERS: Filename - File wher
380 AcGetOneTableFromFile( char *Filename, FILE *File, UINT8 GetOnlyAmlTables, ACPI_TABLE_HEADER **ReturnTable) argument
489 AcIsFileBinary( FILE *File) argument
538 AcValidateTableHeader( FILE *File, long TableOffset) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp116 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) {
118 support::ulittle32_t(File.allocateBytes(Data))};
121 static size_t layout(BlobAllocator &File, MinidumpYAML::ExceptionStream &S) {
122 File.allocateObject(S.MDExceptionStream);
124 size_t DataEnd = File.tell();
133 S.MDExceptionStream.ThreadContext = layout(File, S.ThreadContext);
138 static void layout(BlobAllocator &File, MemoryListStream::entry_type &Range) {
139 Range.Entry.Memory = layout(File, Range.Content);
142 static void layout(BlobAllocator &File, ModuleListStream::entry_type &M) {
143 M.Entry.ModuleNameRVA = File
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFImportDumper.cpp23 void dumpCOFFImportFile(const COFFImportFile *File, ScopedPrinter &Writer) { argument
25 Writer.printString("File", File->getFileName());
28 const coff_import_header *H = File->getCOFFImportHeader();
50 for (const object::BasicSymbolRef &Sym : File->symbols()) {
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/ReaderWriter/
H A DYamlContext.h18 class File;
35 File *_file = nullptr;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_termination.cpp35 void NORETURN CheckFailed(const char *File, int Line, const char *Condition, argument
38 File, Line, Condition, Value1, Value2);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfile.h27 SampleProfileLoaderPass(std::string File = "", std::string RemappingFile = "",
29 : ProfileFileName(File), ProfileRemappingFileName(RemappingFile),
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DSymbolRemappingReader.h18 // File format
71 SymbolRemappingParseError(StringRef File, int64_t Line, Twine Message) argument
72 : File(File), Line(Line), Message(Message.str()) {}
75 OS << File << ':' << Line << ": " << Message;
81 StringRef getFileName() const { return File; }
88 std::string File; member in class:llvm::SymbolRemappingParseError
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TextAPI/MachO/
H A DTextStub.cpp290 "File type is not set in YAML context");
312 "File type is not set in YAML context");
435 NormalizedTBD(IO &IO, const InterfaceFile *&File) { argument
436 Architectures = File->getArchitectures();
437 UUIDs = File->uuids();
438 Platforms = File->getPlatforms();
439 InstallName = File->getInstallName();
440 CurrentVersion = PackedVersion(File->getCurrentVersion());
441 CompatibilityVersion = PackedVersion(File->getCompatibilityVersion());
442 SwiftABIVersion = File
616 auto *File = new InterfaceFile; local
761 mapping(IO &IO, const InterfaceFile *&File) argument
804 NormalizedTBD_V4(IO &IO, const InterfaceFile *&File) argument
911 auto *File = new InterfaceFile; local
1021 mapKeysToValues(FileType FileKind, IO &IO, const InterfaceFile *&File) argument
1051 mapKeysToValuesV4(IO &IO, const InterfaceFile *&File) argument
1095 auto *File = static_cast<TextAPIContext *>(Context); local
1120 auto File = std::unique_ptr<InterfaceFile>( local
1133 writeToStream(raw_ostream &OS, const InterfaceFile &File) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp38 PDBFile &File; member in class:llvm::pdb::__anon3629::final
42 PDBFile &File, const PDBStringTable &Strings)
43 : Entry(Entry), Strings(Strings), File(File) {}
78 auto ExpectedFileStream = File.safelyCreateNamedStream(StreamName);
96 PDBFile &File, const InjectedSourceStream &IJS,
98 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {}
109 File, Strings);
115 return std::make_unique<NativeInjectedSource>((Cur++)->second, File, String
41 NativeInjectedSource(const SrcHeaderBlockEntry &Entry, PDBFile &File, const PDBStringTable &Strings) argument
95 NativeEnumInjectedSources( PDBFile &File, const InjectedSourceStream &IJS, const PDBStringTable &Strings) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp85 BytesOutputStyle::BytesOutputStyle(PDBFile &File) argument
86 : File(File), P(2, false, outs()) {}
98 if (Max >= File.getBlockCount())
109 uint32_t Max = R.Max.getValueOr(File.getFileSize());
114 if (Max >= File.getFileSize())
201 auto &InfoS = Err(File.getPDBInfoStream());
203 auto Layout = File.getStreamLayout(StreamPDB);
204 P.formatMsfStreamData("Named Stream Map", File, Layout, NS);
213 Base *= File
323 iterateOneModule(PDBFile &File, LinePrinter &P, const DbiModuleList &Modules, uint32_t I, uint32_t Digits, uint32_t IndentLevel, CallbackT Callback) argument
354 iterateModules(PDBFile &File, LinePrinter &P, uint32_t IndentLevel, CallbackT Callback) argument
[all...]
H A DTypeReferenceTracker.cpp30 TypeReferenceTracker::TypeReferenceTracker(InputFile &File) argument
31 : File(File), Types(File.types()),
32 Ids(File.isPdb() ? &File.ids() : nullptr) {
44 if (File.isPdb()) {
45 Tpi = &cantFail(File.pdb().getPDBTpiStream());
55 for (SymbolGroup SG : File.symbol_groups()) {
56 if (File
[all...]
/freebsd-13-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutbuffer.c351 * PARAMETERS: File - File descriptor
369 ACPI_FILE File,
383 fprintf (File, "Null Buffer Pointer in DumpBuffer!\n");
398 fprintf (File, "%8.4X: ", (BaseOffset + i));
408 fprintf (File, "%*s", ((Display * 2) + 1), " ");
418 fprintf (File, "%02X ", Buffer[(ACPI_SIZE) i + j]);
424 fprintf (File, "%04X ", Temp32);
430 fprintf (File, "%08X ", Temp32);
436 fprintf (File, "
368 AcpiUtDumpBufferToFile( ACPI_FILE File, UINT8 *Buffer, UINT32 Count, UINT32 Display, UINT32 BaseOffset) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderMap.h34 HeaderMapImpl(std::unique_ptr<const llvm::MemoryBuffer> File, bool NeedsBSwap) argument
35 : FileBuffer(std::move(File)), NeedsBSwap(NeedsBSwap) {}
38 static bool checkHeader(const llvm::MemoryBuffer &File, bool &NeedsByteSwap);
66 HeaderMap(std::unique_ptr<const llvm::MemoryBuffer> File, bool BSwap) argument
67 : HeaderMapImpl(std::move(File), BSwap) {}
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DTapiUniversal.cpp33 auto FlattenObjectInfo = [this](const auto &File) {
34 StringRef Name = File->getInstallName();
35 for (const Architecture Arch : File->getArchitectures())
41 for (const std::shared_ptr<InterfaceFile> &File : ParsedFile->documents())
42 FlattenObjectInfo(File);

Completed in 109 milliseconds

1234567891011>>