Lines Matching refs:reference
873 PyModule_AddObject(ptr(), name, obj.inc_ref().ptr() /* steals a reference */);
1206 def_property_static(name, fget, fset, return_value_policy::reference, extra...);
1213 def_property_readonly_static(name, fget, return_value_policy::reference, extra...);
1230 /// Uses return_value_policy::reference by default
1233 return def_property_readonly_static(name, cpp_function(fget), return_value_policy::reference, extra...);
1259 /// Uses return_value_policy::reference by default
1262 return def_property_static(name, cpp_function(fget), fset, return_value_policy::reference, extra...);
1620 patient.inc_ref(); /* reference patient and leak the weak reference */
1647 // New cache entry created; set up a weak reference to automatically remove it if the type
1799 // Returns a reference to a function-local static exception object used in the simple
1882 * 3. The reference count of an acquired thread state can be controlled. This
1904 create it we would fail to clear it (its reference count should be > 0). */
1945 pybind11_fail("scoped_acquire::dec_ref(): reference count underflow!");