/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 | 98 PyStructSequence_SET_ITEM(result, 0, in resource_getrusage_impl() 100 PyStructSequence_SET_ITEM(result, 1, in resource_getrusage_impl() 102 PyStructSequence_SET_ITEM(result, 2, PyLong_FromLong(ru.ru_maxrss)); in resource_getrusage_impl() 103 PyStructSequence_SET_ITEM(result, 3, PyLong_FromLong(ru.ru_ixrss)); in resource_getrusage_impl() 104 PyStructSequence_SET_ITEM(result, 4, PyLong_FromLong(ru.ru_idrss)); in resource_getrusage_impl() 105 PyStructSequence_SET_ITEM(result, 5, PyLong_FromLong(ru.ru_isrss)); in resource_getrusage_impl() 106 PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(ru.ru_minflt)); in resource_getrusage_impl() 107 PyStructSequence_SET_ITEM(result, 7, PyLong_FromLong(ru.ru_majflt)); in resource_getrusage_impl() 108 PyStructSequence_SET_ITEM(result, 8, PyLong_FromLong(ru.ru_nswap)); in resource_getrusage_impl() 109 PyStructSequence_SET_ITEM(result, 9, PyLong_FromLong(ru.ru_inblock)); in resource_getrusage_impl() [all …]
|
D | pwdmodule.c | 73 PyStructSequence_SET_ITEM(v, i, o); in sets() 76 PyStructSequence_SET_ITEM(v, i, Py_None); in sets() 89 #define SETI(i,val) PyStructSequence_SET_ITEM(v, i, PyLong_FromLong((long) val)) in mkpwent() 98 PyStructSequence_SET_ITEM(v, setIndex++, _PyLong_FromUid(p->pw_uid)); in mkpwent() 99 PyStructSequence_SET_ITEM(v, setIndex++, _PyLong_FromGid(p->pw_gid)); in mkpwent()
|
D | signalmodule.c | 1092 PyStructSequence_SET_ITEM(result, 0, PyLong_FromLong((long)(si->si_signo))); in fill_siginfo() 1093 PyStructSequence_SET_ITEM(result, 1, PyLong_FromLong((long)(si->si_code))); in fill_siginfo() 1095 PyStructSequence_SET_ITEM(result, 2, PyLong_FromLong(0L)); in fill_siginfo() 1096 PyStructSequence_SET_ITEM(result, 3, PyLong_FromLong(0L)); in fill_siginfo() 1097 PyStructSequence_SET_ITEM(result, 4, PyLong_FromLong(0L)); in fill_siginfo() 1098 PyStructSequence_SET_ITEM(result, 5, PyLong_FromLong(0L)); in fill_siginfo() 1100 PyStructSequence_SET_ITEM(result, 2, PyLong_FromLong((long)(si->si_errno))); in fill_siginfo() 1101 PyStructSequence_SET_ITEM(result, 3, PyLong_FromPid(si->si_pid)); in fill_siginfo() 1102 PyStructSequence_SET_ITEM(result, 4, _PyLong_FromUid(si->si_uid)); in fill_siginfo() 1103 PyStructSequence_SET_ITEM(result, 5, in fill_siginfo() [all …]
|
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 | posixmodule.c | 2291 PyStructSequence_SET_ITEM(v, index, s); in fill_time() 2292 PyStructSequence_SET_ITEM(v, index+3, float_s); in fill_time() 2293 PyStructSequence_SET_ITEM(v, index+6, ns_total); in fill_time() 2316 PyStructSequence_SET_ITEM(v, 0, PyLong_FromLong((long)st->st_mode)); in _pystat_fromstructstat() 2318 PyStructSequence_SET_ITEM(v, 1, PyLong_FromUnsignedLongLong(st->st_ino)); in _pystat_fromstructstat() 2320 PyStructSequence_SET_ITEM(v, 2, PyLong_FromUnsignedLong(st->st_dev)); in _pystat_fromstructstat() 2322 PyStructSequence_SET_ITEM(v, 2, _PyLong_FromDev(st->st_dev)); in _pystat_fromstructstat() 2324 PyStructSequence_SET_ITEM(v, 3, PyLong_FromLong((long)st->st_nlink)); in _pystat_fromstructstat() 2326 PyStructSequence_SET_ITEM(v, 4, PyLong_FromLong(0)); in _pystat_fromstructstat() 2327 PyStructSequence_SET_ITEM(v, 5, PyLong_FromLong(0)); in _pystat_fromstructstat() [all …]
|
D | grpmodule.c | 80 #define SET(i,val) PyStructSequence_SET_ITEM(v, i, val) in mkgrent()
|
D | timemodule.c | 419 #define SET(i,val) PyStructSequence_SET_ITEM(v, i, PyLong_FromLong((long) val)) 431 PyStructSequence_SET_ITEM(v, 9, 435 PyStructSequence_SET_ITEM(v, 9, 437 PyStructSequence_SET_ITEM(v, 10, _PyLong_FromTime_t(gmtoff));
|
/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 | thread.c | 195 PyStructSequence_SET_ITEM(threadinfo, pos++, value); in PyThread_GetInfo() 211 PyStructSequence_SET_ITEM(threadinfo, pos++, value); in PyThread_GetInfo() 228 PyStructSequence_SET_ITEM(threadinfo, pos++, value); in PyThread_GetInfo()
|
D | sysmodule.c | 1337 PyStructSequence_SET_ITEM(res, 0, firstiter); in sys_get_asyncgen_hooks_impl() 1340 PyStructSequence_SET_ITEM(res, 1, finalizer); in sys_get_asyncgen_hooks_impl() 1386 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1388 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1390 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1392 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1394 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1396 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1398 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1400 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() [all …]
|
D | errors.c | 1222 PyStructSequence_SET_ITEM(args, pos++, exc_type); \ in make_unraisable_hook_args()
|
/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 | 60 PyStructSequence_SET_ITEM(op, i, v); in PyStructSequence_SetItem()
|
D | floatobject.c | 90 PyStructSequence_SET_ITEM(floatinfo, pos++, PyLong_FromLong(flag)) in PyFloat_GetInfo() 92 PyStructSequence_SET_ITEM(floatinfo, pos++, PyFloat_FromDouble(flag)) in PyFloat_GetInfo()
|
/external/python/cpython3/Doc/c-api/ |
D | tuple.rst | 216 .. 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()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2134 PyStructSequence_SET_ITEM:void::: 2135 PyStructSequence_SET_ITEM:PyObject*:p:0: 2136 PyStructSequence_SET_ITEM:Py_ssize_t*:pos:: 2137 PyStructSequence_SET_ITEM:PyObject*:o:0:
|