| /openbsd-src/gnu/llvm/lldb/include/lldb/Host/ |
| H A D | File.h | 378 class NativeFile : public File { 380 NativeFile() : m_descriptor(kInvalidDescriptor), m_stream(kInvalidStream) {} in NativeFile() function 382 NativeFile(FILE *fh, bool transfer_ownership) in NativeFile() function 386 NativeFile(int fd, OpenOptions options, bool transfer_ownership) in NativeFile() function 390 ~NativeFile() override { Close(); } in ~NativeFile() 434 NativeFile(const NativeFile &) = delete; 435 const NativeFile &operator=(const NativeFile &) = delete; 438 class SerialPort : public NativeFile { 456 return NativeFile::IsValid() && m_is_interactive == eLazyBoolYes; in IsValid()
|
| /openbsd-src/gnu/llvm/lldb/source/Host/common/ |
| H A D | File.cpp | 249 Expected<File::OpenOptions> NativeFile::GetOptions() const { return m_options; } in GetOptions() 251 int NativeFile::GetDescriptor() const { in GetDescriptor() 269 IOObject::WaitableHandle NativeFile::GetWaitableHandle() { in GetWaitableHandle() 273 FILE *NativeFile::GetStream() { in GetStream() 307 Status NativeFile::Close() { in Close() 338 Status NativeFile::GetFileSpec(FileSpec &file_spec) const { in GetFileSpec() 374 off_t NativeFile::SeekFromStart(off_t offset, Status *error_ptr) { in SeekFromStart() 400 off_t NativeFile::SeekFromCurrent(off_t offset, Status *error_ptr) { in SeekFromCurrent() 426 off_t NativeFile::SeekFromEnd(off_t offset, Status *error_ptr) { in SeekFromEnd() 452 Status NativeFile::Flush() { in Flush() [all …]
|
| H A D | FileSystem.cpp | 468 new NativeFile(descriptor, options, should_close_fd)); in Open()
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | StreamFile.cpp | 25 m_file_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionWriteOnly, in StreamFile() 30 m_file_sp = std::make_shared<NativeFile>(fh, transfer_ownership); in StreamFile()
|
| H A D | Debugger.cpp | 762 m_input_file_sp(std::make_shared<NativeFile>(stdin, false)), in Debugger() 939 SetInputFile((FileSP)std::make_shared<NativeFile>(commands_file, true)); in SetInputString() 1115 in = std::make_shared<NativeFile>(stdin, false); in AdoptTopIOHandlerFilesIfInvalid()
|
| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBFile.cpp | 42 m_opaque_sp = std::make_shared<NativeFile>(file, transfer_ownership); in SBFile() 54 std::make_shared<NativeFile>(fd, options.get(), transfer_owndership); in SBFile()
|
| H A D | SBCommandReturnObject.cpp | 257 FileSP file = std::make_shared<NativeFile>(fh, transfer_ownership); in SetImmediateOutputFile() 264 FileSP file = std::make_shared<NativeFile>(fh, transfer_ownership); in SetImmediateErrorFile()
|
| H A D | SBStream.cpp | 118 FileSP file = std::make_unique<NativeFile>(fh, transfer_fh_ownership); in RedirectToFileHandle()
|
| H A D | SBDebugger.cpp | 354 (FileSP)std::make_shared<NativeFile>(fh, transfer_ownership)); in SetInputFileHandle() 411 SetOutputFile((FileSP)std::make_shared<NativeFile>(fh, transfer_ownership)); in SetOutputFileHandle() 431 SetErrorFile((FileSP)std::make_shared<NativeFile>(fh, transfer_ownership)); in SetErrorFileHandle() 611 FileSP outfile = std::make_shared<NativeFile>(out, false); in HandleProcessEvent() 612 FileSP errfile = std::make_shared<NativeFile>(err, false); in HandleProcessEvent()
|
| H A D | SBInstruction.cpp | 272 FileSP out = std::make_shared<NativeFile>(outp, /*take_ownership=*/false); in Print()
|
| H A D | SBProcess.cpp | 307 FileSP outfile = std::make_shared<NativeFile>(out, false); in ReportEventState()
|
| /openbsd-src/gnu/llvm/lldb/source/Host/posix/ |
| H A D | ConnectionFileDescriptorPosix.cpp | 67 std::make_shared<NativeFile>(fd, File::eOpenOptionReadWrite, owns_fd); in ConnectionFileDescriptor() 708 std::make_shared<NativeFile>(fd, File::eOpenOptionReadWrite, false); in ConnectFD() 755 m_io_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionReadWrite, true); in ConnectFile()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangUtilityFunction.cpp | 48 lldb_private::NativeFile file(temp_fd, File::eOpenOptionWriteOnly, true); in ClangUtilityFunction()
|
| H A D | ClangExpressionParser.cpp | 1063 lldb_private::NativeFile file(temp_fd, File::eOpenOptionWriteOnly, true); in ParseInternal()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | PythonDataObjects.cpp | 1093 class SimplePythonFile : public OwnedPythonFile<NativeFile> { 1101 return classID == &ID || NativeFile::isA(classID); in isA() 1326 file_sp = std::make_shared<NativeFile>(fd, options.get(), false); in ConvertToFile()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServerCommon.cpp | 556 NativeFile file(fd, File::OpenOptions(0), true); in Handle_vFile_Close() 587 NativeFile file(fd, File::eOpenOptionReadOnly, false); in Handle_vFile_pRead() 620 NativeFile file(fd, File::eOpenOptionWriteOnly, false); in Handle_vFile_pWrite()
|
| /openbsd-src/gnu/llvm/lldb/bindings/lua/ |
| H A D | lua-typemaps.swig | 236 file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/objcxx/ |
| H A D | PlatformiOSSimulatorCoreSimulatorSupport.mm | 432 file = std::make_shared<NativeFile>(created_fd, file_options, true);
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/Windows/ |
| H A D | Path.inc | 1228 Expected<HANDLE> NativeFile = openNativeFileForRead(Name, Flags, RealPath); 1229 return nativeFileToFd(std::move(NativeFile), ResultFD, OF_None);
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | Process.cpp | 4481 NativeFile m_read_file; // Read from this file (usually actual STDIN for LLDB 4482 NativeFile m_write_file; // Write to this file (usually the primary pty for
|
| /openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/ |
| H A D | APItest.xs | 51 typedef FILE NativeFile; in cat_utf8a2n() 4822 #define FILE NativeFile 13 typedef FILE NativeFile; global() typedef
|