Home
last modified time | relevance | path

Searched refs:Py_CLEAR (Results 1 - 25 of 143) sorted by relevance

123456

/third_party/python/Python/
H A DPython-ast.c30 Py_CLEAR(state->AST_type); in _PyAST_Fini()
31 Py_CLEAR(state->Add_singleton); in _PyAST_Fini()
32 Py_CLEAR(state->Add_type); in _PyAST_Fini()
33 Py_CLEAR(state->And_singleton); in _PyAST_Fini()
34 Py_CLEAR(state->And_type); in _PyAST_Fini()
35 Py_CLEAR(state->AnnAssign_type); in _PyAST_Fini()
36 Py_CLEAR(state->Assert_type); in _PyAST_Fini()
37 Py_CLEAR(state->Assign_type); in _PyAST_Fini()
38 Py_CLEAR(state->AsyncFor_type); in _PyAST_Fini()
39 Py_CLEAR(stat in _PyAST_Fini()
[all...]
H A Dpystate.c413 Py_CLEAR(interp->audit_hooks); in interpreter_clear()
416 Py_CLEAR(interp->codec_search_path); in interpreter_clear()
417 Py_CLEAR(interp->codec_search_cache); in interpreter_clear()
418 Py_CLEAR(interp->codec_error_registry); in interpreter_clear()
419 Py_CLEAR(interp->modules); in interpreter_clear()
420 Py_CLEAR(interp->modules_by_index); in interpreter_clear()
421 Py_CLEAR(interp->builtins_copy); in interpreter_clear()
422 Py_CLEAR(interp->importlib); in interpreter_clear()
423 Py_CLEAR(interp->import_func); in interpreter_clear()
424 Py_CLEAR(inter in interpreter_clear()
[all...]
/third_party/python/Modules/_sqlite/
H A Dmodule.c603 Py_CLEAR(state->DataError); in module_clear()
604 Py_CLEAR(state->DatabaseError); in module_clear()
605 Py_CLEAR(state->Error); in module_clear()
606 Py_CLEAR(state->IntegrityError); in module_clear()
607 Py_CLEAR(state->InterfaceError); in module_clear()
608 Py_CLEAR(state->InternalError); in module_clear()
609 Py_CLEAR(state->NotSupportedError); in module_clear()
610 Py_CLEAR(state->OperationalError); in module_clear()
611 Py_CLEAR(state->ProgrammingError); in module_clear()
612 Py_CLEAR(stat in module_clear()
[all...]
H A Dcursor.c72 Py_CLEAR(weakref); in register_cursor()
99 Py_CLEAR(self->statement); in pysqlite_cursor_init_impl()
100 Py_CLEAR(self->row_cast_map); in pysqlite_cursor_init_impl()
162 Py_CLEAR(self->connection); in cursor_clear()
163 Py_CLEAR(self->description); in cursor_clear()
164 Py_CLEAR(self->row_cast_map); in cursor_clear()
165 Py_CLEAR(self->lastrowid); in cursor_clear()
166 Py_CLEAR(self->row_factory); in cursor_clear()
170 Py_CLEAR(self->statement); in cursor_clear()
237 Py_CLEAR(sel in pysqlite_build_row_cast_map()
[all...]
/third_party/python/Modules/
H A D_asynciomodule.c434 Py_CLEAR(fut->fut_callback0); in future_schedule_callbacks()
435 Py_CLEAR(fut->fut_context0); in future_schedule_callbacks()
439 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
455 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
467 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
472 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
485 Py_CLEAR(fut->fut_loop); in future_init()
486 Py_CLEAR(fut->fut_callback0); in future_init()
487 Py_CLEAR(fut->fut_context0); in future_init()
488 Py_CLEAR(fu in future_init()
[all...]
H A D_csv.c51 Py_CLEAR(module_state->error_obj); in _csv_clear()
52 Py_CLEAR(module_state->dialects); in _csv_clear()
53 Py_CLEAR(module_state->dialect_type); in _csv_clear()
54 Py_CLEAR(module_state->reader_type); in _csv_clear()
55 Py_CLEAR(module_state->writer_type); in _csv_clear()
56 Py_CLEAR(module_state->str_write); in _csv_clear()
452 Py_CLEAR(dialect); in dialect_new()
520 Py_CLEAR(self); in dialect_new()
521 Py_CLEAR(dialect); in dialect_new()
522 Py_CLEAR(delimite in dialect_new()
[all...]
H A D_elementtree.c63 /* Py_CLEAR for a PyObject* that uses a join flag. Pass the pointer by
112 Py_CLEAR(st->parseerror_obj); in elementtree_clear()
113 Py_CLEAR(st->deepcopy_obj); in elementtree_clear()
114 Py_CLEAR(st->elementpath_obj); in elementtree_clear()
115 Py_CLEAR(st->comment_factory); in elementtree_clear()
116 Py_CLEAR(st->pi_factory); in elementtree_clear()
642 Py_CLEAR(self->tag); in element_gc_clear()
2408 Py_CLEAR(self->element_factory); in _elementtree_TreeBuilder___init___impl()
2420 Py_CLEAR(self->comment_factory); in _elementtree_TreeBuilder___init___impl()
2433 Py_CLEAR(sel in _elementtree_TreeBuilder___init___impl()
[all...]
H A D_pickle.c213 Py_CLEAR(st->PickleError); in _Pickle_ClearState()
214 Py_CLEAR(st->PicklingError); in _Pickle_ClearState()
215 Py_CLEAR(st->UnpicklingError); in _Pickle_ClearState()
216 Py_CLEAR(st->dispatch_table); in _Pickle_ClearState()
217 Py_CLEAR(st->extension_registry); in _Pickle_ClearState()
218 Py_CLEAR(st->extension_cache); in _Pickle_ClearState()
219 Py_CLEAR(st->inverted_registry); in _Pickle_ClearState()
220 Py_CLEAR(st->name_mapping_2to3); in _Pickle_ClearState()
221 Py_CLEAR(st->import_mapping_2to3); in _Pickle_ClearState()
222 Py_CLEAR(s in _Pickle_ClearState()
[all...]
H A D_functoolsmodule.c154 Py_CLEAR(pto->fn); in partial_clear()
155 Py_CLEAR(pto->args); in partial_clear()
156 Py_CLEAR(pto->kw); in partial_clear()
157 Py_CLEAR(pto->dict); in partial_clear()
512 Py_CLEAR(ko->cmp); in keyobject_clear()
513 Py_CLEAR(ko->object); in keyobject_clear()
1261 Py_CLEAR(self->cache); in lru_cache_tp_clear()
1262 Py_CLEAR(self->func); in lru_cache_tp_clear()
1263 Py_CLEAR(self->kwd_mark); in lru_cache_tp_clear()
1264 Py_CLEAR(sel in lru_cache_tp_clear()
[all...]
H A D_json.c668 Py_CLEAR(self->object_hook); in scanner_clear()
669 Py_CLEAR(self->object_pairs_hook); in scanner_clear()
670 Py_CLEAR(self->parse_float); in scanner_clear()
671 Py_CLEAR(self->parse_int); in scanner_clear()
672 Py_CLEAR(self->parse_constant); in scanner_clear()
673 Py_CLEAR(self->memo); in scanner_clear()
753 Py_CLEAR(key); in _parse_object_unicode()
754 Py_CLEAR(val); in _parse_object_unicode()
764 Py_CLEAR(key); in _parse_object_unicode()
765 Py_CLEAR(va in _parse_object_unicode()
[all...]
H A Dxxlimited.c127 Py_CLEAR(self->x_attr); in Xxo_clear()
135 Py_CLEAR(self->x_attr); in Xxo_finalize()
413 Py_CLEAR(state->Xxo_Type); in xx_clear()
414 Py_CLEAR(state->Error_Type); in xx_clear()
H A Dreadline.c113 Py_CLEAR(state->completion_display_matches_hook); in readline_clear()
114 Py_CLEAR(state->startup_hook); in readline_clear()
115 Py_CLEAR(state->pre_input_hook); in readline_clear()
116 Py_CLEAR(state->completer); in readline_clear()
117 Py_CLEAR(state->begidx); in readline_clear()
118 Py_CLEAR(state->endidx); in readline_clear()
402 Py_CLEAR(*hook_var); in set_hook()
1075 Py_CLEAR(r); in on_completion_display_matches_hook()
H A D_ssl.c2232 Py_CLEAR(self->exc_type); in PySSL_clear()
2233 Py_CLEAR(self->exc_value); in PySSL_clear()
2234 Py_CLEAR(self->exc_tb); in PySSL_clear()
3226 Py_CLEAR(self->set_sni_cb); in context_clear()
3227 Py_CLEAR(self->msg_cb); in context_clear()
3228 Py_CLEAR(self->keylog_filename); in context_clear()
3304 Py_CLEAR(result); in _ssl__SSLContext_get_ciphers_impl()
3819 Py_CLEAR(fn_ret); in _password_callback()
3909 Py_CLEAR(keyfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()
3910 Py_CLEAR(certfile_byte in _ssl__SSLContext_load_cert_chain_impl()
[all...]
/third_party/python/Objects/
H A 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()
H A Dexceptions.c85 Py_CLEAR(self->dict); in BaseException_clear()
86 Py_CLEAR(self->args); in BaseException_clear()
87 Py_CLEAR(self->notes); in BaseException_clear()
88 Py_CLEAR(self->traceback); in BaseException_clear()
89 Py_CLEAR(self->cause); in BaseException_clear()
90 Py_CLEAR(self->context); in BaseException_clear()
577 Py_CLEAR(self->value); in StopIteration_init()
590 Py_CLEAR(self->value); in StopIteration_clear()
657 Py_CLEAR(self->code); in SystemExit_clear()
845 Py_CLEAR(sel in BaseExceptionGroup_clear()
[all...]
H A Dfuncobject.c687 Py_CLEAR(op->func_globals); in func_clear()
688 Py_CLEAR(op->func_builtins); in func_clear()
689 Py_CLEAR(op->func_module); in func_clear()
690 Py_CLEAR(op->func_defaults); in func_clear()
691 Py_CLEAR(op->func_kwdefaults); in func_clear()
692 Py_CLEAR(op->func_doc); in func_clear()
693 Py_CLEAR(op->func_dict); in func_clear()
694 Py_CLEAR(op->func_closure); in func_clear()
695 Py_CLEAR(op->func_annotations); in func_clear()
696 // Don't Py_CLEAR(o in func_clear()
[all...]
H A Diterobject.c234 Py_CLEAR(it->it_callable); in calliter_iternext()
235 Py_CLEAR(it->it_sentinel); in calliter_iternext()
240 Py_CLEAR(it->it_callable); in calliter_iternext()
241 Py_CLEAR(it->it_sentinel); in calliter_iternext()
/third_party/python/Modules/_io/
H A Dtextio.c254 Py_CLEAR(self->decoder); in incrementalnewlinedecoder_dealloc()
255 Py_CLEAR(self->errors); in incrementalnewlinedecoder_dealloc()
870 Py_CLEAR(self->decoder); in _textiowrapper_set_decoder()
881 Py_CLEAR(self->decoder); in _textiowrapper_set_decoder()
925 Py_CLEAR(self->encoder); in _textiowrapper_set_encoder()
1107 Py_CLEAR(self->buffer); in _io_TextIOWrapper___init___impl()
1108 Py_CLEAR(self->encoding); in _io_TextIOWrapper___init___impl()
1109 Py_CLEAR(self->encoder); in _io_TextIOWrapper___init___impl()
1110 Py_CLEAR(self->decoder); in _io_TextIOWrapper___init___impl()
1111 Py_CLEAR(sel in _io_TextIOWrapper___init___impl()
[all...]
H A 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(sel in _io_StringIO___init___impl()
[all...]
H A Dbufferedio.c376 Py_CLEAR(self->raw); in buffered_dealloc()
385 Py_CLEAR(self->dict); in buffered_dealloc()
412 Py_CLEAR(self->raw); in buffered_clear()
413 Py_CLEAR(self->dict); in buffered_clear()
515 Py_CLEAR(res); in buffered_close()
842 Py_CLEAR(res); in _io__Buffered_peek_impl()
974 Py_CLEAR(res); in _buffered_readinto_generic()
1099 Py_CLEAR(res); in _buffered_readline()
1102 Py_CLEAR(res); in _buffered_readline()
1143 Py_CLEAR(re in _buffered_readline()
[all...]
H A Diobase.c239 Py_CLEAR(res); in _io__IOBase_close_impl()
329 Py_CLEAR(self->dict); in iobase_clear()
354 Py_CLEAR(self->dict); in iobase_dealloc()
383 Py_CLEAR(res); in _PyIOBase_check_seekable()
416 Py_CLEAR(res); in _PyIOBase_check_readable()
449 Py_CLEAR(res); in _PyIOBase_check_writable()
H A Dwinconsoleio.c82 Py_CLEAR(decoded); in _PyIO_get_console_type()
209 Py_CLEAR(res); in _io__WindowsConsoleIO_close_impl()
294 Py_CLEAR(decodedname); in _io__WindowsConsoleIO___init___impl()
422 Py_CLEAR(self->dict); in winconsoleio_clear()
435 Py_CLEAR(self->dict); in winconsoleio_dealloc()
871 Py_CLEAR(bytes); in _io__WindowsConsoleIO_readall_impl()
882 Py_CLEAR(bytes); in _io__WindowsConsoleIO_readall_impl()
926 Py_CLEAR(bytes); in _io__WindowsConsoleIO_read_impl()
932 Py_CLEAR(bytes); in _io__WindowsConsoleIO_read_impl()
/third_party/python/Doc/includes/
H A 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/Include/internal/
H A Dpycore_blocks_output_buffer.h274 Py_CLEAR(buffer->list); in _BlocksOutputBuffer_Finish()
303 Py_CLEAR(buffer->list); in _BlocksOutputBuffer_Finish()
311 Py_CLEAR(buffer->list); in _BlocksOutputBuffer_OnError()
/third_party/python/Modules/_sha3/
H A Dsha3module.c590 Py_CLEAR(state->sha3_224_type); in _sha3_clear()
591 Py_CLEAR(state->sha3_256_type); in _sha3_clear()
592 Py_CLEAR(state->sha3_384_type); in _sha3_clear()
593 Py_CLEAR(state->sha3_512_type); in _sha3_clear()
594 Py_CLEAR(state->shake_128_type); in _sha3_clear()
595 Py_CLEAR(state->shake_256_type); in _sha3_clear()

Completed in 58 milliseconds

123456