Home
last modified time | relevance | path

Searched refs:Py_DECREF (Results 1 – 25 of 269) sorted by relevance

1234567891011

/third_party/python/Modules/
D_abc.c73 Py_DECREF(tp); in abc_data_dealloc()
87 Py_DECREF(self); in abc_data_new()
127 Py_DECREF(impl); in _get_impl()
148 Py_DECREF(ref); in _in_weak_set()
162 Py_DECREF(set); in _destroy()
165 Py_DECREF(set); in _destroy()
192 Py_DECREF(wr); in _add_to_weak_set()
196 Py_DECREF(destroy_cb); in _add_to_weak_set()
198 Py_DECREF(wr); in _add_to_weak_set()
202 Py_DECREF(wr); in _add_to_weak_set()
[all …]
Dmain.c140 Py_DECREF(sys_path0); in pymain_get_importer()
141 Py_DECREF(importer); in pymain_get_importer()
145 Py_DECREF(importer); in pymain_get_importer()
220 Py_DECREF(mod); in pymain_import_readline()
241 Py_DECREF(unicode); in pymain_run_command()
249 Py_DECREF(bytes); in pymain_run_command()
273 Py_DECREF(runpy); in pymain_run_module()
279 Py_DECREF(runpy); in pymain_run_module()
280 Py_DECREF(runmodule); in pymain_run_module()
287 Py_DECREF(runpy); in pymain_run_module()
[all …]
D_elementtree.c70 Py_DECREF(tmp); in _set_joined_ptr()
161 Py_DECREF(joiner); in list_join()
255 Py_DECREF(extra->children[i]); in dealloc_extra()
308 Py_DECREF(self); in create_new_element()
358 Py_DECREF(attrib_str); in get_attrib_from_keywords()
365 Py_DECREF(attrib); in get_attrib_from_keywords()
373 Py_DECREF(attrib_str); in get_attrib_from_keywords()
376 Py_DECREF(attrib); in get_attrib_from_keywords()
407 Py_DECREF(attrib); in element_init()
422 Py_DECREF(attrib); in element_init()
[all …]
Dmathmodule.c853 Py_DECREF(res); in math_gcd()
859 Py_DECREF(x); in math_gcd()
863 Py_DECREF(x); in math_gcd()
891 Py_DECREF(g); in long_lcm()
896 Py_DECREF(f); in long_lcm()
901 Py_DECREF(m); in long_lcm()
928 Py_DECREF(res); in math_lcm()
934 Py_DECREF(x); in math_lcm()
938 Py_DECREF(x); in math_lcm()
1211 Py_DECREF(method); in math_ceil()
[all …]
D_functoolsmodule.c104 Py_DECREF(pto); in partial_new()
112 Py_DECREF(nargs); in partial_new()
114 Py_DECREF(pto); in partial_new()
136 Py_DECREF(pto); in partial_new()
142 Py_DECREF(pto); in partial_new()
182 Py_DECREF(tp); in partial_dealloc()
309 Py_DECREF(kwargs2); in partial_call()
324 Py_DECREF(args2); in partial_call()
390 Py_DECREF(value); in partial_repr()
396 Py_DECREF(arglist); in partial_repr()
[all …]
D_datetimemodule.c194 Py_DECREF(temp); in divide_nearest()
1172 Py_DECREF(offset); in call_tzinfo_method()
1184 Py_DECREF(offset); in call_tzinfo_method()
1247 Py_DECREF(result); in call_tzname()
1271 Py_DECREF(repr); in append_keyword_tzinfo()
1275 Py_DECREF(temp); in append_keyword_tzinfo()
1295 Py_DECREF(repr); in append_keyword_fold()
1299 Py_DECREF(temp); in append_keyword_fold()
1319 Py_DECREF(delta); in tzinfo_from_isoformat_results()
1378 Py_DECREF(offset); in format_utcoffset()
[all …]
D_asynciomodule.c146 Py_DECREF(res); in _is_coroutine()
215 Py_DECREF(getloop); in get_future_loop()
309 Py_DECREF(rl); // will cleanup loop & current_pid in set_running_loop()
312 Py_DECREF(rl); in set_running_loop()
347 Py_DECREF(policy); in get_event_loop()
381 Py_DECREF(callable); in call_soon()
387 Py_DECREF(handle); in call_soon()
514 Py_DECREF(res); in future_init()
573 Py_DECREF(exc_val); in future_set_exception()
583 Py_DECREF(exc_val); in future_set_exception()
[all …]
/third_party/python/Modules/_io/
Diobase.c192 Py_DECREF(res); in iobase_check_closed()
251 Py_DECREF(res); in _io__IOBase_close_impl()
276 Py_DECREF(res); in iobase_finalize()
302 Py_DECREF(res); in iobase_finalize()
395 Py_DECREF(res); in _PyIOBase_check_seekable()
428 Py_DECREF(res); in _PyIOBase_check_readable()
461 Py_DECREF(res); in _PyIOBase_check_writable()
573 Py_DECREF(readahead); in _io__IOBase_readline_impl()
597 Py_DECREF(readahead); in _io__IOBase_readline_impl()
613 Py_DECREF(b); in _io__IOBase_readline_impl()
[all …]
Dtextio.c291 Py_DECREF(decoded); in check_decoded()
295 Py_DECREF(decoded); in check_decoded()
348 Py_DECREF(output); in _PyIncrementalNewlineDecoder_decode()
364 Py_DECREF(output); in _PyIncrementalNewlineDecoder_decode()
491 Py_DECREF(output); in _PyIncrementalNewlineDecoder_decode()
503 Py_DECREF(output); in _PyIncrementalNewlineDecoder_decode()
540 Py_DECREF(state); in _io_IncrementalNewlineDecoder_getstate_impl()
546 Py_DECREF(state); in _io_IncrementalNewlineDecoder_getstate_impl()
550 Py_DECREF(state); in _io_IncrementalNewlineDecoder_getstate_impl()
873 Py_DECREF(res); in _textiowrapper_set_decoder()
[all …]
/third_party/python/Modules/_ctypes/
Dstgdict.c215 Py_DECREF(fields); in MakeFields()
226 Py_DECREF(fieldlist); in MakeFields()
231 Py_DECREF(fieldlist); in MakeFields()
236 Py_DECREF(fdescr); in MakeFields()
237 Py_DECREF(fieldlist); in MakeFields()
244 Py_DECREF(fdescr); in MakeFields()
246 Py_DECREF(fieldlist); in MakeFields()
253 Py_DECREF(fdescr); in MakeFields()
254 Py_DECREF(fieldlist); in MakeFields()
266 Py_DECREF(fdescr); in MakeFields()
[all …]
D_ctypes.c232 Py_DECREF(obj); in PyDict_SetItemProxy()
237 Py_DECREF(proxy); in PyDict_SetItemProxy()
471 Py_DECREF(obj); in StructUnionType_paramfunc()
505 Py_DECREF(result); in StructUnionType_new()
511 Py_DECREF(result); in StructUnionType_new()
520 Py_DECREF(result); in StructUnionType_new()
521 Py_DECREF((PyObject *)dict); in StructUnionType_new()
527 Py_DECREF(result); in StructUnionType_new()
536 Py_DECREF(result); in StructUnionType_new()
542 Py_DECREF(result); in StructUnionType_new()
[all …]
/third_party/python/Python/
Dceval.c948 Py_DECREF(value); in match_keys()
949 Py_DECREF(values); in match_keys()
956 Py_DECREF(value); in match_keys()
961 Py_DECREF(get); in match_keys()
962 Py_DECREF(seen); in match_keys()
963 Py_DECREF(dummy); in match_keys()
1021 Py_DECREF(seen); in match_class()
1081 Py_DECREF(attr); in match_class()
1094 Py_DECREF(attr); in match_class()
1097 Py_DECREF(seen); in match_class()
[all …]
Dbltinmodule.c61 Py_DECREF(meth); in update_bases()
68 Py_DECREF(new_base); in update_bases()
75 Py_DECREF(new_base); in update_bases()
86 Py_DECREF(new_base); in update_bases()
89 Py_DECREF(new_base); in update_bases()
95 Py_DECREF(new_bases); in update_bases()
136 Py_DECREF(orig_bases); in builtin___build_class__()
186 Py_DECREF(meta); in builtin___build_class__()
202 Py_DECREF(prep); in builtin___build_class__()
238 Py_DECREF(cls); in builtin___build_class__()
[all …]
Dcodecs.c151 Py_DECREF(v); in _PyCodec_Lookup()
180 Py_DECREF(result); in _PyCodec_Lookup()
186 Py_DECREF(result); in _PyCodec_Lookup()
200 Py_DECREF(result); in _PyCodec_Lookup()
203 Py_DECREF(v); in _PyCodec_Lookup()
207 Py_DECREF(v); in _PyCodec_Lookup()
223 Py_DECREF(codecs); in PyCodec_KnownEncoding()
244 Py_DECREF(args); in args_tuple()
264 Py_DECREF(codecs); in codec_getitem()
284 Py_DECREF(inccodec); in codec_makeincrementalcodec()
[all …]
Dimport.c82 Py_DECREF(zipimport); in _PyImportZip_Init()
92 Py_DECREF(zipimporter); in _PyImportZip_Init()
340 Py_DECREF(modules); in import_get_module()
367 Py_DECREF(value); in import_ensure_initialized()
386 Py_DECREF(external); in PyImport_GetMagicNumber()
390 Py_DECREF(pyc_magic); in PyImport_GetMagicNumber()
476 Py_DECREF(key); in _PyImport_FixupExtensionObject()
494 Py_DECREF(nameobj); in _PyImport_FixupBuiltin()
511 Py_DECREF(key); in import_find_extension()
528 Py_DECREF(mod); in import_find_extension()
[all …]
Dimportdl.c83 Py_DECREF(name); in get_encoded_name()
84 Py_DECREF(encoded); in get_encoded_name()
87 Py_DECREF(name); in get_encoded_name()
140 Py_DECREF(pathbytes); in _PyImport_LoadDynamicModuleWithSpec()
153 Py_DECREF(msg); in _PyImport_LoadDynamicModuleWithSpec()
198 Py_DECREF(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
199 Py_DECREF(name); in _PyImport_LoadDynamicModuleWithSpec()
200 Py_DECREF(path); in _PyImport_LoadDynamicModuleWithSpec()
234 Py_DECREF(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
235 Py_DECREF(name); in _PyImport_LoadDynamicModuleWithSpec()
[all …]
D_warnings.c75 Py_DECREF(modname_obj); in create_filter()
107 Py_DECREF(filters); in init_filters()
175 Py_DECREF(result); in check_matched()
221 Py_DECREF(warnings_module); in get_warnings_attr()
244 Py_DECREF(registry); in get_once_registry()
271 Py_DECREF(default_action); in get_default_action()
334 Py_DECREF(tmp_item); in get_filter()
340 Py_DECREF(tmp_item); in get_filter()
346 Py_DECREF(tmp_item); in get_filter()
352 Py_DECREF(tmp_item); in get_filter()
[all …]
Dpythonrun.c94 Py_DECREF(filename); in _PyRun_AnyFileObject()
187 Py_DECREF(filename_obj); in PyRun_InteractiveLoopFlags()
282 Py_DECREF(v); in PyRun_InteractiveOneObjectEx()
312 Py_DECREF(filename); in PyRun_InteractiveOneFlags()
328 Py_DECREF(ext); in maybe_pyc_file()
377 Py_DECREF(bootstrap); in set_main_loader()
384 Py_DECREF(loader_type); in set_main_loader()
390 Py_DECREF(loader); in set_main_loader()
393 Py_DECREF(loader); in set_main_loader()
465 Py_DECREF(v); in _PyRun_SimpleFileObject()
[all …]
/third_party/python/Doc/includes/
Drun-func.c21 Py_DECREF(pName); in main()
32 Py_DECREF(pArgs); in main()
33 Py_DECREF(pModule); in main()
41 Py_DECREF(pArgs); in main()
44 Py_DECREF(pValue); in main()
47 Py_DECREF(pFunc); in main()
48 Py_DECREF(pModule); in main()
60 Py_DECREF(pModule); in main()
/third_party/python/Modules/_decimal/
D_decimal.c345 Py_DECREF(list); in flags_as_list()
363 Py_DECREF(list); in signals_as_list()
409 Py_DECREF(dict); in flags_as_dict()
503 Py_DECREF(siglist); in dec_addstatus()
1199 Py_DECREF(self); in context_new()
1204 Py_DECREF(self); in context_new()
1446 Py_DECREF(flags); in context_reduce()
1457 Py_DECREF(flags); in context_reduce()
1458 Py_DECREF(traps); in context_reduce()
1543 Py_DECREF(tl_context); in current_context_from_dict()
[all …]
/third_party/python/Objects/
Dsetobject.c84 Py_DECREF(startkey); in set_lookkey()
143 Py_DECREF(startkey); in set_add_entry()
180 Py_DECREF(key); in set_add_entry()
184 Py_DECREF(key); in set_add_entry()
339 Py_DECREF(old_key); in set_discard_entry()
436 Py_DECREF(entry->key); in set_clear_internal()
497 Py_DECREF(entry->key); in set_dealloc()
530 Py_DECREF(keys); in set_repr()
534 Py_DECREF(listrepr); in set_repr()
545 Py_DECREF(listrepr); in set_repr()
[all …]
Denumobject.c53 Py_DECREF(en); in enum_new_impl()
64 Py_DECREF(start); in enum_new_impl()
72 Py_DECREF(en); in enum_new_impl()
77 Py_DECREF(en); in enum_new_impl()
114 Py_DECREF(next_item); in enum_next_long()
122 Py_DECREF(next_item); in enum_next_long()
133 Py_DECREF(old_index); in enum_next_long()
134 Py_DECREF(old_item); in enum_next_long()
144 Py_DECREF(next_index); in enum_next_long()
145 Py_DECREF(next_item); in enum_next_long()
[all …]
Dstructseq.c120 Py_DECREF(tp); in structseq_dealloc()
169 Py_DECREF(arg); in structseq_new_impl()
179 Py_DECREF(arg); in structseq_new_impl()
187 Py_DECREF(arg); in structseq_new_impl()
196 Py_DECREF(arg); in structseq_new_impl()
203 Py_DECREF(arg); in structseq_new_impl()
211 Py_DECREF(arg); in structseq_new_impl()
221 Py_DECREF(res); in structseq_new_impl()
257 Py_DECREF(type_name); in structseq_repr()
260 Py_DECREF(type_name); in structseq_repr()
[all …]
Dfileobject.c45 Py_DECREF(io); in PyFile_FromFd()
72 Py_DECREF(result); in PyFile_GetLine()
82 Py_DECREF(result); in PyFile_GetLine()
93 Py_DECREF(result); in PyFile_GetLine()
101 Py_DECREF(result); in PyFile_GetLine()
109 Py_DECREF(result); in PyFile_GetLine()
137 Py_DECREF(writer); in PyFile_WriteObject()
141 Py_DECREF(value); in PyFile_WriteObject()
142 Py_DECREF(writer); in PyFile_WriteObject()
145 Py_DECREF(result); in PyFile_WriteObject()
[all …]
/third_party/python/Modules/_sqlite/
Dmicroprotocols.c47 Py_DECREF(psyco_adapters); in pysqlite_microprotocols_init()
69 Py_DECREF(key); in pysqlite_microprotocols_add()
93 Py_DECREF(key); in pysqlite_microprotocols_adapt()
97 Py_DECREF(adapter); in pysqlite_microprotocols_adapt()
110 Py_DECREF(adapter); in pysqlite_microprotocols_adapt()
113 Py_DECREF(adapted); in pysqlite_microprotocols_adapt()
129 Py_DECREF(adapter); in pysqlite_microprotocols_adapt()
132 Py_DECREF(adapted); in pysqlite_microprotocols_adapt()

1234567891011