/gem5/src/sim/ |
H A D | main.cc | 49 std::unique_ptr<wchar_t[], decltype(&PyMem_RawFree)> program(
|
H A D | serialize.hh | 655 scalar = static_cast<decltype(scalar)>(tmp); \ 687 objptr = dynamic_cast<decltype(objptr)>(sptr); \
|
H A D | init.cc | 272 typedef std::unique_ptr<wchar_t[], decltype(&PyMem_RawFree)> WArgUPtr;
|
H A D | syscall_emul.hh | 1807 pmap = (decltype(pmap))mmap(nullptr, length, PROT_READ, MAP_PRIVATE, 1810 if (pmap == (decltype(pmap))-1) {
|
/gem5/src/systemc/ext/core/ |
H A D | sc_spawn.hh | 201 decltype(std::bind(std::forward<F>(f), std::forward<Args>(args)...)) 207 auto sc_ref(T &&v) -> decltype(std::ref(std::forward<T>(v))) 213 auto sc_cref(T &&v) -> decltype(std::cref(std::forward<T>(v)))
|
/gem5/ext/pybind11/tests/ |
H A D | test_stl.cpp | 32 static auto call(Args &&...args) -> decltype(boost::apply_visitor(args...)) { 119 m.def("cast_lv_vector", []() -> const decltype(lvv) & { return lvv; }); 120 m.def("cast_lv_array", []() -> const decltype(lva) & { return lva; }); 121 m.def("cast_lv_map", []() -> const decltype(lvm) & { return lvm; }); 122 m.def("cast_lv_nested", []() -> const decltype(lvn) & { return lvn; });
|
H A D | test_builtin_casters.cpp | 95 m.def("lvalue_pair", []() -> const decltype(lvpair) & { return lvpair; }); 97 m.def("lvalue_tuple", []() -> const decltype(lvtuple) & { return lvtuple; }); 100 m.def("lvalue_nested", []() -> const decltype(lvnested) & { return lvnested; });
|
H A D | test_sequences_and_iterators.cpp | 238 decltype(map.cbegin()) begin() const { return map.cbegin(); } 239 decltype(map.cend()) end() const { return map.cend(); }
|
H A D | constructor_stats.h | 235 auto format_ptrs(T &&x) -> decltype(std::forward<T>(x)) { return std::forward<T>(x); }
|
H A D | test_methods_and_attributes.cpp | 446 using Adapted = decltype(py::method_adaptor<RegisteredDerived>(&RegisteredDerived::do_nothing));
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | descr.h | 77 template <size_t Size> auto constexpr _() -> decltype(int_to_str<Size / 10, Size % 10>::digits) { function 90 -> decltype(std::declval<descr<N + 2, Ts...>>() + concat(args...)) {
|
H A D | common.h | 597 using is_template_base_of = decltype(is_template_base_of_impl<Base>::check((intrinsic_t<T>*)nullptr)); 598 #else // MSVC2015 has trouble with decltype in template aliases 599 struct is_template_base_of : decltype(is_template_base_of_impl<Base>::check((intrinsic_t<T>*)nullptr)) { }; 615 struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> 622 using type = typename remove_class<decltype(&F::operator())>::type; 730 -> decltype(pf) { return pf; } function in struct:overload_cast_impl 734 -> decltype(pmf) { return pmf; } 738 -> decltype(pmf) { return pmf; } 781 template <typename Container, typename = enable_if_t<std::is_convertible<decltype(*st [all...] |
H A D | internals.h | 30 # define PYBIND11_TLS_KEY_INIT(var) decltype(PyThread_create_key()) var = 0
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | operators.h | 83 static auto execute(const L &l, const R &r) -> decltype(expr) { return (expr); } \ 88 static auto execute(const R &r, const L &l) -> decltype(expr) { return (expr); } \ 104 static auto execute(L &l, const R &r) -> decltype(expr) { return expr; } \ 114 static auto execute(const L &l) -> decltype(expr) { return expr; } \
|
H A D | stl_bind.h | 23 template <typename T2> static std::true_type test_comparable(decltype(std::declval<const T2 &>() == std::declval<const T2 &>())*); 30 static constexpr const bool is_comparable = std::is_same<std::true_type, decltype(test_comparable<T>(nullptr))>::value; 31 static constexpr const bool is_pair = std::is_same<std::true_type, decltype(test_pair<T>(nullptr, nullptr))>::value; 32 static constexpr const bool is_vector = std::is_same<std::true_type, decltype(test_value<T>(nullptr))>::value; 281 std::is_same<decltype(std::declval<Vector>()[typename Vector::size_type()]), typename Vector::value_type &>>; 345 -> decltype(std::declval<std::ostream&>() << std::declval<typename Vector::value_type>(), void()) { 369 struct vector_has_data_and_format<Vector, enable_if_t<std::is_same<decltype(format_descriptor<typename Vector::value_type>::format(), std::declval<Vector>().data()), typename Vector::value_type*>::value>> : std::true_type {}; 552 -> decltype(std::declval<std::ostream&>() << std::declval<typename Map::key_type>() << std::declval<typename Map::mapped_type>(), void()) {
|
H A D | pybind11.h | 173 PYBIND11_DESCR_CONSTEXPR auto types = decltype(signature)::types(); 987 template <typename T, typename = void_t<decltype(static_cast<void *(*)(size_t)>(T::operator new))>> 993 template <typename T> struct has_operator_delete<T, void_t<decltype(static_cast<void (*)(void *)>(T::operator delete))>> 996 template <typename T> struct has_operator_delete_size<T, void_t<decltype(static_cast<void (*)(void *, size_t)>(T::operator delete))>> 1021 auto method_adaptor(F &&f) -> decltype(std::forward<F>(f)) { return std::forward<F>(f); } 1639 inline std::pair<decltype(internals::registered_types_py)::iterator, bool> all_type_info_get_cache(PyTypeObject *type) { 1671 typename ValueType = decltype(*std::declval<Iterator>()), 1700 typename KeyType = decltype((*std::declval<Iterator>()).first),
|
H A D | stl.h | 163 enable_if_t<std::is_same<decltype(std::declval<T>().reserve(0)), void>::value, int> = 0> 326 static auto call(Args &&...args) -> decltype(visit(std::forward<Args>(args)...)) {
|
H A D | numpy.h | 228 #define DECL_NPY_API(Func) api.Func##_ = (decltype(api.Func##_)) api_ptr[API_##Func]; 1198 Name, offsetof(T, Field), sizeof(decltype(std::declval<T>().Field)), \ 1199 ::pybind11::format_descriptor<decltype(std::declval<T>().Field)>::format(), \ 1200 ::pybind11::detail::npy_format_descriptor<decltype(std::declval<T>().Field)>::dtype() \ 1619 auto vectorize(Func &&f) -> decltype( 1626 typename Helper = detail::vectorize_helper<decltype(std::mem_fn(std::declval<Return (Class::*)(Args...)>())), Return, Class *, Args...>> 1633 typename Helper = detail::vectorize_helper<decltype(std::mem_fn(std::declval<Return (Class::*)(Args...) const>())), Return, const Class *, Args...>>
|
H A D | cast.h | 88 inline std::pair<decltype(internals::registered_types_py)::iterator, bool> all_type_info_get_cache(PyTypeObject *type); 894 static auto make_copy_constructor(const T *x) -> decltype(new T(*x), Constructor{}) { function in class:type_caster_base 901 static auto make_move_constructor(const T *x) -> decltype(new T(std::move(*const_cast<T *>(x))), Constructor{}) { function 1433 static auto get(const T &p) -> decltype(p.get()) { return p.get(); } 1601 std::is_same<decltype(std::declval<make_caster<T>>().operator T&()), T&> 1608 std::is_same<decltype(std::declval<make_caster<T>>().operator T&()), T&>
|
H A D | eigen.h | 543 typedef remove_reference_t<decltype(*std::declval<Type>().outerIndexPtr())> StorageIndex;
|
H A D | pytypes.h | 467 auto object_or_cast(T &&o) -> decltype(std::forward<T>(o)) { return std::forward<T>(o); }
|
/gem5/src/base/ |
H A D | bitunion.hh | 78 typedef typename T<decltype(&Wrapper::setter)>::Storage Storage; 79 typedef typename T<decltype(&Wrapper::setter)>::Type Type;
|
H A D | types.hh | 245 constexpr decltype(nullptr) NoFault = nullptr;
|