Home
last modified time | relevance | path

Searched refs:Py_INCREF (Results 1 - 25 of 179) sorted by relevance

12345678

/third_party/python/Objects/
H A Dfuncobject.c20 Py_INCREF(constr->fc_globals); in _PyFunction_FromConstructor()
22 Py_INCREF(constr->fc_builtins); in _PyFunction_FromConstructor()
24 Py_INCREF(constr->fc_name); in _PyFunction_FromConstructor()
26 Py_INCREF(constr->fc_qualname); in _PyFunction_FromConstructor()
28 Py_INCREF(constr->fc_code); in _PyFunction_FromConstructor()
36 Py_INCREF(Py_None); in _PyFunction_FromConstructor()
53 Py_INCREF(globals); in PyFunction_NewWithQualName()
58 Py_INCREF(code_obj); in PyFunction_NewWithQualName()
62 Py_INCREF(name); in PyFunction_NewWithQualName()
68 Py_INCREF(qualnam in PyFunction_NewWithQualName()
[all...]
H A Dweakrefobject.c155 Py_INCREF(obj); in weakref_hash()
172 Py_INCREF(obj); in weakref_repr()
218 Py_INCREF(obj); in weakref_richcompare()
219 Py_INCREF(other_obj); in weakref_richcompare()
311 Py_INCREF(ref); in weakref___new__()
419 Py_INCREF(proxy); \
430 Py_INCREF(x); \
431 Py_INCREF(y); \
448 Py_INCREF(proxy); \
449 Py_INCREF(
[all...]
H A 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()
393 Py_INCREF(step); in _PySlice_GetLongIndices()
422 Py_INCREF(lower); in _PySlice_GetLongIndices()
424 Py_INCREF(upper); in _PySlice_GetLongIndices()
430 Py_INCREF(start); in _PySlice_GetLongIndices()
449 Py_INCREF(lower); in _PySlice_GetLongIndices()
459 Py_INCREF(uppe in _PySlice_GetLongIndices()
[all...]
H A Drangeobject.c108 Py_INCREF(start); in range_from_array()
110 Py_INCREF(step); in range_from_array()
202 Py_INCREF(step); in compute_range_length()
218 Py_INCREF(result); in compute_range_length()
300 Py_INCREF(i); in compute_range_item()
524 Py_INCREF(r->length); in range_hash()
530 Py_INCREF(Py_None); in range_hash()
531 Py_INCREF(Py_None); in range_hash()
536 Py_INCREF(r->start); in range_hash()
542 Py_INCREF(Py_Non in range_hash()
[all...]
H A Dtupleobject.c64 Py_INCREF(&_Py_SINGLETON(tuple_empty)); in tuple_get_empty()
174 Py_INCREF(o); in PyTuple_Pack()
370 Py_INCREF(a->ob_item[i]); in tupleitem()
388 Py_INCREF(item); in _PyTuple_FromArray()
428 Py_INCREF(a); in tupleslice()
452 Py_INCREF(bb); in tupleconcat()
464 Py_INCREF(a); in tupleconcat()
481 Py_INCREF(v); in tupleconcat()
488 Py_INCREF(v); in tupleconcat()
504 Py_INCREF( in tuplerepeat()
[all...]
H A Dunionobject.c117 Py_INCREF(a); in merge()
121 Py_INCREF(arg); in merge()
173 Py_INCREF(self); in _Py_union_type_or()
302 Py_INCREF(res); in union_getitem()
329 Py_INCREF(alias->parameters); in union_parameters()
403 Py_INCREF(args); in make_union()
H A Dclassobject.c116 Py_INCREF(func); in PyMethod_New()
118 Py_INCREF(self); in PyMethod_New()
198 Py_INCREF(descr); in method_getattro()
270 Py_INCREF(res); in method_richcompare()
362 Py_INCREF(func); in PyInstanceMethod_New()
415 Py_INCREF(descr); in instancemethod_getattro()
446 Py_INCREF(func); in instancemethod_descr_get()
475 Py_INCREF(res); in instancemethod_richcompare()
H A Ddictobject.c820 Py_INCREF(value); in clone_combined_dict_keys()
821 Py_INCREF(*pkey); in clone_combined_dict_keys()
886 Py_INCREF(startkey); in unicodekeys_lookup_generic()
975 Py_INCREF(startkey); in dictkeys_generic_lookup()
1203 Py_INCREF(name); in insert_into_dictkeys()
1452 Py_INCREF(ep->me_key); in dictresize()
1466 Py_INCREF(ep->me_key); in dictresize()
1904 Py_INCREF(key); in PyDict_SetItem()
1905 Py_INCREF(value); in PyDict_SetItem()
1924 Py_INCREF(ke in _PyDict_SetItem_KnownHash()
[all...]
H A Dsetobject.c82 Py_INCREF(startkey); in set_lookkey()
116 Py_INCREF(key); in set_add_entry()
141 Py_INCREF(startkey); in set_add_entry()
591 Py_INCREF(key); in set_merge()
610 Py_INCREF(key); in set_merge()
823 Py_INCREF(key); in setiter_iternext()
871 Py_INCREF(so); in set_iter()
1000 Py_INCREF(iterable); in make_new_frozenset()
1103 Py_INCREF(so); in frozenset_copy()
1176 Py_INCREF(s in set_ior()
[all...]
/third_party/python/Objects/stringlib/
H A Dpartition.h43 Py_INCREF(str_obj); in partition()
47 Py_INCREF(empty); in partition()
49 Py_INCREF(empty); in partition()
56 Py_INCREF(sep_obj); in partition()
102 Py_INCREF(empty); in rpartition()
104 Py_INCREF(empty); in rpartition()
106 Py_INCREF(str_obj); in rpartition()
113 Py_INCREF(sep_obj); in rpartition()
H A Dsplit.h76 Py_INCREF(str_obj); in split_whitespace()
128 Py_INCREF(str_obj); in split_char()
176 Py_INCREF(str_obj); in split()
215 Py_INCREF(str_obj); in rsplit_whitespace()
268 Py_INCREF(str_obj); in rsplit_char()
317 Py_INCREF(str_obj); in rsplit()
/third_party/python/Modules/
H A 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()
282 Py_INCREF(&spamlist_type); in xxsubtype_exec()
287 Py_INCREF(&spamdict_type); in xxsubtype_exec()
H A D_heapqmodule.c45 Py_INCREF(newitem); in siftdown()
46 Py_INCREF(parent); in siftdown()
93 Py_INCREF(a); in siftup()
94 Py_INCREF(b); in siftup()
155 Py_INCREF(lastelt); in heappop_internal()
200 Py_INCREF(item); in heapreplace_internal()
256 Py_INCREF(item); in _heapq_heappushpop_impl()
261 Py_INCREF(top); in _heapq_heappushpop_impl()
267 Py_INCREF(item); in _heapq_heappushpop_impl()
277 Py_INCREF(ite in _heapq_heappushpop_impl()
[all...]
H A D_functoolsmodule.c101 Py_INCREF(func); in partial_new()
126 Py_INCREF(kw); in partial_new()
388 Py_INCREF(value); in partial_repr()
437 Py_INCREF(fnargs); in partial_setstate()
446 Py_INCREF(kw); in partial_setstate()
455 Py_INCREF(dict); in partial_setstate()
457 Py_INCREF(fn); in partial_setstate()
582 Py_INCREF(ko->cmp); in keyobject_call()
584 Py_INCREF(object); in keyobject_call()
643 Py_INCREF(cm in functools_cmp_to_key()
[all...]
H A D_elementtree.c282 Py_INCREF(tag); in create_new_element()
285 Py_INCREF(Py_None); in create_new_element()
288 Py_INCREF(Py_None); in create_new_element()
310 Py_INCREF(Py_None); in element_new()
313 Py_INCREF(Py_None); in element_new()
316 Py_INCREF(Py_None); in element_new()
420 Py_INCREF(tag); in element_init()
423 Py_INCREF(Py_None); in element_init()
426 Py_INCREF(Py_None); in element_init()
509 Py_INCREF(elemen in element_add_subelement()
[all...]
H A D_asynciomodule.c214 Py_INCREF(loop); in get_future_loop()
279 Py_INCREF(running_loop); in get_running_loop()
507 Py_INCREF(loop); in future_init()
549 Py_INCREF(res); in future_set_result()
582 Py_INCREF(exc_val); in future_set_exception()
663 Py_INCREF(fut->fut_exception); in future_get_result()
669 Py_INCREF(fut->fut_result); in future_get_result()
712 Py_INCREF(arg); in future_add_done_callback()
714 Py_INCREF(ctx); in future_add_done_callback()
722 Py_INCREF(ar in future_add_done_callback()
[all...]
H A D_weakref.c103 Py_INCREF(current); in _weakref_getweakrefs()
148 Py_INCREF(&_PyWeakref_RefType); in weakref_exec()
153 Py_INCREF(&_PyWeakref_RefType); in weakref_exec()
159 Py_INCREF(&_PyWeakref_ProxyType); in weakref_exec()
165 Py_INCREF(&_PyWeakref_CallableProxyType); in weakref_exec()
H A Ditertoolsmodule.c226 Py_INCREF(keyfunc); in itertools_groupby_impl()
269 Py_INCREF(newvalue); in groupby_step()
310 Py_INCREF(gbo->currkey); in groupby_next()
352 Py_INCREF(currkey); in groupby_setstate()
354 Py_INCREF(currvalue); in groupby_setstate()
356 Py_INCREF(tgtkey); in groupby_setstate()
450 Py_INCREF(parent); in _grouper_create()
452 Py_INCREF(tgtkey); in _grouper_create()
603 Py_INCREF(it); in teedataobject_newinternal()
642 Py_INCREF(valu in teedataobject_getitem()
[all...]
H A Dxxmodule.c55 Py_INCREF(Py_None); in Xxo_demo()
71 Py_INCREF(v); in Xxo_getattro()
192 /* Py_INCREF(item); */ in xx_bug()
198 Py_INCREF(Py_None); in xx_bug()
211 Py_INCREF(Py_None); in xx_roj()
269 Py_INCREF(Py_NotImplemented); in null_richcompare()
H A 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(stat in _curses_panel_exec()
[all...]
H A 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()
258 Py_INCREF(ErrorObject); in xx_modexec()
/third_party/python/Doc/includes/
H A 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()
H A 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()
/third_party/python/Python/
H A Dhamt.c532 Py_INCREF(_empty_bitmap_node); in hamt_node_bitmap_new()
558 Py_INCREF(_empty_bitmap_node); in hamt_node_bitmap_new()
650 Py_INCREF(key1); in hamt_node_new_bitmap_or_collision()
652 Py_INCREF(val1); in hamt_node_new_bitmap_or_collision()
655 Py_INCREF(key2); in hamt_node_new_bitmap_or_collision()
657 Py_INCREF(val2); in hamt_node_new_bitmap_or_collision()
743 Py_INCREF(self); in hamt_node_bitmap_assoc()
766 Py_INCREF(self); in hamt_node_bitmap_assoc()
776 Py_INCREF(val); in hamt_node_bitmap_assoc()
873 Py_INCREF(new_nod in hamt_node_bitmap_assoc()
[all...]
/third_party/python/Modules/_ssl/
H A 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()

Completed in 38 milliseconds

12345678