Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dbz2module.c91 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()
[all …]
/external/python/cpython2/Objects/
Dfileobject.c167 f->f_buf = NULL; in fill_file_fields()
615 PyMem_FREE(f->f_buf); in drop_file_readahead()
616 f->f_buf = NULL; in drop_file_readahead()
1082 if (f->f_buf != NULL && in file_read()
1084 f->f_buf[0] != '\0') in file_read()
1164 if (f->f_buf != NULL && in file_readinto()
1166 f->f_buf[0] != '\0') in file_readinto()
1575 if (fo->f_buf != NULL && in PyFile_GetLine()
1577 fo->f_buf[0] != '\0') in PyFile_GetLine()
1667 if (f->f_buf != NULL && in file_readline()
[all …]
/external/python/cpython2/Include/
Dfileobject.h19 char* f_buf; /* Allocated readahead buffer */ member