Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dfileobject.c241 int skipnextlf = 0; in Py_UniversalNewlineFgets() local
250 if (skipnextlf ) { in Py_UniversalNewlineFgets()
251 skipnextlf = 0; in Py_UniversalNewlineFgets()
273 skipnextlf = 1; in Py_UniversalNewlineFgets()
285 if ( skipnextlf ) { in Py_UniversalNewlineFgets()
/external/python/cpython2/Objects/
Dfileobject.c1436 int skipnextlf = f->f_skipnextlf; in get_line() local
1456 if (skipnextlf ) { in get_line()
1457 skipnextlf = 0; in get_line()
1471 skipnextlf = 1; in get_line()
1483 f->f_skipnextlf = skipnextlf; in get_line()
1494 if (skipnextlf) in get_line()
1505 f->f_skipnextlf = skipnextlf; in get_line()
2777 int skipnextlf = 0; in Py_UniversalNewlineFgets() local
2789 skipnextlf = ((PyFileObject *)fobj)->f_skipnextlf; in Py_UniversalNewlineFgets()
2794 if (skipnextlf ) { in Py_UniversalNewlineFgets()
[all …]
/external/python/cpython2/Modules/
Dbz2module.c249 int skipnextlf = f->f_skipnextlf; in Util_GetLine() local
267 if (skipnextlf) { in Util_GetLine()
268 skipnextlf = 0; in Util_GetLine()
283 skipnextlf = 1; in Util_GetLine()
291 if (univ_newline && bzerror == BZ_STREAM_END && skipnextlf) in Util_GetLine()
295 f->f_skipnextlf = skipnextlf; in Util_GetLine()
338 int newlinetypes, skipnextlf; in Util_UnivNewlineRead() local
347 skipnextlf = f->f_skipnextlf; in Util_UnivNewlineRead()
366 skipnextlf = 1; in Util_UnivNewlineRead()
368 else if (skipnextlf && c == '\n') { in Util_UnivNewlineRead()
[all …]