Home
last modified time | relevance | path

Searched refs:Py_CLEAR (Results 1 – 25 of 125) sorted by relevance

12345

/third_party/python/Python/
DPython-ast.c256 Py_CLEAR(state->AST_type); in _PyAST_Fini()
257 Py_CLEAR(state->Add_singleton); in _PyAST_Fini()
258 Py_CLEAR(state->Add_type); in _PyAST_Fini()
259 Py_CLEAR(state->And_singleton); in _PyAST_Fini()
260 Py_CLEAR(state->And_type); in _PyAST_Fini()
261 Py_CLEAR(state->AnnAssign_type); in _PyAST_Fini()
262 Py_CLEAR(state->Assert_type); in _PyAST_Fini()
263 Py_CLEAR(state->Assign_type); in _PyAST_Fini()
264 Py_CLEAR(state->AsyncFor_type); in _PyAST_Fini()
265 Py_CLEAR(state->AsyncFunctionDef_type); in _PyAST_Fini()
[all …]
Dpystate.c294 Py_CLEAR(interp->audit_hooks); in PyInterpreterState_Clear()
297 Py_CLEAR(interp->codec_search_path); in PyInterpreterState_Clear()
298 Py_CLEAR(interp->codec_search_cache); in PyInterpreterState_Clear()
299 Py_CLEAR(interp->codec_error_registry); in PyInterpreterState_Clear()
300 Py_CLEAR(interp->modules); in PyInterpreterState_Clear()
301 Py_CLEAR(interp->modules_by_index); in PyInterpreterState_Clear()
302 Py_CLEAR(interp->sysdict); in PyInterpreterState_Clear()
303 Py_CLEAR(interp->builtins); in PyInterpreterState_Clear()
304 Py_CLEAR(interp->builtins_copy); in PyInterpreterState_Clear()
305 Py_CLEAR(interp->importlib); in PyInterpreterState_Clear()
[all …]
Dcontext.c438 Py_CLEAR(self->ctx_prev); in context_tp_clear()
439 Py_CLEAR(self->ctx_vars); in context_tp_clear()
854 Py_CLEAR(self->var_name); in contextvar_tp_clear()
855 Py_CLEAR(self->var_default); in contextvar_tp_clear()
1081 Py_CLEAR(self->tok_ctx); in token_tp_clear()
1082 Py_CLEAR(self->tok_var); in token_tp_clear()
1083 Py_CLEAR(self->tok_oldval); in token_tp_clear()
1288 Py_CLEAR(_token_missing); in _PyContext_Fini()
/third_party/python/Modules/
D_asynciomodule.c432 Py_CLEAR(fut->fut_callback0); in future_schedule_callbacks()
433 Py_CLEAR(fut->fut_context0); in future_schedule_callbacks()
437 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
453 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
465 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
470 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
483 Py_CLEAR(fut->fut_loop); in future_init()
484 Py_CLEAR(fut->fut_callback0); in future_init()
485 Py_CLEAR(fut->fut_context0); in future_init()
486 Py_CLEAR(fut->fut_callbacks); in future_init()
[all …]
D_elementtree.c122 Py_CLEAR(st->parseerror_obj); in elementtree_clear()
123 Py_CLEAR(st->deepcopy_obj); in elementtree_clear()
124 Py_CLEAR(st->elementpath_obj); in elementtree_clear()
125 Py_CLEAR(st->comment_factory); in elementtree_clear()
126 Py_CLEAR(st->pi_factory); in elementtree_clear()
653 Py_CLEAR(self->tag); in element_gc_clear()
2423 Py_CLEAR(self->element_factory); in _elementtree_TreeBuilder___init___impl()
2435 Py_CLEAR(self->comment_factory); in _elementtree_TreeBuilder___init___impl()
2448 Py_CLEAR(self->pi_factory); in _elementtree_TreeBuilder___init___impl()
2480 Py_CLEAR(self->pi_event_obj); in treebuilder_gc_clear()
[all …]
D_json.c663 Py_CLEAR(self->object_hook); in scanner_clear()
664 Py_CLEAR(self->object_pairs_hook); in scanner_clear()
665 Py_CLEAR(self->parse_float); in scanner_clear()
666 Py_CLEAR(self->parse_int); in scanner_clear()
667 Py_CLEAR(self->parse_constant); in scanner_clear()
668 Py_CLEAR(self->memo); in scanner_clear()
748 Py_CLEAR(key); in _parse_object_unicode()
749 Py_CLEAR(val); in _parse_object_unicode()
759 Py_CLEAR(key); in _parse_object_unicode()
760 Py_CLEAR(val); in _parse_object_unicode()
[all …]
Dzlibmodule.c518 Py_CLEAR(self); in zlib_compressobj_impl()
702 Py_CLEAR(RetVal); in zlib_Compress_compress_impl()
858 Py_CLEAR(RetVal); in zlib_Decompress_decompress_impl()
898 Py_CLEAR(RetVal); in zlib_Compress_flush_impl()
908 Py_CLEAR(RetVal); in zlib_Compress_flush_impl()
921 Py_CLEAR(RetVal); in zlib_Compress_flush_impl()
933 Py_CLEAR(RetVal); in zlib_Compress_flush_impl()
939 Py_CLEAR(RetVal); in zlib_Compress_flush_impl()
1197 Py_CLEAR(RetVal); in zlib_Decompress_flush_impl()
1374 Py_CLEAR(state->Comptype); in zlib_clear()
[all …]
D_pickle.c200 Py_CLEAR(st->PickleError); in _Pickle_ClearState()
201 Py_CLEAR(st->PicklingError); in _Pickle_ClearState()
202 Py_CLEAR(st->UnpicklingError); in _Pickle_ClearState()
203 Py_CLEAR(st->dispatch_table); in _Pickle_ClearState()
204 Py_CLEAR(st->extension_registry); in _Pickle_ClearState()
205 Py_CLEAR(st->extension_cache); in _Pickle_ClearState()
206 Py_CLEAR(st->inverted_registry); in _Pickle_ClearState()
207 Py_CLEAR(st->name_mapping_2to3); in _Pickle_ClearState()
208 Py_CLEAR(st->import_mapping_2to3); in _Pickle_ClearState()
209 Py_CLEAR(st->name_mapping_3to2); in _Pickle_ClearState()
[all …]
Dreadline.c101 Py_CLEAR(state->completion_display_matches_hook); in readline_clear()
102 Py_CLEAR(state->startup_hook); in readline_clear()
103 Py_CLEAR(state->pre_input_hook); in readline_clear()
104 Py_CLEAR(state->completer); in readline_clear()
105 Py_CLEAR(state->begidx); in readline_clear()
106 Py_CLEAR(state->endidx); in readline_clear()
367 Py_CLEAR(*hook_var); in set_hook()
974 Py_CLEAR(r); in on_completion_display_matches_hook()
/third_party/python/Objects/
Daccu.c82 Py_CLEAR(acc->small); in _PyAccu_FinishAsList()
84 Py_CLEAR(acc->large); in _PyAccu_FinishAsList()
113 Py_CLEAR(acc->small); in _PyAccu_Destroy()
114 Py_CLEAR(acc->large); in _PyAccu_Destroy()
Dfuncobject.c575 Py_CLEAR(op->func_code); in func_clear()
576 Py_CLEAR(op->func_globals); in func_clear()
577 Py_CLEAR(op->func_module); in func_clear()
578 Py_CLEAR(op->func_name); in func_clear()
579 Py_CLEAR(op->func_defaults); in func_clear()
580 Py_CLEAR(op->func_kwdefaults); in func_clear()
581 Py_CLEAR(op->func_doc); in func_clear()
582 Py_CLEAR(op->func_dict); in func_clear()
583 Py_CLEAR(op->func_closure); in func_clear()
584 Py_CLEAR(op->func_annotations); in func_clear()
[all …]
Dexceptions.c76 Py_CLEAR(self->dict); in BaseException_clear()
77 Py_CLEAR(self->args); in BaseException_clear()
78 Py_CLEAR(self->traceback); in BaseException_clear()
79 Py_CLEAR(self->cause); in BaseException_clear()
80 Py_CLEAR(self->context); in BaseException_clear()
515 Py_CLEAR(self->value); in StopIteration_init()
528 Py_CLEAR(self->value); in StopIteration_clear()
595 Py_CLEAR(self->code); in SystemExit_clear()
675 Py_CLEAR(self->msg); in ImportError_clear()
676 Py_CLEAR(self->name); in ImportError_clear()
[all …]
Diterobject.c231 Py_CLEAR(it->it_callable); in calliter_iternext()
232 Py_CLEAR(it->it_sentinel); in calliter_iternext()
237 Py_CLEAR(it->it_callable); in calliter_iternext()
238 Py_CLEAR(it->it_sentinel); in calliter_iternext()
Dgenobject.c123 Py_CLEAR(((PyAsyncGenObject*)gen)->ag_finalizer); in gen_dealloc()
127 Py_CLEAR(gen->gi_frame); in gen_dealloc()
130 Py_CLEAR(((PyCoroObject *)gen)->cr_origin); in gen_dealloc()
132 Py_CLEAR(gen->gi_code); in gen_dealloc()
133 Py_CLEAR(gen->gi_name); in gen_dealloc()
134 Py_CLEAR(gen->gi_qualname); in gen_dealloc()
224 Py_CLEAR(f->f_back); in gen_send_ex()
243 Py_CLEAR(result); in gen_send_ex()
876 Py_CLEAR(res); in _PyCoro_GetAwaitableIter()
882 Py_CLEAR(res); in _PyCoro_GetAwaitableIter()
[all …]
/third_party/python/Modules/_io/
Dtextio.c276 Py_CLEAR(self->decoder); in incrementalnewlinedecoder_dealloc()
277 Py_CLEAR(self->errors); in incrementalnewlinedecoder_dealloc()
879 Py_CLEAR(self->decoder); in _textiowrapper_set_decoder()
890 Py_CLEAR(self->decoder); in _textiowrapper_set_decoder()
934 Py_CLEAR(self->encoder); in _textiowrapper_set_encoder()
1110 Py_CLEAR(self->buffer); in _io_TextIOWrapper___init___impl()
1111 Py_CLEAR(self->encoding); in _io_TextIOWrapper___init___impl()
1112 Py_CLEAR(self->encoder); in _io_TextIOWrapper___init___impl()
1113 Py_CLEAR(self->decoder); in _io_TextIOWrapper___init___impl()
1114 Py_CLEAR(self->readnl); in _io_TextIOWrapper___init___impl()
[all …]
Dstringio.c576 Py_CLEAR(self->readnl); in _io_StringIO_close_impl()
577 Py_CLEAR(self->writenl); in _io_StringIO_close_impl()
578 Py_CLEAR(self->decoder); in _io_StringIO_close_impl()
592 Py_CLEAR(self->dict); in stringio_clear()
606 Py_CLEAR(self->readnl); in stringio_dealloc()
607 Py_CLEAR(self->writenl); in stringio_dealloc()
608 Py_CLEAR(self->decoder); in stringio_dealloc()
609 Py_CLEAR(self->dict); in stringio_dealloc()
691 Py_CLEAR(self->readnl); in _io_StringIO___init___impl()
692 Py_CLEAR(self->writenl); in _io_StringIO___init___impl()
[all …]
Dbufferedio.c390 Py_CLEAR(self->raw); in buffered_dealloc()
399 Py_CLEAR(self->dict); in buffered_dealloc()
426 Py_CLEAR(self->raw); in buffered_clear()
427 Py_CLEAR(self->dict); in buffered_clear()
530 Py_CLEAR(res); in buffered_close()
854 Py_CLEAR(res); in _io__Buffered_peek_impl()
986 Py_CLEAR(res); in _buffered_readinto_generic()
1111 Py_CLEAR(res); in _buffered_readline()
1114 Py_CLEAR(res); in _buffered_readline()
1156 Py_CLEAR(res); in _buffered_readline()
[all …]
Dwinconsoleio.c84 Py_CLEAR(decoded); in _PyIO_get_console_type()
219 Py_CLEAR(res); in _io__WindowsConsoleIO_close_impl()
310 Py_CLEAR(decodedname); in _io__WindowsConsoleIO___init___impl()
430 Py_CLEAR(self->dict); in winconsoleio_clear()
443 Py_CLEAR(self->dict); in winconsoleio_dealloc()
881 Py_CLEAR(bytes); in _io__WindowsConsoleIO_readall_impl()
892 Py_CLEAR(bytes); in _io__WindowsConsoleIO_readall_impl()
936 Py_CLEAR(bytes); in _io__WindowsConsoleIO_read_impl()
942 Py_CLEAR(bytes); in _io__WindowsConsoleIO_read_impl()
Diobase.c244 Py_CLEAR(res); in _io__IOBase_close_impl()
335 Py_CLEAR(self->dict); in iobase_clear()
359 Py_CLEAR(self->dict); in iobase_dealloc()
388 Py_CLEAR(res); in _PyIOBase_check_seekable()
421 Py_CLEAR(res); in _PyIOBase_check_readable()
454 Py_CLEAR(res); in _PyIOBase_check_writable()
/third_party/python/Doc/includes/
Dcustom4.c23 Py_CLEAR(self->first); in Custom_clear()
24 Py_CLEAR(self->last); in Custom_clear()
109 Py_CLEAR(self->first); in Custom_setfirst()
134 Py_CLEAR(self->last); in Custom_setlast()
/third_party/python/Modules/_sqlite/
Dcursor.c43 Py_CLEAR(self->statement); in pysqlite_cursor_init()
44 Py_CLEAR(self->next_row); in pysqlite_cursor_init()
45 Py_CLEAR(self->row_cast_map); in pysqlite_cursor_init()
153 Py_CLEAR(self->row_cast_map); in pysqlite_build_row_cast_map()
173 Py_CLEAR(self->row_cast_map); in pysqlite_build_row_cast_map()
187 Py_CLEAR(self->row_cast_map); in pysqlite_build_row_cast_map()
392 Py_CLEAR(self->next_row); in _pysqlite_query_execute()
481 Py_CLEAR(self->statement); in _pysqlite_query_execute()
592 Py_CLEAR(self->statement); in _pysqlite_query_execute()
730 Py_CLEAR(self->statement); in pysqlite_cursor_iternext()
[all …]
Dconnection.c105 Py_CLEAR(self->statement_cache); in pysqlite_connection_init()
106 Py_CLEAR(self->statements); in pysqlite_connection_init()
107 Py_CLEAR(self->cursors); in pysqlite_connection_init()
147 Py_CLEAR(self->isolation_level); in pysqlite_connection_init()
279 Py_CLEAR(weakref); in pysqlite_connection_register_cursor()
1290 Py_CLEAR(cursor); in pysqlite_connection_execute()
1296 Py_CLEAR(cursor); in pysqlite_connection_execute()
1319 Py_CLEAR(cursor); in pysqlite_connection_executemany()
1325 Py_CLEAR(cursor); in pysqlite_connection_executemany()
1348 Py_CLEAR(cursor); in pysqlite_connection_executescript()
[all …]
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage_factory.cc111 Py_CLEAR(it->second); in Dealloc()
115 Py_CLEAR(self->pool); in Dealloc()
133 Py_CLEAR(desc_and_class.second); in GcClear()
/third_party/python/Programs/
D_freeze_importlib.c110 Py_CLEAR(code); in main()
143 Py_CLEAR(marshalled); in main()
/third_party/python/Modules/_ssl/
Ddebughelpers.c98 Py_CLEAR(self->msg_cb); in _PySSLContext_set_msg_callback()
182 Py_CLEAR(self->keylog_filename); in _PySSLContext_set_keylog_filename()

12345