Searched refs:_a (Results 1 - 15 of 15) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_pytypes.cpp50 m.def("get_dict", []() { return py::dict("key"_a="value"); });
56 auto d1 = py::dict("x"_a=1, "y"_a=2);
57 auto d2 = py::dict("z"_a=3, **d1);
75 auto s2 = "{a} + {b} = {c}"_s.format("a"_a=1, "b"_a=2, "c"_a=3);
189 "str"_a=py::str(),
190 "bool"_a=py::bool_(),
191 "int"_a
[all...]
H A Dtest_callbacks.cpp37 auto d1 = py::dict("key"_a="value", "a"_a=1);
39 auto d3 = py::dict("b"_a=2);
44 return f("x"_a=10, "y"_a=20);
49 auto kwargs = py::dict("d"_a=4);
50 return f(1, *args, "c"_a=3, **kwargs);
54 auto kwargs1 = py::dict("a"_a=1);
55 auto kwargs2 = py::dict("c"_a=3, "d"_a
[all...]
H A Dtest_kwargs_and_defaults.cpp33 m.def("kw_func_udl", kw_func, "x"_a, "y"_a=300);
34 m.def("kw_func_udl_z", kw_func, "x"_a, "y"_a=0);
101 .def("foo1", &KWClass::foo, "x"_a, "y"_a);
H A Dtest_tagbased_polymorphic.cpp124 .def(py::init<std::string, int>(), "name"_a, "excitement"_a = 9001) local
H A Dtest_numpy_array.cpp234 "array"_a=py::array(),
235 "array_t<int32>"_a=py::array_t<std::int32_t>(),
236 "array_t<double>"_a=py::array_t<double>()
241 "array"_a=py::array(o),
242 "array_t<int32>"_a=py::array_t<std::int32_t>(o),
243 "array_t<double>"_a=py::array_t<double>(o)
H A Dtest_methods_and_attributes.cpp375 .def("g", &ArgInspector::g, "a"_a.noconvert(), "b"_a, "c"_a.noconvert()=13, "d"_a=ArgInspector2(), py::arg() = ArgAlwaysConverts())
H A Dtest_class.cpp345 "a"_a, "b"_a, "c"_a);
H A Dtest_stl.cpp247 m.def("stl_pass_by_pointer", [](std::vector<int>* v) { return *v; }, "v"_a=nullptr);
H A Dtest_builtin_casters.cpp140 }, "copy"_a);
/gem5/src/gpu-compute/
H A Dgpu_dyn_inst.hh56 AtomicOpAnd(T _a) : a(_a) { } argument
66 AtomicOpOr(T _a) : a(_a) { } argument
76 AtomicOpXor(T _a) : a(_a) {} argument
116 AtomicOpExch(T _a) : a(_a) { } argument
126 AtomicOpAdd(T _a) : a(_a) { } argument
136 AtomicOpSub(T _a) argument
164 AtomicOpMax(T _a) argument
180 AtomicOpMin(T _a) argument
[all...]
/gem5/src/python/
H A Dmarshal.cc56 auto locals = py::dict("source"_a=argv[1]);
/gem5/src/arch/riscv/insts/
H A Damo.hh127 AtomicGenericOp(T _a, std::function<void(T*,T)> _op) argument
128 : a(_a), op(_op) { }
/gem5/src/arch/arm/insts/
H A Dmem64.hh272 AtomicGeneric2Op(T _a, std::function<void(T*,T)> _op) argument
273 : a(_a), op(_op)
292 AtomicGeneric3Op(T _a, T _c, std::function<void(T*, T, T)> _op) argument
293 : a(_a), c(_c), op(_op)
313 AtomicGenericPair3Op(std::array<T, 2>& _a, std::array<T, 2> _c, argument
315 : a(_a), c(_c), op(_op)
/gem5/ext/pybind11/tests/test_embed/
H A Dtest_interpreter.cpp57 auto locals = py::dict("hello"_a="Hello, World!", "x"_a=5, **module.attr("__dict__"));
215 auto locals = py::dict("count"_a=0);
/gem5/ext/pybind11/include/pybind11/
H A Dcast.h1852 constexpr arg operator"" _a(const char *name, size_t) { return arg(name); }

Completed in 34 milliseconds