Home
last modified time | relevance | path

Searched refs:Py_XINCREF (Results 1 - 25 of 60) sorted by relevance

123

/third_party/python/Objects/
H A Dcellobject.c15 Py_XINCREF(obj); in PyCell_New()
59 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()
72 Py_XINCREF(obj); in PyCell_Set()
146 Py_XINCREF(obj); in cell_set_contents()
H A Dfuncobject.c30 Py_XINCREF(constr->fc_defaults); in _PyFunction_FromConstructor()
32 Py_XINCREF(constr->fc_kwdefaults); in _PyFunction_FromConstructor()
34 Py_XINCREF(constr->fc_closure); in _PyFunction_FromConstructor()
90 Py_XINCREF(module); in PyFunction_NewWithQualName()
481 Py_XINCREF(value); in func_set_defaults()
523 Py_XINCREF(value); in func_set_kwdefaults()
557 Py_XINCREF(value); in func_set_annotations()
H A Ddescrobject.c624 Py_XINCREF(descr->d_qualname); in descr_get_qualname()
906 Py_XINCREF(type); in descr_new()
1572 Py_XINCREF(name); in property_set_name()
1727 Py_XINCREF(pold->prop_name); in property_copy()
1782 Py_XINCREF(fget); in property_init_impl()
1783 Py_XINCREF(fset); in property_init_impl()
1784 Py_XINCREF(fdel); in property_init_impl()
1785 Py_XINCREF(doc); in property_init_impl()
H A Dexceptions.c383 Py_XINCREF(base_self->traceback); in PyException_GetTraceback()
398 Py_XINCREF(cause); in PyException_GetCause()
415 Py_XINCREF(context); in PyException_GetContext()
1520 Py_XINCREF(name); in ImportError_init()
1523 Py_XINCREF(path); in ImportError_init()
1774 Py_XINCREF(myerrno); in oserror_init()
1777 Py_XINCREF(strerror); in oserror_init()
1781 Py_XINCREF(winerror); in oserror_init()
2201 Py_XINCREF(name); in NameError_init()
2276 Py_XINCREF(nam in AttributeError_init()
[all...]
H A Dmethodobject.c109 Py_XINCREF(self); in PyCMethod_New()
111 Py_XINCREF(module); in PyCMethod_New()
H A Dframeobject.c819 Py_XINCREF(v); in frame_settrace()
1275 Py_XINCREF(value); in _PyFrame_LocalsToFast()
1280 Py_XINCREF(value); in _PyFrame_LocalsToFast()
1334 Py_XINCREF(back); in PyFrame_GetBack()
H A Dodictobject.c1800 Py_XINCREF(tmp.di_odict); in odictiter_reduce()
1801 Py_XINCREF(tmp.di_current); in odictiter_reduce()
1876 Py_XINCREF(di->di_current); in odictiter_new()
H A Dgenobject.c521 Py_XINCREF(val); in _gen_throw()
522 Py_XINCREF(tb); in _gen_throw()
1918 Py_XINCREF(sendval); in async_gen_asend_new()
2323 Py_XINCREF(args); in async_gen_athrow_new()
/third_party/python/Modules/_ctypes/
H A Dstgdict.c96 Py_XINCREF(dst->proto); in PyCStgDict_clone()
97 Py_XINCREF(dst->argtypes); in PyCStgDict_clone()
98 Py_XINCREF(dst->converters); in PyCStgDict_clone()
99 Py_XINCREF(dst->restype); in PyCStgDict_clone()
100 Py_XINCREF(dst->checker); in PyCStgDict_clone()
272 Py_XINCREF(new_descr->proto); in MakeFields()
/third_party/python/Lib/test/
H A D_testcppext.cpp87 Py_XINCREF(0); in Py_UNUSED()
91 Py_XINCREF(nullptr); in Py_UNUSED()
/third_party/python/Modules/
H A D_csv.c179 Py_XINCREF(self->lineterminator); in Dialect_get_lineterminator()
457 Py_XINCREF(delimiter); in dialect_new()
458 Py_XINCREF(doublequote); in dialect_new()
459 Py_XINCREF(escapechar); in dialect_new()
460 Py_XINCREF(lineterminator); in dialect_new()
461 Py_XINCREF(quotechar); in dialect_new()
462 Py_XINCREF(quoting); in dialect_new()
463 Py_XINCREF(skipinitialspace); in dialect_new()
464 Py_XINCREF(strict); in dialect_new()
H A Dgetpath.c128 Py_XINCREF(r);
190 Py_XINCREF(r);
216 Py_XINCREF(r);
250 Py_XINCREF(r);
H A Dfaulthandler.c561 Py_XINCREF(file); in faulthandler_py_enable()
775 Py_XINCREF(file); in faulthandler_dump_traceback_later()
958 Py_XINCREF(file); in faulthandler_register_py()
H A D_asynciomodule.c760 Py_XINCREF(msg); in future_cancel()
1372 Py_XINCREF(ret); in FutureObj_get_state()
1680 Py_XINCREF(val); in FutureIter_throw()
1681 Py_XINCREF(tb); in FutureIter_throw()
1890 Py_XINCREF(arg); in TaskStepMethWrapper_new()
2234 Py_XINCREF(msg); in _asyncio_Task_cancel_impl()
H A Dsyslogmodule.c209 Py_XINCREF(ident); in syslog_syslog()
H A D_lsprof.c176 Py_XINCREF(mo); in normalizeUserObj()
784 Py_XINCREF(timer); in profiler_init()
H A D_elementtree.c224 Py_XINCREF(attrib); in create_extra()
1052 Py_XINCREF(attrib); in element_setstate_from_attributes()
1289 Py_XINCREF(text); in _elementtree_Element_findtext_impl()
1388 Py_XINCREF(value); in _elementtree_Element_get_impl()
1960 Py_XINCREF(res); in element_text_getter()
1968 Py_XINCREF(res); in element_tail_getter()
1981 Py_XINCREF(res); in element_attrib_getter()
/third_party/python/Include/
H A Dobject.h450 NULL pointer. If it may be NULL, use Py_XINCREF/Py_XDECREF instead.
589 static inline void Py_XINCREF(PyObject *op) in Py_XINCREF() function
596 # define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op)) macro
624 Py_XINCREF(obj); in _Py_XNewRef()
/third_party/python/Python/
H A Dstructmember.c79 Py_XINCREF(v); in PyMember_GetOne()
250 Py_XINCREF(v); in PyMember_SetOne()
H A Dcontext.c249 Py_XINCREF(*val); in PyContextVar_Get()
281 Py_XINCREF(old_val); in PyContextVar_Set()
837 Py_XINCREF(def); in contextvar_new()
1237 Py_XINCREF(val); in token_new()
H A Derrors.c122 Py_XINCREF(value); in _PyErr_SetObject()
181 Py_XINCREF(exception); in _PyErr_SetObject()
497 Py_XINCREF(*p_type); in _PyErr_GetExcInfo()
498 Py_XINCREF(*p_value); in _PyErr_GetExcInfo()
499 Py_XINCREF(*p_traceback); in _PyErr_GetExcInfo()
H A Dhamt.c584 Py_XINCREF(node->b_array[i]); in hamt_node_bitmap_clone()
610 Py_XINCREF(o->b_array[i]); in hamt_node_bitmap_clone_without()
616 Py_XINCREF(o->b_array[i]); in hamt_node_bitmap_clone_without()
930 Py_XINCREF(self->b_array[i]); in hamt_node_bitmap_assoc()
944 Py_XINCREF(self->b_array[i]); in hamt_node_bitmap_assoc()
1668 Py_XINCREF(node->a_array[i]); in hamt_node_array_clone()
1726 Py_XINCREF(self->a_array[i]); in hamt_node_array_assoc()
H A Dtraceback.c55 Py_XINCREF(next); in tb_create_raw()
57 Py_XINCREF(frame); in tb_create_raw()
143 Py_XINCREF(new_next); in tb_next_set()
H A Dsuggestions.c173 Py_XINCREF(suggestion); in calculate_suggestions()
H A Dimport.c325 Py_XINCREF(m); in import_get_module()
570 Py_XINCREF(m); in import_add_module()
918 Py_XINCREF(importer); in get_path_importer()
1522 Py_XINCREF(next); in remove_importlib_frames()

Completed in 55 milliseconds

123