Lines Matching refs:ecode

511 match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode,  in match()  argument
541 frame->Xecode = ecode; in match()
554 #define ecode frame->Xecode in match() macro
664 if (ecode == NULL) in match()
750 op = *ecode; in match()
755 md->nomatch_mark = ecode + 2; in match()
757 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
760 md->mark == NULL) md->mark = ecode + 2; in match()
770 STRCMP_UC_UC_TEST(ecode + 2, md->start_match_ptr) == 0) 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()
793 md->nomatch_mark = ecode + 2; in match()
795 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
798 md->mark == NULL) md->mark = ecode + 2; in match()
803 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
821 ecode += PRIV(OP_lengths)[*ecode] + ecode[1]; in match()
824 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
833 md->start_match_ptr = ecode + 2; in match()
841 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
844 md->start_match_ptr = ecode; in match()
848 md->nomatch_mark = ecode + 2; in match()
850 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, in match()
853 md->mark == NULL) md->mark = ecode + 2; in match()
855 md->start_match_ptr = ecode; in match()
872 prev = ecode; in match()
877 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM64); in match()
885 next = ecode + GET(ecode,1); in match()
887 (*ecode == OP_ALT || *next == OP_ALT)) in match()
892 ecode += GET(ecode,1); in match()
895 while (*ecode == OP_ALT); in match()
899 if (*ecode != OP_ONCE_NC && *ecode != OP_ALT) RRETURN(MATCH_NOMATCH); in match()
904 do ecode += GET(ecode, 1); while (*ecode == OP_ALT); in match()
914 if (*ecode == OP_KET || eptr == saved_eptr) in match()
916 ecode += 1+LINK_SIZE; in match()
924 if (*ecode == OP_KETRMIN) in match()
926 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM65); in match()
928 ecode = prev; in match()
935 ecode += 1 + LINK_SIZE; in match()
956 number = GET2(ecode, 1+LINK_SIZE); in match()
981 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
998 next = ecode + GET(ecode,1); in match()
1000 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1008 ecode += GET(ecode, 1); in match()
1010 if (*ecode != OP_ALT) break; in match()
1068 else if (!md->hasthen && ecode[GET(ecode, 1)] != OP_ALT) in match()
1070 ecode += PRIV(OP_lengths)[*ecode]; in match()
1078 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, eptrb, in match()
1086 next = ecode + GET(ecode,1); in match()
1088 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1096 const pcre_uchar *scode = ecode; in match()
1106 ecode += GET(ecode, 1); in match()
1108 if (*ecode != OP_ALT) break; in match()
1127 number = GET2(ecode, 1+LINK_SIZE); in match()
1140 code_offset = (int)(ecode - md->start_code); in match()
1163 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1168 ecode = md->start_code + code_offset; in match()
1174 do ecode += GET(ecode, 1); while (*ecode == OP_ALT); in match()
1186 next = ecode + GET(ecode,1); in match()
1188 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1194 ecode += GET(ecode, 1); in match()
1195 if (*ecode != OP_ALT) break; in match()
1207 ecode += 1 + LINK_SIZE; in match()
1224 code_offset = (int)(ecode - md->start_code); in match()
1230 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
1235 ecode = md->start_code + code_offset; in match()
1240 do ecode += GET(ecode, 1); while (*ecode == OP_ALT); in match()
1252 next = ecode + GET(ecode,1); in match()
1254 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1259 ecode += GET(ecode, 1); in match()
1260 if (*ecode != OP_ALT) break; in match()
1266 ecode += 1 + LINK_SIZE; in match()
1286 codelink = GET(ecode, 1); /* Offset to the second branch */ in match()
1287 ecode += 1 + LINK_SIZE; /* From this opcode */ in match()
1292 if (*ecode == OP_CALLOUT) in match()
1298 cb.callout_number = ecode[1]; in match()
1310 cb.pattern_position = GET(ecode, 2); in match()
1311 cb.next_item_length = GET(ecode, 2 + LINK_SIZE); in match()
1325 ecode += PRIV(OP_lengths)[OP_CALLOUT]; in match()
1332 switch(condcode = *ecode) in match()
1337 unsigned int recno = GET2(ecode, 1); /* Recursion group number*/ in match()
1345 int count = GET2(ecode, 1 + IMM2_SIZE); in match()
1346 pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; in match()
1358 offset = GET2(ecode, 1) << 1; /* Doubled ref number */ in match()
1364 int count = GET2(ecode, 1 + IMM2_SIZE); in match()
1365 pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; in match()
1386 RMATCH(eptr, ecode, offset_top, md, NULL, RM3); in match()
1398 if (*ecode == OP_BRAZERO) ecode++; in match()
1399 ecode += GET(ecode, 1); in match()
1400 while (*ecode == OP_ALT) ecode += GET(ecode, 1); in match()
1401 ecode += 1 + LINK_SIZE - PRIV(OP_lengths)[condcode]; in match()
1417 ecode += condition? PRIV(OP_lengths)[condcode] : codelink; in match()
1429 if (condition || ecode[-(1+LINK_SIZE)] == OP_ALT) in match()
1437 RMATCH(eptr, ecode, offset_top, md, eptrb, RM49); in match()
1453 number = GET2(ecode, 1); /* Must be less than 65536 */ in match()
1480 ecode += 1 + IMM2_SIZE; in match()
1539 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM4); in match()
1559 next = ecode + GET(ecode,1); in match()
1561 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1572 ecode += GET(ecode, 1); in match()
1574 while (*ecode == OP_ALT); /* Continue for next alternative */ in match()
1579 if (*ecode == OP_KET) RRETURN(MATCH_NOMATCH); in match()
1588 do ecode += GET(ecode,1); while (*ecode == OP_ALT); in match()
1589 ecode += 1 + LINK_SIZE; in match()
1610 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM5); in match()
1626 next = ecode + GET(ecode,1); in match()
1628 (*ecode == OP_ALT || *next == OP_ALT)) in match()
1644 do ecode += GET(ecode,1); while (*ecode == OP_ALT); in match()
1655 ecode += GET(ecode,1); in match()
1657 while (*ecode == OP_ALT); in match()
1663 ecode += 1 + LINK_SIZE; /* Continue with current branch */ in match()
1675 i = GET(ecode, 1); in match()
1689 eptr -= GET(ecode, 1); in match()
1696 ecode += 1 + LINK_SIZE; in match()
1708 cb.callout_number = ecode[1]; in match()
1720 cb.pattern_position = GET(ecode, 2); in match()
1721 cb.next_item_length = GET(ecode, 2 + LINK_SIZE); in match()
1731 ecode += 2 + 2*LINK_SIZE; in match()
1756 callpat = md->start_code + GET(ecode, 1); in match()
1778 ecode += 1 + LINK_SIZE; in match()
1865 do ecode += GET(ecode,1); while (*ecode == OP_ALT); in match()
1875 next = ecode + 1; in match()
1879 ecode = next + 1 + LINK_SIZE; in match()
1883 next = ecode + 1; in match()
1887 ecode++; in match()
1891 next = ecode+1; in match()
1893 ecode = next + 1 + LINK_SIZE; in match()
1900 op = *(++ecode); in match()
1911 prev = ecode - GET(ecode, 1); in match()
2002 if (*ecode == OP_KETRPOS) 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()
2028 ecode += 1 + LINK_SIZE; /* Carry on at this level */ in match()
2038 if (*ecode == OP_KETRMIN) in match()
2040 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM7); in match()
2054 ecode = prev; in match()
2064 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM9); in match()
2069 ecode += 1 + LINK_SIZE; in match()
2083 ecode++; in match()
2093 ecode++; in match()
2100 ecode++; in match()
2107 ecode++; in match()
2135 ecode++; in match()
2152 ecode++; in match()
2177 ecode++; in match()
2294 if ((*ecode++ == OP_WORD_BOUNDARY)? in match()
2329 ecode++; in match()
2342 ecode++; in match()
2359 ecode++; in match()
2376 ecode++; in match()
2393 ecode++; in match()
2410 ecode++; in match()
2427 ecode++; in match()
2444 ecode++; in match()
2479 ecode++; in match()
2494 ecode++; in match()
2509 ecode++; in match()
2524 ecode++; in match()
2539 ecode++; in match()
2558 switch(ecode[1]) in match()
2572 if ((ecode[2] != PRIV(ucp_gentype)[prop->chartype]) == (op == OP_PROP)) in match()
2577 if ((ecode[2] != prop->chartype) == (op == OP_PROP)) in match()
2582 if ((ecode[2] != prop->script) == (op == OP_PROP)) in match()
2622 cp = PRIV(ucd_caseless_sets) + ecode[2]; in match()
2645 ecode += 3; in match()
2674 ecode++; in match()
2706 int count = GET2(ecode, 1+IMM2_SIZE); in match()
2707 pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; in match()
2708 ecode += 1 + 2*IMM2_SIZE; in match()
2732 offset = GET2(ecode, 1) << 1; /* Doubled ref number */ in match()
2733 ecode += 1 + IMM2_SIZE; in match()
2742 switch (*ecode) in match()
2750 c = *ecode++ - OP_CRSTAR; in match()
2759 minimize = (*ecode == OP_CRMINRANGE); in match()
2760 min = GET2(ecode, 1); in match()
2761 max = GET2(ecode, 1 + IMM2_SIZE); in match()
2763 ecode += 1 + 2 * IMM2_SIZE; in match()
2814 RMATCH(eptr, ecode, offset_top, md, eptrb, RM14); in match()
2854 RMATCH(eptr, ecode, offset_top, md, eptrb, RM15); in match()
2879 data = ecode + 1; /* Save for matching */ in match()
2880 ecode += 1 + (32 / sizeof(pcre_uchar)); /* Advance past the item */ in match()
2882 switch (*ecode) in match()
2893 c = *ecode++ - OP_CRSTAR; in match()
2904 minimize = (*ecode == OP_CRMINRANGE); in match()
2905 possessive = (*ecode == OP_CRPOSRANGE); in match()
2906 min = GET2(ecode, 1); in match()
2907 max = GET2(ecode, 1 + IMM2_SIZE); in match()
2909 ecode += 1 + 2 * IMM2_SIZE; in match()
2976 RMATCH(eptr, ecode, offset_top, md, eptrb, RM16); in match()
2999 RMATCH(eptr, ecode, offset_top, md, eptrb, RM17); in match()
3052 RMATCH(eptr, ecode, offset_top, md, eptrb, RM18); in match()
3085 RMATCH(eptr, ecode, offset_top, md, eptrb, RM19); in match()
3106 data = ecode + 1 + LINK_SIZE; /* Save for matching */ in match()
3107 ecode += GET(ecode, 1); /* Advance past the item */ in match()
3109 switch (*ecode) in match()
3120 c = *ecode++ - OP_CRSTAR; in match()
3131 minimize = (*ecode == OP_CRMINRANGE); in match()
3132 possessive = (*ecode == OP_CRPOSRANGE); in match()
3133 min = GET2(ecode, 1); in match()
3134 max = GET2(ecode, 1 + IMM2_SIZE); in match()
3136 ecode += 1 + 2 * IMM2_SIZE; in match()
3169 RMATCH(eptr, ecode, offset_top, md, eptrb, RM20); in match()
3209 RMATCH(eptr, ecode, offset_top, md, eptrb, RM21); in match()
3230 ecode++; in match()
3231 GETCHARLEN(fc, ecode, length); in match()
3237 while (length-- > 0) if (*ecode++ != UCHAR21INC(eptr)) RRETURN(MATCH_NOMATCH); in match()
3248 if (ecode[1] != *eptr++) RRETURN(MATCH_NOMATCH); in match()
3249 ecode += 2; in match()
3267 ecode++; in match()
3268 GETCHARLEN(fc, ecode, length); in match()
3279 ecode++; in match()
3291 ecode += length; in match()
3310 if (TABLE_GET(ecode[1], md->lcc, ecode[1]) in match()
3313 ecode += 2; in match()
3321 min = max = GET2(ecode, 1); in match()
3322 ecode += 1 + IMM2_SIZE; in match()
3335 max = GET2(ecode, 1); in match()
3336 minimize = *ecode == OP_MINUPTO || *ecode == OP_MINUPTOI; in match()
3337 ecode += 1 + IMM2_SIZE; in match()
3345 ecode++; in match()
3353 ecode++; in match()
3361 ecode++; in match()
3376 c = *ecode++ - ((op < OP_STARI)? OP_STAR : OP_STARI); in match()
3404 charptr = ecode; in match()
3405 GETCHARLEN(fc, ecode, length); in match()
3406 ecode += length; in match()
3443 RMATCH(eptr, ecode, offset_top, md, eptrb, RM22); in match()
3485 RMATCH(eptr, ecode, offset_top, md, eptrb, RM23); in match()
3505 fc = *ecode++; in match()
3556 RMATCH(eptr, ecode, offset_top, md, eptrb, RM24); in match()
3589 RMATCH(eptr, ecode, offset_top, md, eptrb, RM25); in match()
3617 RMATCH(eptr, ecode, offset_top, md, eptrb, RM26); in match()
3646 RMATCH(eptr, ecode, offset_top, md, eptrb, RM27); in match()
3670 ecode++; in match()
3671 GETCHARINC(ch, ecode); in match()
3695 register pcre_uint32 ch = ecode[1]; in match()
3699 ecode += 2; in match()
3712 min = max = GET2(ecode, 1); in match()
3713 ecode += 1 + IMM2_SIZE; in match()
3721 max = GET2(ecode, 1); in match()
3722 minimize = *ecode == OP_NOTMINUPTO || *ecode == OP_NOTMINUPTOI; in match()
3723 ecode += 1 + IMM2_SIZE; in match()
3731 ecode++; in match()
3739 ecode++; in match()
3747 ecode++; in match()
3754 max = GET2(ecode, 1); in match()
3755 ecode += 1 + IMM2_SIZE; in match()
3770 c = *ecode++ - ((op >= OP_NOTSTARI)? OP_NOTSTARI: OP_NOTSTAR); in match()
3779 GETCHARINCTEST(fc, ecode); in match()
3847 RMATCH(eptr, ecode, offset_top, md, eptrb, RM28); in match()
3865 RMATCH(eptr, ecode, offset_top, md, eptrb, RM29); in match()
3906 RMATCH(eptr, ecode, offset_top, md, eptrb, RM30); in match()
3930 RMATCH(eptr, ecode, offset_top, md, eptrb, RM31); in match()
3983 RMATCH(eptr, ecode, offset_top, md, eptrb, RM32); in match()
4001 RMATCH(eptr, ecode, offset_top, md, eptrb, RM33); in match()
4041 RMATCH(eptr, ecode, offset_top, md, eptrb, RM34); in match()
4065 RMATCH(eptr, ecode, offset_top, md, eptrb, RM35); in match()
4080 min = max = GET2(ecode, 1); in match()
4082 ecode += 1 + IMM2_SIZE; in match()
4088 max = GET2(ecode, 1); in match()
4089 minimize = *ecode == OP_TYPEMINUPTO; in match()
4090 ecode += 1 + IMM2_SIZE; in match()
4097 ecode++; in match()
4104 ecode++; in match()
4111 ecode++; in match()
4117 max = GET2(ecode, 1); in match()
4118 ecode += 1 + IMM2_SIZE; in match()
4127 c = *ecode++ - OP_TYPESTAR; in match()
4138 ctype = *ecode++; /* Code for the character type */ in match()
4144 prop_type = *ecode++; in match()
4145 prop_value = *ecode++; in match()
4893 RMATCH(eptr, ecode, offset_top, md, eptrb, RM36); in match()
4910 RMATCH(eptr, ecode, offset_top, md, eptrb, RM37); in match()
4930 RMATCH(eptr, ecode, offset_top, md, eptrb, RM38); in match()
4947 RMATCH(eptr, ecode, offset_top, md, eptrb, RM39); in match()
4964 RMATCH(eptr, ecode, offset_top, md, eptrb, RM40); in match()
4982 RMATCH(eptr, ecode, offset_top, md, eptrb, RM59); in match()
5005 RMATCH(eptr, ecode, offset_top, md, eptrb, RM61); in match()
5033 RMATCH(eptr, ecode, offset_top, md, eptrb, RM62); in match()
5055 RMATCH(eptr, ecode, offset_top, md, eptrb, RM67); in match()
5078 RMATCH(eptr, ecode, offset_top, md, eptrb, RM60); in match()
5107 RMATCH(eptr, ecode, offset_top, md, eptrb, RM41); in match()
5141 RMATCH(eptr, ecode, offset_top, md, eptrb, RM42); in match()
5266 RMATCH(eptr, ecode, offset_top, md, eptrb, RM43); in match()
5612 RMATCH(eptr, ecode, offset_top, md, eptrb, RM44); in match()
5664 RMATCH(eptr, ecode, offset_top, md, eptrb, RM45); in match()
5932 RMATCH(eptr, ecode, offset_top, md, eptrb, RM46); in match()
6176 RMATCH(eptr, ecode, offset_top, md, eptrb, RM47); in match()
6191 DPRINTF(("Unknown opcode %d\n", *ecode)); in match()
6247 #undef ecode