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/Objects/
Dfileobject.c1062 (f->f_bufend - f->f_bufptr) > 0 && in file_read()
1144 (f->f_bufend - f->f_bufptr) > 0 && in file_readinto()
1555 (fo->f_bufend - fo->f_bufptr) > 0 && in PyFile_GetLine()
1647 (f->f_bufend - f->f_bufptr) > 0 && in file_readline()
1682 (f->f_bufend - f->f_bufptr) > 0 && in file_readlines()
2242 if( (f->f_bufend - f->f_bufptr) >= 1) in readahead()
2264 f->f_bufptr = f->f_buf; in readahead()
2286 len = f->f_bufend - f->f_bufptr; in readahead_get_line_skip()
2290 bufptr = (char *)memchr(f->f_bufptr, '\n', len); in readahead_get_line_skip()
2293 len = bufptr - f->f_bufptr; in readahead_get_line_skip()
[all …]
/external/python/cpython2/Include/
Dfileobject.h21 char* f_bufptr; /* Current buffer position */ member