Home | History | Annotate | Download | only in _io

Lines Matching refs:readahead

547             PyObject *readahead = PyObject_CallFunctionObjArgs(peek, _PyLong_One, NULL);
548 if (readahead == NULL) {
556 if (!PyBytes_Check(readahead)) {
559 "not '%.200s'", Py_TYPE(readahead)->tp_name);
560 Py_DECREF(readahead);
563 if (PyBytes_GET_SIZE(readahead) > 0) {
565 const char *buf = PyBytes_AS_STRING(readahead);
568 if (n >= PyBytes_GET_SIZE(readahead) || n >= limit)
576 if (n >= PyBytes_GET_SIZE(readahead))
584 Py_DECREF(readahead);