Searched refs:vptr (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_numpy_dtypes.cpp187 auto vptr = (void *) ptr; local
190 py::buffer_info buf_ndim1(vptr, 4, "i", 6);
192 py::buffer_info buf_ndim2(vptr, 4, "i", 2, shape, strides);
205 case 12: return py::array(dtype, shape, strides, vptr);
208 case 15: return py::array(dtype, shape, vptr);
223 case 32: return py::array(dtype, 6, vptr);
/gem5/ext/pybind11/include/pybind11/
H A Dcast.h281 0, /* vpos: (non-simple types only): the first vptr comes first */
570 auto *&vptr = v_h.value_ptr(); local
572 if (vptr == nullptr) {
575 vptr = type->operator_new(type->type_size);
579 vptr = ::operator new(type->type_size,
583 vptr = ::operator new(type->type_size);
586 value = vptr;

Completed in 18 milliseconds