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.h436 CHAR_LF, CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, 0x2028, 0x2029, NOTACHAR
446 case CHAR_CR: \
467 CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, CHAR_LF, NOTACHAR
470 CHAR_VT, CHAR_FF, CHAR_CR, CHAR_LF, CHAR_NEL, NOTACHAR
477 case CHAR_CR: \
689 #define CHAR_CR '\r' macro
952 #define CHAR_CR '\015' macro
1280 #define ESC_r CHAR_CR
Dpcre2_dfa_match.c1420 case CHAR_CR: in internal_dfa_match()
1689 case CHAR_CR: in internal_dfa_match()
1959 case CHAR_CR: in internal_dfa_match()
2144 case CHAR_CR: in internal_dfa_match()
3250 mb->nl[0] = CHAR_CR; in pcre2_dfa_match()
3260 mb->nl[0] = CHAR_CR; in pcre2_dfa_match()
3457 if (start_match[-1] == CHAR_CR && in pcre2_dfa_match()
3609 if (UCHAR21TEST(start_match - 1) == CHAR_CR && in pcre2_dfa_match()
Dpcre2_match.c2538 case CHAR_CR: in match()
4527 case CHAR_CR: in match()
4778 case CHAR_CR: in match()
5266 case CHAR_CR: in match()
5391 case CHAR_CR: in match()
5866 if (c == CHAR_CR) in match()
6037 UCHAR21(eptr - 1) == CHAR_CR) eptr--; in match()
6088 if (c == CHAR_CR) in match()
6280 eptr[-1] == CHAR_CR) eptr--; in match()
6678 mb->nl[0] = CHAR_CR; in pcre2_match()
[all …]
Dpcre2_study.c1200 SET_BIT(CHAR_CR); in set_start_bits()
1337 SET_BIT(CHAR_CR); in set_start_bits()
Dpcre2_substitute.c325 if (subject[start_offset-1] == CHAR_CR && in pcre2_substitute()
Dpcre2_jit_compile.c3133 add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR)); in check_newlinechar()
3138 jump = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in check_newlinechar()
4631 foundcr = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in fast_forward_newline()
6092 jump[1] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_simple_assertion_matchingpath()
6383 jump[0] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_char1_matchingpath()
10874 case PCRE2_NEWLINE_CR: common->newline = CHAR_CR; break; in jit_compile()
10876 case PCRE2_NEWLINE_CRLF: common->newline = (CHAR_CR << 8) | CHAR_NL; break; in jit_compile()
10877 …case PCRE2_NEWLINE_ANY: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANY; b… in jit_compile()
10878 …case PCRE2_NEWLINE_ANYCRLF: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_AN… in jit_compile()
10912 common->nlmax = (CHAR_CR > CHAR_NL) ? CHAR_CR : CHAR_NL; in jit_compile()
[all …]
Dpcre2_auto_possess.c981 case CHAR_CR: in compare_opcodes()
Dpcre2_compile.c4712 if (c == CHAR_CR || c == CHAR_NL) cb->external_flags |= PCRE2_HASCRORLF; in compile_branch()
4814 if (d == CHAR_CR || d == CHAR_NL) cb->external_flags |= PCRE2_HASCRORLF; in compile_branch()
7494 if (mcbuffer[0] == CHAR_CR || mcbuffer[0] == CHAR_NL) in compile_branch()
8586 cb.nl[0] = CHAR_CR; in pcre2_compile()
8596 cb.nl[0] = CHAR_CR; in pcre2_compile()