Searched refs:owndata (Results 1 – 8 of 8) sorted by relevance
259 assert not a_get1.flags.owndata and a_get1.flags.writeable262 assert not a_get2.flags.owndata and a_get2.flags.writeable266 assert not a_view1.flags.owndata and not a_view1.flags.writeable270 assert not a_view2.flags.owndata and not a_view2.flags.writeable275 assert a_copy1.flags.owndata and a_copy1.flags.writeable280 assert a_copy2.flags.owndata and a_copy2.flags.writeable286 assert not a_ref1.flags.owndata and a_ref1.flags.writeable289 assert not a_ref2.flags.owndata and not a_ref2.flags.writeable293 assert not a_ref3.flags.owndata and a_ref3.flags.writeable296 assert not a_ref4.flags.owndata and not a_ref4.flags.writeable[all …]
49 assert m.owndata(a)70 assert not m.owndata(a)214 assert not b.flags.owndata221 assert a1.flags.owndata and a1.base is None226 assert a1.flags.owndata and a1.base is None
169 sm.def("owndata", [](const arr& a) { return a.owndata(); }); in TEST_SUBMODULE()
79 data is performed. The numpy array will have ``array.flags.owndata`` set to115 m = a.get_matrix() # flags.writeable = True, flags.owndata = False116 v = a.view_matrix() # flags.writeable = False, flags.owndata = False117 c = a.copy_matrix() # flags.writeable = True, flags.owndata = True
342 int owndata; /* flag if the structure owns the clientdata */ member550 ti->owndata = 1; in SWIG_TypeNewClientData()2502 if (ty->owndata) { in SWIG_Python_DestroyModule()
338 int owndata; /* flag if the structure owns the clientdata */ member546 ti->owndata = 1; in SWIG_TypeNewClientData()
446 int owndata; /* flag if the structure owns the clientdata */ member654 ti->owndata = 1; in SWIG_TypeNewClientData()
698 bool owndata() const {