Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dfileobject.c823 PyObject *newsizeobj = NULL; in file_truncate() local
831 if (!PyArg_UnpackTuple(args, "truncate", 0, 1, &newsizeobj)) in file_truncate()
851 if (newsizeobj != NULL) { in file_truncate()
853 newsize = PyInt_AsLong(newsizeobj); in file_truncate()
855 newsize = PyLong_Check(newsizeobj) ? in file_truncate()
856 PyLong_AsLongLong(newsizeobj) : in file_truncate()
857 PyInt_AsLong(newsizeobj); in file_truncate()