/gem5/src/base/ |
H A D | cprintf.hh | 137 template<typename T, typename ...Args> void 138 ccprintf(cp::Print &print, const T &value, const Args &...args) 146 template<typename ...Args> void 147 ccprintf(std::ostream &stream, const char *format, const Args &...args) 155 template<typename ...Args> void 156 cprintf(const char *format, const Args &...args) 161 template<typename ...Args> std::string 162 csprintf(const char *format, const Args &...args) 174 template<typename ...Args> void 175 ccprintf(std::ostream &stream, const std::string &format, const Args [all...] |
H A D | compiler.hh | 102 template<typename T, typename... Args> 104 make_unique( Args&&... constructor_args ) 107 new T( std::forward<Args>(constructor_args)... )
|
H A D | logging.hh | 107 template<typename ...Args> void 108 print(const Loc &loc, const char *format, const Args &...args) 115 template<typename ...Args> void 116 print(const Loc &loc, const std::string &format, const Args &...args)
|
H A D | trace.hh | 59 template <typename ...Args> 61 const Args &...args)
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | functional.h | 18 template <typename Return, typename... Args> 19 struct type_caster<std::function<Return(Args...)>> { 20 using type = std::function<Return(Args...)>; 22 using function_type = Return (*) (Args...); 72 Return operator()(Args... args) const { 74 object retval(hfunc.f(std::forward<Args>(args)...)); 96 PYBIND11_TYPE_CASTER(type, _("Callable[[") + concat(make_caster<Args>::name...) + _("], ")
|
H A D | stl_bind.h | 63 template <typename, typename, typename... Args> void vector_if_copy_constructible(const Args &...) { } 64 template <typename, typename, typename... Args> void vector_if_equal_operator(const Args &...) { } 65 template <typename, typename, typename... Args> void vector_if_insertion_operator(const Args &...) { } 66 template <typename, typename, typename... Args> void vector_modifiers(const Args &...) { } 372 template <typename Vector, typename Class_, typename... Args> 373 enable_if_t<detail::any_of<std::is_same<Args, buffer_protoco [all...] |
H A D | cast.h | 1758 typename... Args> tuple make_tuple(Args&&... args_) { 1759 constexpr size_t size = sizeof...(Args); 1761 { reinterpret_steal<object>(detail::make_caster<Args>::cast( 1762 std::forward<Args>(args_), policy, nullptr))... } 1769 std::array<std::string, size> argtypes { {type_id<Args>()...} }; 1886 template <typename... Args> 1888 using indices = make_index_sequence<sizeof...(Args)>; 1893 static constexpr auto args_pos = constexpr_first<argument_is_args, Args...>() - (int) sizeof...(Args), [all...] |
H A D | pybind11.h | 62 template <typename Return, typename... Args, typename... Extra> 63 cpp_function(Return (*f)(Args...), const Extra&... extra) { 99 template <typename Func, typename Return, typename... Args, typename... Extra> 100 void initialize(Func &&f, Return (*)(Args...), const Extra&... extra) { argument 128 using cast_in = argument_loader<Args...>; 133 static_assert(expected_num_args<Extra...>(sizeof...(Args), cast_in::has_args, cast_in::has_kwargs), 176 initialize_generic(rec, signature.text, types.data(), sizeof...(Args)); 182 using FunctionType = Return (*)(Args...); 1023 template <typename Derived, typename Return, typename Class, typename... Args> 1024 auto method_adaptor(Return (Class::*pmf)(Args [all...] |
H A D | attr.h | 458 template <typename... Args> struct process_attributes { 459 static void init(const Args&... args, function_record *r) { 460 int unused[] = { 0, (process_attribute<typename std::decay<Args>::type>::init(args, r), 0) ... }; 463 static void init(const Args&... args, type_record *r) { 464 int unused[] = { 0, (process_attribute<typename std::decay<Args>::type>::init(args, r), 0) ... }; 468 int unused[] = { 0, (process_attribute<typename std::decay<Args>::type>::precall(call), 0) ... }; 472 int unused[] = { 0, (process_attribute<typename std::decay<Args>::type>::postcall(call, fn_ret), 0) ... };
|
H A D | numpy.h | 1479 template <typename Func, typename Return, typename... Args> 1482 static constexpr size_t N = sizeof...(Args); 1483 static constexpr size_t NVectorized = constexpr_sum(vectorize_arg<Args>::vectorize...); 1491 object operator()(typename vectorize_arg<Args>::type... args) { 1494 select_indices<vectorize_arg<Args>::vectorize...>(), 1503 using arg_call_types = std::tuple<typename vectorize_arg<Args>::call_type...>; 1514 typename vectorize_arg<Args>::type &...args, 1598 template <typename Func, typename Return, typename... Args> 1599 vectorize_helper<Func, Return, Args...> 1600 vectorize_extractor(const Func &f, Return (*) (Args [all...] |
H A D | pytypes.h | 107 template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> 108 object operator()(Args &&...args) const; 109 template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> 111 object call(Args&&... args) const; 927 template <typename... Args> 928 str format(Args &&...args) const { 929 return attr("format")(std::forward<Args>(args)...); 1218 template <typename... Args, 1219 typename = detail::enable_if_t<detail::all_of<detail::is_keyword_or_ds<Args>...>::value>, 1221 typename collector = detail::deferred_t<detail::unpacking_collector<>, Args [all...] |
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | init.h | 60 template <typename Class, typename... Args, detail::enable_if_t<std::is_constructible<Class, Args...>::value, int> = 0> 61 inline Class *construct_or_initialize(Args &&...args) { return new Class(std::forward<Args>(args)...); } 62 template <typename Class, typename... Args, detail::enable_if_t<!std::is_constructible<Class, Args...>::value, int> = 0> 63 inline Class *construct_or_initialize(Args &&...args) { return new Class{std::forward<Args>(args)...}; } 169 template <typename... Args> 173 cl.def("__init__", [](value_and_holder &v_h, Args [all...] |
H A D | descr.h | 88 template <size_t N, typename... Ts, typename... Args> 89 constexpr auto concat(const descr<N, Ts...> &d, const Args &...args)
|
H A D | internals.h | 297 template <typename... Args> 298 const char *c_str(Args &&...args) { 300 strings.emplace_front(std::forward<Args>(args)...);
|
H A D | common.h | 724 template <typename... Args> 729 constexpr auto operator()(Return (*pf)(Args...)) const noexcept 733 constexpr auto operator()(Return (Class::*pmf)(Args...), std::false_type = {}) const noexcept 737 constexpr auto operator()(Return (Class::*pmf)(Args...) const, std::true_type) const noexcept 748 template <typename... Args> 749 static constexpr detail::overload_cast_impl<Args...> overload_cast = {}; 759 template <typename... Args> struct overload_cast { 760 static_assert(detail::deferred_t<std::false_type, Args...>::value,
|
/gem5/src/sim/ |
H A D | system.hh | 486 template <class T, typename... Args> 488 const std::string &desc, Args... args) 495 std::forward<Args>(args)...); 509 template <class T, typename... Args> 511 Args... args) 513 T *e(addFuncEvent<T>(symtab, lbl, std::forward<Args>(args)...)); 535 template <class T, typename... Args> 536 T *addKernelFuncEvent(const char *lbl, Args... args) 539 std::forward<Args>(args)...); 542 template <class T, typename... Args> [all...] |
/gem5/ext/pybind11/tests/ |
H A D | local_bindings.h | 46 template <typename T, int Adjust = 0, typename... Args> 47 py::class_<T> bind_local(Args && ...args) { 48 return py::class_<T>(std::forward<Args>(args)...)
|
/gem5/src/arch/generic/ |
H A D | debugfaults.hh | 69 template <class ...Args> 70 M5DebugFault(const std::string &format, const Args &...args) : 102 template <class OnceToken, class ...Args> 104 const Args &...args) :
|
/gem5/src/systemc/ext/core/ |
H A D | sc_spawn.hh | 199 template <typename F, typename... Args> 200 auto sc_bind(F &&f, Args && ...args) -> 201 decltype(std::bind(std::forward<F>(f), std::forward<Args>(args)...)) 203 return std::bind(std::forward<F>(f), std::forward<Args>(args)...);
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-generated-matchers_test.cc | 60 using testing::Args; 108 // Tests Args<k0, ..., kn>(m). 112 EXPECT_THAT(t, Args<>(Eq(tuple<>()))); 113 EXPECT_THAT(t, Not(Args<>(Ne(tuple<>())))); 118 EXPECT_THAT(t, Args<0>(Eq(make_tuple(5)))); 119 EXPECT_THAT(t, Args<1>(Eq(make_tuple(true)))); 120 EXPECT_THAT(t, Not(Args<1>(Eq(make_tuple(false))))); 126 EXPECT_THAT(t, (Args<0, 1>(Lt()))); 127 EXPECT_THAT(t, (Args<1, 2>(Lt()))); 128 EXPECT_THAT(t, Not(Args< [all...] |
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-generated-matchers.h | 207 // Implements the Args() matcher. 476 // Args<N1, N2, ..., Nk>(a_matcher) matches a tuple if the selected 481 Args(const InnerMatcher& matcher) { function in namespace:testing 487 Args(const InnerMatcher& matcher) { function in namespace:testing 493 Args(const InnerMatcher& matcher) { function in namespace:testing 499 Args(const InnerMatcher& matcher) { function in namespace:testing 505 Args(const InnerMatcher& matcher) { function in namespace:testing 511 Args(const InnerMatcher& matcher) { function in namespace:testing 517 Args(const InnerMatcher& matcher) { function in namespace:testing 524 Args(cons function in namespace:testing 532 Args(const InnerMatcher& matcher) { function in namespace:testing 540 Args(const InnerMatcher& matcher) { function in namespace:testing 549 Args(const InnerMatcher& matcher) { function in namespace:testing 571 typedef ::testing::tuple<> Args; typedef 581 typename internal::DecayArray<T1>::type> Args; typedef 593 typename internal::DecayArray<T2>::type> Args; typedef 607 typename internal::DecayArray<T3>::type> Args; typedef 623 typename internal::DecayArray<T4>::type> Args; typedef 642 typename internal::DecayArray<T5>::type> Args; typedef 664 typename internal::DecayArray<T6>::type> Args; typedef 688 typename internal::DecayArray<T7>::type> Args; typedef 714 typename internal::DecayArray<T8>::type> Args; typedef 743 typename internal::DecayArray<T9>::type> Args; typedef 775 typename internal::DecayArray<T10>::type> Args; typedef 786 typedef ::testing::tuple<> Args; typedef 796 typename internal::DecayArray<T1>::type> Args; typedef 808 typename internal::DecayArray<T2>::type> Args; typedef 822 typename internal::DecayArray<T3>::type> Args; typedef 838 typename internal::DecayArray<T4>::type> Args; typedef 857 typename internal::DecayArray<T5>::type> Args; typedef 879 typename internal::DecayArray<T6>::type> Args; typedef 904 typename internal::DecayArray<T7>::type> Args; typedef 931 typename internal::DecayArray<T8>::type> Args; typedef 960 typename internal::DecayArray<T9>::type> Args; typedef 992 typename internal::DecayArray<T10>::type> Args; typedef [all...] |
/gem5/src/arch/arm/tracers/ |
H A D | tarmac_record.hh | 255 template<typename Queue, typename... Args> 256 void flushQueues(Queue& queue, Args & ... args);
|
H A D | tarmac_record.cc | 394 template<typename Queue, typename... Args> 396 TarmacTracerRecord::flushQueues(Queue& queue, Args & ... args)
|
/gem5/ext/nomali/lib/ |
H A D | nomali_api.cc | 75 template<typename... Args> 76 NoMaliApiGpu(NoMaliApi &_api, Args &&... args) 77 : BaseGpu(std::forward<Args>(args)...),
|
/gem5/src/arch/arm/ |
H A D | pmu.hh | 495 template <typename ...Args> 496 void debugCounter(const char* mainString, Args &...args) const {
|