Searched refs:int_ (Results 1 - 11 of 11) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_eval.cpp | 47 local["x"] = py::int_(42); 65 local["y"] = py::int_(43);
|
H A D | test_pytypes.cpp | 191 "int"_a=py::int_(), 204 "int"_a=py::int_(d["int"]), 219 "int"_a=d["int"].cast<py::int_>(), 243 d["int_p"] = py::int_(i); 258 l.append(py::int_(15));
|
H A D | test_numpy_dtypes.cpp | 244 offsets.append(py::int_(1)); offsets.append(py::int_(10)); dict["offsets"] = offsets; 246 dict["itemsize"] = py::int_(20); 366 list.append(py::int_(dt1.itemsize())); list.append(py::int_(dt2.itemsize()));
|
H A D | test_constants_and_functions.cpp | 82 m.attr("some_constant") = py::int_(14);
|
H A D | test_class.cpp | 248 aliased.attr("size_noalias") = py::int_(sizeof(AliasedHasOpNewDelSize)); 249 aliased.attr("size_alias") = py::int_(sizeof(PyAliasedHasOpNewDelSize));
|
H A D | test_smart_ptr.cpp | 108 py::implicitly_convertible<py::int_, MyObject1>();
|
H A D | test_numpy_array.py | 267 assert results["array"].dtype == np.int_
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | pybind11.h | 1409 object other = kv.second[int_(0)]; 1421 if (handle(kv.second[int_(0)]).equal(arg)) 1437 auto comment = kv.second[int_(1)]; 1450 m[kv.first] = kv.second[int_(0)]; 1467 int_ a(a_), b(b_); \ 1475 int_ a(a_); \ 1496 [](object arg) { return ~(int_(arg)); }, is_method(m_base)); 1499 PYBIND11_ENUM_OP_STRICT("__eq__", int_(a).equal(int_(b)), return false); 1500 PYBIND11_ENUM_OP_STRICT("__ne__", !int_( [all...] |
H A D | operators.h | 154 PYBIND11_UNARY_OPERATOR(int, int_, (int) l)
|
H A D | pytypes.h | 1065 class int_ : public object { class in inherits:object 1067 PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) 1068 int_() : object(PyLong_FromLong(0), stolen_t{}) { } function in class:int_ 1072 int_(T value) { function in class:int_ 1125 int_ start(start_), stop(stop_), step(step_);
|
H A D | numpy.h | 465 args["itemsize"] = pybind11::int_(itemsize); 510 struct field_descr { PYBIND11_STR_TYPE name; object format; pybind11::int_ offset; }; 517 auto offset = spec[1].cast<tuple>()[1].cast<pybind11::int_>(); 1111 offsets.append(pybind11::int_(field.offset));
|
Completed in 27 milliseconds