Lines Matching refs:fc

606 uint32_t fc;            /* Character values */  in match()  local
933 GETCHARLEN(fc, Fecode, Flength); in match()
978 GETCHARLEN(fc, Fecode, Flength); in match()
985 if (fc < 128) in match()
988 if (mb->lcc[fc] != TABLE_GET(cc, mb->lcc, cc)) RRETURN(MATCH_NOMATCH); in match()
1003 if (dc != fc && dc != UCD_OTHERCASE(fc)) RRETURN(MATCH_NOMATCH); in match()
1013 fc = Fecode[1]; in match()
1014 if (fc < 128) in match()
1016 if (mb->lcc[fc] != TABLE_GET(cc, mb->lcc, cc)) RRETURN(MATCH_NOMATCH); in match()
1020 if (cc != fc && cc != UCD_OTHERCASE(fc)) RRETURN(MATCH_NOMATCH); in match()
1056 GETCHARINC(fc, Feptr); in match()
1057 if (ch == fc) in match()
1067 if (ch == fc) RRETURN(MATCH_NOMATCH); in match()
1076 fc = UCHAR21INC(Feptr); in match()
1080 if (ch == fc) in match()
1090 if (ch == fc) RRETURN(MATCH_NOMATCH); in match()
1101 fc = UCHAR21INC(Feptr); in match()
1102 if (ch == fc || (Fop == OP_NOTI && TABLE_GET(ch, mb->fcc, ch) == fc)) in match()
1186 fc = *Fecode++ - ((Fop < OP_STARI)? OP_STAR : OP_STARI); in match()
1187 Lmin = rep_min[fc]; in match()
1188 Lmax = rep_max[fc]; in match()
1189 reptype = rep_typ[fc]; in match()
1214 GETCHARLEN(fc, Fecode, Flength); in match()
1224 (othercase = UCD_OTHERCASE(fc)) != fc) in match()
1305 Lc = fc; in match()
1540 fc = *Fecode++ - ((Fop >= OP_NOTSTARI)? OP_NOTSTARI: OP_NOTSTAR); in match()
1541 Lmin = rep_min[fc]; in match()
1542 Lmax = rep_max[fc]; in match()
1543 reptype = rep_typ[fc]; in match()
1885 fc = *Fecode++ - OP_CRSTAR; in match()
1886 Lmin = rep_min[fc]; in match()
1887 Lmax = rep_max[fc]; in match()
1888 reptype = rep_typ[fc]; in match()
1918 GETCHARINC(fc, Feptr); in match()
1919 if (fc > 255) in match()
1924 if ((Lbyte_map[fc/8] & (1u << (fc&7))) == 0) RRETURN(MATCH_NOMATCH); in match()
1938 fc = *Feptr++; in match()
1940 if (fc > 255) in match()
1946 if ((Lbyte_map[fc/8] & (1u << (fc&7))) == 0) RRETURN(MATCH_NOMATCH); in match()
1972 GETCHARINC(fc, Feptr); in match()
1973 if (fc > 255) in match()
1978 if ((Lbyte_map[fc/8] & (1u << (fc&7))) == 0) RRETURN(MATCH_NOMATCH); in match()
1995 fc = *Feptr++; in match()
1997 if (fc > 255) in match()
2003 if ((Lbyte_map[fc/8] & (1u << (fc&7))) == 0) RRETURN(MATCH_NOMATCH); in match()
2026 GETCHARLEN(fc, Feptr, len); in match()
2027 if (fc > 255) in match()
2032 if ((Lbyte_map[fc/8] & (1u << (fc&7))) == 0) break; in match()
2061 fc = *Feptr; in match()
2063 if (fc > 255) in match()
2069 if ((Lbyte_map[fc/8] & (1u << (fc&7))) == 0) break; in match()
2123 fc = *Fecode++ - OP_CRSTAR; in match()
2124 Lmin = rep_min[fc]; in match()
2125 Lmax = rep_max[fc]; in match()
2126 reptype = rep_typ[fc]; in match()
2153 GETCHARINCTEST(fc, Feptr); in match()
2154 if (!PRIV(xclass)(fc, Lxclass_data, utf)) RRETURN(MATCH_NOMATCH); in match()
2176 GETCHARINCTEST(fc, Feptr); in match()
2177 if (!PRIV(xclass)(fc, Lxclass_data, utf)) RRETURN(MATCH_NOMATCH); in match()
2196 GETCHARLENTEST(fc, Feptr, len); in match()
2198 fc = *Feptr; in match()
2200 if (!PRIV(xclass)(fc, Lxclass_data, utf)) break; in match()
2243 GETCHARINCTEST(fc, Feptr); in match()
2244 if (CHMAX_255(fc) && (mb->ctypes[fc] & ctype_digit) != 0) in match()
2255 GETCHARINCTEST(fc, Feptr); in match()
2256 if (!CHMAX_255(fc) || (mb->ctypes[fc] & ctype_digit) == 0) in match()
2267 GETCHARINCTEST(fc, Feptr); in match()
2268 if (CHMAX_255(fc) && (mb->ctypes[fc] & ctype_space) != 0) in match()
2279 GETCHARINCTEST(fc, Feptr); in match()
2280 if (!CHMAX_255(fc) || (mb->ctypes[fc] & ctype_space) == 0) in match()
2291 GETCHARINCTEST(fc, Feptr); in match()
2292 if (CHMAX_255(fc) && (mb->ctypes[fc] & ctype_word) != 0) in match()
2303 GETCHARINCTEST(fc, Feptr); in match()
2304 if (!CHMAX_255(fc) || (mb->ctypes[fc] & ctype_word) == 0) in match()
2315 GETCHARINCTEST(fc, Feptr); in match()
2316 switch(fc) in match()
2350 GETCHARINCTEST(fc, Feptr); in match()
2351 switch(fc) in match()
2365 GETCHARINCTEST(fc, Feptr); in match()
2366 switch(fc) in match()
2380 GETCHARINCTEST(fc, Feptr); in match()
2381 switch(fc) in match()
2395 GETCHARINCTEST(fc, Feptr); in match()
2396 switch(fc) in match()
2418 GETCHARINCTEST(fc, Feptr); in match()
2421 const ucd_record *prop = GET_UCD(fc); in match()
2465 switch(fc) in match()
2482 fc == CHAR_UNDERSCORE) == (Fop == OP_NOTPROP)) in match()
2490 if (fc < *cp) in match()
2492 if (fc == *cp++) in match()
2498 if ((fc == CHAR_DOLLAR_SIGN || fc == CHAR_COMMERCIAL_AT || in match()
2499 fc == CHAR_GRAVE_ACCENT || (fc >= 0xa0 && fc <= 0xd7ff) || in match()
2500 fc >= 0xe000) == (Fop == OP_NOTPROP)) in match()
2527 GETCHARINCTEST(fc, Feptr); in match()
2528 Feptr = PRIV(extuni)(fc, Feptr, mb->start_subject, mb->end_subject, utf, in match()
2596 fc = *Fecode++ - OP_TYPESTAR; in match()
2597 Lmin = rep_min[fc]; in match()
2598 Lmax = rep_max[fc]; in match()
2599 reptype = rep_typ[fc]; in match()
2636 GETCHARINCTEST(fc, Feptr); in match()
2649 GETCHARINCTEST(fc, Feptr); in match()
2650 chartype = UCD_CHARTYPE(fc); in match()
2666 GETCHARINCTEST(fc, Feptr); in match()
2667 if ((UCD_CATEGORY(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
2680 GETCHARINCTEST(fc, Feptr); in match()
2681 if ((UCD_CHARTYPE(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
2694 GETCHARINCTEST(fc, Feptr); in match()
2695 if ((UCD_SCRIPT(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
2709 GETCHARINCTEST(fc, Feptr); in match()
2710 category = UCD_CATEGORY(fc); in match()
2729 GETCHARINCTEST(fc, Feptr); in match()
2730 switch(fc) in match()
2738 if ((UCD_CATEGORY(fc) == ucp_Z) == (Lctype == OP_NOTPROP)) in match()
2754 GETCHARINCTEST(fc, Feptr); in match()
2755 category = UCD_CATEGORY(fc); in match()
2757 fc == CHAR_UNDERSCORE) == (Lctype == OP_NOTPROP)) in match()
2771 GETCHARINCTEST(fc, Feptr); in match()
2775 if (fc < *cp) in match()
2780 if (fc == *cp++) in match()
2797 GETCHARINCTEST(fc, Feptr); in match()
2798 if ((fc == CHAR_DOLLAR_SIGN || fc == CHAR_COMMERCIAL_AT || in match()
2799 fc == CHAR_GRAVE_ACCENT || (fc >= 0xa0 && fc <= 0xd7ff) || in match()
2800 fc >= 0xe000) == (Lctype == OP_NOTPROP)) in match()
2826 GETCHARINCTEST(fc, Feptr); in match()
2827 Feptr = PRIV(extuni)(fc, Feptr, mb->start_subject, in match()
2890 GETCHARINC(fc, Feptr); in match()
2891 switch(fc) in match()
2923 GETCHARINC(fc, Feptr); in match()
2924 switch(fc) in match()
2940 GETCHARINC(fc, Feptr); in match()
2941 switch(fc) in match()
2957 GETCHARINC(fc, Feptr); in match()
2958 switch(fc) in match()
2974 GETCHARINC(fc, Feptr); in match()
2975 switch(fc) in match()
2991 GETCHARINC(fc, Feptr); in match()
2992 if (fc < 128 && (mb->ctypes[fc] & ctype_digit) != 0) in match()
3364 GETCHARINCTEST(fc, Feptr); in match()
3381 GETCHARINCTEST(fc, Feptr); in match()
3382 chartype = UCD_CHARTYPE(fc); in match()
3401 GETCHARINCTEST(fc, Feptr); in match()
3402 if ((UCD_CATEGORY(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
3418 GETCHARINCTEST(fc, Feptr); in match()
3419 if ((UCD_CHARTYPE(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
3435 GETCHARINCTEST(fc, Feptr); in match()
3436 if ((UCD_SCRIPT(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
3453 GETCHARINCTEST(fc, Feptr); in match()
3454 category = UCD_CATEGORY(fc); in match()
3477 GETCHARINCTEST(fc, Feptr); in match()
3478 switch(fc) in match()
3486 if ((UCD_CATEGORY(fc) == ucp_Z) == (Lctype == OP_NOTPROP)) in match()
3505 GETCHARINCTEST(fc, Feptr); in match()
3506 category = UCD_CATEGORY(fc); in match()
3509 fc == CHAR_UNDERSCORE) == (Lctype == OP_NOTPROP)) in match()
3526 GETCHARINCTEST(fc, Feptr); in match()
3530 if (fc < *cp) in match()
3535 if (fc == *cp++) in match()
3555 GETCHARINCTEST(fc, Feptr); in match()
3556 if ((fc == CHAR_DOLLAR_SIGN || fc == CHAR_COMMERCIAL_AT || in match()
3557 fc == CHAR_GRAVE_ACCENT || (fc >= 0xa0 && fc <= 0xd7ff) || in match()
3558 fc >= 0xe000) == (Lctype == OP_NOTPROP)) in match()
3586 GETCHARINCTEST(fc, Feptr); in match()
3587 Feptr = PRIV(extuni)(fc, Feptr, mb->start_subject, mb->end_subject, in match()
3612 GETCHARINC(fc, Feptr); in match()
3620 fc == NLBLOCK->nl[0]) in match()
3632 switch(fc) in match()
3657 switch(fc) in match()
3665 switch(fc) in match()
3673 switch(fc) in match()
3681 switch(fc) in match()
3689 if (fc < 256 && (mb->ctypes[fc] & ctype_digit) != 0) in match()
3694 if (fc >= 256 || (mb->ctypes[fc] & ctype_digit) == 0) in match()
3699 if (fc < 256 && (mb->ctypes[fc] & ctype_space) != 0) in match()
3704 if (fc >= 256 || (mb->ctypes[fc] & ctype_space) == 0) in match()
3709 if (fc < 256 && (mb->ctypes[fc] & ctype_word) != 0) in match()
3714 if (fc >= 256 || (mb->ctypes[fc] & ctype_word) == 0) in match()
3740 fc = *Feptr++; in match()
3748 fc == NLBLOCK->nl[0]) in match()
3760 switch(fc) in match()
3785 switch(fc) in match()
3797 switch(fc) in match()
3809 switch(fc) in match()
3821 switch(fc) in match()
3833 if (MAX_255(fc) && (mb->ctypes[fc] & ctype_digit) != 0) in match()
3838 if (!MAX_255(fc) || (mb->ctypes[fc] & ctype_digit) == 0) in match()
3843 if (MAX_255(fc) && (mb->ctypes[fc] & ctype_space) != 0) in match()
3848 if (!MAX_255(fc) || (mb->ctypes[fc] & ctype_space) == 0) in match()
3853 if (MAX_255(fc) && (mb->ctypes[fc] & ctype_word) != 0) in match()
3858 if (!MAX_255(fc) || (mb->ctypes[fc] & ctype_word) == 0) in match()
3891 GETCHARLENTEST(fc, Feptr, len); in match()
3907 GETCHARLENTEST(fc, Feptr, len); in match()
3908 chartype = UCD_CHARTYPE(fc); in match()
3926 GETCHARLENTEST(fc, Feptr, len); in match()
3927 if ((UCD_CATEGORY(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
3942 GETCHARLENTEST(fc, Feptr, len); in match()
3943 if ((UCD_CHARTYPE(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
3958 GETCHARLENTEST(fc, Feptr, len); in match()
3959 if ((UCD_SCRIPT(fc) == Lpropvalue) == (Lctype == OP_NOTPROP)) in match()
3975 GETCHARLENTEST(fc, Feptr, len); in match()
3976 category = UCD_CATEGORY(fc); in match()
3998 GETCHARLENTEST(fc, Feptr, len); in match()
3999 switch(fc) in match()
4007 if ((UCD_CATEGORY(fc) == ucp_Z) == (Lctype == OP_NOTPROP)) in match()
4026 GETCHARLENTEST(fc, Feptr, len); in match()
4027 category = UCD_CATEGORY(fc); in match()
4029 fc == CHAR_UNDERSCORE) == (Lctype == OP_NOTPROP)) in match()
4045 GETCHARLENTEST(fc, Feptr, len); in match()
4049 if (fc < *cp) in match()
4051 if (fc == *cp++) in match()
4068 GETCHARLENTEST(fc, Feptr, len); in match()
4069 if ((fc == CHAR_DOLLAR_SIGN || fc == CHAR_COMMERCIAL_AT || in match()
4070 fc == CHAR_GRAVE_ACCENT || (fc >= 0xa0 && fc <= 0xd7ff) || in match()
4071 fc >= 0xe000) == (Lctype == OP_NOTPROP)) in match()
4113 GETCHARINCTEST(fc, Feptr); in match()
4114 Feptr = PRIV(extuni)(fc, Feptr, mb->start_subject, mb->end_subject, in match()
4143 if (!utf) fc = *Feptr; else in match()
4146 GETCHAR(fc, Feptr); in match()
4148 rgb = UCD_GRAPHBREAK(fc); in match()
4154 if (!utf) fc = *fptr; else in match()
4157 GETCHAR(fc, fptr); in match()
4159 lgb = UCD_GRAPHBREAK(fc); in match()
4222 fc = Lmax - Lmin; in match()
4223 if (fc > (uint32_t)(mb->end_subject - Feptr)) in match()
4228 else Feptr += fc; in match()
4240 GETCHARLEN(fc, Feptr, len); in match()
4241 if (fc == CHAR_CR) in match()
4248 if (fc != CHAR_LF && in match()
4250 (fc != CHAR_VT && fc != CHAR_FF && fc != CHAR_NEL in match()
4252 && fc != 0x2028 && fc != 0x2029 in match()
4272 GETCHARLEN(fc, Feptr, len); in match()
4273 switch(fc) in match()
4294 GETCHARLEN(fc, Feptr, len); in match()
4295 switch(fc) in match()
4314 GETCHARLEN(fc, Feptr, len); in match()
4315 if (fc < 256 && (mb->ctypes[fc] & ctype_digit) != 0) break; in match()
4329 GETCHARLEN(fc, Feptr, len); in match()
4330 if (fc >= 256 ||(mb->ctypes[fc] & ctype_digit) == 0) break; in match()
4344 GETCHARLEN(fc, Feptr, len); in match()
4345 if (fc < 256 && (mb->ctypes[fc] & ctype_space) != 0) break; in match()
4359 GETCHARLEN(fc, Feptr, len); in match()
4360 if (fc >= 256 ||(mb->ctypes[fc] & ctype_space) == 0) break; in match()
4374 GETCHARLEN(fc, Feptr, len); in match()
4375 if (fc < 256 && (mb->ctypes[fc] & ctype_word) != 0) break; in match()
4389 GETCHARLEN(fc, Feptr, len); in match()
4390 if (fc >= 256 || (mb->ctypes[fc] & ctype_word) == 0) break; in match()
4448 fc = Lmax - Lmin; in match()
4449 if (fc > (uint32_t)(mb->end_subject - Feptr)) in match()
4454 else Feptr += fc; in match()
4465 fc = *Feptr; in match()
4466 if (fc == CHAR_CR) in match()
4473 if (fc != CHAR_LF && (mb->bsr_convention == PCRE2_BSR_ANYCRLF || in match()
4474 (fc != CHAR_VT && fc != CHAR_FF && fc != CHAR_NEL in match()
4476 && fc != 0x2028 && fc != 0x2029 in match()
4728 fc = *Fecode++ - OP_CRSTAR; in match()
4729 Lmin = rep_min[fc]; in match()
4730 Lmax = rep_max[fc]; in match()
4731 reptype = rep_typ[fc]; in match()
5846 GETCHAR(fc, lastptr); in match()
5850 fc = *lastptr; in match()
5855 if (fc == '_') prev_is_word = TRUE; else in match()
5857 int cat = UCD_CATEGORY(fc); in match()
5863 prev_is_word = CHMAX_255(fc) && (mb->ctypes[fc] & ctype_word) != 0; in match()
5880 GETCHAR(fc, Feptr); in match()
5884 fc = *Feptr; in match()
5889 if (fc == '_') cur_is_word = TRUE; else in match()
5891 int cat = UCD_CATEGORY(fc); in match()
5897 cur_is_word = CHMAX_255(fc) && (mb->ctypes[fc] & ctype_word) != 0; in match()