Home
last modified time | relevance | path

Searched refs:NativeFile (Results 1 – 21 of 21) sorted by relevance

/openbsd-src/gnu/llvm/lldb/include/lldb/Host/
H A DFile.h378 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 DFile.cpp249 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 DFileSystem.cpp468 new NativeFile(descriptor, options, should_close_fd)); in Open()
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DStreamFile.cpp25 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 DDebugger.cpp762 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 DSBFile.cpp42 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 DSBCommandReturnObject.cpp257 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 DSBStream.cpp118 FileSP file = std::make_unique<NativeFile>(fh, transfer_fh_ownership); in RedirectToFileHandle()
H A DSBDebugger.cpp354 (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 DSBInstruction.cpp272 FileSP out = std::make_shared<NativeFile>(outp, /*take_ownership=*/false); in Print()
H A DSBProcess.cpp307 FileSP outfile = std::make_shared<NativeFile>(out, false); in ReportEventState()
/openbsd-src/gnu/llvm/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp67 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 DClangUtilityFunction.cpp48 lldb_private::NativeFile file(temp_fd, File::eOpenOptionWriteOnly, true); in ClangUtilityFunction()
H A DClangExpressionParser.cpp1063 lldb_private::NativeFile file(temp_fd, File::eOpenOptionWriteOnly, true); in ParseInternal()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp1093 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 DGDBRemoteCommunicationServerCommon.cpp556 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 Dlua-typemaps.swig236 file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false);
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/objcxx/
H A DPlatformiOSSimulatorCoreSimulatorSupport.mm432 file = std::make_shared<NativeFile>(created_fd, file_options, true);
/openbsd-src/gnu/llvm/llvm/lib/Support/Windows/
H A DPath.inc1228 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 DProcess.cpp4481 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 DAPItest.xs51 typedef FILE NativeFile; in cat_utf8a2n()
4822 #define FILE NativeFile
13 typedef FILE NativeFile; global() typedef