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: \
1051 CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, CHAR_LF, NOTACHAR
1054 CHAR_VT, CHAR_FF, CHAR_CR, CHAR_LF, CHAR_NEL, NOTACHAR
1061 case CHAR_CR: \
1250 #define CHAR_CR '\r' macro
1507 #define CHAR_CR '\015' macro
1786 #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()
3303 case PCRE_NEWLINE_CR: newline = CHAR_CR; break; in pcre_dfa_exec()
3306 PCRE_NEWLINE_LF: newline = (CHAR_CR << 8) | CHAR_NL; break; in pcre_dfa_exec()
3513 if (UCHAR21TEST(current_subject - 1) == CHAR_CR && in pcre_dfa_exec()
3660 if (UCHAR21TEST(current_subject - 1) == CHAR_CR && in pcre_dfa_exec()
Dpcre_exec.c2460 case CHAR_CR: in match()
4437 case CHAR_CR: in match()
4688 case CHAR_CR: in match()
5176 case CHAR_CR: in match()
5301 case CHAR_CR: in match()
5772 if (c == CHAR_CR) in match()
5939 UCHAR21(eptr - 1) == CHAR_CR) eptr--; in match()
5990 if (c == CHAR_CR) in match()
6182 eptr[-1] == CHAR_CR) eptr--; in match()
6615 case PCRE_NEWLINE_CR: newline = CHAR_CR; break; in pcre_exec()
[all …]
Dpcre_study.c1137 SET_BIT(CHAR_CR); in set_start_bits()
1261 SET_BIT(CHAR_CR); in set_start_bits()
Dpcre_jit_compile.c2912 add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR)); in check_newlinechar()
2917 jump = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in check_newlinechar()
3936 foundcr = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in fast_forward_newline()
5432 jump[0] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_char1_matchingpath()
5540 jump[1] = CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, CHAR_CR); in compile_char1_matchingpath()
9841 case -1: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANY; break; in PRIV()
9842 case -2: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANYCRLF; break; in PRIV()
9846 case PCRE_NEWLINE_CR: common->newline = CHAR_CR; break; in PRIV()
9849 PCRE_NEWLINE_LF: common->newline = (CHAR_CR << 8) | CHAR_NL; break; in PRIV()
9850 …case PCRE_NEWLINE_ANY: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANY; br… in PRIV()
[all …]
Dpcre_compile.c3580 case CHAR_CR: in compare_opcodes()
5291 if (c == CHAR_CR || c == CHAR_NL) cd->external_flags |= PCRE_HASCRORLF; in compile_branch()
5390 if (d == CHAR_CR || d == CHAR_NL) cd->external_flags |= PCRE_HASCRORLF; in compile_branch()
8146 if (mcbuffer[0] == CHAR_CR || mcbuffer[0] == CHAR_NL) in compile_branch()
9233 case PCRE_NEWLINE_CR: newline = CHAR_CR; break; in pcre_compile2()
9236 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()