Home
last modified time | relevance | path

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

12345678910

/third_party/libxml2/python/
Dtypes.c132 Py_INCREF(Py_None); in libxml_charPtrWrap()
149 Py_INCREF(Py_None); in libxml_charPtrConstWrap()
165 Py_INCREF(Py_None); in libxml_xmlCharPtrWrap()
182 Py_INCREF(Py_None); in libxml_xmlCharPtrConstWrap()
198 Py_INCREF(Py_None); in libxml_constcharPtrWrap()
214 Py_INCREF(Py_None); in libxml_constxmlCharPtrWrap()
230 Py_INCREF(Py_None); in libxml_xmlDocPtrWrap()
247 Py_INCREF(Py_None); in libxml_xmlNodePtrWrap()
263 Py_INCREF(Py_None); in libxml_xmlURIPtrWrap()
279 Py_INCREF(Py_None); in libxml_xmlNsPtrWrap()
[all …]
/third_party/python/Objects/
Dfuncobject.c27 Py_INCREF(module); in PyFunction_NewWithQualName()
42 Py_INCREF(code); in PyFunction_NewWithQualName()
44 Py_INCREF(globals); in PyFunction_NewWithQualName()
47 Py_INCREF(op->func_name); in PyFunction_NewWithQualName()
62 Py_INCREF(doc); in PyFunction_NewWithQualName()
72 Py_INCREF(op->func_qualname); in PyFunction_NewWithQualName()
134 Py_INCREF(defaults); in PyFunction_SetDefaults()
164 Py_INCREF(defaults); in PyFunction_SetKwDefaults()
195 Py_INCREF(closure); in PyFunction_SetClosure()
227 Py_INCREF(annotations); in PyFunction_SetAnnotations()
[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.c28 Py_INCREF(Py_Ellipsis); in ellipsis_new()
131 Py_INCREF(step); in PySlice_New()
133 Py_INCREF(start); in PySlice_New()
135 Py_INCREF(stop); in PySlice_New()
383 Py_INCREF(step); in _PySlice_GetLongIndices()
412 Py_INCREF(lower); in _PySlice_GetLongIndices()
414 Py_INCREF(upper); in _PySlice_GetLongIndices()
420 Py_INCREF(start); in _PySlice_GetLongIndices()
439 Py_INCREF(lower); in _PySlice_GetLongIndices()
449 Py_INCREF(upper); in _PySlice_GetLongIndices()
[all …]
Dtupleobject.c106 Py_INCREF(op); in PyTuple_New()
121 Py_INCREF(op); /* extra INCREF so that this is never freed */ in PyTuple_New()
216 Py_INCREF(o); in PyTuple_Pack()
409 Py_INCREF(a->ob_item[i]); in tupleitem()
427 Py_INCREF(item); in _PyTuple_FromArray()
445 Py_INCREF(a); in tupleslice()
469 Py_INCREF(bb); in tupleconcat()
480 Py_INCREF(a); in tupleconcat()
498 Py_INCREF(v); in tupleconcat()
505 Py_INCREF(v); in tupleconcat()
[all …]
Drangeobject.c108 Py_INCREF(_PyLong_Zero); in range_from_array()
110 Py_INCREF(_PyLong_One); in range_from_array()
200 Py_INCREF(step); in compute_range_length()
289 Py_INCREF(i); in compute_range_item()
512 Py_INCREF(r->length); in range_hash()
518 Py_INCREF(Py_None); in range_hash()
519 Py_INCREF(Py_None); in range_hash()
524 Py_INCREF(r->start); in range_hash()
530 Py_INCREF(Py_None); in range_hash()
534 Py_INCREF(r->step); in range_hash()
[all …]
Dexceptions.c48 Py_INCREF(args); in BaseException_new()
67 Py_INCREF(args); in BaseException_init()
166 Py_INCREF(self); in BaseException_with_traceback()
189 Py_INCREF(self->args); in BaseException_get_args()
214 Py_INCREF(self->traceback); in BaseException_get_tb()
231 Py_INCREF(tb); in BaseException_set_tb()
259 Py_INCREF(arg); in BaseException_set_context()
288 Py_INCREF(arg); in BaseException_set_cause()
520 Py_INCREF(value); in StopIteration_init()
582 Py_INCREF(PyTuple_GET_ITEM(args, 0)); in SystemExit_init()
[all …]
/third_party/python/Objects/stringlib/
Dpartition.h38 Py_INCREF(str_obj); in STRINGLIB()
40 Py_INCREF(STRINGLIB_EMPTY); in STRINGLIB()
42 Py_INCREF(STRINGLIB_EMPTY); in STRINGLIB()
49 Py_INCREF(sep_obj); in STRINGLIB()
93 Py_INCREF(STRINGLIB_EMPTY); in STRINGLIB()
95 Py_INCREF(STRINGLIB_EMPTY); in STRINGLIB()
97 Py_INCREF(str_obj); in STRINGLIB()
104 Py_INCREF(sep_obj); in STRINGLIB()
/third_party/python/Modules/
D_heapqmodule.c39 Py_INCREF(newitem); in siftdown()
40 Py_INCREF(parent); in siftdown()
87 Py_INCREF(a); in siftup()
88 Py_INCREF(b); in siftup()
159 Py_INCREF(lastelt); in heappop_internal()
209 Py_INCREF(item); in heapreplace_internal()
270 Py_INCREF(item); in _heapq_heappushpop_impl()
275 Py_INCREF(top); in _heapq_heappushpop_impl()
281 Py_INCREF(item); in _heapq_heappushpop_impl()
291 Py_INCREF(item); in _heapq_heappushpop_impl()
[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_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()
D_curses_panel.c253 Py_INCREF(wo); in PyCursesPanel_New()
304 Py_INCREF(po); in _curses_panel_panel_above_impl()
335 Py_INCREF(po); in _curses_panel_panel_below_impl()
382 Py_INCREF(self->wo); in _curses_panel_panel_window_impl()
415 Py_INCREF(win); in _curses_panel_panel_replace_impl()
436 Py_INCREF(obj); in _curses_panel_panel_set_userptr()
467 Py_INCREF(obj); in _curses_panel_panel_userptr_impl()
537 Py_INCREF(po); in _curses_panel_bottom_panel_impl()
594 Py_INCREF(po); in _curses_panel_top_panel_impl()
673 Py_INCREF(get_curses_panelstate(m)->PyCursesPanel_Type); in PyInit__curses_panel()
D_functoolsmodule.c66 Py_INCREF(func); in partial_new()
91 Py_INCREF(kw); in partial_new()
336 Py_INCREF(value); in partial_repr()
385 Py_INCREF(fnargs); in partial_setstate()
394 Py_INCREF(kw); in partial_setstate()
403 Py_INCREF(dict); in partial_setstate()
405 Py_INCREF(fn); in partial_setstate()
561 Py_INCREF(ko->cmp); in keyobject_call()
563 Py_INCREF(object); in keyobject_call()
618 Py_INCREF(cmp); in functools_cmp_to_key()
[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 …]
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()
D_contextvarsmodule.c33 Py_INCREF(&PyContext_Type); in _contextvars_exec()
41 Py_INCREF(&PyContextVar_Type); in _contextvars_exec()
49 Py_INCREF(&PyContextToken_Type); in _contextvars_exec()
D_asynciomodule.c212 Py_INCREF(loop); in get_future_loop()
277 Py_INCREF(running_loop); in get_running_loop()
504 Py_INCREF(loop); in future_init()
546 Py_INCREF(res); in future_set_result()
579 Py_INCREF(exc_val); in future_set_exception()
643 Py_INCREF(fut->fut_exception); in future_get_result()
648 Py_INCREF(fut->fut_result); in future_get_result()
691 Py_INCREF(arg); in future_add_done_callback()
693 Py_INCREF(ctx); in future_add_done_callback()
701 Py_INCREF(arg); in future_add_done_callback()
[all …]
Dxxlimited.c65 Py_INCREF(o); in Xxo_demo()
68 Py_INCREF(Py_None); in Xxo_demo()
84 Py_INCREF(v); in Xxo_getattro()
176 Py_INCREF(Py_None); in xx_roj()
258 Py_INCREF(ErrorObject); in xx_modexec()
Ditertoolsmodule.c93 Py_INCREF(keyfunc); in itertools_groupby_impl()
136 Py_INCREF(newvalue); in groupby_step()
177 Py_INCREF(gbo->currkey); in groupby_next()
219 Py_INCREF(currkey); in groupby_setstate()
221 Py_INCREF(currvalue); in groupby_setstate()
223 Py_INCREF(tgtkey); in groupby_setstate()
317 Py_INCREF(parent); in _grouper_create()
319 Py_INCREF(tgtkey); in _grouper_create()
471 Py_INCREF(it); in teedataobject_newinternal()
510 Py_INCREF(value); in teedataobject_getitem()
[all …]
/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/Modules/_sqlite/
Dcursor.c41 Py_INCREF(connection); in pysqlite_cursor_init()
47 Py_INCREF(Py_None); in pysqlite_cursor_init()
50 Py_INCREF(Py_None); in pysqlite_cursor_init()
59 Py_INCREF(Py_None); in pysqlite_cursor_init()
271 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
285 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
402 Py_INCREF(second_argument); in _pysqlite_query_execute()
428 Py_INCREF(second_argument); in _pysqlite_query_execute()
448 Py_INCREF(Py_None); in _pysqlite_query_execute()
456 Py_INCREF(operation); in _pysqlite_query_execute()
[all …]
/third_party/python/Python/
Dhamt.c542 Py_INCREF(_empty_bitmap_node); in hamt_node_bitmap_new()
568 Py_INCREF(_empty_bitmap_node); in hamt_node_bitmap_new()
660 Py_INCREF(key1); in hamt_node_new_bitmap_or_collision()
662 Py_INCREF(val1); in hamt_node_new_bitmap_or_collision()
665 Py_INCREF(key2); in hamt_node_new_bitmap_or_collision()
667 Py_INCREF(val2); in hamt_node_new_bitmap_or_collision()
753 Py_INCREF(self); in hamt_node_bitmap_assoc()
776 Py_INCREF(self); in hamt_node_bitmap_assoc()
786 Py_INCREF(val); in hamt_node_bitmap_assoc()
883 Py_INCREF(new_node->a_array[i]); in hamt_node_bitmap_assoc()
[all …]
DPython-ast.c1114 Py_INCREF((PyObject*)o); in ast2obj_object()
1137 Py_INCREF(obj); in obj2ast_object()
1149 Py_INCREF(obj); in obj2ast_constant()
4416 Py_INCREF(state->Load_singleton); in ast2obj_expr_context()
4419 Py_INCREF(state->Store_singleton); in ast2obj_expr_context()
4422 Py_INCREF(state->Del_singleton); in ast2obj_expr_context()
4431 Py_INCREF(state->And_singleton); in ast2obj_boolop()
4434 Py_INCREF(state->Or_singleton); in ast2obj_boolop()
4443 Py_INCREF(state->Add_singleton); in ast2obj_operator()
4446 Py_INCREF(state->Sub_singleton); in ast2obj_operator()
[all …]
/third_party/python/Modules/_ssl/
Ddebughelpers.c35 Py_INCREF(ssl_socket); in _PySSL_msg_callback()
89 Py_INCREF(self->msg_cb); in _PySSLContext_get_msg_callback()
109 Py_INCREF(arg); in _PySSLContext_set_msg_callback()
170 Py_INCREF(self->keylog_filename); in _PySSLContext_get_keylog_filename()
207 Py_INCREF(arg); in _PySSLContext_set_keylog_filename()

12345678910