Home | History | Annotate | Download | only in dist

Lines Matching refs:utf

77            -1 if \C in UTF-8 mode or (*ACCEPT) was encountered
89 BOOL utf = (options & PCRE_UTF8) != 0;
234 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
255 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
297 /* The single-byte matcher means we can't proceed in UTF-8 mode. (In
298 non-UTF-8 mode \C will actually be turned into OP_ALLANY, so won't ever
303 if (utf) return -1;
398 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0));
438 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1));
531 of a character, we must take special action for UTF-8 characters. As it
578 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
621 UTF-8 mode, for characters greater than 127, we can only do the caseless thing
629 utf TRUE for UTF-8 / UTF-16 / UTF-32 mode
636 compile_data *cd, BOOL utf)
644 if (utf && c > 127)
659 (void)(utf); /* Stops warning for unused parameter */
662 /* Not UTF-8 mode, or character is less than 127. */
677 if (utf && c > 127)
692 (void)(utf); /* Stops warning for unused parameter */
706 /* This function sets starting bits for a character type. In UTF-8 mode, we can
708 confusion with bytes in the middle of UTF-8 characters. In a "traditional"
711 So we deal with that case by considering the UTF-8 encoding.
716 table_limit 32 for non-UTF-8; 16 for UTF-8
748 In UTF-8 mode, we can only do a direct setting for bytes less than 128, as
749 otherwise there can be confusion with bytes in the middle of UTF-8 characters.
751 specific high-valued UTF-8 characters, in this case we have to set the bits for
758 table_limit 32 for non-UTF-8; 16 for UTF-8
792 utf TRUE if in UTF-8 / UTF-16 / UTF-32 mode
802 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf,
808 int table_limit = utf? 16:32;
937 if (utf)
973 rc = set_start_bits(tcode, start_bits, utf, cd);
1020 rc = set_start_bits(++tcode, start_bits, utf, cd);
1047 tcode = set_table_bit(start_bits, tcode + 1, FALSE, cd, utf);
1056 tcode = set_table_bit(start_bits, tcode + 1, TRUE, cd, utf);
1064 tcode = set_table_bit(start_bits, tcode + 1 + IMM2_SIZE, FALSE, cd, utf);
1070 tcode = set_table_bit(start_bits, tcode + 1 + IMM2_SIZE, TRUE, cd, utf);
1082 (void)set_table_bit(start_bits, tcode + 1, FALSE, cd, utf);
1093 (void)set_table_bit(start_bits, tcode + 1, TRUE, cd, utf);
1107 if (utf)
1139 if (utf)
1237 if (utf)
1263 if (utf)
1312 a negative class, and we are operating with UTF-8 characters, any byte
1328 if (utf)
1358 /* In UTF-8 mode, the bits in a bit map correspond to character
1369 if (utf)
1385 /* In non-UTF-8 mode, the two bit maps are completely compatible. */