/external/python/cpython2/Modules/ |
D | resource.c | 85 PyStructSequence_SET_ITEM(result, 0, in resource_getrusage() 87 PyStructSequence_SET_ITEM(result, 1, in resource_getrusage() 89 PyStructSequence_SET_ITEM(result, 2, PyInt_FromLong(ru.ru_maxrss)); in resource_getrusage() 90 PyStructSequence_SET_ITEM(result, 3, PyInt_FromLong(ru.ru_ixrss)); in resource_getrusage() 91 PyStructSequence_SET_ITEM(result, 4, PyInt_FromLong(ru.ru_idrss)); in resource_getrusage() 92 PyStructSequence_SET_ITEM(result, 5, PyInt_FromLong(ru.ru_isrss)); in resource_getrusage() 93 PyStructSequence_SET_ITEM(result, 6, PyInt_FromLong(ru.ru_minflt)); in resource_getrusage() 94 PyStructSequence_SET_ITEM(result, 7, PyInt_FromLong(ru.ru_majflt)); in resource_getrusage() 95 PyStructSequence_SET_ITEM(result, 8, PyInt_FromLong(ru.ru_nswap)); in resource_getrusage() 96 PyStructSequence_SET_ITEM(result, 9, PyInt_FromLong(ru.ru_inblock)); in resource_getrusage() [all …]
|
D | pwdmodule.c | 52 PyStructSequence_SET_ITEM(v, i, PyString_FromString(val)); in sets() 54 PyStructSequence_SET_ITEM(v, i, Py_None); in sets() 67 #define SETI(i,val) PyStructSequence_SET_ITEM(v, i, PyInt_FromLong((long) val)) in mkpwent() 76 PyStructSequence_SET_ITEM(v, setIndex++, _PyInt_FromUid(p->pw_uid)); in mkpwent() 77 PyStructSequence_SET_ITEM(v, setIndex++, _PyInt_FromGid(p->pw_gid)); in mkpwent()
|
D | spwdmodule.c | 63 PyStructSequence_SET_ITEM(v, i, PyString_FromString(val)); in sets() 65 PyStructSequence_SET_ITEM(v, i, Py_None); in sets() 77 #define SETI(i,val) PyStructSequence_SET_ITEM(v, i, PyInt_FromLong((long) val)) in mkspent()
|
D | posixmodule.c | 1469 PyStructSequence_SET_ITEM(v, index, ival); in fill_time() 1470 PyStructSequence_SET_ITEM(v, index+3, fval); in fill_time() 1483 PyStructSequence_SET_ITEM(v, 0, PyInt_FromLong((long)st->st_mode)); in _pystat_fromstructstat() 1485 PyStructSequence_SET_ITEM(v, 1, in _pystat_fromstructstat() 1488 PyStructSequence_SET_ITEM(v, 1, PyInt_FromLong((long)st->st_ino)); in _pystat_fromstructstat() 1491 PyStructSequence_SET_ITEM(v, 2, PyLong_FromUnsignedLong(st->st_dev)); in _pystat_fromstructstat() 1493 PyStructSequence_SET_ITEM(v, 2, _PyInt_FromDev(st->st_dev)); in _pystat_fromstructstat() 1495 PyStructSequence_SET_ITEM(v, 3, PyInt_FromLong((long)st->st_nlink)); in _pystat_fromstructstat() 1497 PyStructSequence_SET_ITEM(v, 4, PyInt_FromLong(0)); in _pystat_fromstructstat() 1498 PyStructSequence_SET_ITEM(v, 5, PyInt_FromLong(0)); in _pystat_fromstructstat() [all …]
|
D | grpmodule.c | 60 #define SET(i,val) PyStructSequence_SET_ITEM(v, i, val) in mkgrent()
|
D | timemodule.c | 254 #define SET(i,val) PyStructSequence_SET_ITEM(v, i, PyInt_FromLong((long) val)) in tmtotuple()
|
/external/python/cpython3/Modules/ |
D | resource.c | 101 PyStructSequence_SET_ITEM(result, 0, in resource_getrusage_impl() 103 PyStructSequence_SET_ITEM(result, 1, in resource_getrusage_impl() 105 PyStructSequence_SET_ITEM(result, 2, PyLong_FromLong(ru.ru_maxrss)); in resource_getrusage_impl() 106 PyStructSequence_SET_ITEM(result, 3, PyLong_FromLong(ru.ru_ixrss)); in resource_getrusage_impl() 107 PyStructSequence_SET_ITEM(result, 4, PyLong_FromLong(ru.ru_idrss)); in resource_getrusage_impl() 108 PyStructSequence_SET_ITEM(result, 5, PyLong_FromLong(ru.ru_isrss)); in resource_getrusage_impl() 109 PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(ru.ru_minflt)); in resource_getrusage_impl() 110 PyStructSequence_SET_ITEM(result, 7, PyLong_FromLong(ru.ru_majflt)); in resource_getrusage_impl() 111 PyStructSequence_SET_ITEM(result, 8, PyLong_FromLong(ru.ru_nswap)); in resource_getrusage_impl() 112 PyStructSequence_SET_ITEM(result, 9, PyLong_FromLong(ru.ru_inblock)); in resource_getrusage_impl() [all …]
|
D | pwdmodule.c | 58 PyStructSequence_SET_ITEM(v, i, o); in sets() 61 PyStructSequence_SET_ITEM(v, i, Py_None); in sets() 74 #define SETI(i,val) PyStructSequence_SET_ITEM(v, i, PyLong_FromLong((long) val)) in mkpwent() 83 PyStructSequence_SET_ITEM(v, setIndex++, _PyLong_FromUid(p->pw_uid)); in mkpwent() 84 PyStructSequence_SET_ITEM(v, setIndex++, _PyLong_FromGid(p->pw_gid)); in mkpwent()
|
D | spwdmodule.c | 71 PyStructSequence_SET_ITEM(v, i, o); in sets() 73 PyStructSequence_SET_ITEM(v, i, Py_None); in sets() 85 #define SETI(i,val) PyStructSequence_SET_ITEM(v, i, PyLong_FromLong((long) val)) in mkspent()
|
D | signalmodule.c | 972 PyStructSequence_SET_ITEM(result, 0, PyLong_FromLong((long)(si->si_signo))); in fill_siginfo() 973 PyStructSequence_SET_ITEM(result, 1, PyLong_FromLong((long)(si->si_code))); in fill_siginfo() 974 PyStructSequence_SET_ITEM(result, 2, PyLong_FromLong((long)(si->si_errno))); in fill_siginfo() 975 PyStructSequence_SET_ITEM(result, 3, PyLong_FromPid(si->si_pid)); in fill_siginfo() 976 PyStructSequence_SET_ITEM(result, 4, _PyLong_FromUid(si->si_uid)); in fill_siginfo() 977 PyStructSequence_SET_ITEM(result, 5, in fill_siginfo() 980 PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(si->si_band)); in fill_siginfo() 982 PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(0L)); in fill_siginfo()
|
D | posixmodule.c | 1991 PyStructSequence_SET_ITEM(v, index, s); in fill_time() 1992 PyStructSequence_SET_ITEM(v, index+3, float_s); in fill_time() 1993 PyStructSequence_SET_ITEM(v, index+6, ns_total); in fill_time() 2015 PyStructSequence_SET_ITEM(v, 0, PyLong_FromLong((long)st->st_mode)); in _pystat_fromstructstat() 2017 PyStructSequence_SET_ITEM(v, 1, PyLong_FromUnsignedLongLong(st->st_ino)); in _pystat_fromstructstat() 2019 PyStructSequence_SET_ITEM(v, 2, PyLong_FromUnsignedLong(st->st_dev)); in _pystat_fromstructstat() 2021 PyStructSequence_SET_ITEM(v, 2, _PyLong_FromDev(st->st_dev)); in _pystat_fromstructstat() 2023 PyStructSequence_SET_ITEM(v, 3, PyLong_FromLong((long)st->st_nlink)); in _pystat_fromstructstat() 2025 PyStructSequence_SET_ITEM(v, 4, PyLong_FromLong(0)); in _pystat_fromstructstat() 2026 PyStructSequence_SET_ITEM(v, 5, PyLong_FromLong(0)); in _pystat_fromstructstat() [all …]
|
D | grpmodule.c | 65 #define SET(i,val) PyStructSequence_SET_ITEM(v, i, val) in mkgrent()
|
D | timemodule.c | 425 #define SET(i,val) PyStructSequence_SET_ITEM(v, i, PyLong_FromLong((long) val)) in tmtotuple() 437 PyStructSequence_SET_ITEM(v, 9, in tmtotuple() 441 PyStructSequence_SET_ITEM(v, 9, in tmtotuple() 443 PyStructSequence_SET_ITEM(v, 10, _PyLong_FromTime_t(gmtoff)); in tmtotuple()
|
/external/python/cpython2/RISCOS/Modules/ |
D | riscosmodule.c | 202 PyStructSequence_SET_ITEM(v, 0, in riscos_stat() 204 PyStructSequence_SET_ITEM(v, 1, PyInt_FromLong((long) 0)); /*st_ino*/ in riscos_stat() 205 PyStructSequence_SET_ITEM(v, 2, PyInt_FromLong((long) 0)); /*st_dev*/ in riscos_stat() 206 PyStructSequence_SET_ITEM(v, 3, PyInt_FromLong((long) 0)); /*st_nlink*/ in riscos_stat() 207 PyStructSequence_SET_ITEM(v, 4, PyInt_FromLong((long) 0)); /*st_uid*/ in riscos_stat() 208 PyStructSequence_SET_ITEM(v, 5, PyInt_FromLong((long) 0)); /*st_gid*/ in riscos_stat() 209 PyStructSequence_SET_ITEM(v, 6, in riscos_stat() 211 PyStructSequence_SET_ITEM(v, 7, PyInt_FromLong((long) t)); /*st_atime*/ in riscos_stat() 212 PyStructSequence_SET_ITEM(v, 8, PyInt_FromLong((long) t)); /*st_mtime*/ in riscos_stat() 213 PyStructSequence_SET_ITEM(v, 9, PyInt_FromLong((long) t)); /*st_ctime*/ in riscos_stat() [all …]
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 923 PyStructSequence_SET_ITEM(res, 0, firstiter); in sys_get_asyncgen_hooks() 926 PyStructSequence_SET_ITEM(res, 1, finalizer); in sys_get_asyncgen_hooks() 979 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 981 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 983 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 985 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 987 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 989 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 991 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 993 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() [all …]
|
D | thread.c | 193 PyStructSequence_SET_ITEM(threadinfo, pos++, value); in PyThread_GetInfo() 209 PyStructSequence_SET_ITEM(threadinfo, pos++, value); in PyThread_GetInfo() 226 PyStructSequence_SET_ITEM(threadinfo, pos++, value); in PyThread_GetInfo()
|
/external/python/cpython2/Python/ |
D | sysmodule.c | 608 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.dwMajorVersion)); in sys_getwindowsversion() 609 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.dwMinorVersion)); in sys_getwindowsversion() 610 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.dwBuildNumber)); in sys_getwindowsversion() 611 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.dwPlatformId)); in sys_getwindowsversion() 612 PyStructSequence_SET_ITEM(version, pos++, PyString_FromString(ver.szCSDVersion)); in sys_getwindowsversion() 613 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.wServicePackMajor)); in sys_getwindowsversion() 614 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.wServicePackMinor)); in sys_getwindowsversion() 615 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.wSuiteMask)); in sys_getwindowsversion() 616 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.wProductType)); in sys_getwindowsversion() 1255 PyStructSequence_SET_ITEM(seq, pos++, PyInt_FromLong(flag)) in make_flags() [all …]
|
/external/python/cpython2/Include/ |
D | structseq.h | 35 #define PyStructSequence_SET_ITEM(op, i, v) \ macro
|
/external/python/cpython3/Include/ |
D | structseq.h | 38 #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) macro
|
/external/python/cpython3/Objects/ |
D | structseq.c | 52 PyStructSequence_SET_ITEM(op, i, v); in PyStructSequence_SetItem()
|
D | floatobject.c | 89 PyStructSequence_SET_ITEM(floatinfo, pos++, PyLong_FromLong(flag)) in PyFloat_GetInfo() 91 PyStructSequence_SET_ITEM(floatinfo, pos++, PyFloat_FromDouble(flag)) in PyFloat_GetInfo()
|
/external/python/cpython3/Doc/c-api/ |
D | tuple.rst | 212 .. c:function:: void PyStructSequence_SET_ITEM(PyObject *p, Py_ssize_t *pos, PyObject *o)
|
/external/python/cpython2/Objects/ |
D | floatobject.c | 115 PyStructSequence_SET_ITEM(floatinfo, pos++, PyInt_FromLong(flag)) in PyFloat_GetInfo() 117 PyStructSequence_SET_ITEM(floatinfo, pos++, PyFloat_FromDouble(flag)) in PyFloat_GetInfo()
|
D | longobject.c | 4388 PyStructSequence_SET_ITEM(long_info, field++, in PyLong_GetInfo() 4390 PyStructSequence_SET_ITEM(long_info, field++, in PyLong_GetInfo()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2105 PyStructSequence_SET_ITEM:void::: 2106 PyStructSequence_SET_ITEM:PyObject*:p:0: 2107 PyStructSequence_SET_ITEM:Py_ssize_t*:pos:: 2108 PyStructSequence_SET_ITEM:PyObject*:o:0:
|