Home
last modified time | relevance | path

Searched refs:position_obj (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Modules/_io/
Dbytesio.c674 PyObject *position_obj; in bytesio_setstate() local
704 position_obj = PyTuple_GET_ITEM(state, 1); in bytesio_setstate()
705 if (!PyIndex_Check(position_obj)) { in bytesio_setstate()
708 Py_TYPE(position_obj)->tp_name); in bytesio_setstate()
711 pos = PyNumber_AsSsize_t(position_obj, PyExc_OverflowError); in bytesio_setstate()
Dstringio.c711 PyObject *position_obj; in stringio_setstate() local
756 position_obj = PyTuple_GET_ITEM(state, 2); in stringio_setstate()
757 if (!PyIndex_Check(position_obj)) { in stringio_setstate()
760 Py_TYPE(position_obj)->tp_name); in stringio_setstate()
763 pos = PyNumber_AsSsize_t(position_obj, PyExc_OverflowError); in stringio_setstate()
/external/python/cpython3/Modules/_io/
Dbytesio.c790 PyObject *position_obj; in bytesio_setstate() local
821 position_obj = PyTuple_GET_ITEM(state, 1); in bytesio_setstate()
822 if (!PyLong_Check(position_obj)) { in bytesio_setstate()
825 Py_TYPE(position_obj)->tp_name); in bytesio_setstate()
828 pos = PyLong_AsSsize_t(position_obj); in bytesio_setstate()
Dstringio.c846 PyObject *position_obj; in stringio_setstate() local
902 position_obj = PyTuple_GET_ITEM(state, 2); in stringio_setstate()
903 if (!PyLong_Check(position_obj)) { in stringio_setstate()
906 Py_TYPE(position_obj)->tp_name); in stringio_setstate()
909 pos = PyLong_AsSsize_t(position_obj); in stringio_setstate()
/external/v8/src/runtime/
Druntime-regexp.cc1836 Handle<Object> position_obj; in RUNTIME_FUNCTION() local
1838 isolate, position_obj, in RUNTIME_FUNCTION()
1842 isolate, position_obj, Object::ToInteger(isolate, position_obj)); in RUNTIME_FUNCTION()
1844 std::min(PositiveNumberToUint32(*position_obj), length); in RUNTIME_FUNCTION()