Lines Matching refs:IOobject
48 } IOobject; typedef
50 #define IOOOBJECT(O) ((IOobject*)(O))
77 IO__opencheck(IOobject *self) { in IO__opencheck()
87 IO_get_closed(IOobject *self, void *closure) in IO_get_closed()
103 IO_flush(IOobject *self, PyObject *unused) { in IO_flush()
121 return PyString_FromStringAndSize(((IOobject*)self)->buf, in IO_cgetval()
122 ((IOobject*)self)->pos); in IO_cgetval()
126 IO_getval(IOobject *self, PyObject *args) { in IO_getval()
150 IO_isatty(IOobject *self, PyObject *unused) { in IO_isatty()
166 l = ((IOobject*)self)->string_size - ((IOobject*)self)->pos; in IO_cread()
177 *output=((IOobject*)self)->buf + ((IOobject*)self)->pos; in IO_cread()
178 ((IOobject*)self)->pos += n; in IO_cread()
183 IO_read(IOobject *self, PyObject *args) { in IO_read()
203 n = start = ((IOobject*)self)->buf + ((IOobject*)self)->pos; in IO_creadline()
204 end = ((IOobject*)self)->buf + ((IOobject*)self)->string_size; in IO_creadline()
220 ((IOobject*)self)->pos += len; in IO_creadline()
225 IO_readline(IOobject *self, PyObject *args) { in IO_readline()
245 IO_readlines(IOobject *self, PyObject *args) { in IO_readlines()
284 IO_reset(IOobject *self, PyObject *unused) { in IO_reset()
297 IO_tell(IOobject *self, PyObject *unused) { in IO_tell()
309 IO_truncate(IOobject *self, PyObject *args) { in IO_truncate()
337 next = IO_readline((IOobject *)self, NULL); in IO_iternext()