Home
last modified time | relevance | path

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

123456

/third_party/python/Python/
DPython-ast.c29 Py_CLEAR(state->AST_type); in _PyAST_Fini()
30 Py_CLEAR(state->Add_singleton); in _PyAST_Fini()
31 Py_CLEAR(state->Add_type); in _PyAST_Fini()
32 Py_CLEAR(state->And_singleton); in _PyAST_Fini()
33 Py_CLEAR(state->And_type); in _PyAST_Fini()
34 Py_CLEAR(state->AnnAssign_type); in _PyAST_Fini()
35 Py_CLEAR(state->Assert_type); in _PyAST_Fini()
36 Py_CLEAR(state->Assign_type); in _PyAST_Fini()
37 Py_CLEAR(state->AsyncFor_type); in _PyAST_Fini()
38 Py_CLEAR(state->AsyncFunctionDef_type); in _PyAST_Fini()
[all …]
Dpystate.c302 Py_CLEAR(interp->audit_hooks); in interpreter_clear()
305 Py_CLEAR(interp->codec_search_path); in interpreter_clear()
306 Py_CLEAR(interp->codec_search_cache); in interpreter_clear()
307 Py_CLEAR(interp->codec_error_registry); in interpreter_clear()
308 Py_CLEAR(interp->modules); in interpreter_clear()
309 Py_CLEAR(interp->modules_by_index); in interpreter_clear()
310 Py_CLEAR(interp->builtins_copy); in interpreter_clear()
311 Py_CLEAR(interp->importlib); in interpreter_clear()
312 Py_CLEAR(interp->import_func); in interpreter_clear()
313 Py_CLEAR(interp->dict); in interpreter_clear()
[all …]
/third_party/python/Modules/
D_asynciomodule.c433 Py_CLEAR(fut->fut_callback0); in future_schedule_callbacks()
434 Py_CLEAR(fut->fut_context0); in future_schedule_callbacks()
438 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
454 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
466 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
471 Py_CLEAR(fut->fut_callbacks); in future_schedule_callbacks()
484 Py_CLEAR(fut->fut_loop); in future_init()
485 Py_CLEAR(fut->fut_callback0); in future_init()
486 Py_CLEAR(fut->fut_context0); in future_init()
487 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()
2420 Py_CLEAR(self->element_factory); in _elementtree_TreeBuilder___init___impl()
2432 Py_CLEAR(self->comment_factory); in _elementtree_TreeBuilder___init___impl()
2445 Py_CLEAR(self->pi_factory); in _elementtree_TreeBuilder___init___impl()
2477 Py_CLEAR(self->pi_event_obj); in treebuilder_gc_clear()
[all …]
D_csv.c41 Py_CLEAR(module_state->error_obj); in _csv_clear()
42 Py_CLEAR(module_state->dialects); in _csv_clear()
43 Py_CLEAR(module_state->dialect_type); in _csv_clear()
44 Py_CLEAR(module_state->reader_type); in _csv_clear()
45 Py_CLEAR(module_state->writer_type); in _csv_clear()
446 Py_CLEAR(dialect); in dialect_new()
514 Py_CLEAR(self); in dialect_new()
515 Py_CLEAR(dialect); in dialect_new()
516 Py_CLEAR(delimiter); in dialect_new()
517 Py_CLEAR(doublequote); in dialect_new()
[all …]
D_json.c666 Py_CLEAR(self->object_hook); in scanner_clear()
667 Py_CLEAR(self->object_pairs_hook); in scanner_clear()
668 Py_CLEAR(self->parse_float); in scanner_clear()
669 Py_CLEAR(self->parse_int); in scanner_clear()
670 Py_CLEAR(self->parse_constant); in scanner_clear()
671 Py_CLEAR(self->memo); in scanner_clear()
751 Py_CLEAR(key); in _parse_object_unicode()
752 Py_CLEAR(val); in _parse_object_unicode()
762 Py_CLEAR(key); in _parse_object_unicode()
763 Py_CLEAR(val); in _parse_object_unicode()
[all …]
D_functoolsmodule.c153 Py_CLEAR(pto->fn); in partial_clear()
154 Py_CLEAR(pto->args); in partial_clear()
155 Py_CLEAR(pto->kw); in partial_clear()
156 Py_CLEAR(pto->dict); in partial_clear()
511 Py_CLEAR(ko->cmp); in keyobject_clear()
512 Py_CLEAR(ko->object); in keyobject_clear()
1260 Py_CLEAR(self->cache); in lru_cache_tp_clear()
1261 Py_CLEAR(self->func); in lru_cache_tp_clear()
1262 Py_CLEAR(self->kwd_mark); in lru_cache_tp_clear()
1263 Py_CLEAR(self->lru_list_elem_type); in lru_cache_tp_clear()
[all …]
Dxxlimited.c112 Py_CLEAR(self->x_attr); in Xxo_clear()
119 Py_CLEAR(self->x_attr); in Xxo_finalize()
361 Py_CLEAR(state->Xxo_Type); in xx_clear()
362 Py_CLEAR(state->Error_Type); in xx_clear()
D_pickle.c201 Py_CLEAR(st->PickleError); in _Pickle_ClearState()
202 Py_CLEAR(st->PicklingError); in _Pickle_ClearState()
203 Py_CLEAR(st->UnpicklingError); in _Pickle_ClearState()
204 Py_CLEAR(st->dispatch_table); in _Pickle_ClearState()
205 Py_CLEAR(st->extension_registry); in _Pickle_ClearState()
206 Py_CLEAR(st->extension_cache); in _Pickle_ClearState()
207 Py_CLEAR(st->inverted_registry); in _Pickle_ClearState()
208 Py_CLEAR(st->name_mapping_2to3); in _Pickle_ClearState()
209 Py_CLEAR(st->import_mapping_2to3); in _Pickle_ClearState()
210 Py_CLEAR(st->name_mapping_3to2); in _Pickle_ClearState()
[all …]
D_ssl.c2195 Py_CLEAR(self->exc_type); in PySSL_clear()
2196 Py_CLEAR(self->exc_value); in PySSL_clear()
2197 Py_CLEAR(self->exc_tb); in PySSL_clear()
3188 Py_CLEAR(self->set_sni_cb); in context_clear()
3189 Py_CLEAR(self->msg_cb); in context_clear()
3190 Py_CLEAR(self->keylog_filename); in context_clear()
3266 Py_CLEAR(result); in _ssl__SSLContext_get_ciphers_impl()
3781 Py_CLEAR(fn_ret); in _password_callback()
3871 Py_CLEAR(keyfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()
3872 Py_CLEAR(certfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()
[all …]
Dreadline.c111 Py_CLEAR(state->completion_display_matches_hook); in readline_clear()
112 Py_CLEAR(state->startup_hook); in readline_clear()
113 Py_CLEAR(state->pre_input_hook); in readline_clear()
114 Py_CLEAR(state->completer); in readline_clear()
115 Py_CLEAR(state->begidx); in readline_clear()
116 Py_CLEAR(state->endidx); in readline_clear()
400 Py_CLEAR(*hook_var); in set_hook()
1073 Py_CLEAR(r); in on_completion_display_matches_hook()
/third_party/python/Modules/_sqlite/
Dcursor.c52 Py_CLEAR(self->statement); in pysqlite_cursor_init_impl()
53 Py_CLEAR(self->next_row); in pysqlite_cursor_init_impl()
54 Py_CLEAR(self->row_cast_map); in pysqlite_cursor_init_impl()
101 Py_CLEAR(self->connection); in cursor_clear()
102 Py_CLEAR(self->description); in cursor_clear()
103 Py_CLEAR(self->row_cast_map); in cursor_clear()
104 Py_CLEAR(self->lastrowid); in cursor_clear()
105 Py_CLEAR(self->row_factory); in cursor_clear()
109 Py_CLEAR(self->statement); in cursor_clear()
111 Py_CLEAR(self->next_row); in cursor_clear()
[all …]
Dconnection.c98 Py_CLEAR(self->statement_cache); in pysqlite_connection_init()
99 Py_CLEAR(self->statements); in pysqlite_connection_init()
100 Py_CLEAR(self->cursors); in pysqlite_connection_init()
133 Py_CLEAR(self->isolation_level); in pysqlite_connection_init()
253 Py_CLEAR(self->isolation_level); in connection_clear()
254 Py_CLEAR(self->statement_cache); in connection_clear()
255 Py_CLEAR(self->statements); in connection_clear()
256 Py_CLEAR(self->cursors); in connection_clear()
257 Py_CLEAR(self->row_factory); in connection_clear()
258 Py_CLEAR(self->text_factory); in connection_clear()
[all …]
Dcache.c59 Py_CLEAR(self->key); in node_clear()
60 Py_CLEAR(self->data); in node_clear()
126 Py_CLEAR(self->mapping); in cache_clear()
128 Py_CLEAR(self->factory); in cache_clear()
137 Py_CLEAR(delete_node); in cache_clear()
/third_party/python/Modules/_io/
Dtextio.c277 Py_CLEAR(self->decoder); in incrementalnewlinedecoder_dealloc()
278 Py_CLEAR(self->errors); in incrementalnewlinedecoder_dealloc()
880 Py_CLEAR(self->decoder); in _textiowrapper_set_decoder()
891 Py_CLEAR(self->decoder); in _textiowrapper_set_decoder()
935 Py_CLEAR(self->encoder); in _textiowrapper_set_encoder()
1124 Py_CLEAR(self->buffer); in _io_TextIOWrapper___init___impl()
1125 Py_CLEAR(self->encoding); in _io_TextIOWrapper___init___impl()
1126 Py_CLEAR(self->encoder); in _io_TextIOWrapper___init___impl()
1127 Py_CLEAR(self->decoder); in _io_TextIOWrapper___init___impl()
1128 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.c389 Py_CLEAR(self->raw); in buffered_dealloc()
398 Py_CLEAR(self->dict); in buffered_dealloc()
425 Py_CLEAR(self->raw); in buffered_clear()
426 Py_CLEAR(self->dict); in buffered_clear()
529 Py_CLEAR(res); in buffered_close()
856 Py_CLEAR(res); in _io__Buffered_peek_impl()
988 Py_CLEAR(res); in _buffered_readinto_generic()
1113 Py_CLEAR(res); in _buffered_readline()
1116 Py_CLEAR(res); in _buffered_readline()
1158 Py_CLEAR(res); in _buffered_readline()
[all …]
Dwinconsoleio.c81 Py_CLEAR(decoded); in _PyIO_get_console_type()
211 Py_CLEAR(res); in _io__WindowsConsoleIO_close_impl()
296 Py_CLEAR(decodedname); in _io__WindowsConsoleIO___init___impl()
424 Py_CLEAR(self->dict); in winconsoleio_clear()
437 Py_CLEAR(self->dict); in winconsoleio_dealloc()
873 Py_CLEAR(bytes); in _io__WindowsConsoleIO_readall_impl()
884 Py_CLEAR(bytes); in _io__WindowsConsoleIO_readall_impl()
928 Py_CLEAR(bytes); in _io__WindowsConsoleIO_read_impl()
934 Py_CLEAR(bytes); in _io__WindowsConsoleIO_read_impl()
/third_party/python/Objects/
Dexceptions.c81 Py_CLEAR(self->dict); in BaseException_clear()
82 Py_CLEAR(self->args); in BaseException_clear()
83 Py_CLEAR(self->traceback); in BaseException_clear()
84 Py_CLEAR(self->cause); in BaseException_clear()
85 Py_CLEAR(self->context); in BaseException_clear()
518 Py_CLEAR(self->value); in StopIteration_init()
531 Py_CLEAR(self->value); in StopIteration_clear()
598 Py_CLEAR(self->code); in SystemExit_clear()
678 Py_CLEAR(self->msg); in ImportError_clear()
679 Py_CLEAR(self->name); in ImportError_clear()
[all …]
Dfuncobject.c623 Py_CLEAR(op->func_code); in func_clear()
624 Py_CLEAR(op->func_globals); in func_clear()
625 Py_CLEAR(op->func_builtins); in func_clear()
626 Py_CLEAR(op->func_name); in func_clear()
627 Py_CLEAR(op->func_qualname); in func_clear()
628 Py_CLEAR(op->func_module); in func_clear()
629 Py_CLEAR(op->func_defaults); in func_clear()
630 Py_CLEAR(op->func_kwdefaults); in func_clear()
631 Py_CLEAR(op->func_doc); in func_clear()
632 Py_CLEAR(op->func_dict); in func_clear()
[all …]
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()
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()
221 Py_CLEAR(f->f_back); in gen_send_ex2()
233 Py_CLEAR(result); in gen_send_ex2()
290 Py_CLEAR(result); in gen_send_ex()
576 Py_CLEAR(result); in gen_iternext()
[all …]
/third_party/python/Modules/_sha3/
Dsha3module.c737 Py_CLEAR(state->sha3_224_type); in _sha3_clear()
738 Py_CLEAR(state->sha3_256_type); in _sha3_clear()
739 Py_CLEAR(state->sha3_384_type); in _sha3_clear()
740 Py_CLEAR(state->sha3_512_type); in _sha3_clear()
742 Py_CLEAR(state->keccak_224_type); in _sha3_clear()
743 Py_CLEAR(state->keccak_256_type); in _sha3_clear()
744 Py_CLEAR(state->keccak_384_type); in _sha3_clear()
745 Py_CLEAR(state->keccak_512_type); in _sha3_clear()
747 Py_CLEAR(state->shake_128_type); in _sha3_clear()
748 Py_CLEAR(state->shake_256_type); in _sha3_clear()
/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/Include/internal/
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()

123456