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

Declarations

tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
   66 class PythonString;

References

gen/tools/lldb/scripts/LLDBWrapPython.cpp
16638     else if (PythonString::Check(obj1))
16640       PythonString py_str(PyRefType::Borrowed, obj1);
19365     if (PythonString::Check(obj2)) {
19366       PythonString str(PyRefType::Borrowed, obj2);
22979         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
22979         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
23077     if (PythonString::Check(obj1)) {
23078       PythonString str(PyRefType::Borrowed, obj1);
25670     if (PythonString::Check(obj1)) {
25671       PythonString str(PyRefType::Borrowed, obj1);
34827         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
34827         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
35288         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
35288         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
35416         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
35416         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
43716     if (PythonString::Check(obj1)) {
43717       PythonString str(PyRefType::Borrowed, obj1);
43786       PythonString string("");
43791       PythonString string(ref);
43840       PythonString string("");
43845       PythonString string(ref);
43894       PythonString string("");
43899       PythonString string(ref);
44230         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
44230         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
44255         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
44255         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
45313     if (PythonString::Check(obj2)) {
45314       PythonString str(PyRefType::Borrowed, obj2);
45412       PythonString string("");
45417       PythonString string(ref);
49606         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
49606         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
49722             PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
49722             PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
50588       PythonString string("");
50593       PythonString string(ref);
52968         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
52968         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
52993         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
52993         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
53111         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
53111         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
53136         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
53136         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
53283               PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
53283               PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
53303                 PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
53303                 PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
56330         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
56330         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
56422         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
56422         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
56523         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
56523         PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
56609             PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
56609             PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
56653             PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
56653             PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
56703             PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
56703             PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
59170     if (PythonString::Check(obj2)) {
59171       PythonString str(PyRefType::Borrowed, obj2);
59247     if (PythonString::Check(obj3)) {
59248       PythonString str(PyRefType::Borrowed, obj3);
60370       PythonString string("");
60375       PythonString string(ref);
80330     PythonString str(callee_name);
include/llvm/Support/AlignOf.h
   30   T t;
   39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
   50       llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/Error.h
  437   static const bool isRef = std::is_reference<T>::value;
  439   using wrap = std::reference_wrapper<typename std::remove_reference<T>::type>;
  444   using storage_type = typename std::conditional<isRef, wrap, T>::type;
  445   using value_type = T;
  448   using reference = typename std::remove_reference<T>::type &;
  449   using const_reference = const typename std::remove_reference<T>::type &;
  450   using pointer = typename std::remove_reference<T>::type *;
  451   using const_pointer = const typename std::remove_reference<T>::type *;
  474   Expected(OtherT &&Val,
  475            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  475            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  483     new (getStorage()) storage_type(std::forward<OtherT>(Val));
  492   Expected(Expected<OtherT> &&Other,
  493            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  493            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  594   template <class OtherT> void moveConstruct(Expected<OtherT> &&Other) {
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
   59   auto str = Take<PythonString>(str_obj);
   59   auto str = Take<PythonString>(str_obj);
  104   if (PythonString::Check(m_py_obj))
  123 PythonString PythonObject::Repr() const {
  132 PythonString PythonObject::Str() const {
  188   PythonString py_attr(attr);
  196   PythonString py_attr(attr);
  316 Expected<PythonString> PythonString::FromUTF8(llvm::StringRef string) {
  324   return Take<PythonString>(str);
 1095   PythonString py_mode = obj.GetAttributeValue("mode").AsType<PythonString>();
 1095   PythonString py_mode = obj.GetAttributeValue("mode").AsType<PythonString>();
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
  128 template <typename T> T Take(PyObject *obj) {
  131   T thing(PyRefType::Owned, obj);
  273   PythonString Repr() const;
  275   PythonString Str() const;
  304   template <typename T> T AsType() const {
  305     if (!T::Check(m_py_obj))
  415     T::Convert(type, py_obj);
  416     if (T::Check(py_obj))
  460 class PythonString : public TypedPythonObject<PythonString> {
  463   static llvm::Expected<PythonString> FromUTF8(llvm::StringRef string);
  655   PythonObject operator()(const Arg &arg, Args... args) {
  655   PythonObject operator()(const Arg &arg, Args... args) {
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
 2540   if (py_return.IsAllocated() && PythonString::Check(py_return.get())) {
 2541     PythonString py_string(PyRefType::Borrowed, py_return.get());
 3049   if (py_return.IsAllocated() && PythonString::Check(py_return.get())) {
 3050     PythonString py_string(PyRefType::Borrowed, py_return.get());
 3160   if (py_return.IsAllocated() && PythonString::Check(py_return.get())) {
 3161     PythonString str(PyRefType::Borrowed, py_return.get());
tools/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
  267   PythonString python_string(PyRefType::Owned, py_string);
  282   PythonString constructed_string(test_string2);
  289   PythonString str(GetString);
  292   PythonString str_str = str.Str();
  307   PythonString constructed_string(test_string);
  340   PythonString chk_str(PyRefType::Borrowed, chk_value2.get());
  355   PythonString string(string_value1);
  368   PythonString chk_str(PyRefType::Borrowed, chk_value2.get());
  407   PythonString string_value("Test");
  421   PythonString string_value("Test");
  433   PythonString string_value("Test");
  446   PythonString string_value("Test");
  491   PythonString chk_str(PyRefType::Borrowed, chk_value2.get());
  507   PythonString keys[dict_entries];
  528   PythonString chk_str(PyRefType::Borrowed, chk_value2.get());
  569   PythonString two("two");
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
   98     move(_Tp&& __t) noexcept
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
  762     typename add_rvalue_reference<_Tp>::type declval() noexcept;
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1545     : public __is_convertible_helper<_From, _To>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1659     { typedef _Tp&&   type; };
 1664     : public __add_rvalue_reference_helper<_Tp>
 2171     { typedef _Iffalse type; };