Searched refs:fn (Results 1 - 23 of 23) sorted by relevance

/gem5/ext/pybind11/docs/
H A Dbenchmark.py22 for fn in range(nfns):
25 decl += " cl%03i *fn_%03i(" % (ret, fn)
29 (fn, cl, fn)
54 for fn in range(nfns):
57 decl += " cl%03i *fn_%03i(" % (ret, fn)
61 (fn, cl, fn)
/gem5/src/sim/
H A Dmathexpr.hh65 * @param fn A callback funcion to evaluate variables
69 double eval(EvalCallback fn) const { return eval(root, fn); }
84 binOp fn; member in struct:MathExpr::OpSearch
123 double eval(const Node *n, EvalCallback fn) const;
H A Dmathexpr.cc152 MathExpr::eval(const Node *n, EvalCallback fn) const {
158 return fn(n->variable);
162 return opt.fn( eval(n->l, fn), eval(n->r, fn) );
/gem5/util/
H A Dhgstyle.py110 files = [ (fn, all_regions) for fn in added ] + \
111 [ (fn, modregions(wctx, fn)) for fn in modified ]
113 files = [ (fn, all_regions) for fn in added + modified + clean ]
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_cor_qt.cpp162 sc_cor_qt_wrapper( void* arg, void* cor, qt_userf_t* fn )
166 (*(sc_cor_fn*) fn)( arg );
171 sc_cor_pkg_qt::create( std::size_t stack_size, sc_cor_fn* fn, void* arg ) argument
180 cor->m_sp = QUICKTHREADS_ARGS( cor->m_sp, arg, cor, (qt_userf_t*) fn,
H A Dsc_cor.h99 std::size_t stack_size, sc_cor_fn* fn, void* arg ) = 0;
H A Dsc_cor_pthread.h107 virtual sc_cor* create( std::size_t stack_size, sc_cor_fn* fn, void* arg );
H A Dsc_cthread_process.h73 SC_ENTRY_FUNC fn,
H A Dsc_cor_fiber.cpp133 sc_cor_pkg_fiber::create( std::size_t stack_size, sc_cor_fn* fn, void* arg ) argument
139 (LPFIBER_START_ROUTINE) fn, arg );
H A Dsc_cor_fiber.h115 virtual sc_cor* create( std::size_t stack_size, sc_cor_fn* fn, void* arg );
H A Dsc_cor_qt.h101 virtual sc_cor* create( std::size_t stack_size, sc_cor_fn* fn, void* arg );
H A Dsc_cor_pthread.cpp173 sc_cor_pkg_pthread::create( std::size_t stack_size, sc_cor_fn* fn, void* arg ) argument
183 cor_p->m_cor_fn = fn;
/gem5/src/python/m5/stats/
H A D__init__.py70 Wrap a plain Python function f(fn, **kwargs) to expect a URL that
137 def _textFactory(fn, desc=True):
152 return _m5.stats.initText(fn, desc)
155 def _hdf5Factory(fn, chunking=10, desc=True, formulas=True):
188 return _m5.stats.initHDF5(fn, chunking, desc, formulas)
/gem5/ext/systemc/src/tlm_utils/
H A Dmulti_socket_bases.h39 , void* fn \
45 fn_container_type* tmp_cb =static_cast<fn_container_type*> (fn); \
50 inline void delete_fn_container_of_##name(void* fn) \
53 fn_container_type* tmp_cb =static_cast<fn_container_type*> (fn); \
/gem5/src/arch/
H A Disa_parser.py1658 fn = 'decoder-g.hh.inc'
1659 assert(fn in self.files)
1660 f.write('#include "%s"\n' % fn)
1662 fn = 'decoder-ns.hh.inc'
1663 assert(fn in self.files)
1665 % (self.namespace, fn))
1672 fn = 'base/compiler.hh'
1673 f.write('#include "%s"\n' % fn)
1675 fn = 'decoder-g.cc.inc'
1676 assert(fn i
[all...]
/gem5/src/systemc/ext/tlm_utils/
H A Dmulti_socket_bases.h41 static_##name(void *mod, void *fn, int index, TLM_FULL_ARG_LIST) \
46 fn_container_type *tmp_cb = static_cast<fn_container_type *> (fn); \
53 delete_fn_container_of_##name(void *fn) \
57 fn_container_type *tmp_cb = static_cast<fn_container_type *>(fn); \
/gem5/ext/pybind11/tests/
H A Dtest_class.py62 assert doc(m.NestBase.Nested.fn) == """
63 fn(self: m.class_.NestBase.Nested, arg0: int, arg1: m.class_.NestBase, arg2: m.class_.NestBase.Nested) -> None
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h2108 Macro to populate the virtual method in the trampoline class. This macro tries to look up a method named 'fn'
2120 "__str__", // Name of method in Python (fn)
2124 #define PYBIND11_OVERLOAD_NAME(ret_type, cname, name, fn, ...) \
2126 return cname::fn(__VA_ARGS__)
2132 #define PYBIND11_OVERLOAD_PURE_NAME(ret_type, cname, name, fn, ...) \
2154 go, // Name of function in C++ (must match Python name) (fn)
2160 #define PYBIND11_OVERLOAD(ret_type, cname, fn, ...) \
2161 PYBIND11_OVERLOAD_NAME(PYBIND11_TYPE(ret_type), PYBIND11_TYPE(cname), #fn, fn, __VA_ARGS__)
2167 #define PYBIND11_OVERLOAD_PURE(ret_type, cname, fn,
[all...]
H A Dpytypes.h1441 #define PYBIND11_MATH_OPERATOR_UNARY(op, fn) \
1443 object result = reinterpret_steal<object>(fn(derived().ptr())); \
1449 #define PYBIND11_MATH_OPERATOR_BINARY(op, fn) \
1453 fn(derived().ptr(), other.derived().ptr())); \
/gem5/util/streamline/
H A Dm5stats2streamline.py1139 for fn in file_list:
1140 m = re_fb.match(fn)
1158 bytes_read = open(frame_path + "/" + fn, "rb").read()
1161 bytes_read = gzip.open(frame_path + "/" + fn, "rb").read()
/gem5/src/arch/arm/
H A Dtypes.hh159 Bitfield<18, 16> fn; member in namespace:ArmISA
/gem5/ext/googletest/googlemock/scripts/
H A Dupload.py1097 st, fn = line.split(" ", 1)
1099 unknown_files.append(fn)
/gem5/ext/googletest/googletest/scripts/
H A Dupload.py1097 st, fn = line.split(" ", 1)
1099 unknown_files.append(fn)

Completed in 35 milliseconds