Home
last modified time | relevance | path

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

/external/pcre/dist/
Dpcre_newline.c95 case CHAR_CR: *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1; in PRIV()
111 case CHAR_CR: in PRIV()
172 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV()
175 case CHAR_CR: *lenptr = 1; return TRUE; in PRIV()
184 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV()
192 case CHAR_CR: *lenptr = 1; return TRUE; in PRIV()
Dpcre_internal.h1020 CHAR_LF, CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, 0x2028, 0x2029, NOTACHAR
1030 case CHAR_CR: \
1050 CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, CHAR_LF, NOTACHAR
1053 CHAR_VT, CHAR_FF, CHAR_CR, CHAR_LF, CHAR_NEL, NOTACHAR
1060 case CHAR_CR: \
1247 #define CHAR_CR '\r' macro
1504 #define CHAR_CR '\015' macro
1778 #define ESC_r CHAR_CR
Dpcre_dfa_exec.c1475 case CHAR_CR: in internal_dfa_exec()
1744 case CHAR_CR: in internal_dfa_exec()
2014 case CHAR_CR: in internal_dfa_exec()
2206 case CHAR_CR: in internal_dfa_exec()
3302 case PCRE_NEWLINE_CR: newline = CHAR_CR; break; in pcre_dfa_exec()
3305 PCRE_NEWLINE_LF: newline = (CHAR_CR << 8) | CHAR_NL; break; in pcre_dfa_exec()
3512 if (UCHAR21TEST(current_subject - 1) == CHAR_CR && in pcre_dfa_exec()
3659 if (UCHAR21TEST(current_subject - 1) == CHAR_CR && in pcre_dfa_exec()
Dpcre_exec.c2453 case CHAR_CR: in match()
4430 case CHAR_CR: in match()
4681 case CHAR_CR: in match()
5169 case CHAR_CR: in match()
5294 case CHAR_CR: in match()
5760 if (c == CHAR_CR) in match()
5927 UCHAR21(eptr - 1) == CHAR_CR) eptr--; in match()
5978 if (c == CHAR_CR) in match()
6170 eptr[-1] == CHAR_CR) eptr--; in match()
6603 case PCRE_NEWLINE_CR: newline = CHAR_CR; break; in pcre_exec()
[all …]
Dpcre_study.c1095 SET_BIT(CHAR_CR); in set_start_bits()
1219 SET_BIT(CHAR_CR); in set_start_bits()
Dpcre_jit_compile.c2861 add_jump(compiler, backtracks, CMP(SLJIT_C_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR)); in check_newlinechar()
2866 jump = CMP(SLJIT_C_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in check_newlinechar()
3890 foundcr = CMP(SLJIT_C_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in fast_forward_newline()
5380 jump[0] = CMP(SLJIT_C_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_char1_matchingpath()
5488 jump[1] = CMP(SLJIT_C_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_char1_matchingpath()
9783 case -1: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANY; break; in PRIV()
9784 case -2: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANYCRLF; break; in PRIV()
9788 case PCRE_NEWLINE_CR: common->newline = CHAR_CR; break; in PRIV()
9791 PCRE_NEWLINE_LF: common->newline = (CHAR_CR << 8) | CHAR_NL; break; in PRIV()
9792 …case PCRE_NEWLINE_ANY: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANY; br… in PRIV()
[all …]
Dpcre_compile.c3523 case CHAR_CR: in compare_opcodes()
5200 if (c == CHAR_CR || c == CHAR_NL) cd->external_flags |= PCRE_HASCRORLF; in compile_branch()
5299 if (d == CHAR_CR || d == CHAR_NL) cd->external_flags |= PCRE_HASCRORLF; in compile_branch()
7938 if (mcbuffer[0] == CHAR_CR || mcbuffer[0] == CHAR_NL) in compile_branch()
9021 case PCRE_NEWLINE_CR: newline = CHAR_CR; break; in pcre_compile2()
9024 PCRE_NEWLINE_LF: newline = (CHAR_CR << 8) | CHAR_NL; break; in pcre_compile2()
Dpcretest.c1536 case CHAR_CR: s = "CR"; break; in print_newline_config()
1538 case (CHAR_CR<<8 | CHAR_LF): s = "CRLF"; break; in print_newline_config()