Lines Matching refs:start_bits
51 #define SET_BIT(c) start_bits[c/8] |= (1 << (c&7))
625 start_bits points to the bit map
635 set_table_bit(pcre_uint8 *start_bits, const pcre_uchar *p, BOOL caseless,
714 start_bits the starting bitmap
723 set_type_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit,
727 for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type];
756 start_bits the starting bitmap
765 set_nottype_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit,
769 for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type];
771 if (table_limit != 32) for (c = 24; c < 32; c++) start_bits[c] = 0xff;
791 start_bits points to a 32-byte table, initialized to 0
802 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL 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);
1166 set_nottype_bits(start_bits, cbit_digit, table_limit, cd);
1171 set_type_bits(start_bits, cbit_digit, table_limit, cd);
1180 set_nottype_bits(start_bits, cbit_space, table_limit, cd);
1185 set_type_bits(start_bits, cbit_space, table_limit, cd);
1190 set_nottype_bits(start_bits, cbit_word, table_limit, cd);
1195 set_type_bits(start_bits, cbit_word, table_limit, cd);
1279 set_nottype_bits(start_bits, cbit_digit, table_limit, cd);
1283 set_type_bits(start_bits, cbit_digit, table_limit, cd);
1291 set_nottype_bits(start_bits, cbit_space, table_limit, cd);
1295 set_type_bits(start_bits, cbit_space, table_limit, cd);
1299 set_nottype_bits(start_bits, cbit_word, table_limit, cd);
1303 set_type_bits(start_bits, cbit_word, table_limit, cd);
1330 start_bits[24] |= 0xf0; /* Bits for 0xc4 - 0xc8 */
1331 memset(start_bits+25, 0xff, 7); /* Bits for 0xc9 - 0xff */
1371 for (c = 0; c < 16; c++) start_bits[c] |= map[c];
1377 start_bits[d/8] |= (1 << (d&7)); /* and then skip on to the */
1386 for (c = 0; c < 32; c++) start_bits[c] |= map[c];
1464 pcre_uint8 start_bits[32];
1536 memset(start_bits, 0, 32 * sizeof(pcre_uint8));
1537 rc = set_start_bits(code, start_bits, (re->options & PCRE_UTF8) != 0,
1594 memcpy(study->start_bits, start_bits, sizeof(start_bits));
1596 else memset(study->start_bits, 0, 32 * sizeof(pcre_uint8));
1601 pcre_uint8 *ptr = start_bits;