Home
last modified time | relevance | path

Searched refs:PyStructSequence_New (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Include/
Dstructseq.h32 PyAPI_FUNC(PyObject *) PyStructSequence_New(PyTypeObject* type);
/external/python/cpython3/Objects/
Dstructseq.c60 PyStructSequence_New(PyTypeObject *type) in PyStructSequence_New() function
220 res = (PyStructSequence*) PyStructSequence_New(type); in structseq_new_impl()
421 result = (PyStructSequence *) PyStructSequence_New(Py_TYPE(self)); in structseq_replace()
Dfloatobject.c96 floatinfo = PyStructSequence_New(&FloatInfoType); in PyFloat_GetInfo()
Dlongobject.c6658 int_info = PyStructSequence_New(&Int_InfoType); in PyLong_GetInfo()
/external/pytorch/torch/csrc/autograd/utils/
Dwrap_outputs.h138 auto r = THPObjectPtr{PyStructSequence_New(type)}; in wrap()
/external/python/cpython3/Python/
Dthread.c249 threadinfo = PyStructSequence_New(&ThreadInfoType); in PyThread_GetInfo()
Dsysmodule.c1460 res = PyStructSequence_New(&AsyncGenHooksType); in sys_get_asyncgen_hooks_impl()
1516 hash_info = PyStructSequence_New(&Hash_InfoType); in get_hash_info()
1674 version = PyStructSequence_New(&WindowsVersionType); in sys_getwindowsversion_impl()
3187 PyObject *flags = PyStructSequence_New(&FlagsType); in make_flags()
3230 version_info = PyStructSequence_New(&VersionInfoType); in make_version_info()
3393 emscripten_info = PyStructSequence_New(EmscriptenInfoType); in make_emscripten_info()
Derrors.c1365 PyObject *args = PyStructSequence_New(&UnraisableHookArgsType); in make_unraisable_hook_args()
/external/python/cpython3/Modules/
Dpwdmodule.c77 PyObject *v = PyStructSequence_New(get_pwd_state(module)->StructPwdType); in mkpwent()
Dgrpmodule.c67 v = PyStructSequence_New(get_grp_state(module)->StructGrpType); in mkgrent()
Dresource.c120 result = PyStructSequence_New( in resource_getrusage_impl()
Dposixmodule.c2596 PyObject *v = PyStructSequence_New((PyTypeObject *)StatResultType); in _pystat_fromstructstat()
6229 value = PyStructSequence_New((PyTypeObject *)UnameResultType); in os_uname_impl()
8170 res = PyStructSequence_New(type); in os_sched_param_impl()
8283 result = PyStructSequence_New((PyTypeObject *)SchedParamType); in os_sched_getparam_impl()
9842 result = PyStructSequence_New((PyTypeObject*) struct_rusage); in wait_helper()
9998 result = PyStructSequence_New((PyTypeObject *)WaitidResultType); in os_waitid_impl()
10587 PyObject *value = PyStructSequence_New((PyTypeObject *)TimesResultType); in build_times_result()
13226 PyObject *v = PyStructSequence_New((PyTypeObject *)StatVFSResultType); in _pystatvfs_fromstructstatfs()
13276 PyObject *v = PyStructSequence_New((PyTypeObject *)StatVFSResultType); in _pystatvfs_fromstructstatvfs()
15292 termsize = PyStructSequence_New((PyTypeObject *)TerminalSizeType); in os_get_terminal_size_impl()
Dsignalmodule.c1122 PyObject *result = PyStructSequence_New(state->siginfo_type);
Dtimemodule.c461 PyObject *v = PyStructSequence_New(state->struct_time_type); in tmtotuple()
D_cursesmodule.c4590 ncurses_version = PyStructSequence_New(type); in make_ncurses_version()
D_interpchannelsmodule.c2217 PyObject *self = PyStructSequence_New(state->ChannelInfoType); in new_channel_info()
/external/python/cpython3/Doc/c-api/
Dtuple.rst140 of the resulting type can be created with :c:func:`PyStructSequence_New`.
206 .. c:function:: PyObject* PyStructSequence_New(PyTypeObject *type)
/external/python/cpython3/PC/
Dpython3dll.c572 EXPORT_FUNC(PyStructSequence_New)
/external/python/cpython3/Doc/data/
Dstable_abi.dat611 func,PyStructSequence_New,3.2,,
Drefcounts.dat2166 PyStructSequence_New:PyObject*::+1:
2167 PyStructSequence_New:PyTypeObject*:type:0:
Dpython3.13.abi709 …<elf-symbol name='PyStructSequence_New' type='func-type' binding='global-binding' visibility='defa…
7055PyStructSequence_New' mangled-name='PyStructSequence_New' filepath='./Include/structseq.h' line='3…
/external/python/cpython3/Misc/
Dstable_abi.toml1312 [function.PyStructSequence_New]