Lines Matching refs:eptr
165 match_ref(int offset, register PCRE_PUCHAR eptr, int length, match_data *md, in match_ref() argument
168 PCRE_PUCHAR eptr_start = eptr; in match_ref()
175 if (eptr >= md->end_subject) in match_ref()
180 pchars(eptr, length, TRUE, md); in match_ref()
215 if (eptr >= md->end_subject) return -2; /* Partial match */ in match_ref()
216 GETCHARINC(c, eptr); in match_ref()
239 if (eptr >= md->end_subject) return -2; /* Partial match */ in match_ref()
240 cc = UCHAR21TEST(eptr); in match_ref()
244 eptr++; in match_ref()
256 if (eptr >= md->end_subject) return -2; /* Partial match */ in match_ref()
257 if (UCHAR21INCTEST(p) != UCHAR21INCTEST(eptr)) return -1; in match_ref()
261 return (int)(eptr - eptr_start); in match_ref()
474 if (md->partial != 0 && eptr >= md->end_subject && \
475 eptr > md->start_used_ptr) \
482 if (md->partial != 0 && eptr > md->start_used_ptr) \
513 match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, in match() argument
542 frame->Xeptr = eptr; in match()
555 #define eptr frame->Xeptr in match() macro
672 int len = (char *)&rdepth - (char *)eptr; in match()
741 newptrb.epb_saved_eptr = eptr; in match()
759 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
774 md->start_match_ptr = eptr; in match()
783 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
789 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
797 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
805 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
808 md->start_match_ptr = eptr; /* Pass back current position */ in match()
826 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
843 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
852 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, in match()
875 saved_eptr = eptr; in match()
879 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM64); in match()
909 eptr = md->end_match_ptr; in match()
916 if (*ecode == OP_KET || eptr == saved_eptr) in match()
928 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM65); in match()
935 RMATCH(eptr, prev, offset_top, md, eptrb, RM66); in match()
964 pchars(eptr, 16, TRUE, md); in match()
978 (int)(eptr - md->start_subject); in match()
983 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1080 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, eptrb, in match()
1135 pchars(eptr, 16, TRUE, md); in match()
1163 (int)(eptr - md->start_subject); in match()
1165 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1174 if (eptr == md->end_match_ptr) /* Matched an empty string */ in match()
1179 eptr = md->end_match_ptr; in match()
1232 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1240 if (eptr == md->end_match_ptr) /* Matched an empty string */ in match()
1245 eptr = md->end_match_ptr; in match()
1311 cb.current_position = (int)(eptr - md->start_subject); in match()
1388 RMATCH(eptr, ecode, offset_top, md, NULL, RM3); in match()
1439 RMATCH(eptr, ecode, offset_top, md, eptrb, RM49); in match()
1468 md->offset_vector[offset+1] = (int)(eptr - md->start_subject); in match()
1497 if (eptr == mstart && op != OP_ASSERT_ACCEPT && in match()
1506 md->end_match_ptr = eptr; /* Record where we ended */ in match()
1541 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM4); in match()
1612 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM5); in match()
1680 eptr--; in match()
1681 if (eptr < md->start_subject) RRETURN(MATCH_NOMATCH); in match()
1682 BACKCHAR(eptr); in match()
1691 eptr -= GET(ecode, 1); in match()
1692 if (eptr < md->start_subject) RRETURN(MATCH_NOMATCH); in match()
1697 if (eptr < md->start_used_ptr) md->start_used_ptr = eptr; in match()
1721 cb.current_position = (int)(eptr - md->start_subject); in match()
1767 if (recno == ri->group_num && eptr == ri->subject_position) in match()
1774 new_recursive.subject_position = eptr; in match()
1806 RMATCH(eptr, callpat + PRIV(OP_lengths)[*callpat], offset_top, in match()
1822 eptr = md->end_match_ptr; in match()
1878 RMATCH(eptr, next, offset_top, md, eptrb, RM10); in match()
1887 RMATCH(eptr, next + 1+LINK_SIZE, offset_top, md, eptrb, RM11); in match()
1934 md->end_match_ptr = eptr; /* For ONCE_NC */ in match()
1963 md->end_match_ptr = eptr; in match()
1994 md->offset_vector[offset+1] = (int)(eptr - md->start_subject); in match()
2007 md->end_match_ptr = eptr; in match()
2021 if (*ecode == OP_KET || eptr == saved_eptr) in match()
2025 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM12); in match()
2042 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM7); in match()
2046 RMATCH(eptr, prev, offset_top, md, eptrb, RM8); in match()
2053 RMATCH(eptr, prev, offset_top, md, eptrb, RM50); in match()
2061 RMATCH(eptr, prev, offset_top, md, eptrb, RM13); in match()
2066 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM9); in match()
2079 if (md->notbol && eptr == md->start_subject) RRETURN(MATCH_NOMATCH); in match()
2084 if (eptr != md->start_subject) RRETURN(MATCH_NOMATCH); in match()
2091 if (md->notbol && eptr == md->start_subject) RRETURN(MATCH_NOMATCH); in match()
2092 if (eptr != md->start_subject && in match()
2093 (eptr == md->end_subject || !WAS_NEWLINE(eptr))) in match()
2101 if (eptr != md->start_subject + md->start_offset) RRETURN(MATCH_NOMATCH); in match()
2108 mstart = eptr; in match()
2116 if (eptr < md->end_subject) in match()
2118 if (!IS_NEWLINE(eptr)) in match()
2121 eptr + 1 >= md->end_subject && in match()
2124 UCHAR21TEST(eptr) == NLBLOCK->nl[0]) in match()
2152 if (eptr < md->end_subject) RRETURN(MATCH_NOMATCH); in match()
2161 if (eptr < md->end_subject && in match()
2162 (!IS_NEWLINE(eptr) || eptr != md->end_subject - md->nllen)) in match()
2165 eptr + 1 >= md->end_subject && in match()
2168 UCHAR21TEST(eptr) == NLBLOCK->nl[0]) in match()
2198 if (eptr == md->start_subject) prev_is_word = FALSE; else in match()
2200 PCRE_PUCHAR lastptr = eptr - 1; in match()
2220 if (eptr >= md->end_subject) in match()
2227 GETCHAR(c, eptr); in match()
2251 if (eptr == md->start_subject) prev_is_word = FALSE; else in match()
2253 if (eptr <= md->start_used_ptr) md->start_used_ptr = eptr - 1; in match()
2257 c = eptr[-1]; in match()
2266 prev_is_word = MAX_255(eptr[-1]) in match()
2267 && ((md->ctypes[eptr[-1]] & ctype_word) != 0); in match()
2272 if (eptr >= md->end_subject) in match()
2281 c = *eptr; in match()
2290 cur_is_word = MAX_255(*eptr) in match()
2291 && ((md->ctypes[*eptr] & ctype_word) != 0); in match()
2306 if (IS_NEWLINE(eptr)) RRETURN(MATCH_NOMATCH); in match()
2308 eptr + 1 >= md->end_subject && in match()
2311 UCHAR21TEST(eptr) == NLBLOCK->nl[0]) in match()
2322 if (eptr >= md->end_subject) /* DO NOT merge the eptr++ here; it must */ in match()
2327 eptr++; in match()
2329 if (utf) ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
2338 if (eptr >= md->end_subject) /* DO NOT merge the eptr++ here; it must */ in match()
2343 eptr++; in match()
2348 if (eptr >= md->end_subject) in match()
2353 GETCHARINCTEST(c, eptr); in match()
2365 if (eptr >= md->end_subject) in match()
2370 GETCHARINCTEST(c, eptr); in match()
2382 if (eptr >= md->end_subject) in match()
2387 GETCHARINCTEST(c, eptr); in match()
2399 if (eptr >= md->end_subject) in match()
2404 GETCHARINCTEST(c, eptr); in match()
2416 if (eptr >= md->end_subject) in match()
2421 GETCHARINCTEST(c, eptr); in match()
2433 if (eptr >= md->end_subject) in match()
2438 GETCHARINCTEST(c, eptr); in match()
2450 if (eptr >= md->end_subject) in match()
2455 GETCHARINCTEST(c, eptr); in match()
2461 if (eptr >= md->end_subject) in match()
2465 else if (UCHAR21TEST(eptr) == CHAR_LF) eptr++; in match()
2485 if (eptr >= md->end_subject) in match()
2490 GETCHARINCTEST(c, eptr); in match()
2500 if (eptr >= md->end_subject) in match()
2505 GETCHARINCTEST(c, eptr); in match()
2515 if (eptr >= md->end_subject) in match()
2520 GETCHARINCTEST(c, eptr); in match()
2530 if (eptr >= md->end_subject) in match()
2535 GETCHARINCTEST(c, eptr); in match()
2550 if (eptr >= md->end_subject) in match()
2555 GETCHARINCTEST(c, eptr); in match()
2655 if (eptr >= md->end_subject) in match()
2663 GETCHARINCTEST(c, eptr); in match()
2665 while (eptr < md->end_subject) in match()
2668 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in match()
2672 eptr += len; in match()
2769 if ((length = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2771 if (length == -2) eptr = md->end_subject; /* Partial match */ in match()
2775 eptr += length; in match()
2795 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2797 if (slength == -2) eptr = md->end_subject; /* Partial match */ in match()
2801 eptr += slength; in match()
2816 RMATCH(eptr, ecode, offset_top, md, eptrb, RM14); in match()
2819 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2821 if (slength == -2) eptr = md->end_subject; /* Partial match */ in match()
2825 eptr += slength; in match()
2834 pp = eptr; in match()
2838 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2851 eptr += slength; in match()
2854 while (eptr >= pp) in match()
2856 RMATCH(eptr, ecode, offset_top, md, eptrb, RM15); in match()
2858 eptr -= length; in match()
2926 if (eptr >= md->end_subject) in match()
2931 GETCHARINC(c, eptr); in match()
2946 if (eptr >= md->end_subject) in match()
2951 c = *eptr++; in match()
2978 RMATCH(eptr, ecode, offset_top, md, eptrb, RM16); in match()
2981 if (eptr >= md->end_subject) in match()
2986 GETCHARINC(c, eptr); in match()
3001 RMATCH(eptr, ecode, offset_top, md, eptrb, RM17); in match()
3004 if (eptr >= md->end_subject) in match()
3009 c = *eptr++; in match()
3027 pp = eptr; in match()
3035 if (eptr >= md->end_subject) in match()
3040 GETCHARLEN(c, eptr, len); in match()
3047 eptr += len; in match()
3054 RMATCH(eptr, ecode, offset_top, md, eptrb, RM18); in match()
3056 if (eptr-- == pp) break; /* Stop if tried at original pos */ in match()
3057 BACKCHAR(eptr); in match()
3066 if (eptr >= md->end_subject) in match()
3071 c = *eptr; in match()
3080 eptr++; in match()
3085 while (eptr >= pp) in match()
3087 RMATCH(eptr, ecode, offset_top, md, eptrb, RM19); in match()
3089 eptr--; in match()
3150 if (eptr >= md->end_subject) in match()
3155 GETCHARINCTEST(c, eptr); in match()
3171 RMATCH(eptr, ecode, offset_top, md, eptrb, RM20); in match()
3174 if (eptr >= md->end_subject) in match()
3179 GETCHARINCTEST(c, eptr); in match()
3189 pp = eptr; in match()
3193 if (eptr >= md->end_subject) in match()
3199 GETCHARLENTEST(c, eptr, len); in match()
3201 c = *eptr; in match()
3204 eptr += len; in match()
3211 RMATCH(eptr, ecode, offset_top, md, eptrb, RM21); in match()
3213 if (eptr-- == pp) break; /* Stop if tried at original pos */ in match()
3215 if (utf) BACKCHAR(eptr); in match()
3234 if (length > md->end_subject - eptr) in match()
3239 while (length-- > 0) if (*ecode++ != UCHAR21INC(eptr)) RRETURN(MATCH_NOMATCH); in match()
3245 if (md->end_subject - eptr < 1) in match()
3250 if (ecode[1] != *eptr++) RRETURN(MATCH_NOMATCH); in match()
3259 if (eptr >= md->end_subject) in match()
3279 pcre_uint32 cc = UCHAR21(eptr); in match()
3282 eptr++; in match()
3292 GETCHARINC(dc, eptr); in match()
3313 != TABLE_GET(*eptr, md->lcc, *eptr)) RRETURN(MATCH_NOMATCH); in match()
3314 eptr++; in match()
3425 if (eptr <= md->end_subject - length && in match()
3426 memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; in match()
3429 eptr <= md->end_subject - oclength && in match()
3430 memcmp(eptr, occhars, IN_UCHARS(oclength)) == 0) eptr += oclength; in match()
3445 RMATCH(eptr, ecode, offset_top, md, eptrb, RM22); in match()
3448 if (eptr <= md->end_subject - length && in match()
3449 memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; in match()
3452 eptr <= md->end_subject - oclength && in match()
3453 memcmp(eptr, occhars, IN_UCHARS(oclength)) == 0) eptr += oclength; in match()
3466 pp = eptr; in match()
3469 if (eptr <= md->end_subject - length && in match()
3470 memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; in match()
3473 eptr <= md->end_subject - oclength && in match()
3474 memcmp(eptr, occhars, IN_UCHARS(oclength)) == 0) eptr += oclength; in match()
3486 if (eptr <= pp) goto TAIL_RECURSE; in match()
3487 RMATCH(eptr, ecode, offset_top, md, eptrb, RM23); in match()
3490 eptr--; in match()
3491 BACKCHAR(eptr); in match()
3493 eptr -= length; in match()
3519 max, (char *)eptr)); in match()
3543 if (eptr >= md->end_subject) in match()
3548 cc = UCHAR21TEST(eptr); in match()
3550 eptr++; in match()
3558 RMATCH(eptr, ecode, offset_top, md, eptrb, RM24); in match()
3561 if (eptr >= md->end_subject) in match()
3566 cc = UCHAR21TEST(eptr); in match()
3568 eptr++; in match()
3574 pp = eptr; in match()
3578 if (eptr >= md->end_subject) in match()
3583 cc = UCHAR21TEST(eptr); in match()
3585 eptr++; in match()
3590 if (eptr == pp) goto TAIL_RECURSE; in match()
3591 RMATCH(eptr, ecode, offset_top, md, eptrb, RM25); in match()
3592 eptr--; in match()
3605 if (eptr >= md->end_subject) in match()
3610 if (fc != UCHAR21INCTEST(eptr)) RRETURN(MATCH_NOMATCH); in match()
3619 RMATCH(eptr, ecode, offset_top, md, eptrb, RM26); in match()
3622 if (eptr >= md->end_subject) in match()
3627 if (fc != UCHAR21INCTEST(eptr)) RRETURN(MATCH_NOMATCH); in match()
3633 pp = eptr; in match()
3636 if (eptr >= md->end_subject) in match()
3641 if (fc != UCHAR21TEST(eptr)) break; in match()
3642 eptr++; in match()
3647 if (eptr == pp) goto TAIL_RECURSE; in match()
3648 RMATCH(eptr, ecode, offset_top, md, eptrb, RM27); in match()
3649 eptr--; in match()
3662 if (eptr >= md->end_subject) in match()
3674 GETCHARINC(c, eptr); in match()
3698 c = *eptr++; in match()
3792 max, (char *)eptr)); in match()
3814 if (eptr >= md->end_subject) in match()
3819 GETCHARINC(d, eptr); in match()
3829 if (eptr >= md->end_subject) in match()
3834 if (fc == *eptr || foc == *eptr) RRETURN(MATCH_NOMATCH); in match()
3835 eptr++; in match()
3849 RMATCH(eptr, ecode, offset_top, md, eptrb, RM28); in match()
3852 if (eptr >= md->end_subject) in match()
3857 GETCHARINC(d, eptr); in match()
3867 RMATCH(eptr, ecode, offset_top, md, eptrb, RM29); in match()
3870 if (eptr >= md->end_subject) in match()
3875 if (fc == *eptr || foc == *eptr) RRETURN(MATCH_NOMATCH); in match()
3876 eptr++; in match()
3886 pp = eptr; in match()
3895 if (eptr >= md->end_subject) in match()
3900 GETCHARLEN(d, eptr, len); in match()
3902 eptr += len; in match()
3907 if (eptr <= pp) goto TAIL_RECURSE; in match()
3908 RMATCH(eptr, ecode, offset_top, md, eptrb, RM30); in match()
3910 eptr--; in match()
3911 BACKCHAR(eptr); in match()
3920 if (eptr >= md->end_subject) in match()
3925 if (fc == *eptr || foc == *eptr) break; in match()
3926 eptr++; in match()
3931 if (eptr == pp) goto TAIL_RECURSE; in match()
3932 RMATCH(eptr, ecode, offset_top, md, eptrb, RM31); in match()
3934 eptr--; in match()
3951 if (eptr >= md->end_subject) in match()
3956 GETCHARINC(d, eptr); in match()
3966 if (eptr >= md->end_subject) in match()
3971 if (fc == *eptr++) RRETURN(MATCH_NOMATCH); in match()
3985 RMATCH(eptr, ecode, offset_top, md, eptrb, RM32); in match()
3988 if (eptr >= md->end_subject) in match()
3993 GETCHARINC(d, eptr); in match()
4003 RMATCH(eptr, ecode, offset_top, md, eptrb, RM33); in match()
4006 if (eptr >= md->end_subject) in match()
4011 if (fc == *eptr++) RRETURN(MATCH_NOMATCH); in match()
4021 pp = eptr; in match()
4030 if (eptr >= md->end_subject) in match()
4035 GETCHARLEN(d, eptr, len); in match()
4037 eptr += len; in match()
4042 if (eptr <= pp) goto TAIL_RECURSE; in match()
4043 RMATCH(eptr, ecode, offset_top, md, eptrb, RM34); in match()
4045 eptr--; in match()
4046 BACKCHAR(eptr); in match()
4055 if (eptr >= md->end_subject) in match()
4060 if (fc == *eptr) break; in match()
4061 eptr++; in match()
4066 if (eptr == pp) goto TAIL_RECURSE; in match()
4067 RMATCH(eptr, ecode, offset_top, md, eptrb, RM35); in match()
4069 eptr--; in match()
4169 if (eptr >= md->end_subject) in match()
4174 GETCHARINCTEST(c, eptr); in match()
4182 if (eptr >= md->end_subject) in match()
4187 GETCHARINCTEST(c, eptr); in match()
4199 if (eptr >= md->end_subject) in match()
4204 GETCHARINCTEST(c, eptr); in match()
4213 if (eptr >= md->end_subject) in match()
4218 GETCHARINCTEST(c, eptr); in match()
4227 if (eptr >= md->end_subject) in match()
4232 GETCHARINCTEST(c, eptr); in match()
4242 if (eptr >= md->end_subject) in match()
4247 GETCHARINCTEST(c, eptr); in match()
4262 if (eptr >= md->end_subject) in match()
4267 GETCHARINCTEST(c, eptr); in match()
4287 if (eptr >= md->end_subject) in match()
4292 GETCHARINCTEST(c, eptr); in match()
4304 if (eptr >= md->end_subject) in match()
4309 GETCHARINCTEST(c, eptr); in match()
4324 if (eptr >= md->end_subject) in match()
4329 GETCHARINCTEST(c, eptr); in match()
4351 if (eptr >= md->end_subject) in match()
4359 GETCHARINCTEST(c, eptr); in match()
4361 while (eptr < md->end_subject) in match()
4364 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in match()
4368 eptr += len; in match()
4386 if (eptr >= md->end_subject) in match()
4391 if (IS_NEWLINE(eptr)) RRETURN(MATCH_NOMATCH); in match()
4393 eptr + 1 >= md->end_subject && in match()
4396 UCHAR21(eptr) == NLBLOCK->nl[0]) in match()
4401 eptr++; in match()
4402 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
4409 if (eptr >= md->end_subject) in match()
4414 eptr++; in match()
4415 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
4420 if (eptr > md->end_subject - min) RRETURN(MATCH_NOMATCH); in match()
4421 eptr += min; in match()
4427 if (eptr >= md->end_subject) in match()
4432 GETCHARINC(c, eptr); in match()
4438 if (eptr < md->end_subject && UCHAR21(eptr) == CHAR_LF) eptr++; in match()
4460 if (eptr >= md->end_subject) in match()
4465 GETCHARINC(c, eptr); in match()
4477 if (eptr >= md->end_subject) in match()
4482 GETCHARINC(c, eptr); in match()
4494 if (eptr >= md->end_subject) in match()
4499 GETCHARINC(c, eptr); in match()
4511 if (eptr >= md->end_subject) in match()
4516 GETCHARINC(c, eptr); in match()
4528 if (eptr >= md->end_subject) in match()
4533 GETCHARINC(c, eptr); in match()
4543 if (eptr >= md->end_subject) in match()
4548 cc = UCHAR21(eptr); in match()
4551 eptr++; in match()
4560 if (eptr >= md->end_subject) in match()
4565 cc = UCHAR21(eptr); in match()
4568 eptr++; in match()
4569 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
4577 if (eptr >= md->end_subject) in match()
4582 cc = UCHAR21(eptr); in match()
4585 eptr++; in match()
4594 if (eptr >= md->end_subject) in match()
4599 cc = UCHAR21(eptr); in match()
4602 eptr++; in match()
4603 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
4611 if (eptr >= md->end_subject) in match()
4616 cc = UCHAR21(eptr); in match()
4619 eptr++; in match()
4639 if (eptr >= md->end_subject) in match()
4644 if (IS_NEWLINE(eptr)) RRETURN(MATCH_NOMATCH); in match()
4646 eptr + 1 >= md->end_subject && in match()
4649 *eptr == NLBLOCK->nl[0]) in match()
4654 eptr++; in match()
4659 if (eptr > md->end_subject - min) in match()
4664 eptr += min; in match()
4668 if (eptr > md->end_subject - min) in match()
4673 eptr += min; in match()
4679 if (eptr >= md->end_subject) in match()
4684 switch(*eptr++) in match()
4689 if (eptr < md->end_subject && *eptr == CHAR_LF) eptr++; in match()
4711 if (eptr >= md->end_subject) in match()
4716 switch(*eptr++) in match()
4731 if (eptr >= md->end_subject) in match()
4736 switch(*eptr++) in match()
4751 if (eptr >= md->end_subject) in match()
4756 switch(*eptr++) in match()
4771 if (eptr >= md->end_subject) in match()
4776 switch(*eptr++) in match()
4791 if (eptr >= md->end_subject) in match()
4796 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) in match()
4798 eptr++; in match()
4805 if (eptr >= md->end_subject) in match()
4810 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) in match()
4812 eptr++; in match()
4819 if (eptr >= md->end_subject) in match()
4824 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_space) != 0) in match()
4826 eptr++; in match()
4833 if (eptr >= md->end_subject) in match()
4838 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_space) == 0) in match()
4840 eptr++; in match()
4847 if (eptr >= md->end_subject) in match()
4852 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_word) != 0) in match()
4854 eptr++; in match()
4861 if (eptr >= md->end_subject) in match()
4866 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_word) == 0) in match()
4868 eptr++; in match()
4895 RMATCH(eptr, ecode, offset_top, md, eptrb, RM36); in match()
4898 if (eptr >= md->end_subject) in match()
4903 GETCHARINCTEST(c, eptr); in match()
4912 RMATCH(eptr, ecode, offset_top, md, eptrb, RM37); in match()
4915 if (eptr >= md->end_subject) in match()
4920 GETCHARINCTEST(c, eptr); in match()
4932 RMATCH(eptr, ecode, offset_top, md, eptrb, RM38); in match()
4935 if (eptr >= md->end_subject) in match()
4940 GETCHARINCTEST(c, eptr); in match()
4949 RMATCH(eptr, ecode, offset_top, md, eptrb, RM39); in match()
4952 if (eptr >= md->end_subject) in match()
4957 GETCHARINCTEST(c, eptr); in match()
4966 RMATCH(eptr, ecode, offset_top, md, eptrb, RM40); in match()
4969 if (eptr >= md->end_subject) in match()
4974 GETCHARINCTEST(c, eptr); in match()
4984 RMATCH(eptr, ecode, offset_top, md, eptrb, RM59); in match()
4987 if (eptr >= md->end_subject) in match()
4992 GETCHARINCTEST(c, eptr); in match()
5007 RMATCH(eptr, ecode, offset_top, md, eptrb, RM61); in match()
5010 if (eptr >= md->end_subject) in match()
5015 GETCHARINCTEST(c, eptr); in match()
5035 RMATCH(eptr, ecode, offset_top, md, eptrb, RM62); in match()
5038 if (eptr >= md->end_subject) in match()
5043 GETCHARINCTEST(c, eptr); in match()
5057 RMATCH(eptr, ecode, offset_top, md, eptrb, RM67); in match()
5060 if (eptr >= md->end_subject) in match()
5065 GETCHARINCTEST(c, eptr); in match()
5080 RMATCH(eptr, ecode, offset_top, md, eptrb, RM60); in match()
5083 if (eptr >= md->end_subject) in match()
5088 GETCHARINCTEST(c, eptr); in match()
5109 RMATCH(eptr, ecode, offset_top, md, eptrb, RM41); in match()
5112 if (eptr >= md->end_subject) in match()
5120 GETCHARINCTEST(c, eptr); in match()
5122 while (eptr < md->end_subject) in match()
5125 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in match()
5129 eptr += len; in match()
5143 RMATCH(eptr, ecode, offset_top, md, eptrb, RM42); in match()
5146 if (eptr >= md->end_subject) in match()
5151 if (ctype == OP_ANY && IS_NEWLINE(eptr)) in match()
5153 GETCHARINC(c, eptr); in match()
5158 eptr >= md->end_subject && in match()
5177 if (eptr < md->end_subject && UCHAR21(eptr) == CHAR_LF) eptr++; in match()
5268 RMATCH(eptr, ecode, offset_top, md, eptrb, RM43); in match()
5271 if (eptr >= md->end_subject) in match()
5276 if (ctype == OP_ANY && IS_NEWLINE(eptr)) in match()
5278 c = *eptr++; in match()
5283 eptr >= md->end_subject && in match()
5302 if (eptr < md->end_subject && *eptr == CHAR_LF) eptr++; in match()
5406 pp = eptr; /* Remember where we started */ in match()
5417 if (eptr >= md->end_subject) in match()
5422 GETCHARLENTEST(c, eptr, len); in match()
5424 eptr+= len; in match()
5433 if (eptr >= md->end_subject) in match()
5438 GETCHARLENTEST(c, eptr, len); in match()
5444 eptr+= len; in match()
5452 if (eptr >= md->end_subject) in match()
5457 GETCHARLENTEST(c, eptr, len); in match()
5459 eptr+= len; in match()
5467 if (eptr >= md->end_subject) in match()
5472 GETCHARLENTEST(c, eptr, len); in match()
5474 eptr+= len; in match()
5482 if (eptr >= md->end_subject) in match()
5487 GETCHARLENTEST(c, eptr, len); in match()
5489 eptr+= len; in match()
5498 if (eptr >= md->end_subject) in match()
5503 GETCHARLENTEST(c, eptr, len); in match()
5507 eptr+= len; in match()
5520 if (eptr >= md->end_subject) in match()
5525 GETCHARLENTEST(c, eptr, len); in match()
5538 eptr+= len; in match()
5548 if (eptr >= md->end_subject) in match()
5553 GETCHARLENTEST(c, eptr, len); in match()
5558 eptr+= len; in match()
5567 if (eptr >= md->end_subject) in match()
5572 GETCHARLENTEST(c, eptr, len); in match()
5581 eptr += len; in match()
5590 if (eptr >= md->end_subject) in match()
5595 GETCHARLENTEST(c, eptr, len); in match()
5600 eptr += len; in match()
5613 if (eptr <= pp) goto TAIL_RECURSE; in match()
5614 RMATCH(eptr, ecode, offset_top, md, eptrb, RM44); in match()
5616 eptr--; in match()
5617 if (utf) BACKCHAR(eptr); in match()
5628 if (eptr >= md->end_subject) in match()
5636 GETCHARINCTEST(c, eptr); in match()
5638 while (eptr < md->end_subject) in match()
5641 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in match()
5645 eptr += len; in match()
5665 if (eptr <= pp) goto TAIL_RECURSE; /* At start of char run */ in match()
5666 RMATCH(eptr, ecode, offset_top, md, eptrb, RM45); in match()
5673 eptr--; in match()
5674 if (!utf) c = *eptr; else in match()
5676 BACKCHAR(eptr); in match()
5677 GETCHAR(c, eptr); in match()
5683 if (eptr <= pp) goto TAIL_RECURSE; /* At start of char run */ in match()
5684 fptr = eptr - 1; in match()
5692 eptr = fptr; in match()
5709 if (eptr >= md->end_subject) in match()
5714 if (IS_NEWLINE(eptr)) break; in match()
5716 eptr + 1 >= md->end_subject && in match()
5719 UCHAR21(eptr) == NLBLOCK->nl[0]) in match()
5724 eptr++; in match()
5725 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
5734 if (eptr >= md->end_subject) in match()
5739 eptr++; in match()
5740 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
5745 eptr = md->end_subject; /* Unlimited UTF-8 repeat */ in match()
5754 if (c > (unsigned int)(md->end_subject - eptr)) in match()
5756 eptr = md->end_subject; in match()
5759 else eptr += c; in match()
5766 if (eptr >= md->end_subject) in match()
5771 GETCHARLEN(c, eptr, len); in match()
5774 if (++eptr >= md->end_subject) break; in match()
5775 if (UCHAR21(eptr) == CHAR_LF) eptr++; in match()
5787 eptr += len; in match()
5798 if (eptr >= md->end_subject) in match()
5803 GETCHARLEN(c, eptr, len); in match()
5810 eptr += len; in match()
5820 if (eptr >= md->end_subject) in match()
5825 GETCHARLEN(c, eptr, len); in match()
5832 eptr += len; in match()
5840 if (eptr >= md->end_subject) in match()
5845 GETCHARLEN(c, eptr, len); in match()
5847 eptr+= len; in match()
5855 if (eptr >= md->end_subject) in match()
5860 GETCHARLEN(c, eptr, len); in match()
5862 eptr+= len; in match()
5870 if (eptr >= md->end_subject) in match()
5875 GETCHARLEN(c, eptr, len); in match()
5877 eptr+= len; in match()
5885 if (eptr >= md->end_subject) in match()
5890 GETCHARLEN(c, eptr, len); in match()
5892 eptr+= len; in match()
5900 if (eptr >= md->end_subject) in match()
5905 GETCHARLEN(c, eptr, len); in match()
5907 eptr+= len; in match()
5915 if (eptr >= md->end_subject) in match()
5920 GETCHARLEN(c, eptr, len); in match()
5922 eptr+= len; in match()
5933 if (eptr <= pp) goto TAIL_RECURSE; in match()
5934 RMATCH(eptr, ecode, offset_top, md, eptrb, RM46); in match()
5936 eptr--; in match()
5937 BACKCHAR(eptr); in match()
5938 if (ctype == OP_ANYNL && eptr > pp && UCHAR21(eptr) == CHAR_NL && in match()
5939 UCHAR21(eptr - 1) == CHAR_CR) eptr--; in match()
5951 if (eptr >= md->end_subject) in match()
5956 if (IS_NEWLINE(eptr)) break; in match()
5958 eptr + 1 >= md->end_subject && in match()
5961 *eptr == NLBLOCK->nl[0]) in match()
5966 eptr++; in match()
5973 if (c > (unsigned int)(md->end_subject - eptr)) in match()
5975 eptr = md->end_subject; in match()
5978 else eptr += c; in match()
5984 if (eptr >= md->end_subject) in match()
5989 c = *eptr; in match()
5992 if (++eptr >= md->end_subject) break; in match()
5993 if (*eptr == CHAR_LF) eptr++; in match()
6003 eptr++; in match()
6011 if (eptr >= md->end_subject) in match()
6016 switch(*eptr) in match()
6018 default: eptr++; break; in match()
6032 if (eptr >= md->end_subject) in match()
6037 switch(*eptr) in match()
6044 eptr++; break; in match()
6053 if (eptr >= md->end_subject) in match()
6058 switch(*eptr) in match()
6060 default: eptr++; break; in match()
6074 if (eptr >= md->end_subject) in match()
6079 switch(*eptr) in match()
6086 eptr++; break; in match()
6095 if (eptr >= md->end_subject) in match()
6100 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) break; in match()
6101 eptr++; in match()
6108 if (eptr >= md->end_subject) in match()
6113 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) break; in match()
6114 eptr++; in match()
6121 if (eptr >= md->end_subject) in match()
6126 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_space) != 0) break; in match()
6127 eptr++; in match()
6134 if (eptr >= md->end_subject) in match()
6139 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_space) == 0) break; in match()
6140 eptr++; in match()
6147 if (eptr >= md->end_subject) in match()
6152 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_word) != 0) break; in match()
6153 eptr++; in match()
6160 if (eptr >= md->end_subject) in match()
6165 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_word) == 0) break; in match()
6166 eptr++; in match()
6177 if (eptr == pp) goto TAIL_RECURSE; in match()
6178 RMATCH(eptr, ecode, offset_top, md, eptrb, RM47); in match()
6180 eptr--; in match()
6181 if (ctype == OP_ANYNL && eptr > pp && *eptr == CHAR_LF && in match()
6182 eptr[-1] == CHAR_CR) eptr--; in match()
6248 #undef eptr