Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dbz2module.c93 char* f_bufptr; /* Current buffer position */ member
139 (f->f_bufend - f->f_bufptr) > 0 && in check_iterbuffered()
417 if((f->f_bufend - f->f_bufptr) >= 1) in Util_ReadAhead()
423 f->f_bufptr = f->f_buf; in Util_ReadAhead()
444 f->f_bufptr = f->f_buf; in Util_ReadAhead()
463 len = f->f_bufend - f->f_bufptr; in Util_ReadAheadGetLineSkip()
467 bufptr = memchr(f->f_bufptr, '\n', len); in Util_ReadAheadGetLineSkip()
470 len = bufptr - f->f_bufptr; in Util_ReadAheadGetLineSkip()
475 memcpy(PyString_AS_STRING(s)+skip, f->f_bufptr, len); in Util_ReadAheadGetLineSkip()
476 f->f_bufptr = bufptr; in Util_ReadAheadGetLineSkip()
[all …]
/external/python/cpython2/Include/
Dfileobject.h21 char* f_bufptr; /* Current buffer position */ member
/external/python/cpython2/Objects/
Dfileobject.c1083 (f->f_bufend - f->f_bufptr) > 0 && in file_read()
1165 (f->f_bufend - f->f_bufptr) > 0 && in file_readinto()
1576 (fo->f_bufend - fo->f_bufptr) > 0 && in PyFile_GetLine()
1668 (f->f_bufend - f->f_bufptr) > 0 && in file_readline()
1703 (f->f_bufend - f->f_bufptr) > 0 && in file_readlines()
2361 readaheadbuffer rab = {f->f_buf, f->f_bufptr, f->f_bufend}; in file_iternext()
2373 f->f_bufptr = rab.bufptr; in file_iternext()