Home
last modified time | relevance | path

Searched refs:posobj (Results 26 – 50 of 63) sorted by relevance

123

/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
H A Dtextio.c1956 PyObject *cookieObj, *posobj; in textiowrapper_seek() local
2060 posobj = PyLong_FromOff_t(cookie.start_pos); in textiowrapper_seek()
2061 if (posobj == NULL) in textiowrapper_seek()
2065 Py_DECREF(posobj); in textiowrapper_seek()
2133 PyObject *posobj = NULL; in textiowrapper_tell() local
2162 if (posobj == NULL) in textiowrapper_tell()
2167 return posobj; in textiowrapper_tell()
2173 cookie.start_pos = PyLong_AsLong(posobj); in textiowrapper_tell()
2189 Py_DECREF(posobj); in textiowrapper_tell()
2272 Py_XDECREF(posobj); in textiowrapper_tell()
[all …]
H A Dbytesio.c494 PyObject *posobj; in bytesio_seek() local
500 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode)) in bytesio_seek()
503 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError); in bytesio_seek()
H A Dstringio.c409 PyObject *posobj; in stringio_seek() local
414 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode)) in stringio_seek()
417 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError); in stringio_seek()
H A Dbufferedio.c617 PyObject *res, *posobj, *whenceobj; in _buffered_raw_seek() local
620 posobj = PyLong_FromOff_t(target); in _buffered_raw_seek()
621 if (posobj == NULL) in _buffered_raw_seek()
625 Py_DECREF(posobj); in _buffered_raw_seek()
629 posobj, whenceobj, NULL); in _buffered_raw_seek()
630 Py_DECREF(posobj); in _buffered_raw_seek()
/dports/math/gap/gap-4.11.0/src/
H A Dobjects.c1672 static void SavePosObj(Obj posobj) in SavePosObj() argument
1675 SaveSubObj(TYPE_POSOBJ( posobj )); in SavePosObj()
1676 len = (SIZE_OBJ(posobj)/sizeof(Obj) - 1); in SavePosObj()
1679 SaveSubObj(CONST_ADDR_OBJ(posobj)[i]); in SavePosObj()
1729 static void LoadPosObj(Obj posobj) in LoadPosObj() argument
1732 SET_TYPE_POSOBJ(posobj, LoadSubObj()); in LoadPosObj()
1733 len = (SIZE_OBJ(posobj)/sizeof(Obj) - 1); in LoadPosObj()
1736 ADDR_OBJ(posobj)[i] = LoadSubObj(); in LoadPosObj() local
/dports/databases/py-gdbm/Python-3.8.12/Modules/_io/
H A Dtextio.c2418 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2526 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2527 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2530 _PyIO_str_seek, posobj, NULL); in _io_TextIOWrapper_seek_impl()
2531 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2612 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2643 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2648 return posobj; in _io_TextIOWrapper_tell_impl()
2652 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2654 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
H A Dbufferedio.c692 PyObject *res, *posobj, *whenceobj; in _buffered_raw_seek() local
695 posobj = PyLong_FromOff_t(target); in _buffered_raw_seek()
696 if (posobj == NULL) in _buffered_raw_seek()
700 Py_DECREF(posobj); in _buffered_raw_seek()
704 posobj, whenceobj, NULL); in _buffered_raw_seek()
705 Py_DECREF(posobj); in _buffered_raw_seek()
/dports/lang/python37/Python-3.7.12/Modules/_io/
H A Dtextio.c2330 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2432 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2433 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2436 _PyIO_str_seek, posobj, NULL); in _io_TextIOWrapper_seek_impl()
2437 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2518 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2549 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2554 return posobj; in _io_TextIOWrapper_tell_impl()
2558 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2560 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
H A Dbufferedio.c701 PyObject *res, *posobj, *whenceobj; in _buffered_raw_seek() local
704 posobj = PyLong_FromOff_t(target); in _buffered_raw_seek()
705 if (posobj == NULL) in _buffered_raw_seek()
709 Py_DECREF(posobj); in _buffered_raw_seek()
713 posobj, whenceobj, NULL); in _buffered_raw_seek()
714 Py_DECREF(posobj); in _buffered_raw_seek()
/dports/lang/python310/Python-3.10.1/Modules/_io/
H A Dtextio.c2456 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2566 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2567 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2570 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2651 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2681 posobj = _PyObject_CallMethodIdNoArgs(self->buffer, &PyId_tell); in _io_TextIOWrapper_tell_impl()
2682 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2687 return posobj; in _io_TextIOWrapper_tell_impl()
2691 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2693 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
H A Dbufferedio.c691 PyObject *res, *posobj, *whenceobj; in _buffered_raw_seek() local
694 posobj = PyLong_FromOff_t(target); in _buffered_raw_seek()
695 if (posobj == NULL) in _buffered_raw_seek()
699 Py_DECREF(posobj); in _buffered_raw_seek()
703 posobj, whenceobj, NULL); in _buffered_raw_seek()
704 Py_DECREF(posobj); in _buffered_raw_seek()
/dports/lang/python-tools/Python-3.8.12/Modules/_io/
H A Dtextio.c2418 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2526 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2527 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2530 _PyIO_str_seek, posobj, NULL); in _io_TextIOWrapper_seek_impl()
2531 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2612 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2643 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2648 return posobj; in _io_TextIOWrapper_tell_impl()
2652 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2654 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
/dports/lang/python39/Python-3.9.9/Modules/_io/
H A Dtextio.c2460 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2568 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2569 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2572 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2653 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2683 posobj = _PyObject_CallMethodIdNoArgs(self->buffer, &PyId_tell); in _io_TextIOWrapper_tell_impl()
2684 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2689 return posobj; in _io_TextIOWrapper_tell_impl()
2693 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2695 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
/dports/lang/python38/Python-3.8.12/Modules/_io/
H A Dtextio.c2418 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2526 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2527 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2530 _PyIO_str_seek, posobj, NULL); in _io_TextIOWrapper_seek_impl()
2531 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2612 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2643 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2648 return posobj; in _io_TextIOWrapper_tell_impl()
2652 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2654 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Modules/_io/
H A Dtextio.c2418 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2526 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2527 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2530 _PyIO_str_seek, posobj, NULL); in _io_TextIOWrapper_seek_impl()
2531 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2612 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2643 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2648 return posobj; in _io_TextIOWrapper_tell_impl()
2652 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2654 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Modules/_io/
H A Dtextio.c2418 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2526 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2527 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2530 _PyIO_str_seek, posobj, NULL); in _io_TextIOWrapper_seek_impl()
2531 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2612 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2643 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2648 return posobj; in _io_TextIOWrapper_tell_impl()
2652 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2654 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
/dports/lang/python311/Python-3.11.0a3/Modules/_io/
H A Dtextio.c2456 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2566 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2567 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2570 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2651 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2681 posobj = _PyObject_CallMethodIdNoArgs(self->buffer, &PyId_tell); in _io_TextIOWrapper_tell_impl()
2682 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2687 return posobj; in _io_TextIOWrapper_tell_impl()
2691 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2693 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
[all …]
H A Dbufferedio.c692 PyObject *res, *posobj, *whenceobj; in _buffered_raw_seek() local
695 posobj = PyLong_FromOff_t(target); in _buffered_raw_seek()
696 if (posobj == NULL) in _buffered_raw_seek()
700 Py_DECREF(posobj); in _buffered_raw_seek()
704 posobj, whenceobj, NULL); in _buffered_raw_seek()
705 Py_DECREF(posobj); in _buffered_raw_seek()
/dports/math/gap/gap-4.11.0/tst/testinstall/
H A Dinterpreter.tst196 # posobj
226 # atomic posobj (HPC-GAP)
H A Dcoder.tst220 # posobj
262 # atomic posobj (HPC-GAP)
/dports/lang/python-legacy/Python-2.7.18/Modules/_io/
H A Dbytesio.c504 PyObject *posobj; in bytesio_seek() local
510 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode)) in bytesio_seek()
513 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError); in bytesio_seek()
H A Dstringio.c409 PyObject *posobj; in stringio_seek() local
414 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode)) in stringio_seek()
417 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError); in stringio_seek()
H A Dbufferedio.c644 PyObject *res, *posobj, *whenceobj; in _buffered_raw_seek() local
647 posobj = PyLong_FromOff_t(target); in _buffered_raw_seek()
648 if (posobj == NULL) in _buffered_raw_seek()
652 Py_DECREF(posobj); in _buffered_raw_seek()
656 posobj, whenceobj, NULL); in _buffered_raw_seek()
657 Py_DECREF(posobj); in _buffered_raw_seek()
/dports/lang/python27/Python-2.7.18/Modules/_io/
H A Dstringio.c409 PyObject *posobj; in stringio_seek() local
414 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode)) in stringio_seek()
417 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError); in stringio_seek()
H A Dbytesio.c504 PyObject *posobj; in bytesio_seek() local
510 if (!PyArg_ParseTuple(args, "O|i:seek", &posobj, &mode)) in bytesio_seek()
513 pos = PyNumber_AsSsize_t(posobj, PyExc_OverflowError); in bytesio_seek()

123