reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
 1104 template <typename Base> class OwnedPythonFile : public Base {

References

tools/lldb/source/API/SBCommandReturnObject.cpp
  274   FileSP file = std::make_shared<NativeFile>(fh, transfer_ownership);
  282   FileSP file = std::make_shared<NativeFile>(fh, transfer_ownership);
tools/lldb/source/API/SBDebugger.cpp
  292   SetInputFile((FileSP)std::make_shared<NativeFile>(fh, transfer_ownership));
  327       file_sp = std::make_shared<NativeFile>(fh, true);
  348   SetOutputFile((FileSP)std::make_shared<NativeFile>(fh, transfer_ownership));
  369   SetErrorFile((FileSP)std::make_shared<NativeFile>(fh, transfer_ownership));
  533   FileSP outfile = std::make_shared<NativeFile>(out, false);
  534   FileSP errfile = std::make_shared<NativeFile>(err, false);
tools/lldb/source/API/SBFile.cpp
   27   m_opaque_sp = std::make_shared<NativeFile>(file, transfer_ownership);
   39       std::make_shared<NativeFile>(fd, options.get(), transfer_owndership);
tools/lldb/source/API/SBInstruction.cpp
  261   FileSP out = std::make_shared<NativeFile>(outp, /*take_ownership=*/false);
tools/lldb/source/API/SBProcess.cpp
  344   FileSP outfile = std::make_shared<NativeFile>(out, false);
tools/lldb/source/API/SBStream.cpp
  112   FileSP file = std::make_unique<NativeFile>(fh, transfer_fh_ownership);
tools/lldb/source/Core/Debugger.cpp
  701       m_input_file_sp(std::make_shared<NativeFile>(stdin, false)),
  983       in = std::make_shared<NativeFile>(stdin, false);
tools/lldb/source/Core/StreamFile.cpp
   28       std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, transfer_ownership);
   32   m_file_sp = std::make_shared<NativeFile>(fh, transfer_ownership);
tools/lldb/source/Host/common/FileSystem.cpp
  440       new NativeFile(descriptor, options, should_close_fd));
tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
   89   m_write_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, owns_fd);
   90   m_read_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionRead, false);
  222                 std::make_shared<NativeFile>(fd, File::eOpenOptionRead, false);
  224                 std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, false);
  273       m_read_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionRead, true);
  274       m_write_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, false);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  916       lldb_private::NativeFile file(temp_fd, File::eOpenOptionWrite, true);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  554     NativeFile file(fd, File::OpenOptions(0), true);
  585       NativeFile file(fd, File::eOpenOptionRead, false);
  617         NativeFile file(fd, File::eOpenOptionWrite, false);
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
 1104 template <typename Base> class OwnedPythonFile : public Base {
 1166 class SimplePythonFile : public OwnedPythonFile<NativeFile> {
 1400     file_sp = std::make_shared<NativeFile>(fd, options.get(), false);
tools/lldb/source/Target/Process.cpp
 4425   NativeFile m_read_file;  // Read from this file (usually actual STDIN for LLDB
 4426   NativeFile m_write_file; // Write to this file (usually the master pty for
tools/lldb/unittests/Host/FileTest.cpp
   34   NativeFile file(stream, true);
   49   NativeFile file(fd, File::eOpenOptionWrite, true);
usr/include/c++/7.4.0/bits/alloc_traits.h
  387       using allocator_type = allocator<_Tp>;
  389       using value_type = _Tp;
  392       using pointer = _Tp*;
  395       using const_pointer = const _Tp*;
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  486 	destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h
  108     class allocator: public __allocator_base<_Tp>
  113       typedef _Tp*       pointer;
  114       typedef const _Tp* const_pointer;
  115       typedef _Tp&       reference;
  116       typedef const _Tp& const_reference;
  117       typedef _Tp        value_type;
  137 	allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
usr/include/c++/7.4.0/bits/shared_ptr.h
   93     class shared_ptr : public __shared_ptr<_Tp>
  107       using element_type = typename __shared_ptr<_Tp>::element_type;
  236 	shared_ptr(const shared_ptr<_Yp>& __r) noexcept
  253 	shared_ptr(shared_ptr<_Yp>&& __r) noexcept
  277 	shared_ptr(unique_ptr<_Yp, _Del>&& __r)
  299 	_Assignable<const shared_ptr<_Yp>&>
  300 	operator=(const shared_ptr<_Yp>& __r) noexcept
  324 	_Assignable<shared_ptr<_Yp>>
  325 	operator=(shared_ptr<_Yp>&& __r) noexcept
  352       shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
  687     inline shared_ptr<_Tp>
  702     inline shared_ptr<_Tp>
  705       typedef typename std::remove_const<_Tp>::type _Tp_nc;
  706       return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
usr/include/c++/7.4.0/bits/shared_ptr_base.h
  653 	__shared_count(std::unique_ptr<_Tp, _Del>&& __r) : _M_pi(0)
  660 	  using _Ptr = typename unique_ptr<_Tp, _Del>::pointer;
  882     : is_convertible<_Yp*, _Tp*>::type
  882     : is_convertible<_Yp*, _Tp*>::type
  956       using element_type = _Tp;
 1035     : public __shared_ptr_access<_Tp, _Lp>
 1038       using element_type = typename remove_extent<_Tp>::type;
 1126 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1138 	__shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1157 	__shared_ptr(unique_ptr<_Yp, _Del>&& __r)
 1192 	_Assignable<_Yp>
 1193 	operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1218 	_Assignable<_Yp>
 1219 	operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1272       swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
 1321 	    rebind_traits<typename std::remove_cv<_Tp>::type> __traits;
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1377 	typename enable_if<!__has_esft_base<_Yp2>::value>::type
 1378 	_M_enable_shared_from_this_with(_Yp*) noexcept
 1386 	static _Tp1*
 1387 	_S_raw_ptr(_Tp1* __ptr)
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/ext/new_allocator.h
   63       typedef _Tp*       pointer;
   64       typedef const _Tp* const_pointer;
   65       typedef _Tp&       reference;
   66       typedef const _Tp& const_reference;
   67       typedef _Tp        value_type;
   84 	new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
  111 	return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  130       { return size_t(-1) / sizeof(_Tp); }
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  140 	destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1942     { typedef _Tp     type; };