Lines Matching refs:eptr
163 match_ref(int offset, register PCRE_PUCHAR eptr, int length, match_data *md, in match_ref() argument
166 PCRE_PUCHAR eptr_start = eptr; in match_ref()
173 if (eptr >= md->end_subject) in match_ref()
178 pchars(eptr, length, TRUE, md); in match_ref()
213 if (eptr >= md->end_subject) return -2; /* Partial match */ in match_ref()
214 GETCHARINC(c, eptr); in match_ref()
237 if (eptr >= md->end_subject) return -2; /* Partial match */ in match_ref()
238 cc = UCHAR21TEST(eptr); in match_ref()
242 eptr++; in match_ref()
254 if (eptr >= md->end_subject) return -2; /* Partial match */ in match_ref()
255 if (UCHAR21INCTEST(p) != UCHAR21INCTEST(eptr)) return -1; in match_ref()
259 return (int)(eptr - eptr_start); in match_ref()
472 if (md->partial != 0 && eptr >= md->end_subject && \
473 eptr > md->start_used_ptr) \
480 if (md->partial != 0 && eptr > md->start_used_ptr) \
511 match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, in match() argument
540 frame->Xeptr = eptr; in match()
553 #define eptr frame->Xeptr in match() macro
670 int len = (char *)&rdepth - (char *)eptr; in match()
739 newptrb.epb_saved_eptr = eptr; in match()
757 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
772 md->start_match_ptr = eptr; in match()
781 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
787 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
795 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
803 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
806 md->start_match_ptr = eptr; /* Pass back current position */ in match()
824 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
841 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
850 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, in match()
873 saved_eptr = eptr; in match()
877 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM64); in match()
907 eptr = md->end_match_ptr; in match()
914 if (*ecode == OP_KET || eptr == saved_eptr) in match()
926 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM65); in match()
933 RMATCH(eptr, prev, offset_top, md, eptrb, RM66); in match()
962 pchars(eptr, 16, TRUE, md); in match()
976 (int)(eptr - md->start_subject); in match()
981 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1078 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, eptrb, in match()
1133 pchars(eptr, 16, TRUE, md); in match()
1161 (int)(eptr - md->start_subject); in match()
1163 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1172 if (eptr == md->end_match_ptr) /* Matched an empty string */ in match()
1177 eptr = md->end_match_ptr; in match()
1230 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1238 if (eptr == md->end_match_ptr) /* Matched an empty string */ in match()
1243 eptr = md->end_match_ptr; in match()
1309 cb.current_position = (int)(eptr - md->start_subject); in match()
1386 RMATCH(eptr, ecode, offset_top, md, NULL, RM3); in match()
1437 RMATCH(eptr, ecode, offset_top, md, eptrb, RM49); in match()
1466 md->offset_vector[offset+1] = (int)(eptr - md->start_subject); in match()
1495 if (eptr == mstart && op != OP_ASSERT_ACCEPT && in match()
1504 md->end_match_ptr = eptr; /* Record where we ended */ in match()
1539 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM4); in match()
1610 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM5); in match()
1678 eptr--; in match()
1679 if (eptr < md->start_subject) RRETURN(MATCH_NOMATCH); in match()
1680 BACKCHAR(eptr); in match()
1689 eptr -= GET(ecode, 1); in match()
1690 if (eptr < md->start_subject) RRETURN(MATCH_NOMATCH); in match()
1695 if (eptr < md->start_used_ptr) md->start_used_ptr = eptr; in match()
1719 cb.current_position = (int)(eptr - md->start_subject); in match()
1765 if (recno == ri->group_num && eptr == ri->subject_position) in match()
1772 new_recursive.subject_position = eptr; in match()
1804 RMATCH(eptr, callpat + PRIV(OP_lengths)[*callpat], offset_top, in match()
1820 eptr = md->end_match_ptr; in match()
1876 RMATCH(eptr, next, offset_top, md, eptrb, RM10); in match()
1885 RMATCH(eptr, next + 1+LINK_SIZE, offset_top, md, eptrb, RM11); in match()
1932 md->end_match_ptr = eptr; /* For ONCE_NC */ in match()
1961 md->end_match_ptr = eptr; in match()
1992 md->offset_vector[offset+1] = (int)(eptr - md->start_subject); in match()
2005 md->end_match_ptr = eptr; in match()
2019 if (*ecode == OP_KET || eptr == saved_eptr) in match()
2023 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM12); in match()
2040 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM7); in match()
2044 RMATCH(eptr, prev, offset_top, md, eptrb, RM8); in match()
2051 RMATCH(eptr, prev, offset_top, md, eptrb, RM50); in match()
2059 RMATCH(eptr, prev, offset_top, md, eptrb, RM13); in match()
2064 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM9); in match()
2077 if (md->notbol && eptr == md->start_subject) RRETURN(MATCH_NOMATCH); in match()
2082 if (eptr != md->start_subject) RRETURN(MATCH_NOMATCH); in match()
2089 if (md->notbol && eptr == md->start_subject) RRETURN(MATCH_NOMATCH); in match()
2090 if (eptr != md->start_subject && in match()
2091 (eptr == md->end_subject || !WAS_NEWLINE(eptr))) in match()
2099 if (eptr != md->start_subject + md->start_offset) RRETURN(MATCH_NOMATCH); in match()
2106 mstart = eptr; in match()
2114 if (eptr < md->end_subject) in match()
2116 if (!IS_NEWLINE(eptr)) in match()
2119 eptr + 1 >= md->end_subject && in match()
2122 UCHAR21TEST(eptr) == NLBLOCK->nl[0]) in match()
2150 if (eptr < md->end_subject) RRETURN(MATCH_NOMATCH); in match()
2159 if (eptr < md->end_subject && in match()
2160 (!IS_NEWLINE(eptr) || eptr != md->end_subject - md->nllen)) in match()
2163 eptr + 1 >= md->end_subject && in match()
2166 UCHAR21TEST(eptr) == NLBLOCK->nl[0]) in match()
2196 if (eptr == md->start_subject) prev_is_word = FALSE; else in match()
2198 PCRE_PUCHAR lastptr = eptr - 1; in match()
2218 if (eptr >= md->end_subject) in match()
2225 GETCHAR(c, eptr); in match()
2249 if (eptr == md->start_subject) prev_is_word = FALSE; else in match()
2251 if (eptr <= md->start_used_ptr) md->start_used_ptr = eptr - 1; in match()
2255 c = eptr[-1]; in match()
2264 prev_is_word = MAX_255(eptr[-1]) in match()
2265 && ((md->ctypes[eptr[-1]] & ctype_word) != 0); in match()
2270 if (eptr >= md->end_subject) in match()
2279 c = *eptr; in match()
2288 cur_is_word = MAX_255(*eptr) in match()
2289 && ((md->ctypes[*eptr] & ctype_word) != 0); in match()
2304 if (IS_NEWLINE(eptr)) RRETURN(MATCH_NOMATCH); in match()
2306 eptr + 1 >= md->end_subject && in match()
2309 UCHAR21TEST(eptr) == NLBLOCK->nl[0]) in match()
2320 if (eptr >= md->end_subject) /* DO NOT merge the eptr++ here; it must */ in match()
2325 eptr++; in match()
2327 if (utf) ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
2336 if (eptr >= md->end_subject) /* DO NOT merge the eptr++ here; it must */ in match()
2341 eptr++; in match()
2346 if (eptr >= md->end_subject) in match()
2351 GETCHARINCTEST(c, eptr); in match()
2363 if (eptr >= md->end_subject) in match()
2368 GETCHARINCTEST(c, eptr); in match()
2380 if (eptr >= md->end_subject) in match()
2385 GETCHARINCTEST(c, eptr); in match()
2397 if (eptr >= md->end_subject) in match()
2402 GETCHARINCTEST(c, eptr); in match()
2414 if (eptr >= md->end_subject) in match()
2419 GETCHARINCTEST(c, eptr); in match()
2431 if (eptr >= md->end_subject) in match()
2436 GETCHARINCTEST(c, eptr); in match()
2448 if (eptr >= md->end_subject) in match()
2453 GETCHARINCTEST(c, eptr); in match()
2459 if (eptr >= md->end_subject) in match()
2463 else if (UCHAR21TEST(eptr) == CHAR_LF) eptr++; in match()
2483 if (eptr >= md->end_subject) in match()
2488 GETCHARINCTEST(c, eptr); in match()
2498 if (eptr >= md->end_subject) in match()
2503 GETCHARINCTEST(c, eptr); in match()
2513 if (eptr >= md->end_subject) in match()
2518 GETCHARINCTEST(c, eptr); in match()
2528 if (eptr >= md->end_subject) in match()
2533 GETCHARINCTEST(c, eptr); in match()
2548 if (eptr >= md->end_subject) in match()
2553 GETCHARINCTEST(c, eptr); in match()
2653 if (eptr >= md->end_subject) in match()
2661 GETCHARINCTEST(c, eptr); in match()
2663 while (eptr < md->end_subject) in match()
2666 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in match()
2670 eptr += len; in match()
2767 if ((length = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2769 if (length == -2) eptr = md->end_subject; /* Partial match */ in match()
2773 eptr += length; in match()
2793 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2795 if (slength == -2) eptr = md->end_subject; /* Partial match */ in match()
2799 eptr += slength; in match()
2814 RMATCH(eptr, ecode, offset_top, md, eptrb, RM14); in match()
2817 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2819 if (slength == -2) eptr = md->end_subject; /* Partial match */ in match()
2823 eptr += slength; in match()
2832 pp = eptr; in match()
2836 if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) in match()
2849 eptr += slength; in match()
2852 while (eptr >= pp) in match()
2854 RMATCH(eptr, ecode, offset_top, md, eptrb, RM15); in match()
2856 eptr -= length; in match()
2924 if (eptr >= md->end_subject) in match()
2929 GETCHARINC(c, eptr); in match()
2944 if (eptr >= md->end_subject) in match()
2949 c = *eptr++; in match()
2976 RMATCH(eptr, ecode, offset_top, md, eptrb, RM16); in match()
2979 if (eptr >= md->end_subject) in match()
2984 GETCHARINC(c, eptr); in match()
2999 RMATCH(eptr, ecode, offset_top, md, eptrb, RM17); in match()
3002 if (eptr >= md->end_subject) in match()
3007 c = *eptr++; in match()
3025 pp = eptr; in match()
3033 if (eptr >= md->end_subject) in match()
3038 GETCHARLEN(c, eptr, len); in match()
3045 eptr += len; in match()
3052 RMATCH(eptr, ecode, offset_top, md, eptrb, RM18); in match()
3054 if (eptr-- == pp) break; /* Stop if tried at original pos */ in match()
3055 BACKCHAR(eptr); in match()
3064 if (eptr >= md->end_subject) in match()
3069 c = *eptr; in match()
3078 eptr++; in match()
3083 while (eptr >= pp) in match()
3085 RMATCH(eptr, ecode, offset_top, md, eptrb, RM19); in match()
3087 eptr--; in match()
3148 if (eptr >= md->end_subject) in match()
3153 GETCHARINCTEST(c, eptr); in match()
3169 RMATCH(eptr, ecode, offset_top, md, eptrb, RM20); in match()
3172 if (eptr >= md->end_subject) in match()
3177 GETCHARINCTEST(c, eptr); in match()
3187 pp = eptr; in match()
3191 if (eptr >= md->end_subject) in match()
3197 GETCHARLENTEST(c, eptr, len); in match()
3199 c = *eptr; in match()
3202 eptr += len; in match()
3209 RMATCH(eptr, ecode, offset_top, md, eptrb, RM21); in match()
3211 if (eptr-- == pp) break; /* Stop if tried at original pos */ in match()
3213 if (utf) BACKCHAR(eptr); in match()
3232 if (length > md->end_subject - eptr) in match()
3237 while (length-- > 0) if (*ecode++ != UCHAR21INC(eptr)) RRETURN(MATCH_NOMATCH); in match()
3243 if (md->end_subject - eptr < 1) in match()
3248 if (ecode[1] != *eptr++) RRETURN(MATCH_NOMATCH); in match()
3257 if (eptr >= md->end_subject) in match()
3277 pcre_uint32 cc = UCHAR21(eptr); in match()
3280 eptr++; in match()
3290 GETCHARINC(dc, eptr); in match()
3311 != TABLE_GET(*eptr, md->lcc, *eptr)) RRETURN(MATCH_NOMATCH); in match()
3312 eptr++; in match()
3423 if (eptr <= md->end_subject - length && in match()
3424 memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; in match()
3427 eptr <= md->end_subject - oclength && in match()
3428 memcmp(eptr, occhars, IN_UCHARS(oclength)) == 0) eptr += oclength; in match()
3443 RMATCH(eptr, ecode, offset_top, md, eptrb, RM22); in match()
3446 if (eptr <= md->end_subject - length && in match()
3447 memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; in match()
3450 eptr <= md->end_subject - oclength && in match()
3451 memcmp(eptr, occhars, IN_UCHARS(oclength)) == 0) eptr += oclength; in match()
3464 pp = eptr; in match()
3467 if (eptr <= md->end_subject - length && in match()
3468 memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; in match()
3471 eptr <= md->end_subject - oclength && in match()
3472 memcmp(eptr, occhars, IN_UCHARS(oclength)) == 0) eptr += oclength; in match()
3484 if (eptr <= pp) goto TAIL_RECURSE; in match()
3485 RMATCH(eptr, ecode, offset_top, md, eptrb, RM23); in match()
3488 eptr--; in match()
3489 BACKCHAR(eptr); in match()
3491 eptr -= length; in match()
3517 max, (char *)eptr)); in match()
3541 if (eptr >= md->end_subject) in match()
3546 cc = UCHAR21TEST(eptr); in match()
3548 eptr++; in match()
3556 RMATCH(eptr, ecode, offset_top, md, eptrb, RM24); in match()
3559 if (eptr >= md->end_subject) in match()
3564 cc = UCHAR21TEST(eptr); in match()
3566 eptr++; in match()
3572 pp = eptr; in match()
3576 if (eptr >= md->end_subject) in match()
3581 cc = UCHAR21TEST(eptr); in match()
3583 eptr++; in match()
3588 if (eptr == pp) goto TAIL_RECURSE; in match()
3589 RMATCH(eptr, ecode, offset_top, md, eptrb, RM25); in match()
3590 eptr--; in match()
3603 if (eptr >= md->end_subject) in match()
3608 if (fc != UCHAR21INCTEST(eptr)) RRETURN(MATCH_NOMATCH); in match()
3617 RMATCH(eptr, ecode, offset_top, md, eptrb, RM26); in match()
3620 if (eptr >= md->end_subject) in match()
3625 if (fc != UCHAR21INCTEST(eptr)) RRETURN(MATCH_NOMATCH); in match()
3631 pp = eptr; in match()
3634 if (eptr >= md->end_subject) in match()
3639 if (fc != UCHAR21TEST(eptr)) break; in match()
3640 eptr++; in match()
3645 if (eptr == pp) goto TAIL_RECURSE; in match()
3646 RMATCH(eptr, ecode, offset_top, md, eptrb, RM27); in match()
3647 eptr--; in match()
3660 if (eptr >= md->end_subject) in match()
3672 GETCHARINC(c, eptr); in match()
3696 c = *eptr++; in match()
3790 max, (char *)eptr)); in match()
3812 if (eptr >= md->end_subject) in match()
3817 GETCHARINC(d, eptr); in match()
3827 if (eptr >= md->end_subject) in match()
3832 if (fc == *eptr || foc == *eptr) RRETURN(MATCH_NOMATCH); in match()
3833 eptr++; in match()
3847 RMATCH(eptr, ecode, offset_top, md, eptrb, RM28); in match()
3850 if (eptr >= md->end_subject) in match()
3855 GETCHARINC(d, eptr); in match()
3865 RMATCH(eptr, ecode, offset_top, md, eptrb, RM29); in match()
3868 if (eptr >= md->end_subject) in match()
3873 if (fc == *eptr || foc == *eptr) RRETURN(MATCH_NOMATCH); in match()
3874 eptr++; in match()
3884 pp = eptr; in match()
3893 if (eptr >= md->end_subject) in match()
3898 GETCHARLEN(d, eptr, len); in match()
3900 eptr += len; in match()
3905 if (eptr <= pp) goto TAIL_RECURSE; in match()
3906 RMATCH(eptr, ecode, offset_top, md, eptrb, RM30); in match()
3908 eptr--; in match()
3909 BACKCHAR(eptr); in match()
3918 if (eptr >= md->end_subject) in match()
3923 if (fc == *eptr || foc == *eptr) break; in match()
3924 eptr++; in match()
3929 if (eptr == pp) goto TAIL_RECURSE; in match()
3930 RMATCH(eptr, ecode, offset_top, md, eptrb, RM31); in match()
3932 eptr--; in match()
3949 if (eptr >= md->end_subject) in match()
3954 GETCHARINC(d, eptr); in match()
3964 if (eptr >= md->end_subject) in match()
3969 if (fc == *eptr++) RRETURN(MATCH_NOMATCH); in match()
3983 RMATCH(eptr, ecode, offset_top, md, eptrb, RM32); in match()
3986 if (eptr >= md->end_subject) in match()
3991 GETCHARINC(d, eptr); in match()
4001 RMATCH(eptr, ecode, offset_top, md, eptrb, RM33); in match()
4004 if (eptr >= md->end_subject) in match()
4009 if (fc == *eptr++) RRETURN(MATCH_NOMATCH); in match()
4019 pp = eptr; in match()
4028 if (eptr >= md->end_subject) in match()
4033 GETCHARLEN(d, eptr, len); in match()
4035 eptr += len; in match()
4040 if (eptr <= pp) goto TAIL_RECURSE; in match()
4041 RMATCH(eptr, ecode, offset_top, md, eptrb, RM34); in match()
4043 eptr--; in match()
4044 BACKCHAR(eptr); in match()
4053 if (eptr >= md->end_subject) in match()
4058 if (fc == *eptr) break; in match()
4059 eptr++; in match()
4064 if (eptr == pp) goto TAIL_RECURSE; in match()
4065 RMATCH(eptr, ecode, offset_top, md, eptrb, RM35); in match()
4067 eptr--; in match()
4167 if (eptr >= md->end_subject) in match()
4172 GETCHARINCTEST(c, eptr); in match()
4180 if (eptr >= md->end_subject) in match()
4185 GETCHARINCTEST(c, eptr); in match()
4197 if (eptr >= md->end_subject) in match()
4202 GETCHARINCTEST(c, eptr); in match()
4211 if (eptr >= md->end_subject) in match()
4216 GETCHARINCTEST(c, eptr); in match()
4225 if (eptr >= md->end_subject) in match()
4230 GETCHARINCTEST(c, eptr); in match()
4240 if (eptr >= md->end_subject) in match()
4245 GETCHARINCTEST(c, eptr); in match()
4260 if (eptr >= md->end_subject) in match()
4265 GETCHARINCTEST(c, eptr); in match()
4285 if (eptr >= md->end_subject) in match()
4290 GETCHARINCTEST(c, eptr); in match()
4302 if (eptr >= md->end_subject) in match()
4307 GETCHARINCTEST(c, eptr); in match()
4322 if (eptr >= md->end_subject) in match()
4327 GETCHARINCTEST(c, eptr); in match()
4349 if (eptr >= md->end_subject) in match()
4357 GETCHARINCTEST(c, eptr); in match()
4359 while (eptr < md->end_subject) in match()
4362 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in match()
4366 eptr += len; in match()
4384 if (eptr >= md->end_subject) in match()
4389 if (IS_NEWLINE(eptr)) RRETURN(MATCH_NOMATCH); in match()
4391 eptr + 1 >= md->end_subject && in match()
4394 UCHAR21(eptr) == NLBLOCK->nl[0]) in match()
4399 eptr++; in match()
4400 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
4407 if (eptr >= md->end_subject) in match()
4412 eptr++; in match()
4413 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
4418 if (eptr > md->end_subject - min) RRETURN(MATCH_NOMATCH); in match()
4419 eptr += min; in match()
4425 if (eptr >= md->end_subject) in match()
4430 GETCHARINC(c, eptr); in match()
4436 if (eptr < md->end_subject && UCHAR21(eptr) == CHAR_LF) eptr++; in match()
4458 if (eptr >= md->end_subject) in match()
4463 GETCHARINC(c, eptr); in match()
4475 if (eptr >= md->end_subject) in match()
4480 GETCHARINC(c, eptr); in match()
4492 if (eptr >= md->end_subject) in match()
4497 GETCHARINC(c, eptr); in match()
4509 if (eptr >= md->end_subject) in match()
4514 GETCHARINC(c, eptr); in match()
4526 if (eptr >= md->end_subject) in match()
4531 GETCHARINC(c, eptr); in match()
4541 if (eptr >= md->end_subject) in match()
4546 cc = UCHAR21(eptr); in match()
4549 eptr++; in match()
4558 if (eptr >= md->end_subject) in match()
4563 cc = UCHAR21(eptr); in match()
4566 eptr++; in match()
4567 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
4575 if (eptr >= md->end_subject) in match()
4580 cc = UCHAR21(eptr); in match()
4583 eptr++; in match()
4592 if (eptr >= md->end_subject) in match()
4597 cc = UCHAR21(eptr); in match()
4600 eptr++; in match()
4601 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
4609 if (eptr >= md->end_subject) in match()
4614 cc = UCHAR21(eptr); in match()
4617 eptr++; in match()
4637 if (eptr >= md->end_subject) in match()
4642 if (IS_NEWLINE(eptr)) RRETURN(MATCH_NOMATCH); in match()
4644 eptr + 1 >= md->end_subject && in match()
4647 *eptr == NLBLOCK->nl[0]) in match()
4652 eptr++; in match()
4657 if (eptr > md->end_subject - min) in match()
4662 eptr += min; in match()
4666 if (eptr > md->end_subject - min) in match()
4671 eptr += min; in match()
4677 if (eptr >= md->end_subject) in match()
4682 switch(*eptr++) in match()
4687 if (eptr < md->end_subject && *eptr == CHAR_LF) eptr++; in match()
4709 if (eptr >= md->end_subject) in match()
4714 switch(*eptr++) in match()
4729 if (eptr >= md->end_subject) in match()
4734 switch(*eptr++) in match()
4749 if (eptr >= md->end_subject) in match()
4754 switch(*eptr++) in match()
4769 if (eptr >= md->end_subject) in match()
4774 switch(*eptr++) in match()
4789 if (eptr >= md->end_subject) in match()
4794 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) in match()
4796 eptr++; in match()
4803 if (eptr >= md->end_subject) in match()
4808 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) in match()
4810 eptr++; in match()
4817 if (eptr >= md->end_subject) in match()
4822 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_space) != 0) in match()
4824 eptr++; in match()
4831 if (eptr >= md->end_subject) in match()
4836 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_space) == 0) in match()
4838 eptr++; in match()
4845 if (eptr >= md->end_subject) in match()
4850 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_word) != 0) in match()
4852 eptr++; in match()
4859 if (eptr >= md->end_subject) in match()
4864 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_word) == 0) in match()
4866 eptr++; in match()
4893 RMATCH(eptr, ecode, offset_top, md, eptrb, RM36); in match()
4896 if (eptr >= md->end_subject) in match()
4901 GETCHARINCTEST(c, eptr); in match()
4910 RMATCH(eptr, ecode, offset_top, md, eptrb, RM37); in match()
4913 if (eptr >= md->end_subject) in match()
4918 GETCHARINCTEST(c, eptr); in match()
4930 RMATCH(eptr, ecode, offset_top, md, eptrb, RM38); in match()
4933 if (eptr >= md->end_subject) in match()
4938 GETCHARINCTEST(c, eptr); in match()
4947 RMATCH(eptr, ecode, offset_top, md, eptrb, RM39); in match()
4950 if (eptr >= md->end_subject) in match()
4955 GETCHARINCTEST(c, eptr); in match()
4964 RMATCH(eptr, ecode, offset_top, md, eptrb, RM40); in match()
4967 if (eptr >= md->end_subject) in match()
4972 GETCHARINCTEST(c, eptr); in match()
4982 RMATCH(eptr, ecode, offset_top, md, eptrb, RM59); in match()
4985 if (eptr >= md->end_subject) in match()
4990 GETCHARINCTEST(c, eptr); in match()
5005 RMATCH(eptr, ecode, offset_top, md, eptrb, RM61); in match()
5008 if (eptr >= md->end_subject) in match()
5013 GETCHARINCTEST(c, eptr); in match()
5033 RMATCH(eptr, ecode, offset_top, md, eptrb, RM62); in match()
5036 if (eptr >= md->end_subject) in match()
5041 GETCHARINCTEST(c, eptr); in match()
5055 RMATCH(eptr, ecode, offset_top, md, eptrb, RM67); in match()
5058 if (eptr >= md->end_subject) in match()
5063 GETCHARINCTEST(c, eptr); in match()
5078 RMATCH(eptr, ecode, offset_top, md, eptrb, RM60); in match()
5081 if (eptr >= md->end_subject) in match()
5086 GETCHARINCTEST(c, eptr); in match()
5107 RMATCH(eptr, ecode, offset_top, md, eptrb, RM41); in match()
5110 if (eptr >= md->end_subject) in match()
5118 GETCHARINCTEST(c, eptr); in match()
5120 while (eptr < md->end_subject) in match()
5123 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in match()
5127 eptr += len; in match()
5141 RMATCH(eptr, ecode, offset_top, md, eptrb, RM42); in match()
5144 if (eptr >= md->end_subject) in match()
5149 if (ctype == OP_ANY && IS_NEWLINE(eptr)) in match()
5151 GETCHARINC(c, eptr); in match()
5156 eptr >= md->end_subject && in match()
5175 if (eptr < md->end_subject && UCHAR21(eptr) == CHAR_LF) eptr++; in match()
5266 RMATCH(eptr, ecode, offset_top, md, eptrb, RM43); in match()
5269 if (eptr >= md->end_subject) in match()
5274 if (ctype == OP_ANY && IS_NEWLINE(eptr)) in match()
5276 c = *eptr++; in match()
5281 eptr >= md->end_subject && in match()
5300 if (eptr < md->end_subject && *eptr == CHAR_LF) eptr++; in match()
5404 pp = eptr; /* Remember where we started */ in match()
5415 if (eptr >= md->end_subject) in match()
5420 GETCHARLENTEST(c, eptr, len); in match()
5422 eptr+= len; in match()
5431 if (eptr >= md->end_subject) in match()
5436 GETCHARLENTEST(c, eptr, len); in match()
5442 eptr+= len; in match()
5450 if (eptr >= md->end_subject) in match()
5455 GETCHARLENTEST(c, eptr, len); in match()
5457 eptr+= len; in match()
5465 if (eptr >= md->end_subject) in match()
5470 GETCHARLENTEST(c, eptr, len); in match()
5472 eptr+= len; in match()
5480 if (eptr >= md->end_subject) in match()
5485 GETCHARLENTEST(c, eptr, len); in match()
5487 eptr+= len; in match()
5496 if (eptr >= md->end_subject) in match()
5501 GETCHARLENTEST(c, eptr, len); in match()
5505 eptr+= len; in match()
5518 if (eptr >= md->end_subject) in match()
5523 GETCHARLENTEST(c, eptr, len); in match()
5536 eptr+= len; in match()
5546 if (eptr >= md->end_subject) in match()
5551 GETCHARLENTEST(c, eptr, len); in match()
5556 eptr+= len; in match()
5565 if (eptr >= md->end_subject) in match()
5570 GETCHARLENTEST(c, eptr, len); in match()
5579 eptr += len; in match()
5588 if (eptr >= md->end_subject) in match()
5593 GETCHARLENTEST(c, eptr, len); in match()
5598 eptr += len; in match()
5611 if (eptr <= pp) goto TAIL_RECURSE; in match()
5612 RMATCH(eptr, ecode, offset_top, md, eptrb, RM44); in match()
5614 eptr--; in match()
5615 if (utf) BACKCHAR(eptr); in match()
5626 if (eptr >= md->end_subject) in match()
5634 GETCHARINCTEST(c, eptr); in match()
5636 while (eptr < md->end_subject) in match()
5639 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in match()
5643 eptr += len; in match()
5663 if (eptr <= pp) goto TAIL_RECURSE; /* At start of char run */ in match()
5664 RMATCH(eptr, ecode, offset_top, md, eptrb, RM45); in match()
5671 eptr--; in match()
5672 if (!utf) c = *eptr; else in match()
5674 BACKCHAR(eptr); in match()
5675 GETCHAR(c, eptr); in match()
5681 if (eptr <= pp) goto TAIL_RECURSE; /* At start of char run */ in match()
5682 fptr = eptr - 1; in match()
5690 eptr = fptr; in match()
5707 if (eptr >= md->end_subject) in match()
5712 if (IS_NEWLINE(eptr)) break; in match()
5714 eptr + 1 >= md->end_subject && in match()
5717 UCHAR21(eptr) == NLBLOCK->nl[0]) in match()
5722 eptr++; in match()
5723 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
5732 if (eptr >= md->end_subject) in match()
5737 eptr++; in match()
5738 ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); in match()
5743 eptr = md->end_subject; /* Unlimited UTF-8 repeat */ in match()
5752 if (c > (unsigned int)(md->end_subject - eptr)) in match()
5754 eptr = md->end_subject; in match()
5757 else eptr += c; in match()
5764 if (eptr >= md->end_subject) in match()
5769 GETCHARLEN(c, eptr, len); in match()
5772 if (++eptr >= md->end_subject) break; in match()
5773 if (UCHAR21(eptr) == CHAR_LF) eptr++; in match()
5785 eptr += len; in match()
5796 if (eptr >= md->end_subject) in match()
5801 GETCHARLEN(c, eptr, len); in match()
5808 eptr += len; in match()
5818 if (eptr >= md->end_subject) in match()
5823 GETCHARLEN(c, eptr, len); in match()
5830 eptr += len; in match()
5838 if (eptr >= md->end_subject) in match()
5843 GETCHARLEN(c, eptr, len); in match()
5845 eptr+= len; in match()
5853 if (eptr >= md->end_subject) in match()
5858 GETCHARLEN(c, eptr, len); in match()
5860 eptr+= len; in match()
5868 if (eptr >= md->end_subject) in match()
5873 GETCHARLEN(c, eptr, len); in match()
5875 eptr+= len; in match()
5883 if (eptr >= md->end_subject) in match()
5888 GETCHARLEN(c, eptr, len); in match()
5890 eptr+= len; in match()
5898 if (eptr >= md->end_subject) in match()
5903 GETCHARLEN(c, eptr, len); in match()
5905 eptr+= len; in match()
5913 if (eptr >= md->end_subject) in match()
5918 GETCHARLEN(c, eptr, len); in match()
5920 eptr+= len; in match()
5931 if (eptr <= pp) goto TAIL_RECURSE; in match()
5932 RMATCH(eptr, ecode, offset_top, md, eptrb, RM46); in match()
5934 eptr--; in match()
5935 BACKCHAR(eptr); in match()
5936 if (ctype == OP_ANYNL && eptr > pp && UCHAR21(eptr) == CHAR_NL && in match()
5937 UCHAR21(eptr - 1) == CHAR_CR) eptr--; in match()
5949 if (eptr >= md->end_subject) in match()
5954 if (IS_NEWLINE(eptr)) break; in match()
5956 eptr + 1 >= md->end_subject && in match()
5959 *eptr == NLBLOCK->nl[0]) in match()
5964 eptr++; in match()
5971 if (c > (unsigned int)(md->end_subject - eptr)) in match()
5973 eptr = md->end_subject; in match()
5976 else eptr += c; in match()
5982 if (eptr >= md->end_subject) in match()
5987 c = *eptr; in match()
5990 if (++eptr >= md->end_subject) break; in match()
5991 if (*eptr == CHAR_LF) eptr++; in match()
6001 eptr++; in match()
6009 if (eptr >= md->end_subject) in match()
6014 switch(*eptr) in match()
6016 default: eptr++; break; in match()
6030 if (eptr >= md->end_subject) in match()
6035 switch(*eptr) in match()
6042 eptr++; break; in match()
6051 if (eptr >= md->end_subject) in match()
6056 switch(*eptr) in match()
6058 default: eptr++; break; in match()
6072 if (eptr >= md->end_subject) in match()
6077 switch(*eptr) in match()
6084 eptr++; break; in match()
6093 if (eptr >= md->end_subject) in match()
6098 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) break; in match()
6099 eptr++; in match()
6106 if (eptr >= md->end_subject) in match()
6111 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) break; in match()
6112 eptr++; in match()
6119 if (eptr >= md->end_subject) in match()
6124 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_space) != 0) break; in match()
6125 eptr++; in match()
6132 if (eptr >= md->end_subject) in match()
6137 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_space) == 0) break; in match()
6138 eptr++; in match()
6145 if (eptr >= md->end_subject) in match()
6150 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_word) != 0) break; in match()
6151 eptr++; in match()
6158 if (eptr >= md->end_subject) in match()
6163 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_word) == 0) break; in match()
6164 eptr++; in match()
6175 if (eptr == pp) goto TAIL_RECURSE; in match()
6176 RMATCH(eptr, ecode, offset_top, md, eptrb, RM47); in match()
6178 eptr--; in match()
6179 if (ctype == OP_ANYNL && eptr > pp && *eptr == CHAR_LF && in match()
6180 eptr[-1] == CHAR_CR) eptr--; in match()
6246 #undef eptr