Home
last modified time | relevance | path

Searched refs:CHAR_CR (Results 1 – 9 of 9) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_newline.c97 case CHAR_CR: in PRIV()
118 case CHAR_CR: in PRIV()
190 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV()
193 case CHAR_CR: in PRIV()
206 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV()
214 case CHAR_CR: in PRIV()
Dpcre2_internal.h417 CHAR_LF, CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, 0x2028, 0x2029, NOTACHAR
427 case CHAR_CR: \
448 CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, CHAR_LF, NOTACHAR
451 CHAR_VT, CHAR_FF, CHAR_CR, CHAR_LF, CHAR_NEL, NOTACHAR
458 case CHAR_CR: \
680 #define CHAR_CR '\r' macro
960 #define CHAR_CR '\015' macro
Dpcre2_dfa_match.c1557 case CHAR_CR: in internal_dfa_match()
1815 case CHAR_CR: in internal_dfa_match()
2075 case CHAR_CR: in internal_dfa_match()
2250 case CHAR_CR: in internal_dfa_match()
3420 mb->nl[0] = CHAR_CR; in pcre2_dfa_match()
3435 mb->nl[0] = CHAR_CR; in pcre2_dfa_match()
3702 if (start_match[-1] == CHAR_CR && in pcre2_dfa_match()
3876 if (UCHAR21TEST(start_match - 1) == CHAR_CR && in pcre2_dfa_match()
Dpcre2_match.c2248 case CHAR_CR: in match()
2823 case CHAR_CR: in match()
3078 case CHAR_CR: in match()
3564 case CHAR_CR: in match()
3692 case CHAR_CR: in match()
4169 if (fc == CHAR_CR) in match()
4341 UCHAR21(Feptr) == CHAR_NL && UCHAR21(Feptr - 1) == CHAR_CR) in match()
4394 if (fc == CHAR_CR) in match()
4593 Feptr[-1] == CHAR_CR) Feptr--; in match()
6273 mb->nl[0] = CHAR_CR; in pcre2_match()
[all …]
Dpcre2_study.c1251 SET_BIT(CHAR_CR); in set_start_bits()
1388 SET_BIT(CHAR_CR); in set_start_bits()
Dpcre2_substitute.c346 if (subject[start_offset-1] == CHAR_CR && in pcre2_substitute()
Dpcre2_compile.c533 CHAR_CR, -ESC_s,
561 /* 98 */ 0, CHAR_CR, 0, '}', 0, 0, 0, 0,
1499 if (c == CHAR_CR && (extra_options & PCRE2_EXTRA_ESCAPED_CR_IS_LF) != 0) in PRIV()
5777 if (c == CHAR_CR || c == CHAR_NL) cb->external_flags |= PCRE2_HASCRORLF; in compile_branch()
5792 if (d == CHAR_CR || d == CHAR_NL) cb->external_flags |= PCRE2_HASCRORLF; in compile_branch()
7741 if (mcbuffer[0] == CHAR_CR || mcbuffer[0] == CHAR_NL) in compile_branch()
9732 cb.nl[0] = CHAR_CR; in pcre2_compile()
9747 cb.nl[0] = CHAR_CR; in pcre2_compile()
Dpcre2_auto_possess.c1021 case CHAR_CR: in compare_opcodes()
Dpcre2_jit_compile.c3968 add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR)); in check_newlinechar()
3973 jump = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in check_newlinechar()
6518 foundcr = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in fast_forward_newline()
8239 jump[1] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_simple_assertion_matchingpath()
8741 jump[0] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_char1_matchingpath()
13482 case PCRE2_NEWLINE_CR: common->newline = CHAR_CR; break; in jit_compile()
13484 case PCRE2_NEWLINE_CRLF: common->newline = (CHAR_CR << 8) | CHAR_NL; break; in jit_compile()
13485 …case PCRE2_NEWLINE_ANY: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANY; b… in jit_compile()
13486 …case PCRE2_NEWLINE_ANYCRLF: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_AN… in jit_compile()
13521 common->nlmax = (CHAR_CR > CHAR_NL) ? CHAR_CR : CHAR_NL; in jit_compile()
[all …]