Lines Matching refs:ecode

513 match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode,  in match()  argument
543 frame->Xecode = ecode; in match()
556 #define ecode frame->Xecode in match() macro
666 if (ecode == NULL) in match()
752 op = *ecode; in match()
757 md->nomatch_mark = ecode + 2; in match()
759 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
762 md->mark == NULL) md->mark = ecode + 2; in match()
772 STRCMP_UC_UC_TEST(ecode + 2, md->start_match_ptr) == 0) 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()
795 md->nomatch_mark = ecode + 2; in match()
797 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
800 md->mark == NULL) md->mark = ecode + 2; in match()
805 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
823 ecode += PRIV(OP_lengths)[*ecode] + ecode[1]; in match()
826 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
835 md->start_match_ptr = ecode + 2; in match()
843 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
846 md->start_match_ptr = ecode; in match()
850 md->nomatch_mark = ecode + 2; in match()
852 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, in match()
855 md->mark == NULL) md->mark = ecode + 2; in match()
857 md->start_match_ptr = ecode; in match()
874 prev = ecode; in match()
879 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM64); in match()
887 next = ecode + GET(ecode,1); in match()
889 (*ecode == OP_ALT || *next == OP_ALT)) in match()
894 ecode += GET(ecode,1); in match()
897 while (*ecode == OP_ALT); in match()
901 if (*ecode != OP_ONCE_NC && *ecode != OP_ALT) RRETURN(MATCH_NOMATCH); in match()
906 do ecode += GET(ecode, 1); while (*ecode == OP_ALT); in match()
916 if (*ecode == OP_KET || eptr == saved_eptr) in match()
918 ecode += 1+LINK_SIZE; in match()
926 if (*ecode == OP_KETRMIN) in match()
928 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM65); in match()
930 ecode = prev; in match()
937 ecode += 1 + LINK_SIZE; in match()
958 number = GET2(ecode, 1+LINK_SIZE); in match()
983 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1000 next = ecode + GET(ecode,1); in match()
1002 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1010 ecode += GET(ecode, 1); in match()
1012 if (*ecode != OP_ALT) break; in match()
1070 else if (!md->hasthen && ecode[GET(ecode, 1)] != OP_ALT) in match()
1072 ecode += PRIV(OP_lengths)[*ecode]; in match()
1080 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, eptrb, in match()
1088 next = ecode + GET(ecode,1); in match()
1090 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1098 const pcre_uchar *scode = ecode; in match()
1108 ecode += GET(ecode, 1); in match()
1110 if (*ecode != OP_ALT) break; in match()
1129 number = GET2(ecode, 1+LINK_SIZE); in match()
1142 code_offset = (int)(ecode - md->start_code); in match()
1165 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1170 ecode = md->start_code + code_offset; in match()
1176 do ecode += GET(ecode, 1); while (*ecode == OP_ALT); in match()
1188 next = ecode + GET(ecode,1); in match()
1190 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1196 ecode += GET(ecode, 1); in match()
1197 if (*ecode != OP_ALT) break; in match()
1209 ecode += 1 + LINK_SIZE; in match()
1226 code_offset = (int)(ecode - md->start_code); in match()
1232 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1237 ecode = md->start_code + code_offset; in match()
1242 do ecode += GET(ecode, 1); while (*ecode == OP_ALT); in match()
1254 next = ecode + GET(ecode,1); in match()
1256 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1261 ecode += GET(ecode, 1); in match()
1262 if (*ecode != OP_ALT) break; in match()
1268 ecode += 1 + LINK_SIZE; in match()
1288 codelink = GET(ecode, 1); /* Offset to the second branch */ in match()
1289 ecode += 1 + LINK_SIZE; /* From this opcode */ in match()
1294 if (*ecode == OP_CALLOUT) in match()
1300 cb.callout_number = ecode[1]; in match()
1312 cb.pattern_position = GET(ecode, 2); in match()
1313 cb.next_item_length = GET(ecode, 2 + LINK_SIZE); in match()
1327 ecode += PRIV(OP_lengths)[OP_CALLOUT]; in match()
1334 switch(condcode = *ecode) in match()
1339 unsigned int recno = GET2(ecode, 1); /* Recursion group number*/ in match()
1347 int count = GET2(ecode, 1 + IMM2_SIZE); in match()
1348 pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; in match()
1360 offset = GET2(ecode, 1) << 1; /* Doubled ref number */ in match()
1366 int count = GET2(ecode, 1 + IMM2_SIZE); in match()
1367 pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; in match()
1388 RMATCH(eptr, ecode, offset_top, md, NULL, RM3); in match()
1400 if (*ecode == OP_BRAZERO) ecode++; in match()
1401 ecode += GET(ecode, 1); in match()
1402 while (*ecode == OP_ALT) ecode += GET(ecode, 1); in match()
1403 ecode += 1 + LINK_SIZE - PRIV(OP_lengths)[condcode]; in match()
1419 ecode += condition? PRIV(OP_lengths)[condcode] : codelink; in match()
1431 if (condition || ecode[-(1+LINK_SIZE)] == OP_ALT) in match()
1439 RMATCH(eptr, ecode, offset_top, md, eptrb, RM49); in match()
1455 number = GET2(ecode, 1); /* Must be less than 65536 */ in match()
1482 ecode += 1 + IMM2_SIZE; in match()
1541 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM4); in match()
1561 next = ecode + GET(ecode,1); in match()
1563 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1574 ecode += GET(ecode, 1); in match()
1576 while (*ecode == OP_ALT); /* Continue for next alternative */ in match()
1581 if (*ecode == OP_KET) RRETURN(MATCH_NOMATCH); in match()
1590 do ecode += GET(ecode,1); while (*ecode == OP_ALT); in match()
1591 ecode += 1 + LINK_SIZE; in match()
1612 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM5); in match()
1628 next = ecode + GET(ecode,1); in match()
1630 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1646 do ecode += GET(ecode,1); while (*ecode == OP_ALT); in match()
1657 ecode += GET(ecode,1); in match()
1659 while (*ecode == OP_ALT); in match()
1665 ecode += 1 + LINK_SIZE; /* Continue with current branch */ in match()
1677 i = GET(ecode, 1); in match()
1691 eptr -= GET(ecode, 1); in match()
1698 ecode += 1 + LINK_SIZE; in match()
1710 cb.callout_number = ecode[1]; in match()
1722 cb.pattern_position = GET(ecode, 2); in match()
1723 cb.next_item_length = GET(ecode, 2 + LINK_SIZE); in match()
1733 ecode += 2 + 2*LINK_SIZE; in match()
1758 callpat = md->start_code + GET(ecode, 1); in match()
1780 ecode += 1 + LINK_SIZE; in match()
1867 do ecode += GET(ecode,1); while (*ecode == OP_ALT); in match()
1877 next = ecode + 1; in match()
1881 ecode = next + 1 + LINK_SIZE; in match()
1885 next = ecode + 1; in match()
1889 ecode++; in match()
1893 next = ecode+1; in match()
1895 ecode = next + 1 + LINK_SIZE; in match()
1902 op = *(++ecode); in match()
1913 prev = ecode - GET(ecode, 1); in match()
2004 if (*ecode == OP_KETRPOS) 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()
2030 ecode += 1 + LINK_SIZE; /* Carry on at this level */ in match()
2040 if (*ecode == OP_KETRMIN) in match()
2042 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM7); in match()
2056 ecode = prev; in match()
2066 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM9); in match()
2071 ecode += 1 + LINK_SIZE; in match()
2085 ecode++; in match()
2095 ecode++; in match()
2102 ecode++; in match()
2109 ecode++; in match()
2137 ecode++; in match()
2154 ecode++; in match()
2179 ecode++; in match()
2296 if ((*ecode++ == OP_WORD_BOUNDARY)? in match()
2331 ecode++; in match()
2344 ecode++; in match()
2361 ecode++; in match()
2378 ecode++; in match()
2395 ecode++; in match()
2412 ecode++; in match()
2429 ecode++; in match()
2446 ecode++; in match()
2481 ecode++; in match()
2496 ecode++; in match()
2511 ecode++; in match()
2526 ecode++; in match()
2541 ecode++; in match()
2560 switch(ecode[1]) in match()
2574 if ((ecode[2] != PRIV(ucp_gentype)[prop->chartype]) == (op == OP_PROP)) in match()
2579 if ((ecode[2] != prop->chartype) == (op == OP_PROP)) in match()
2584 if ((ecode[2] != prop->script) == (op == OP_PROP)) in match()
2624 cp = PRIV(ucd_caseless_sets) + ecode[2]; in match()
2647 ecode += 3; in match()
2676 ecode++; in match()
2708 int count = GET2(ecode, 1+IMM2_SIZE); in match()
2709 pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; in match()
2710 ecode += 1 + 2*IMM2_SIZE; in match()
2734 offset = GET2(ecode, 1) << 1; /* Doubled ref number */ in match()
2735 ecode += 1 + IMM2_SIZE; in match()
2744 switch (*ecode) in match()
2752 c = *ecode++ - OP_CRSTAR; in match()
2761 minimize = (*ecode == OP_CRMINRANGE); in match()
2762 min = GET2(ecode, 1); in match()
2763 max = GET2(ecode, 1 + IMM2_SIZE); in match()
2765 ecode += 1 + 2 * IMM2_SIZE; in match()
2816 RMATCH(eptr, ecode, offset_top, md, eptrb, RM14); in match()
2856 RMATCH(eptr, ecode, offset_top, md, eptrb, RM15); in match()
2881 data = ecode + 1; /* Save for matching */ in match()
2882 ecode += 1 + (32 / sizeof(pcre_uchar)); /* Advance past the item */ in match()
2884 switch (*ecode) in match()
2895 c = *ecode++ - OP_CRSTAR; in match()
2906 minimize = (*ecode == OP_CRMINRANGE); in match()
2907 possessive = (*ecode == OP_CRPOSRANGE); in match()
2908 min = GET2(ecode, 1); in match()
2909 max = GET2(ecode, 1 + IMM2_SIZE); in match()
2911 ecode += 1 + 2 * IMM2_SIZE; in match()
2978 RMATCH(eptr, ecode, offset_top, md, eptrb, RM16); in match()
3001 RMATCH(eptr, ecode, offset_top, md, eptrb, RM17); in match()
3054 RMATCH(eptr, ecode, offset_top, md, eptrb, RM18); in match()
3087 RMATCH(eptr, ecode, offset_top, md, eptrb, RM19); in match()
3108 data = ecode + 1 + LINK_SIZE; /* Save for matching */ in match()
3109 ecode += GET(ecode, 1); /* Advance past the item */ in match()
3111 switch (*ecode) in match()
3122 c = *ecode++ - OP_CRSTAR; in match()
3133 minimize = (*ecode == OP_CRMINRANGE); in match()
3134 possessive = (*ecode == OP_CRPOSRANGE); in match()
3135 min = GET2(ecode, 1); in match()
3136 max = GET2(ecode, 1 + IMM2_SIZE); in match()
3138 ecode += 1 + 2 * IMM2_SIZE; in match()
3171 RMATCH(eptr, ecode, offset_top, md, eptrb, RM20); in match()
3211 RMATCH(eptr, ecode, offset_top, md, eptrb, RM21); in match()
3232 ecode++; in match()
3233 GETCHARLEN(fc, ecode, length); in match()
3239 while (length-- > 0) if (*ecode++ != UCHAR21INC(eptr)) RRETURN(MATCH_NOMATCH); in match()
3250 if (ecode[1] != *eptr++) RRETURN(MATCH_NOMATCH); in match()
3251 ecode += 2; in match()
3269 ecode++; in match()
3270 GETCHARLEN(fc, ecode, length); in match()
3281 ecode++; in match()
3293 ecode += length; in match()
3312 if (TABLE_GET(ecode[1], md->lcc, ecode[1]) in match()
3315 ecode += 2; in match()
3323 min = max = GET2(ecode, 1); in match()
3324 ecode += 1 + IMM2_SIZE; in match()
3337 max = GET2(ecode, 1); in match()
3338 minimize = *ecode == OP_MINUPTO || *ecode == OP_MINUPTOI; in match()
3339 ecode += 1 + IMM2_SIZE; in match()
3347 ecode++; in match()
3355 ecode++; in match()
3363 ecode++; in match()
3378 c = *ecode++ - ((op < OP_STARI)? OP_STAR : OP_STARI); in match()
3406 charptr = ecode; in match()
3407 GETCHARLEN(fc, ecode, length); in match()
3408 ecode += length; in match()
3445 RMATCH(eptr, ecode, offset_top, md, eptrb, RM22); in match()
3487 RMATCH(eptr, ecode, offset_top, md, eptrb, RM23); in match()
3507 fc = *ecode++; in match()
3558 RMATCH(eptr, ecode, offset_top, md, eptrb, RM24); in match()
3591 RMATCH(eptr, ecode, offset_top, md, eptrb, RM25); in match()
3619 RMATCH(eptr, ecode, offset_top, md, eptrb, RM26); in match()
3648 RMATCH(eptr, ecode, offset_top, md, eptrb, RM27); in match()
3672 ecode++; in match()
3673 GETCHARINC(ch, ecode); in match()
3697 register pcre_uint32 ch = ecode[1]; in match()
3701 ecode += 2; in match()
3714 min = max = GET2(ecode, 1); in match()
3715 ecode += 1 + IMM2_SIZE; in match()
3723 max = GET2(ecode, 1); in match()
3724 minimize = *ecode == OP_NOTMINUPTO || *ecode == OP_NOTMINUPTOI; in match()
3725 ecode += 1 + IMM2_SIZE; in match()
3733 ecode++; in match()
3741 ecode++; in match()
3749 ecode++; in match()
3756 max = GET2(ecode, 1); in match()
3757 ecode += 1 + IMM2_SIZE; in match()
3772 c = *ecode++ - ((op >= OP_NOTSTARI)? OP_NOTSTARI: OP_NOTSTAR); in match()
3781 GETCHARINCTEST(fc, ecode); in match()
3849 RMATCH(eptr, ecode, offset_top, md, eptrb, RM28); in match()
3867 RMATCH(eptr, ecode, offset_top, md, eptrb, RM29); in match()
3908 RMATCH(eptr, ecode, offset_top, md, eptrb, RM30); in match()
3932 RMATCH(eptr, ecode, offset_top, md, eptrb, RM31); in match()
3985 RMATCH(eptr, ecode, offset_top, md, eptrb, RM32); in match()
4003 RMATCH(eptr, ecode, offset_top, md, eptrb, RM33); in match()
4043 RMATCH(eptr, ecode, offset_top, md, eptrb, RM34); in match()
4067 RMATCH(eptr, ecode, offset_top, md, eptrb, RM35); in match()
4082 min = max = GET2(ecode, 1); in match()
4084 ecode += 1 + IMM2_SIZE; in match()
4090 max = GET2(ecode, 1); in match()
4091 minimize = *ecode == OP_TYPEMINUPTO; in match()
4092 ecode += 1 + IMM2_SIZE; in match()
4099 ecode++; in match()
4106 ecode++; in match()
4113 ecode++; in match()
4119 max = GET2(ecode, 1); in match()
4120 ecode += 1 + IMM2_SIZE; in match()
4129 c = *ecode++ - OP_TYPESTAR; in match()
4140 ctype = *ecode++; /* Code for the character type */ in match()
4146 prop_type = *ecode++; in match()
4147 prop_value = *ecode++; in match()
4895 RMATCH(eptr, ecode, offset_top, md, eptrb, RM36); in match()
4912 RMATCH(eptr, ecode, offset_top, md, eptrb, RM37); in match()
4932 RMATCH(eptr, ecode, offset_top, md, eptrb, RM38); in match()
4949 RMATCH(eptr, ecode, offset_top, md, eptrb, RM39); in match()
4966 RMATCH(eptr, ecode, offset_top, md, eptrb, RM40); in match()
4984 RMATCH(eptr, ecode, offset_top, md, eptrb, RM59); in match()
5007 RMATCH(eptr, ecode, offset_top, md, eptrb, RM61); in match()
5035 RMATCH(eptr, ecode, offset_top, md, eptrb, RM62); in match()
5057 RMATCH(eptr, ecode, offset_top, md, eptrb, RM67); in match()
5080 RMATCH(eptr, ecode, offset_top, md, eptrb, RM60); in match()
5109 RMATCH(eptr, ecode, offset_top, md, eptrb, RM41); in match()
5143 RMATCH(eptr, ecode, offset_top, md, eptrb, RM42); in match()
5268 RMATCH(eptr, ecode, offset_top, md, eptrb, RM43); in match()
5614 RMATCH(eptr, ecode, offset_top, md, eptrb, RM44); in match()
5666 RMATCH(eptr, ecode, offset_top, md, eptrb, RM45); in match()
5934 RMATCH(eptr, ecode, offset_top, md, eptrb, RM46); in match()
6178 RMATCH(eptr, ecode, offset_top, md, eptrb, RM47); in match()
6193 DPRINTF(("Unknown opcode %d\n", *ecode)); in match()
6249 #undef ecode