Home
last modified time | relevance | path

Searched refs:Py_INCREF (Results 1 – 25 of 202) sorted by relevance

123456789

/third_party/libxml2/python/
Dtypes.c256 Py_INCREF(Py_None); in libxml_charPtrWrap()
273 Py_INCREF(Py_None); in libxml_charPtrConstWrap()
289 Py_INCREF(Py_None); in libxml_xmlCharPtrWrap()
306 Py_INCREF(Py_None); in libxml_xmlCharPtrConstWrap()
322 Py_INCREF(Py_None); in libxml_constcharPtrWrap()
338 Py_INCREF(Py_None); in libxml_constxmlCharPtrWrap()
354 Py_INCREF(Py_None); in libxml_xmlDocPtrWrap()
371 Py_INCREF(Py_None); in libxml_xmlNodePtrWrap()
387 Py_INCREF(Py_None); in libxml_xmlURIPtrWrap()
403 Py_INCREF(Py_None); in libxml_xmlNsPtrWrap()
[all …]
/third_party/python/Objects/
Dfuncobject.c15 Py_INCREF(globals); in PyFunction_NewWithQualName()
20 Py_INCREF(code_obj); in PyFunction_NewWithQualName()
24 Py_INCREF(name); in PyFunction_NewWithQualName()
28 Py_INCREF(qualname); in PyFunction_NewWithQualName()
42 Py_INCREF(doc); in PyFunction_NewWithQualName()
57 Py_INCREF(builtins); in PyFunction_NewWithQualName()
151 Py_INCREF(defaults); in PyFunction_SetDefaults()
181 Py_INCREF(defaults); in PyFunction_SetKwDefaults()
212 Py_INCREF(closure); in PyFunction_SetClosure()
250 Py_INCREF(op->func_annotations); in func_get_annotation_dict()
[all …]
Dweakrefobject.c137 Py_INCREF(object); in weakref_call()
154 Py_INCREF(obj); in weakref_hash()
172 Py_INCREF(obj); in weakref_repr()
221 Py_INCREF(obj); in weakref_richcompare()
222 Py_INCREF(other_obj); in weakref_richcompare()
314 Py_INCREF(ref); in weakref___new__()
443 Py_INCREF(proxy); \
454 Py_INCREF(x); \
455 Py_INCREF(y); \
472 Py_INCREF(proxy); \
[all …]
Dsliceobject.c29 Py_INCREF(Py_Ellipsis); in ellipsis_new()
140 Py_INCREF(step); in PySlice_New()
142 Py_INCREF(start); in PySlice_New()
144 Py_INCREF(stop); in PySlice_New()
392 Py_INCREF(step); in _PySlice_GetLongIndices()
421 Py_INCREF(lower); in _PySlice_GetLongIndices()
423 Py_INCREF(upper); in _PySlice_GetLongIndices()
429 Py_INCREF(start); in _PySlice_GetLongIndices()
448 Py_INCREF(lower); in _PySlice_GetLongIndices()
458 Py_INCREF(upper); in _PySlice_GetLongIndices()
[all …]
Drangeobject.c110 Py_INCREF(start); in range_from_array()
112 Py_INCREF(step); in range_from_array()
204 Py_INCREF(step); in compute_range_length()
220 Py_INCREF(result); in compute_range_length()
302 Py_INCREF(i); in compute_range_item()
526 Py_INCREF(r->length); in range_hash()
532 Py_INCREF(Py_None); in range_hash()
533 Py_INCREF(Py_None); in range_hash()
538 Py_INCREF(r->start); in range_hash()
544 Py_INCREF(Py_None); in range_hash()
[all …]
Dexceptions.c53 Py_INCREF(args); in BaseException_new()
72 Py_INCREF(args); in BaseException_init()
171 Py_INCREF(self); in BaseException_with_traceback()
194 Py_INCREF(self->args); in BaseException_get_args()
219 Py_INCREF(self->traceback); in BaseException_get_tb()
236 Py_INCREF(tb); in BaseException_set_tb()
264 Py_INCREF(arg); in BaseException_set_context()
293 Py_INCREF(arg); in BaseException_set_cause()
523 Py_INCREF(value); in StopIteration_init()
585 Py_INCREF(PyTuple_GET_ITEM(args, 0)); in SystemExit_init()
[all …]
Dtupleobject.c140 Py_INCREF(op); in tuple_get_empty()
256 Py_INCREF(o); in PyTuple_Pack()
455 Py_INCREF(a->ob_item[i]); in tupleitem()
473 Py_INCREF(item); in _PyTuple_FromArray()
491 Py_INCREF(a); in tupleslice()
515 Py_INCREF(bb); in tupleconcat()
527 Py_INCREF(a); in tupleconcat()
544 Py_INCREF(v); in tupleconcat()
551 Py_INCREF(v); in tupleconcat()
569 Py_INCREF(a); in tuplerepeat()
[all …]
Dclassobject.c110 Py_INCREF(func); in PyMethod_New()
112 Py_INCREF(self); in PyMethod_New()
196 Py_INCREF(descr); in method_getattro()
270 Py_INCREF(res); in method_richcompare()
327 Py_INCREF(meth); in method_descr_get()
383 Py_INCREF(func); in PyInstanceMethod_New()
441 Py_INCREF(descr); in instancemethod_getattro()
472 Py_INCREF(func); in instancemethod_descr_get()
501 Py_INCREF(res); in instancemethod_richcompare()
Dgenobject.c185 Py_INCREF(*presult); in gen_send_ex2()
195 Py_INCREF(result); in gen_send_ex2()
362 Py_INCREF(yf); in _PyGen_yf()
505 Py_INCREF(typ); in _gen_throw()
524 Py_INCREF(typ); in _gen_throw()
638 Py_INCREF(value); in _PyGen_FetchStopIterationValue()
658 Py_INCREF(value); in _PyGen_FetchStopIterationValue()
669 Py_INCREF(value); in _PyGen_FetchStopIterationValue()
685 Py_INCREF(op->gi_name); in gen_get_name()
699 Py_INCREF(value); in gen_set_name()
[all …]
/third_party/python/Objects/stringlib/
Dpartition.h43 Py_INCREF(str_obj); in STRINGLIB()
47 Py_INCREF(empty); in STRINGLIB()
49 Py_INCREF(empty); in STRINGLIB()
56 Py_INCREF(sep_obj); in STRINGLIB()
102 Py_INCREF(empty); in STRINGLIB()
104 Py_INCREF(empty); in STRINGLIB()
106 Py_INCREF(str_obj); in STRINGLIB()
113 Py_INCREF(sep_obj); in STRINGLIB()
/third_party/python/Modules/
D_heapqmodule.c41 Py_INCREF(newitem); in siftdown()
42 Py_INCREF(parent); in siftdown()
89 Py_INCREF(a); in siftup()
90 Py_INCREF(b); in siftup()
151 Py_INCREF(lastelt); in heappop_internal()
196 Py_INCREF(item); in heapreplace_internal()
252 Py_INCREF(item); in _heapq_heappushpop_impl()
257 Py_INCREF(top); in _heapq_heappushpop_impl()
263 Py_INCREF(item); in _heapq_heappushpop_impl()
273 Py_INCREF(item); in _heapq_heappushpop_impl()
[all …]
D_elementtree.c292 Py_INCREF(tag); in create_new_element()
295 Py_INCREF(Py_None); in create_new_element()
298 Py_INCREF(Py_None); in create_new_element()
321 Py_INCREF(Py_None); in element_new()
324 Py_INCREF(Py_None); in element_new()
327 Py_INCREF(Py_None); in element_new()
431 Py_INCREF(tag); in element_init()
434 Py_INCREF(Py_None); in element_init()
437 Py_INCREF(Py_None); in element_init()
520 Py_INCREF(element); in element_add_subelement()
[all …]
D_functoolsmodule.c100 Py_INCREF(func); in partial_new()
125 Py_INCREF(kw); in partial_new()
387 Py_INCREF(value); in partial_repr()
436 Py_INCREF(fnargs); in partial_setstate()
445 Py_INCREF(kw); in partial_setstate()
454 Py_INCREF(dict); in partial_setstate()
456 Py_INCREF(fn); in partial_setstate()
581 Py_INCREF(ko->cmp); in keyobject_call()
583 Py_INCREF(object); in keyobject_call()
642 Py_INCREF(cmp); in functools_cmp_to_key()
[all …]
Dxxsubtype.c42 Py_INCREF(Py_None); in spamlist_setstate()
56 Py_INCREF(self); in spamlist_specialmeth()
58 Py_INCREF(args); in spamlist_specialmeth()
60 Py_INCREF(kw); in spamlist_specialmeth()
167 Py_INCREF(Py_None); in spamdict_setstate()
280 Py_INCREF(&spamlist_type); in xxsubtype_exec()
285 Py_INCREF(&spamdict_type); in xxsubtype_exec()
D_asynciomodule.c206 Py_INCREF(loop); in get_future_loop()
271 Py_INCREF(running_loop); in get_running_loop()
505 Py_INCREF(loop); in future_init()
547 Py_INCREF(res); in future_set_result()
580 Py_INCREF(exc_val); in future_set_exception()
644 Py_INCREF(fut->fut_exception); in future_get_result()
649 Py_INCREF(fut->fut_result); in future_get_result()
692 Py_INCREF(arg); in future_add_done_callback()
694 Py_INCREF(ctx); in future_add_done_callback()
702 Py_INCREF(arg); in future_add_done_callback()
[all …]
D_curses_panel.c265 Py_INCREF(wo); in PyCursesPanel_New()
316 Py_INCREF(po); in _curses_panel_panel_above_impl()
347 Py_INCREF(po); in _curses_panel_panel_below_impl()
397 Py_INCREF(self->wo); in _curses_panel_panel_window_impl()
431 Py_INCREF(win); in _curses_panel_panel_replace_impl()
452 Py_INCREF(obj); in _curses_panel_panel_set_userptr_impl()
489 Py_INCREF(obj); in _curses_panel_panel_userptr_impl()
558 Py_INCREF(po); in _curses_panel_bottom_panel_impl()
617 Py_INCREF(po); in _curses_panel_top_panel_impl()
673 Py_INCREF(state->PyCursesError); in _curses_panel_exec()
D_weakref.c98 Py_INCREF(current); in weakref_getweakrefs()
143 Py_INCREF(&_PyWeakref_RefType); in weakref_exec()
148 Py_INCREF(&_PyWeakref_RefType); in weakref_exec()
154 Py_INCREF(&_PyWeakref_ProxyType); in weakref_exec()
160 Py_INCREF(&_PyWeakref_CallableProxyType); in weakref_exec()
Dxxmodule.c55 Py_INCREF(Py_None); in Xxo_demo()
71 Py_INCREF(v); in Xxo_getattro()
198 Py_INCREF(Py_None); in xx_bug()
211 Py_INCREF(Py_None); in xx_roj()
269 Py_INCREF(Py_NotImplemented); in null_richcompare()
370 Py_INCREF(ErrorObject); in xx_exec()
Ditertoolsmodule.c227 Py_INCREF(keyfunc); in itertools_groupby_impl()
270 Py_INCREF(newvalue); in groupby_step()
311 Py_INCREF(gbo->currkey); in groupby_next()
353 Py_INCREF(currkey); in groupby_setstate()
355 Py_INCREF(currvalue); in groupby_setstate()
357 Py_INCREF(tgtkey); in groupby_setstate()
451 Py_INCREF(parent); in _grouper_create()
453 Py_INCREF(tgtkey); in _grouper_create()
605 Py_INCREF(it); in teedataobject_newinternal()
644 Py_INCREF(value); in teedataobject_getitem()
[all …]
Dxxlimited_35.c67 Py_INCREF(o); in Xxo_demo()
70 Py_INCREF(Py_None); in Xxo_demo()
86 Py_INCREF(v); in Xxo_getattro()
179 Py_INCREF(Py_None); in xx_roj()
261 Py_INCREF(ErrorObject); in xx_modexec()
/third_party/python/Doc/includes/
Dcustom3.c54 Py_INCREF(first); in Custom_init()
60 Py_INCREF(last); in Custom_init()
76 Py_INCREF(self->first); in Custom_getfirst()
94 Py_INCREF(value); in Custom_setfirst()
103 Py_INCREF(self->last); in Custom_getlast()
121 Py_INCREF(value); in Custom_setlast()
181 Py_INCREF(&CustomType); in PyInit_custom3()
Dcustom4.c70 Py_INCREF(first); in Custom_init()
76 Py_INCREF(last); in Custom_init()
92 Py_INCREF(self->first); in Custom_getfirst()
108 Py_INCREF(value); in Custom_setfirst()
117 Py_INCREF(self->last); in Custom_getlast()
133 Py_INCREF(value); in Custom_setlast()
195 Py_INCREF(&CustomType); in PyInit_custom4()
/third_party/python/Python/
Dhamt.c523 Py_INCREF(_empty_bitmap_node); in hamt_node_bitmap_new()
549 Py_INCREF(_empty_bitmap_node); in hamt_node_bitmap_new()
641 Py_INCREF(key1); in hamt_node_new_bitmap_or_collision()
643 Py_INCREF(val1); in hamt_node_new_bitmap_or_collision()
646 Py_INCREF(key2); in hamt_node_new_bitmap_or_collision()
648 Py_INCREF(val2); in hamt_node_new_bitmap_or_collision()
734 Py_INCREF(self); in hamt_node_bitmap_assoc()
757 Py_INCREF(self); in hamt_node_bitmap_assoc()
767 Py_INCREF(val); in hamt_node_bitmap_assoc()
864 Py_INCREF(new_node->a_array[i]); in hamt_node_bitmap_assoc()
[all …]
/third_party/python/Modules/_ssl/
Ddebughelpers.c36 Py_INCREF(ssl_socket); in _PySSL_msg_callback()
90 Py_INCREF(self->msg_cb); in _PySSLContext_get_msg_callback()
110 Py_INCREF(arg); in _PySSLContext_set_msg_callback()
169 Py_INCREF(self->keylog_filename); in _PySSLContext_get_keylog_filename()
206 Py_INCREF(arg); in _PySSLContext_set_keylog_filename()
/third_party/python/Modules/_ctypes/
D_ctypes.c226 Py_INCREF(key); in PyDict_SetItemProxy()
228 Py_INCREF(dict); in PyDict_SetItemProxy()
466 Py_INCREF(obj); in StructUnionType_paramfunc()
796 Py_INCREF(value); in CDataType_from_param()
813 Py_INCREF(value); in CDataType_from_param()
1032 Py_INCREF(proto); in PyCPointerType_SetProto()
1048 Py_INCREF(self); in PyCPointerType_paramfunc()
1166 Py_INCREF(value); in PyCPointerType_from_param()
1182 Py_INCREF(value); /* _byref steals a refcount */ in PyCPointerType_from_param()
1201 Py_INCREF(value); in PyCPointerType_from_param()
[all …]

123456789