Home
last modified time | relevance | path

Searched refs:SEEN_LF (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/_io/
Dtextio.c255 #define SEEN_LF 2 macro
257 #define SEEN_ALL (SEEN_CR | SEEN_LF | SEEN_CRLF)
343 if (seennl == SEEN_LF || seennl == 0) { in _PyIncrementalNewlineDecoder_decode()
363 seennl |= SEEN_LF; in _PyIncrementalNewlineDecoder_decode()
387 seennl |= SEEN_LF; in _PyIncrementalNewlineDecoder_decode()
435 seennl |= SEEN_LF; in _PyIncrementalNewlineDecoder_decode()
549 case SEEN_LF: in incrementalnewlinedecoder_newlines_get()
553 case SEEN_CR | SEEN_LF: in incrementalnewlinedecoder_newlines_get()
557 case SEEN_LF | SEEN_CRLF: in incrementalnewlinedecoder_newlines_get()
559 case SEEN_CR | SEEN_LF | SEEN_CRLF: in incrementalnewlinedecoder_newlines_get()
/external/python/cpython3/Modules/_io/
Dtextio.c301 #define SEEN_LF 2 macro
303 #define SEEN_ALL (SEEN_CR | SEEN_LF | SEEN_CRLF)
388 if (seennl == SEEN_LF || seennl == 0) { in _PyIncrementalNewlineDecoder_decode()
399 seennl |= SEEN_LF; in _PyIncrementalNewlineDecoder_decode()
409 seennl |= SEEN_LF; in _PyIncrementalNewlineDecoder_decode()
432 seennl |= SEEN_LF; in _PyIncrementalNewlineDecoder_decode()
473 seennl |= SEEN_LF; in _PyIncrementalNewlineDecoder_decode()
617 case SEEN_LF: in incrementalnewlinedecoder_newlines_get()
621 case SEEN_CR | SEEN_LF: in incrementalnewlinedecoder_newlines_get()
625 case SEEN_LF | SEEN_CRLF: in incrementalnewlinedecoder_newlines_get()
[all …]