/external/python/cpython3/Objects/ |
D | funcobject.c | 556 Py_VISIT(f->func_code); in func_traverse() 557 Py_VISIT(f->func_globals); in func_traverse() 558 Py_VISIT(f->func_module); in func_traverse() 559 Py_VISIT(f->func_defaults); in func_traverse() 560 Py_VISIT(f->func_kwdefaults); in func_traverse() 561 Py_VISIT(f->func_doc); in func_traverse() 562 Py_VISIT(f->func_name); in func_traverse() 563 Py_VISIT(f->func_dict); in func_traverse() 564 Py_VISIT(f->func_closure); in func_traverse() 565 Py_VISIT(f->func_annotations); in func_traverse() [all …]
|
D | exceptions.c | 95 Py_VISIT(self->dict); in BaseException_traverse() 96 Py_VISIT(self->args); in BaseException_traverse() 97 Py_VISIT(self->traceback); in BaseException_traverse() 98 Py_VISIT(self->cause); in BaseException_traverse() 99 Py_VISIT(self->context); in BaseException_traverse() 522 Py_VISIT(self->value); in StopIteration_traverse() 589 Py_VISIT(self->code); in SystemExit_traverse() 671 Py_VISIT(self->msg); in ImportError_traverse() 672 Py_VISIT(self->name); in ImportError_traverse() 673 Py_VISIT(self->path); in ImportError_traverse() [all …]
|
D | genobject.c | 22 Py_VISIT(exc_state->exc_type); in exc_state_traverse() 23 Py_VISIT(exc_state->exc_value); in exc_state_traverse() 24 Py_VISIT(exc_state->exc_traceback); in exc_state_traverse() 31 Py_VISIT((PyObject *)gen->gi_frame); in gen_traverse() 32 Py_VISIT(gen->gi_code); in gen_traverse() 33 Py_VISIT(gen->gi_name); in gen_traverse() 34 Py_VISIT(gen->gi_qualname); in gen_traverse() 1068 Py_VISIT((PyObject *)cw->cw_coroutine); in coro_wrapper_traverse() 1246 Py_VISIT(gen->ag_finalizer); in async_gen_traverse() 1524 Py_VISIT(o->ags_gen); in async_gen_asend_traverse() [all …]
|
D | frameobject.c | 505 Py_VISIT(f->f_back); in frame_traverse() 506 Py_VISIT(f->f_code); in frame_traverse() 507 Py_VISIT(f->f_builtins); in frame_traverse() 508 Py_VISIT(f->f_globals); in frame_traverse() 509 Py_VISIT(f->f_locals); in frame_traverse() 510 Py_VISIT(f->f_trace); in frame_traverse() 516 Py_VISIT(*fastlocals); in frame_traverse() 521 Py_VISIT(*p); in frame_traverse()
|
D | enumobject.c | 94 Py_VISIT(en->en_sit); in enum_traverse() 95 Py_VISIT(en->en_result); in enum_traverse() 96 Py_VISIT(en->en_longindex); in enum_traverse() 326 Py_VISIT(ro->seq); in reversed_traverse()
|
D | iterobject.c | 43 Py_VISIT(it->it_seq); in iter_traverse() 205 Py_VISIT(it->it_callable); in calliter_traverse() 206 Py_VISIT(it->it_sentinel); in calliter_traverse()
|
/external/python/cpython2/Modules/ |
D | itertoolsmodule.c | 66 Py_VISIT(gbo->it); in groupby_traverse() 67 Py_VISIT(gbo->keyfunc); in groupby_traverse() 68 Py_VISIT(gbo->tgtkey); in groupby_traverse() 69 Py_VISIT(gbo->currkey); in groupby_traverse() 70 Py_VISIT(gbo->currvalue); in groupby_traverse() 226 Py_VISIT(igo->parent); in _grouper_traverse() 227 Py_VISIT(igo->tgtkey); in _grouper_traverse() 381 Py_VISIT(tdo->it); in teedataobject_traverse() 383 Py_VISIT(tdo->values[i]); in teedataobject_traverse() 384 Py_VISIT(tdo->nextlink); in teedataobject_traverse() [all …]
|
D | _functoolsmodule.c | 207 Py_VISIT(pto->fn); in partial_traverse() 208 Py_VISIT(pto->args); in partial_traverse() 209 Py_VISIT(pto->kw); in partial_traverse() 210 Py_VISIT(pto->dict); in partial_traverse()
|
D | _json.c | 855 Py_VISIT(s->encoding); in scanner_traverse() 856 Py_VISIT(s->strict); in scanner_traverse() 857 Py_VISIT(s->object_hook); in scanner_traverse() 858 Py_VISIT(s->pairs_hook); in scanner_traverse() 859 Py_VISIT(s->parse_float); in scanner_traverse() 860 Py_VISIT(s->parse_int); in scanner_traverse() 861 Py_VISIT(s->parse_constant); in scanner_traverse() 2313 Py_VISIT(s->markers); in encoder_traverse() 2314 Py_VISIT(s->defaultfn); in encoder_traverse() 2315 Py_VISIT(s->encoder); in encoder_traverse() [all …]
|
/external/python/cpython2/Objects/ |
D | funcobject.c | 473 Py_VISIT(f->func_code); in func_traverse() 474 Py_VISIT(f->func_globals); in func_traverse() 475 Py_VISIT(f->func_module); in func_traverse() 476 Py_VISIT(f->func_defaults); in func_traverse() 477 Py_VISIT(f->func_doc); in func_traverse() 478 Py_VISIT(f->func_name); in func_traverse() 479 Py_VISIT(f->func_dict); in func_traverse() 480 Py_VISIT(f->func_closure); in func_traverse() 622 Py_VISIT(cm->cm_callable); in cm_traverse() 780 Py_VISIT(sm->sm_callable); in sm_traverse()
|
D | frameobject.c | 532 Py_VISIT(f->f_back); in frame_traverse() 533 Py_VISIT(f->f_code); in frame_traverse() 534 Py_VISIT(f->f_builtins); in frame_traverse() 535 Py_VISIT(f->f_globals); in frame_traverse() 536 Py_VISIT(f->f_locals); in frame_traverse() 537 Py_VISIT(f->f_trace); in frame_traverse() 538 Py_VISIT(f->f_exc_type); in frame_traverse() 539 Py_VISIT(f->f_exc_value); in frame_traverse() 540 Py_VISIT(f->f_exc_traceback); in frame_traverse() 546 Py_VISIT(*fastlocals); in frame_traverse() [all …]
|
D | exceptions.c | 91 Py_VISIT(self->dict); in BaseException_traverse() 92 Py_VISIT(self->args); in BaseException_traverse() 93 Py_VISIT(self->message); in BaseException_traverse() 545 Py_VISIT(self->code); in SystemExit_traverse() 647 Py_VISIT(self->myerrno); in EnvironmentError_traverse() 648 Py_VISIT(self->strerror); in EnvironmentError_traverse() 649 Py_VISIT(self->filename); in EnvironmentError_traverse() 844 Py_VISIT(self->myerrno); in WindowsError_traverse() 845 Py_VISIT(self->strerror); in WindowsError_traverse() 846 Py_VISIT(self->filename); in WindowsError_traverse() [all …]
|
D | iterobject.c | 41 Py_VISIT(it->it_seq); in iter_traverse() 168 Py_VISIT(it->it_callable); in calliter_traverse() 169 Py_VISIT(it->it_sentinel); in calliter_traverse()
|
D | enumobject.c | 74 Py_VISIT(en->en_sit); in enum_traverse() 75 Py_VISIT(en->en_result); in enum_traverse() 76 Py_VISIT(en->en_longindex); in enum_traverse() 294 Py_VISIT(ro->seq); in reversed_traverse()
|
D | sliceobject.c | 369 Py_VISIT(v->start); in slice_traverse() 370 Py_VISIT(v->stop); in slice_traverse() 371 Py_VISIT(v->step); in slice_traverse()
|
D | descrobject.c | 419 Py_VISIT(descr->d_type); in descr_traverse() 859 Py_VISIT(pp->dict); in proxy_traverse() 1051 Py_VISIT(wp->descr); in wrapper_traverse() 1052 Py_VISIT(wp->self); in wrapper_traverse() 1390 Py_VISIT(pp->prop_get); in property_traverse() 1391 Py_VISIT(pp->prop_set); in property_traverse() 1392 Py_VISIT(pp->prop_del); in property_traverse() 1393 Py_VISIT(pp->prop_doc); in property_traverse()
|
/external/python/cpython3/Modules/ |
D | itertoolsmodule.c | 68 Py_VISIT(gbo->it); in groupby_traverse() 69 Py_VISIT(gbo->keyfunc); in groupby_traverse() 70 Py_VISIT(gbo->tgtkey); in groupby_traverse() 71 Py_VISIT(gbo->currkey); in groupby_traverse() 72 Py_VISIT(gbo->currvalue); in groupby_traverse() 290 Py_VISIT(igo->parent); in _grouper_traverse() 291 Py_VISIT(igo->tgtkey); in _grouper_traverse() 463 Py_VISIT(tdo->it); in teedataobject_traverse() 465 Py_VISIT(tdo->values[i]); in teedataobject_traverse() 466 Py_VISIT(tdo->nextlink); in teedataobject_traverse() [all …]
|
D | _elementtree.c | 124 Py_VISIT(st->parseerror_obj); in elementtree_traverse() 125 Py_VISIT(st->deepcopy_obj); in elementtree_traverse() 126 Py_VISIT(st->elementpath_obj); in elementtree_traverse() 619 Py_VISIT(self->tag); in element_gc_traverse() 620 Py_VISIT(JOIN_OBJ(self->text)); in element_gc_traverse() 621 Py_VISIT(JOIN_OBJ(self->tail)); in element_gc_traverse() 625 Py_VISIT(self->extra->attrib); in element_gc_traverse() 628 Py_VISIT(self->extra->children[i]); in element_gc_traverse() 2130 Py_VISIT(it->parent_stack[i].parent); in elementiter_traverse() 2132 Py_VISIT(it->root_element); in elementiter_traverse() [all …]
|
D | _functoolsmodule.c | 239 Py_VISIT(pto->fn); in partial_traverse() 240 Py_VISIT(pto->args); in partial_traverse() 241 Py_VISIT(pto->kw); in partial_traverse() 242 Py_VISIT(pto->dict); in partial_traverse() 446 Py_VISIT(ko->cmp); in keyobject_traverse() 448 Py_VISIT(ko->object); in keyobject_traverse() 1262 Py_VISIT(link->key); in lru_cache_tp_traverse() 1263 Py_VISIT(link->result); in lru_cache_tp_traverse() 1266 Py_VISIT(self->func); in lru_cache_tp_traverse() 1267 Py_VISIT(self->cache); in lru_cache_tp_traverse() [all …]
|
D | atexitmodule.c | 231 Py_VISIT(cb->func); in atexit_m_traverse() 232 Py_VISIT(cb->args); in atexit_m_traverse() 233 Py_VISIT(cb->kwargs); in atexit_m_traverse()
|
D | _asynciomodule.c | 755 Py_VISIT(fut->fut_loop); in FutureObj_traverse() 756 Py_VISIT(fut->fut_callback0); in FutureObj_traverse() 757 Py_VISIT(fut->fut_context0); in FutureObj_traverse() 758 Py_VISIT(fut->fut_callbacks); in FutureObj_traverse() 759 Py_VISIT(fut->fut_result); in FutureObj_traverse() 760 Py_VISIT(fut->fut_exception); in FutureObj_traverse() 761 Py_VISIT(fut->fut_source_tb); in FutureObj_traverse() 762 Py_VISIT(fut->dict); in FutureObj_traverse() 1621 Py_VISIT(it->future); in FutureIter_traverse() 1728 Py_VISIT(o->sw_task); in TaskStepMethWrapper_traverse() [all …]
|
D | _json.c | 677 Py_VISIT(s->object_hook); in scanner_traverse() 678 Py_VISIT(s->object_pairs_hook); in scanner_traverse() 679 Py_VISIT(s->parse_float); in scanner_traverse() 680 Py_VISIT(s->parse_int); in scanner_traverse() 681 Py_VISIT(s->parse_constant); in scanner_traverse() 1812 Py_VISIT(s->markers); in encoder_traverse() 1813 Py_VISIT(s->defaultfn); in encoder_traverse() 1814 Py_VISIT(s->encoder); in encoder_traverse() 1815 Py_VISIT(s->indent); in encoder_traverse() 1816 Py_VISIT(s->key_separator); in encoder_traverse() [all …]
|
/external/python/cpython3/Python/ |
D | context.c | 432 Py_VISIT(self->ctx_prev); in context_tp_traverse() 433 Py_VISIT(self->ctx_vars); in context_tp_traverse() 834 Py_VISIT(self->var_name); in contextvar_tp_traverse() 835 Py_VISIT(self->var_default); in contextvar_tp_traverse() 1045 Py_VISIT(self->tok_ctx); in token_tp_traverse() 1046 Py_VISIT(self->tok_var); in token_tp_traverse() 1047 Py_VISIT(self->tok_oldval); in token_tp_traverse()
|
/external/python/cpython3/Doc/includes/ |
D | custom4.c | 14 Py_VISIT(self->first); in Custom_traverse() 15 Py_VISIT(self->last); in Custom_traverse()
|
/external/python/cpython3/Doc/c-api/ |
D | gcsupport.rst | 128 To simplify writing :c:member:`~PyTypeObject.tp_traverse` handlers, a :c:func:`Py_VISIT` macro is 133 .. c:function:: void Py_VISIT(PyObject *o) 143 Py_VISIT(self->foo); 144 Py_VISIT(self->bar);
|