Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
DcStringIO.c389 Oobject *oself; in O_cwrite() local
393 oself = (Oobject *)self; in O_cwrite()
401 if (oself->pos >= PY_SSIZE_T_MAX - len) { in O_cwrite()
406 newpos = oself->pos + len; in O_cwrite()
407 if (newpos >= oself->buf_size) { in O_cwrite()
408 size_t newsize = oself->buf_size; in O_cwrite()
414 newbuf = (char*)realloc(oself->buf, newsize); in O_cwrite()
419 oself->buf_size = (Py_ssize_t)newsize; in O_cwrite()
420 oself->buf = newbuf; in O_cwrite()
423 if (oself->string_size < oself->pos) { in O_cwrite()
[all …]
/external/python/cpython2/Modules/_io/
Dfileio.c203 fileio_init(PyObject *oself, PyObject *args, PyObject *kwds) in fileio_init() argument
205 fileio *self = (fileio *) oself; in fileio_init()
221 assert(PyFileIO_Check(oself)); in fileio_init()