Lines Matching defs:set
440 SRE_CHARSET(SRE_CODE* set, SRE_CODE ch)
442 /* check if character is a member of the given set */
447 switch (*set++) {
454 if (ch == set[0])
456 set++;
461 if (sre_category(set[0], (int) ch))
463 set += 1;
469 if (ch < 256 && (set[ch >> 4] & (1 << (ch & 15))))
471 set += 16;
475 if (ch < 256 && (set[ch >> 5] & (1 << (ch & 31))))
477 set += 8;
483 if (set[0] <= ch && ch <= set[1])
485 set += 2;
496 count = *(set++);
499 block = ((unsigned char*)set)[ch >> 8];
500 set += 128;
501 if (set[block*16 + ((ch & 255)>>4)] & (1 << (ch & 15)))
503 set += count*16;
509 block = ((unsigned char*)set)[ch >> 8];
512 set += 64;
514 (set[block*8 + ((ch & 255)>>5)] & (1 << (ch & 31))))
516 set += count*8;
546 /* repeated set */
862 /* set mark */
872 the intervening marks must be set to NULL to signal
950 /* match set member (or non_member) */
951 /* <IN> <skip> <set> */
1536 /* pattern starts with a character from a known set */
1602 /* pattern starts with a character from a known set */