Searched refs:Func (Results 1 - 17 of 17) sorted by relevance

/gem5/src/mem/slicc/symbols/
H A D__init__.py31 from slicc.symbols.Func import Func
H A DFunc.py31 class Func(Symbol): class in inherits:Symbol
34 super(Func, self).__init__(table, ident, location, pairs)
112 __all__ = [ "Func" ]
/gem5/src/mem/slicc/ast/
H A DStateDeclAST.py28 from slicc.symbols import Func, Type
67 func = Func(self.symtab, func_id + "_" +
77 func = Func(self.symtab, func_id + "_" +
H A DEnumDeclAST.py29 from slicc.symbols import Func, Type
68 func = Func(self.symtab, func_id + "_" + t.c_ident,
H A DInPortDeclAST.py30 from slicc.symbols import Func, Type, Var
92 func = Func(self.symtab, trigger_func_name, "trigger", self.location,
98 func = Func(self.symtab, "stallPort", "stallPort", self.location,
H A DFuncDeclAST.py29 from slicc.symbols import Func, Type
89 func = Func(self.symtab, func_name_args, self.ident, self.location,
H A DFuncCallExprAST.py30 from slicc.symbols import Func, Type
108 func = self.symtab.find(func_name_args, Func)
/gem5/ext/pybind11/include/pybind11/
H A Dfunctional.h84 template <typename Func>
85 static handle cast(Func &&f_, return_value_policy policy, handle /* parent */) {
93 return cpp_function(std::forward<Func>(f_), policy).release();
H A Dpybind11.h68 template <typename Func, typename... Extra,
69 typename = detail::enable_if_t<detail::is_lambda<Func>::value>>
70 cpp_function(Func &&f, const Extra&... extra) {
71 initialize(std::forward<Func>(f),
72 (detail::function_signature_t<Func> *) nullptr, extra...);
99 template <typename Func, typename Return, typename... Args, typename... Extra>
100 void initialize(Func &&f, Return (*)(Args...), const Extra&... extra) {
102 struct capture { remove_reference_t<Func> f; };
116 new ((capture *) &rec->data) capture { std::forward<Func>(f) };
120 if (!std::is_trivially_destructible<Func>
[all...]
H A Dnumpy.h228 #define DECL_NPY_API(Func) api.Func##_ = (decltype(api.Func##_)) api_ptr[API_##Func];
1479 template <typename Func, typename Return, typename... Args>
1499 remove_reference_t<Func> f;
1598 template <typename Func, typename Return, typename... Args>
1599 vectorize_helper<Func, Return, Args...>
1600 vectorize_extractor(const Func &f, Return (*) (Args ...)) {
1601 return detail::vectorize_helper<Func, Retur
[all...]
H A Dcast.h1910 template <typename Return, typename Guard, typename Func>
1911 enable_if_t<!std::is_void<Return>::value, Return> call(Func &&f) && {
1912 return std::move(*this).template call_impl<Return>(std::forward<Func>(f), indices{}, Guard{});
1915 template <typename Return, typename Guard, typename Func>
1916 enable_if_t<std::is_void<Return>::value, void_type> call(Func &&f) && {
1917 std::move(*this).template call_impl<Return>(std::forward<Func>(f), indices{}, Guard{});
1933 template <typename Return, typename Func, size_t... Is, typename Guard>
1934 Return call_impl(Func &&f, index_sequence<Is...>, Guard &&) {
1935 return std::forward<Func>(f)(cast_op<Args>(std::move(std::get<Is>(argcasters)))...);
/gem5/src/base/
H A Dremote_gdb.hh259 typedef bool (BaseRemoteGDB::*Func)(Context &ctx); typedef in struct:BaseRemoteGDB::GdbCommand
262 const Func func;
264 GdbCommand(const char *_name, Func _func) : name(_name), func(_func) {}
/gem5/ext/pybind11/include/pybind11/detail/
H A Dinit.h211 // Implementation class for py::init(Func) and py::init(Func, AliasFunc)
216 // Specialization for py::init(Func)
217 template <typename Func, typename Return, typename... Args>
218 struct factory<Func, void_type (*)(), Return(Args...)> {
219 remove_reference_t<Func> class_factory;
221 factory(Func &&f) : class_factory(std::forward<Func>(f)) { }
243 // Specialization for py::init(Func, AliasFunc)
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-actions.h371 // This constructor allows us to turn an Action<Func> object into an
373 // to Func's and Func's return type can be implicitly converted to
375 template <typename Func>
376 explicit Action(const Action<Func>& action);
H A Dgmock-matchers.h821 template <typename Tuple, typename Func, typename OutIter>
829 static OutIter Run(Func f, const Tuple& t, OutIter out) {
836 OutIter operator() (Func f, const Tup& t, OutIter out) const {
843 OutIter operator() (Func /* f */, const Tup& /* t */, OutIter out) const {
852 template <typename Tuple, typename Func, typename OutIter>
853 OutIter TransformTupleValues(Func f, const Tuple& t, OutIter out) {
854 return TransformTupleValuesHelper<Tuple, Func, OutIter>::Run(f, t, out);
H A Dgmock-spec-builders.h1627 template <typename Func> friend class TypedExpectation;
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc775 static void Func() {} function in struct:testing::gmock_matchers_test::Helper
777 void (*func)() = Helper::Func;
778 EXPECT_THAT(func, Helper::Func);
779 EXPECT_THAT(func, &Helper::Func);

Completed in 82 milliseconds