Home
last modified time | relevance | path

Searched refs:position_obj (Results 1 – 3 of 3) 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/v8/src/runtime/
Druntime-regexp.cc1631 Handle<Object> position_obj; in RUNTIME_FUNCTION() local
1633 isolate, position_obj, in RUNTIME_FUNCTION()
1639 isolate, position_obj, Object::ToInteger(isolate, position_obj)); in RUNTIME_FUNCTION()
1641 std::min(PositiveNumberToUint32(*position_obj), length); in RUNTIME_FUNCTION()