/external/llvm-project/lldb/include/lldb/Host/ |
D | File.h | 374 class NativeFile : public File { 376 NativeFile() in NativeFile() function 380 NativeFile(FILE *fh, bool transfer_ownership) in NativeFile() function 384 NativeFile(int fd, OpenOptions options, bool transfer_ownership) in NativeFile() function 388 ~NativeFile() override { Close(); } in ~NativeFile() 432 NativeFile(const NativeFile &) = delete; 433 const NativeFile &operator=(const NativeFile &) = delete;
|
/external/llvm-project/lldb/source/Host/common/ |
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() 332 Status NativeFile::GetFileSpec(FileSpec &file_spec) const { in GetFileSpec() 368 off_t NativeFile::SeekFromStart(off_t offset, Status *error_ptr) { in SeekFromStart() 394 off_t NativeFile::SeekFromCurrent(off_t offset, Status *error_ptr) { in SeekFromCurrent() 420 off_t NativeFile::SeekFromEnd(off_t offset, Status *error_ptr) { in SeekFromEnd() 446 Status NativeFile::Flush() { in Flush() [all …]
|
D | FileSystem.cpp | 471 new NativeFile(descriptor, options, should_close_fd)); in Open()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TestFS.cpp | 85 llvm::SmallString<32> NativeFile = File; in testPath() local 86 llvm::sys::path::native(NativeFile, Style); in testPath() 88 llvm::sys::path::append(Path, Style, testRoot(), NativeFile); in testPath()
|
/external/llvm-project/lldb/source/Core/ |
D | StreamFile.cpp | 25 std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, transfer_ownership); in StreamFile() 29 m_file_sp = std::make_shared<NativeFile>(fh, transfer_ownership); in StreamFile()
|
D | Debugger.cpp | 661 m_input_file_sp(std::make_shared<NativeFile>(stdin, false)), in Debugger() 976 in = std::make_shared<NativeFile>(stdin, false); in AdoptTopIOHandlerFilesIfInvalid()
|
/external/llvm-project/lldb/unittests/Host/ |
D | FileTest.cpp | 34 NativeFile file(stream, true); in TEST() 49 NativeFile file(fd, File::eOpenOptionWrite, true); in TEST()
|
/external/llvm-project/lldb/source/Host/posix/ |
D | ConnectionFileDescriptorPosix.cpp | 90 m_write_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, owns_fd); in ConnectionFileDescriptor() 91 m_read_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionRead, false); in ConnectionFileDescriptor() 223 std::make_shared<NativeFile>(fd, File::eOpenOptionRead, false); in Connect() 225 std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, false); in Connect() 274 m_read_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionRead, true); in Connect() 275 m_write_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, false); in Connect()
|
/external/llvm-project/lldb/source/API/ |
D | SBFile.cpp | 43 m_opaque_sp = std::make_shared<NativeFile>(file, transfer_ownership); in SBFile() 56 std::make_shared<NativeFile>(fd, options.get(), transfer_owndership); in SBFile()
|
D | SBCommandReturnObject.cpp | 274 FileSP file = std::make_shared<NativeFile>(fh, transfer_ownership); in SetImmediateOutputFile() 282 FileSP file = std::make_shared<NativeFile>(fh, transfer_ownership); in SetImmediateErrorFile()
|
D | SBStream.cpp | 119 FileSP file = std::make_unique<NativeFile>(fh, transfer_fh_ownership); in RedirectToFileHandle()
|
D | SBDebugger.cpp | 294 SetInputFile((FileSP)std::make_shared<NativeFile>(fh, transfer_ownership)); in SetInputFileHandle() 330 file_sp = std::make_shared<NativeFile>(fh, true); in SetInputFile() 351 SetOutputFile((FileSP)std::make_shared<NativeFile>(fh, transfer_ownership)); in SetOutputFileHandle() 372 SetErrorFile((FileSP)std::make_shared<NativeFile>(fh, transfer_ownership)); in SetErrorFileHandle() 536 FileSP outfile = std::make_shared<NativeFile>(out, false); in HandleProcessEvent() 537 FileSP errfile = std::make_shared<NativeFile>(err, false); in HandleProcessEvent()
|
D | SBInstruction.cpp | 261 FileSP out = std::make_shared<NativeFile>(outp, /*take_ownership=*/false); in Print()
|
D | SBProcess.cpp | 345 FileSP outfile = std::make_shared<NativeFile>(out, false); in ReportEventState()
|
/external/llvm-project/lldb/test/API/api/multithreaded/ |
D | test_stop-hook.cpp.template | 73 // NativeFile class:
|
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunicationServerCommon.cpp | 553 NativeFile file(fd, File::OpenOptions(0), true); in Handle_vFile_Close() 584 NativeFile file(fd, File::eOpenOptionRead, false); in Handle_vFile_pRead() 616 NativeFile file(fd, File::eOpenOptionWrite, false); in Handle_vFile_pWrite()
|
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
D | PythonDataObjects.cpp | 1194 class SimplePythonFile : public OwnedPythonFile<NativeFile> { 1202 return classID == &ID || NativeFile::isA(classID); in isA() 1428 file_sp = std::make_shared<NativeFile>(fd, options.get(), false); in ConvertToFile()
|
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/objcxx/ |
D | PlatformiOSSimulatorCoreSimulatorSupport.mm | 435 file = std::make_shared<NativeFile>(created_fd, file_options, true);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/ |
D | Path.inc | 1202 Expected<HANDLE> NativeFile = openNativeFileForRead(Name, Flags, RealPath); 1203 return nativeFileToFd(std::move(NativeFile), ResultFD, OF_None);
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangExpressionParser.cpp | 1061 lldb_private::NativeFile file(temp_fd, File::eOpenOptionWrite, true); in ParseInternal()
|
/external/llvm-project/llvm/lib/Support/Windows/ |
D | Path.inc | 1222 Expected<HANDLE> NativeFile = openNativeFileForRead(Name, Flags, RealPath); 1223 return nativeFileToFd(std::move(NativeFile), ResultFD, OF_None);
|
/external/llvm-project/lldb/source/Target/ |
D | Process.cpp | 4564 NativeFile m_read_file; // Read from this file (usually actual STDIN for LLDB 4565 NativeFile m_write_file; // Write to this file (usually the master pty for
|