/external/python/cpython3/Python/ |
D | Python-ast.c | 256 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 …]
|
D | pystate.c | 294 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 …]
|
/external/python/cpython2/Python/ |
D | pystate.c | 106 Py_CLEAR(interp->codec_search_path); in PyInterpreterState_Clear() 107 Py_CLEAR(interp->codec_search_cache); in PyInterpreterState_Clear() 108 Py_CLEAR(interp->codec_error_registry); in PyInterpreterState_Clear() 109 Py_CLEAR(interp->modules); in PyInterpreterState_Clear() 110 Py_CLEAR(interp->modules_reloading); in PyInterpreterState_Clear() 111 Py_CLEAR(interp->sysdict); in PyInterpreterState_Clear() 112 Py_CLEAR(interp->builtins); in PyInterpreterState_Clear() 237 Py_CLEAR(tstate->frame); in PyThreadState_Clear() 239 Py_CLEAR(tstate->dict); in PyThreadState_Clear() 240 Py_CLEAR(tstate->async_exc); in PyThreadState_Clear() [all …]
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 432 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.c | 122 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.c | 663 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 …]
|
/external/python/cpython3/Objects/ |
D | funcobject.c | 575 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 …]
|
D | accu.c | 82 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()
|
D | exceptions.c | 76 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 …]
|
D | iterobject.c | 231 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()
|
D | genobject.c | 123 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 …]
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 276 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 …]
|
D | stringio.c | 576 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 …]
|
D | bufferedio.c | 390 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 …]
|
D | winconsoleio.c | 84 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()
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 234 Py_CLEAR(self->decoder); in incrementalnewlinedecoder_dealloc() 235 Py_CLEAR(self->errors); in incrementalnewlinedecoder_dealloc() 856 Py_CLEAR(self->buffer); in textiowrapper_init() 857 Py_CLEAR(self->encoding); in textiowrapper_init() 858 Py_CLEAR(self->encoder); in textiowrapper_init() 859 Py_CLEAR(self->decoder); in textiowrapper_init() 860 Py_CLEAR(self->readnl); in textiowrapper_init() 861 Py_CLEAR(self->decoded_chars); in textiowrapper_init() 862 Py_CLEAR(self->pending_bytes); in textiowrapper_init() 863 Py_CLEAR(self->snapshot); in textiowrapper_init() [all …]
|
D | stringio.c | 493 Py_CLEAR(self->readnl); in stringio_close() 494 Py_CLEAR(self->writenl); in stringio_close() 495 Py_CLEAR(self->decoder); in stringio_close() 509 Py_CLEAR(self->dict); in stringio_clear() 522 Py_CLEAR(self->readnl); in stringio_dealloc() 523 Py_CLEAR(self->writenl); in stringio_dealloc() 524 Py_CLEAR(self->decoder); in stringio_dealloc() 525 Py_CLEAR(self->dict); in stringio_dealloc() 581 Py_CLEAR(self->readnl); in stringio_init() 582 Py_CLEAR(self->writenl); in stringio_init() [all …]
|
D | bufferedio.c | 373 Py_CLEAR(self->raw); in buffered_dealloc() 384 Py_CLEAR(self->dict); in buffered_dealloc() 413 Py_CLEAR(self->raw); in buffered_clear() 414 Py_CLEAR(self->dict); in buffered_clear() 486 Py_CLEAR(res); in buffered_close() 806 Py_CLEAR(res); in buffered_peek() 972 Py_CLEAR(res); in _buffered_readline() 975 Py_CLEAR(res); in _buffered_readline() 1017 Py_CLEAR(res); in _buffered_readline() 1020 Py_CLEAR(res); in _buffered_readline() [all …]
|
/external/python/cpython2/Objects/ |
D | exceptions.c | 74 Py_CLEAR(self->dict); in BaseException_clear() 75 Py_CLEAR(self->args); in BaseException_clear() 76 Py_CLEAR(self->message); in BaseException_clear() 348 Py_CLEAR(self->message); in BaseException_set_message() 530 Py_CLEAR(self->code); in SystemExit_clear() 629 Py_CLEAR(self->myerrno); in EnvironmentError_clear() 630 Py_CLEAR(self->strerror); in EnvironmentError_clear() 631 Py_CLEAR(self->filename); in EnvironmentError_clear() 826 Py_CLEAR(self->myerrno); in WindowsError_clear() 827 Py_CLEAR(self->strerror); in WindowsError_clear() [all …]
|
D | frameobject.c | 40 Py_CLEAR(f->NAME); \ 494 Py_CLEAR(*p); in frame_dealloc() 505 Py_CLEAR(f->f_locals); in frame_dealloc() 506 Py_CLEAR(f->f_trace); in frame_dealloc() 507 Py_CLEAR(f->f_exc_type); in frame_dealloc() 508 Py_CLEAR(f->f_exc_value); in frame_dealloc() 509 Py_CLEAR(f->f_exc_traceback); in frame_dealloc() 570 Py_CLEAR(f->f_exc_type); in frame_clear() 571 Py_CLEAR(f->f_exc_value); in frame_clear() 572 Py_CLEAR(f->f_exc_traceback); in frame_clear() [all …]
|
D | iterobject.c | 192 Py_CLEAR(it->it_callable); in calliter_iternext() 193 Py_CLEAR(it->it_sentinel); in calliter_iternext() 198 Py_CLEAR(it->it_callable); in calliter_iternext() 199 Py_CLEAR(it->it_sentinel); in calliter_iternext()
|
/external/python/cpython3/Doc/includes/ |
D | custom4.c | 23 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()
|
/external/python/cpython2/Modules/ |
D | _json.c | 596 Py_CLEAR(chunks); in scanstring_str() 871 Py_CLEAR(s->encoding); in scanner_clear() 872 Py_CLEAR(s->strict); in scanner_clear() 873 Py_CLEAR(s->object_hook); in scanner_clear() 874 Py_CLEAR(s->pairs_hook); in scanner_clear() 875 Py_CLEAR(s->parse_float); in scanner_clear() 876 Py_CLEAR(s->parse_int); in scanner_clear() 877 Py_CLEAR(s->parse_constant); in scanner_clear() 941 Py_CLEAR(key); in _parse_object_str() 942 Py_CLEAR(val); in _parse_object_str() [all …]
|
/external/python/cpython2/Modules/_sqlite/ |
D | sqlitecompat.h | 43 #ifndef Py_CLEAR 44 #define Py_CLEAR(op) \ macro
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 43 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() 590 Py_CLEAR(self->statement); in _pysqlite_query_execute() 728 Py_CLEAR(self->statement); in pysqlite_cursor_iternext() [all …]
|