Lines Matching refs:cast
317 static handle cast(Type &&src, return_value_policy /* policy */, handle parent) {
321 static handle cast(const Type &&src, return_value_policy /* policy */, handle parent) {
325 static handle cast(Type &src, return_value_policy policy, handle parent) {
331 static handle cast(const Type &src, return_value_policy policy, handle parent) {
334 return cast(&src, policy, parent);
337 static handle cast(Type *src, return_value_policy policy, handle parent) {
341 static handle cast(const Type *src, return_value_policy policy, handle parent) {
369 static handle cast(const MapType &src, return_value_policy policy, handle parent) {
516 // load() is not supported, but we can cast them into the python domain by first copying to a
524 static handle cast(const Type &src, return_value_policy /* policy */, handle /* parent */) {
528 static handle cast(const Type *src, return_value_policy policy, handle parent) { return cast(*src, policy, parent); }
568 auto nnz = obj.attr("nnz").cast<Index>();
574 shape[0].cast<Index>(), shape[1].cast<Index>(), nnz,
580 static handle cast(const Type &src, return_value_policy /* policy */, handle /* parent */) {