Home
last modified time | relevance | path

Searched refs:Py_VISIT (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/python/Objects/
Dfuncobject.c610 Py_VISIT(f->func_code); in func_traverse()
611 Py_VISIT(f->func_globals); in func_traverse()
612 Py_VISIT(f->func_module); in func_traverse()
613 Py_VISIT(f->func_defaults); in func_traverse()
614 Py_VISIT(f->func_kwdefaults); in func_traverse()
615 Py_VISIT(f->func_doc); in func_traverse()
616 Py_VISIT(f->func_name); in func_traverse()
617 Py_VISIT(f->func_dict); in func_traverse()
618 Py_VISIT(f->func_closure); in func_traverse()
619 Py_VISIT(f->func_annotations); in func_traverse()
[all …]
Dexceptions.c95 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()
543 Py_VISIT(self->value); in StopIteration_traverse()
610 Py_VISIT(self->code); in SystemExit_traverse()
692 Py_VISIT(self->msg); in ImportError_traverse()
693 Py_VISIT(self->name); in ImportError_traverse()
694 Py_VISIT(self->path); in ImportError_traverse()
[all …]
Dgenobject.c25 Py_VISIT(exc_state->exc_type); in exc_state_traverse()
26 Py_VISIT(exc_state->exc_value); in exc_state_traverse()
27 Py_VISIT(exc_state->exc_traceback); in exc_state_traverse()
34 Py_VISIT((PyObject *)gen->gi_frame); in gen_traverse()
35 Py_VISIT(gen->gi_code); in gen_traverse()
36 Py_VISIT(gen->gi_name); in gen_traverse()
37 Py_VISIT(gen->gi_qualname); in gen_traverse()
1052 Py_VISIT((PyObject *)cw->cw_coroutine); in coro_wrapper_traverse()
1230 Py_VISIT(gen->ag_finalizer); in async_gen_traverse()
1509 Py_VISIT(o->ags_gen); in async_gen_asend_traverse()
[all …]
Diterobject.c44 Py_VISIT(it->it_seq); in iter_traverse()
206 Py_VISIT(it->it_callable); in calliter_traverse()
207 Py_VISIT(it->it_sentinel); in calliter_traverse()
Denumobject.c95 Py_VISIT(en->en_sit); in enum_traverse()
96 Py_VISIT(en->en_result); in enum_traverse()
97 Py_VISIT(en->en_longindex); in enum_traverse()
339 Py_VISIT(ro->seq); in reversed_traverse()
Dframeobject.c625 Py_VISIT(f->f_back); in frame_traverse()
626 Py_VISIT(f->f_code); in frame_traverse()
627 Py_VISIT(f->f_builtins); in frame_traverse()
628 Py_VISIT(f->f_globals); in frame_traverse()
629 Py_VISIT(f->f_locals); in frame_traverse()
630 Py_VISIT(f->f_trace); in frame_traverse()
635 Py_VISIT(*fastlocals); in frame_traverse()
641 Py_VISIT(*p); in frame_traverse()
Dsliceobject.c616 Py_VISIT(v->start); in slice_traverse()
617 Py_VISIT(v->stop); in slice_traverse()
618 Py_VISIT(v->step); in slice_traverse()
Dclassobject.c319 Py_VISIT(im->im_func); in method_traverse()
320 Py_VISIT(im->im_self); in method_traverse()
458 Py_VISIT(PyInstanceMethod_GET_FUNCTION(self)); in instancemethod_traverse()
Ddescrobject.c688 Py_VISIT(descr->d_type); in descr_traverse()
1179 Py_VISIT(pp->mapping); in mappingproxy_traverse()
1389 Py_VISIT(wp->descr); in wrapper_traverse()
1390 Py_VISIT(wp->self); in wrapper_traverse()
1768 Py_VISIT(pp->prop_get); in property_traverse()
1769 Py_VISIT(pp->prop_set); in property_traverse()
1770 Py_VISIT(pp->prop_del); in property_traverse()
1771 Py_VISIT(pp->prop_doc); in property_traverse()
Dmethodobject.c248 Py_VISIT(PyCFunction_GET_CLASS(m)); in meth_traverse()
249 Py_VISIT(m->m_self); in meth_traverse()
250 Py_VISIT(m->m_module); in meth_traverse()
/third_party/python/Modules/
D_elementtree.c134 Py_VISIT(st->parseerror_obj); in elementtree_traverse()
135 Py_VISIT(st->deepcopy_obj); in elementtree_traverse()
136 Py_VISIT(st->elementpath_obj); in elementtree_traverse()
137 Py_VISIT(st->comment_factory); in elementtree_traverse()
138 Py_VISIT(st->pi_factory); in elementtree_traverse()
636 Py_VISIT(self->tag); in element_gc_traverse()
637 Py_VISIT(JOIN_OBJ(self->text)); in element_gc_traverse()
638 Py_VISIT(JOIN_OBJ(self->tail)); in element_gc_traverse()
642 Py_VISIT(self->extra->attrib); in element_gc_traverse()
645 Py_VISIT(self->extra->children[i]); in element_gc_traverse()
[all …]
Ditertoolsmodule.c117 Py_VISIT(gbo->it); in groupby_traverse()
118 Py_VISIT(gbo->keyfunc); in groupby_traverse()
119 Py_VISIT(gbo->tgtkey); in groupby_traverse()
120 Py_VISIT(gbo->currkey); in groupby_traverse()
121 Py_VISIT(gbo->currvalue); in groupby_traverse()
338 Py_VISIT(igo->parent); in _grouper_traverse()
339 Py_VISIT(igo->tgtkey); in _grouper_traverse()
519 Py_VISIT(tdo->it); in teedataobject_traverse()
521 Py_VISIT(tdo->values[i]); in teedataobject_traverse()
522 Py_VISIT(tdo->nextlink); in teedataobject_traverse()
[all …]
D_functoolsmodule.c277 Py_VISIT(pto->fn); in partial_traverse()
278 Py_VISIT(pto->args); in partial_traverse()
279 Py_VISIT(pto->kw); in partial_traverse()
280 Py_VISIT(pto->dict); in partial_traverse()
487 Py_VISIT(ko->cmp); in keyobject_traverse()
489 Py_VISIT(ko->object); in keyobject_traverse()
1315 Py_VISIT(link->key); in lru_cache_tp_traverse()
1316 Py_VISIT(link->result); in lru_cache_tp_traverse()
1319 Py_VISIT(self->func); in lru_cache_tp_traverse()
1320 Py_VISIT(self->cache); in lru_cache_tp_traverse()
[all …]
D_json.c650 Py_VISIT(Py_TYPE(self)); in scanner_traverse()
651 Py_VISIT(self->object_hook); in scanner_traverse()
652 Py_VISIT(self->object_pairs_hook); in scanner_traverse()
653 Py_VISIT(self->parse_float); in scanner_traverse()
654 Py_VISIT(self->parse_int); in scanner_traverse()
655 Py_VISIT(self->parse_constant); in scanner_traverse()
656 Py_VISIT(self->memo); in scanner_traverse()
1749 Py_VISIT(Py_TYPE(self)); in encoder_traverse()
1750 Py_VISIT(self->markers); in encoder_traverse()
1751 Py_VISIT(self->defaultfn); in encoder_traverse()
[all …]
D_asynciomodule.c795 Py_VISIT(fut->fut_loop); in FutureObj_traverse()
796 Py_VISIT(fut->fut_callback0); in FutureObj_traverse()
797 Py_VISIT(fut->fut_context0); in FutureObj_traverse()
798 Py_VISIT(fut->fut_callbacks); in FutureObj_traverse()
799 Py_VISIT(fut->fut_result); in FutureObj_traverse()
800 Py_VISIT(fut->fut_exception); in FutureObj_traverse()
801 Py_VISIT(fut->fut_source_tb); in FutureObj_traverse()
802 Py_VISIT(fut->fut_cancel_msg); in FutureObj_traverse()
803 Py_VISIT(fut->dict); in FutureObj_traverse()
806 Py_VISIT(exc_state->exc_type); in FutureObj_traverse()
[all …]
Datexitmodule.c237 Py_VISIT(cb->func); in atexit_m_traverse()
238 Py_VISIT(cb->args); in atexit_m_traverse()
239 Py_VISIT(cb->kwargs); in atexit_m_traverse()
D_abc.c49 Py_VISIT(Py_TYPE(self)); in abc_data_traverse()
50 Py_VISIT(self->_abc_registry); in abc_data_traverse()
51 Py_VISIT(self->_abc_cache); in abc_data_traverse()
52 Py_VISIT(self->_abc_negative_cache); in abc_data_traverse()
869 Py_VISIT(state->_abc_data_type); in _abcmodule_traverse()
Dxxlimited.c46 Py_VISIT(Py_TYPE(self)); in Xxo_traverse()
47 Py_VISIT(self->x_attr); in Xxo_traverse()
Dreadline.c114 Py_VISIT(state->completion_display_matches_hook); in readline_traverse()
115 Py_VISIT(state->startup_hook); in readline_traverse()
116 Py_VISIT(state->pre_input_hook); in readline_traverse()
117 Py_VISIT(state->completer); in readline_traverse()
118 Py_VISIT(state->begidx); in readline_traverse()
119 Py_VISIT(state->endidx); in readline_traverse()
D_csv.c43 Py_VISIT(get_csv_state(m)->error_obj); in _csv_traverse()
44 Py_VISIT(get_csv_state(m)->dialects); in _csv_traverse()
870 Py_VISIT(self->dialect); in Reader_traverse()
871 Py_VISIT(self->input_iter); in Reader_traverse()
872 Py_VISIT(self->fields); in Reader_traverse()
1314 Py_VISIT(self->dialect); in Writer_traverse()
1315 Py_VISIT(self->write); in Writer_traverse()
/third_party/python/Python/
Dcontext.c446 Py_VISIT(self->ctx_prev); in context_tp_traverse()
447 Py_VISIT(self->ctx_vars); in context_tp_traverse()
865 Py_VISIT(self->var_name); in contextvar_tp_traverse()
866 Py_VISIT(self->var_default); in contextvar_tp_traverse()
1090 Py_VISIT(self->tok_ctx); in token_tp_traverse()
1091 Py_VISIT(self->tok_var); in token_tp_traverse()
1092 Py_VISIT(self->tok_oldval); in token_tp_traverse()
/third_party/python/Doc/includes/
Dcustom4.c15 Py_VISIT(self->first); in Custom_traverse()
16 Py_VISIT(self->last); in Custom_traverse()
/third_party/python/Doc/c-api/
Dgcsupport.rst144 To simplify writing :c:member:`~PyTypeObject.tp_traverse` handlers, a :c:func:`Py_VISIT` macro is
149 .. c:function:: void Py_VISIT(PyObject *o)
159 Py_VISIT(self->foo);
160 Py_VISIT(self->bar);
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage_factory.cc121 Py_VISIT(self->pool); in GcTraverse()
123 Py_VISIT(desc_and_class.second); in GcTraverse()
/third_party/python/Modules/_ctypes/
Dcallbacks.c31 Py_VISIT(self->converters); in CThunkObject_traverse()
32 Py_VISIT(self->callable); in CThunkObject_traverse()
33 Py_VISIT(self->restype); in CThunkObject_traverse()

1234