Home
last modified time | relevance | path

Searched refs:firstline (Results 1 – 21 of 21) sorted by relevance

/third_party/python/Lib/email/
Dfeedparser.py455 firstline = epilogue[0]
456 bolmo = NLCRE_bol.match(firstline)
458 epilogue[0] = firstline[len(bolmo.group(0)):]
/third_party/protobuf/kokoro/linux/
Dmake_test_output.py34 firstline = next(jobs)
/third_party/python/Lib/
Dcodecs.py451 def read(self, size=-1, chars=-1, firstline=False): argument
506 if firstline:
558 data = self.read(readsize, firstline=True)
/third_party/python/Doc/library/
Ddevmode.rst182 firstline = fp.readline()
183 print(firstline.rstrip())
Dcodecs.rst748 .. method:: read([size[, chars, [firstline]]])
764 The *firstline* flag indicates that
/third_party/glib/glib/pcre/
Dpcre_dfa_exec.c3146 BOOL utf, anchored, startline, firstline; in pcre_dfa_exec() local
3320 firstline = (re->options & PCRE_FIRSTLINE) != 0; in pcre_dfa_exec()
3385 if (firstline) in pcre_dfa_exec()
3582 if (firstline && IS_NEWLINE(current_subject)) break; in pcre_dfa_exec()
Dpcre_jit_compile.c2001 …_INLINE struct sljit_label *mainloop_entry(compiler_common *common, BOOL hascrorlf, BOOL firstline) in mainloop_entry() argument
2016 if (!(hascrorlf || firstline) && (common->nltype == NLTYPE_ANY || in mainloop_entry()
2020 if (firstline) in mainloop_entry()
2119 …t_forward_first_char(compiler_common *common, pcre_uchar first_char, BOOL caseless, BOOL firstline) in fast_forward_first_char() argument
2127 if (firstline) in fast_forward_first_char()
2190 if (firstline) in fast_forward_first_char()
2194 static SLJIT_INLINE void fast_forward_newline(compiler_common *common, BOOL firstline) in fast_forward_newline() argument
2205 if (firstline) in fast_forward_newline()
2239 if (firstline) in fast_forward_newline()
2275 if (firstline) in fast_forward_newline()
[all …]
Dpcre_exec.c6351 BOOL firstline; in pcre_exec() local
6517 firstline = (re->options & PCRE_FIRSTLINE) != 0; in pcre_exec()
6724 if (firstline) in pcre_exec()
6978 if (firstline && IS_NEWLINE(start_match)) break; in pcre_exec()
/third_party/pcre2/pcre2/src/
Dpcre2_dfa_match.c3254 BOOL utf, anchored, startline, firstline; in pcre2_dfa_match() local
3368 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0; in pcre2_dfa_match()
3608 if (firstline) in pcre2_dfa_match()
3962 if (firstline && IS_NEWLINE(start_match)) break; in pcre2_dfa_match()
Dpcre2_match.c6114 BOOL firstline; in pcre2_match() local
6518 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0; in pcre2_match()
6738 if (firstline) in pcre2_match()
7148 if (firstline && IS_NEWLINE(start_match)) break; in pcre2_match()
/third_party/pcre2/pcre2/testdata/
Dtestinput63944 /line\nbreak/firstline
3949 /line\nbreak/m,firstline
4944 /\n/firstline
4947 /\nabc/firstline
4950 /\x{0a}abc/firstline,newline=crlf
4954 /[abc]/firstline
Dtestinput21396 /line\nbreak/I,firstline
1401 /line\nbreak/Im,firstline
3938 /abcd/newline=lf,firstline
5344 /a\b(c/literal,firstline
5437 /\n/firstline
5440 /\nabc/firstline
5443 /\x{0a}abc/firstline,newline=crlf
5447 /[abc]/firstline
Dtestoutput65901 /line\nbreak/firstline
5908 /line\nbreak/m,firstline
7769 /\n/firstline
7773 /\nabc/firstline
7777 /\x{0a}abc/firstline,newline=crlf
7782 /[abc]/firstline
Dtestoutput25471 /line\nbreak/I,firstline
5474 Options: firstline
5484 /line\nbreak/Im,firstline
5487 Options: firstline multiline
13364 /abcd/newline=lf,firstline
16269 /a\b(c/literal,firstline
16493 /\n/firstline
16497 /\nabc/firstline
16501 /\x{0a}abc/firstline,newline=crlf
16506 /[abc]/firstline
Dtestinput17301 /[aC]/mg,firstline,newline=lf
304 /[aCz]/mg,firstline,newline=lf
Dtestoutput17545 /[aC]/mg,firstline,newline=lf
549 /[aCz]/mg,firstline,newline=lf
Dtestinput7649 /X/newline=any,utf,firstline
Dtestinput5351 /X/newline=any,utf,firstline
Dtestoutput5823 /X/newline=any,utf,firstline
Dtestoutput71106 /X/newline=any,utf,firstline
/third_party/pcre2/pcre2/doc/
Dpcre2test.txt567 firstline set PCRE2_FIRSTLINE