Lines Matching refs:start_bits
51 #define SET_BIT(c) start_bits[c/8] |= (1 << (c&7))
551 set_table_bit(pcre_uint8 *start_bits, const pcre_uchar *p, BOOL caseless, in set_table_bit() argument
639 set_type_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit, in set_type_bits() argument
643 for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type]; in set_type_bits()
681 set_nottype_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit, in set_nottype_bits() argument
685 for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type]; in set_nottype_bits()
687 if (table_limit != 32) for (c = 24; c < 32; c++) start_bits[c] = 0xff; in set_nottype_bits()
718 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf, in set_start_bits() argument
866 rc = set_start_bits(tcode, start_bits, utf, cd); in set_start_bits()
913 rc = set_start_bits(++tcode, start_bits, utf, cd); in set_start_bits()
940 tcode = set_table_bit(start_bits, tcode + 1, FALSE, cd, utf); in set_start_bits()
949 tcode = set_table_bit(start_bits, tcode + 1, TRUE, cd, utf); in set_start_bits()
957 tcode = set_table_bit(start_bits, tcode + 1 + IMM2_SIZE, FALSE, cd, utf); in set_start_bits()
963 tcode = set_table_bit(start_bits, tcode + 1 + IMM2_SIZE, TRUE, cd, utf); in set_start_bits()
975 (void)set_table_bit(start_bits, tcode + 1, FALSE, cd, utf); in set_start_bits()
986 (void)set_table_bit(start_bits, tcode + 1, TRUE, cd, utf); in set_start_bits()
1059 set_nottype_bits(start_bits, cbit_digit, table_limit, cd); in set_start_bits()
1064 set_type_bits(start_bits, cbit_digit, table_limit, cd); in set_start_bits()
1073 set_nottype_bits(start_bits, cbit_space, table_limit, cd); in set_start_bits()
1074 start_bits[1] |= 0x08; in set_start_bits()
1083 c = start_bits[1]; /* Save in case it was already set */ in set_start_bits()
1084 set_type_bits(start_bits, cbit_space, table_limit, cd); in set_start_bits()
1085 start_bits[1] = (start_bits[1] & ~0x08) | c; in set_start_bits()
1090 set_nottype_bits(start_bits, cbit_word, table_limit, cd); in set_start_bits()
1095 set_type_bits(start_bits, cbit_word, table_limit, cd); in set_start_bits()
1179 set_nottype_bits(start_bits, cbit_digit, table_limit, cd); in set_start_bits()
1183 set_type_bits(start_bits, cbit_digit, table_limit, cd); in set_start_bits()
1192 set_nottype_bits(start_bits, cbit_space, table_limit, cd); in set_start_bits()
1193 start_bits[1] |= 0x08; in set_start_bits()
1201 c = start_bits[1]; /* Save in case it was already set */ in set_start_bits()
1202 set_type_bits(start_bits, cbit_space, table_limit, cd); in set_start_bits()
1203 start_bits[1] = (start_bits[1] & ~0x08) | c; in set_start_bits()
1207 set_nottype_bits(start_bits, cbit_word, table_limit, cd); in set_start_bits()
1211 set_type_bits(start_bits, cbit_word, table_limit, cd); in set_start_bits()
1228 start_bits[24] |= 0xf0; /* Bits for 0xc4 - 0xc8 */ in set_start_bits()
1229 memset(start_bits+25, 0xff, 7); /* Bits for 0xc9 - 0xff */ in set_start_bits()
1252 for (c = 0; c < 16; c++) start_bits[c] |= map[c]; in set_start_bits()
1258 start_bits[d/8] |= (1 << (d&7)); /* and then skip on to the */ in set_start_bits()
1267 for (c = 0; c < 32; c++) start_bits[c] |= map[c]; in set_start_bits()
1341 pcre_uint8 start_bits[32]; in pcre_study() local
1412 memset(start_bits, 0, 32 * sizeof(pcre_uint8)); in pcre_study()
1413 rc = set_start_bits(code, start_bits, (re->options & PCRE_UTF8) != 0, in pcre_study()
1470 memcpy(study->start_bits, start_bits, sizeof(start_bits)); in pcre_study()
1472 else memset(study->start_bits, 0, 32 * sizeof(pcre_uint8)); in pcre_study()
1477 pcre_uint8 *ptr = start_bits; in pcre_study()