Lines Matching refs:f_buf
91 char* f_buf; /* Allocated readahead buffer */ member
138 if (f->f_buf != NULL && in check_iterbuffered()
140 f->f_buf[0] != '\0') { in check_iterbuffered()
403 if (f->f_buf != NULL) { in Util_DropReadAhead()
404 PyMem_Free(f->f_buf); in Util_DropReadAhead()
405 f->f_buf = NULL; in Util_DropReadAhead()
416 if (f->f_buf != NULL) { in Util_ReadAhead()
423 f->f_bufptr = f->f_buf; in Util_ReadAhead()
424 f->f_bufend = f->f_buf; in Util_ReadAhead()
427 if ((f->f_buf = PyMem_Malloc(bufsize)) == NULL) { in Util_ReadAhead()
432 chunksize = Util_UnivNewlineRead(&bzerror, f->fp, f->f_buf, in Util_ReadAhead()
444 f->f_bufptr = f->f_buf; in Util_ReadAhead()
445 f->f_bufend = f->f_buf + chunksize; in Util_ReadAhead()
459 if (f->f_buf == NULL) in Util_ReadAheadGetLineSkip()
481 buf = f->f_buf; in Util_ReadAheadGetLineSkip()
482 f->f_buf = NULL; /* Force new readahead buffer */ in Util_ReadAheadGetLineSkip()