Home
last modified time | relevance | path

Searched refs:posobj (Results 1 – 25 of 63) sorted by last modified time

123

/dports/math/gap/gap-4.11.0/lib/
H A Dmat8bit.gi11 ## This file is a first stab at a special posobj-based representation
/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/math/gap/gap-4.11.0/tst/testinstall/
H A Dcoder.tst220 # posobj
262 # atomic posobj (HPC-GAP)
H A Dinterpreter.tst196 # posobj
226 # atomic posobj (HPC-GAP)
H A Dsyntaxtree.tst1587 posobj := rec(
1611 posobj := rec(
3334 posobj := rec(
3356 posobj := rec(
/dports/lang/python-legacy/Python-2.7.18/Modules/
H A Dposixmodule.c6751 PyObject *posobj; in posix_lseek() local
6752 if (!PyArg_ParseTuple(args, "iOi:lseek", &fd, &posobj, &how)) in posix_lseek()
6764 pos = PyInt_AsLong(posobj); in posix_lseek()
6766 pos = PyLong_Check(posobj) ? in posix_lseek()
6767 PyLong_AsLongLong(posobj) : PyInt_AsLong(posobj); in posix_lseek()
/dports/lang/python27/Python-2.7.18/Modules/
H A Dposixmodule.c6751 PyObject *posobj; in posix_lseek() local
6752 if (!PyArg_ParseTuple(args, "iOi:lseek", &fd, &posobj, &how)) in posix_lseek()
6764 pos = PyInt_AsLong(posobj); in posix_lseek()
6766 pos = PyLong_Check(posobj) ? in posix_lseek()
6767 PyLong_AsLongLong(posobj) : PyInt_AsLong(posobj); in posix_lseek()
/dports/lang/python311/Python-3.11.0a3/Modules/_io/
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()
H A Dfileio.c901 if (posobj == NULL) {
906 pos = PyLong_AsLongLong(posobj);
908 pos = PyLong_AsLong(posobj);
1014 if (posobj == Py_None) {
1017 if (posobj == NULL)
1021 Py_INCREF(posobj);
1025 pos = PyLong_AsLongLong(posobj);
1027 pos = PyLong_AsLong(posobj);
1030 Py_DECREF(posobj);
1046 Py_DECREF(posobj);
[all …]
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 …]
/dports/lang/python311/Python-3.11.0a3/Modules/_io/clinic/
H A Dfileio.c.h395 _io_FileIO_truncate_impl(fileio *self, PyObject *posobj);
401 PyObject *posobj = Py_None; in _io_FileIO_truncate() local
409 posobj = args[0]; in _io_FileIO_truncate()
411 return_value = _io_FileIO_truncate_impl(self, posobj); in _io_FileIO_truncate()
/dports/lang/python310/Python-3.10.1/Modules/_io/
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()
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 Dfileio.c900 if (posobj == NULL) {
905 pos = PyLong_AsLongLong(posobj);
907 pos = PyLong_AsLong(posobj);
1013 if (posobj == Py_None) {
1016 if (posobj == NULL)
1020 Py_INCREF(posobj);
1024 pos = PyLong_AsLongLong(posobj);
1026 pos = PyLong_AsLong(posobj);
1029 Py_DECREF(posobj);
1045 Py_DECREF(posobj);
[all …]
/dports/lang/python310/Python-3.10.1/Modules/_io/clinic/
H A Dfileio.c.h395 _io_FileIO_truncate_impl(fileio *self, PyObject *posobj);
401 PyObject *posobj = Py_None; in _io_FileIO_truncate() local
409 posobj = args[0]; in _io_FileIO_truncate()
411 return_value = _io_FileIO_truncate_impl(self, posobj); in _io_FileIO_truncate()
/dports/lang/python39/Python-3.9.9/Modules/_io/clinic/
H A Dfileio.c.h405 _io_FileIO_truncate_impl(fileio *self, PyObject *posobj);
411 PyObject *posobj = Py_None; in _io_FileIO_truncate() local
419 posobj = args[0]; in _io_FileIO_truncate()
421 return_value = _io_FileIO_truncate_impl(self, posobj); in _io_FileIO_truncate()
/dports/lang/python39/Python-3.9.9/Modules/_io/
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()
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 …]
H A Dfileio.c897 if (posobj == NULL) {
901 if(PyFloat_Check(posobj)) {
908 pos = PyLong_AsLong(posobj);
1014 if (posobj == Py_None) {
1017 if (posobj == NULL)
1021 Py_INCREF(posobj);
1025 pos = PyLong_AsLongLong(posobj);
1027 pos = PyLong_AsLong(posobj);
1030 Py_DECREF(posobj);
1046 Py_DECREF(posobj);
[all …]
/dports/devel/py-game/pygame-2.1.0/src_c/
H A Ddraw.c655 PyObject *posobj, *radiusobj; in circle() local
674 &posobj, &radiusobj, &width, &top_right, in circle()
678 if (!pg_TwoIntsFromObj(posobj, &posx, &posy)) { in circle()
/dports/lang/python37/Python-3.7.12/Modules/_io/
H A Dfileio.c889 if (posobj == NULL) {
893 if(PyFloat_Check(posobj)) {
900 pos = PyLong_AsLong(posobj);
1006 if (posobj == Py_None || posobj == NULL) {
1009 if (posobj == NULL)
1013 Py_INCREF(posobj);
1017 pos = PyLong_AsLongLong(posobj);
1019 pos = PyLong_AsLong(posobj);
1022 Py_DECREF(posobj);
1038 Py_DECREF(posobj);
[all …]
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/python37/Python-3.7.12/Modules/_io/clinic/
H A Dfileio.c.h334 _io_FileIO_truncate_impl(fileio *self, PyObject *posobj);
340 PyObject *posobj = NULL; in _io_FileIO_truncate() local
344 &posobj)) { in _io_FileIO_truncate()
347 return_value = _io_FileIO_truncate_impl(self, posobj); in _io_FileIO_truncate()
/dports/databases/py-gdbm/Python-3.8.12/Modules/_io/
H A Dfileio.c894 if (posobj == NULL) {
898 if(PyFloat_Check(posobj)) {
905 pos = PyLong_AsLong(posobj);
1011 if (posobj == Py_None) {
1014 if (posobj == NULL)
1018 Py_INCREF(posobj);
1022 pos = PyLong_AsLongLong(posobj);
1024 pos = PyLong_AsLong(posobj);
1027 Py_DECREF(posobj);
1043 Py_DECREF(posobj);
[all …]

123