Lines Matching refs:ZEND_MM_BITSET_LEN

160 #define ZEND_MM_BITSET_LEN		(sizeof(zend_mm_bitset) * 8)       /* 32 or 64 */  macro
161 #define ZEND_MM_PAGE_MAP_LEN (ZEND_MM_PAGES / ZEND_MM_BITSET_LEN) /* 16 or 8 */
571 if (bitset == (zend_mm_bitset)-1) return ZEND_MM_BITSET_LEN;
594 bitset[bit / ZEND_MM_BITSET_LEN] |= (Z_UL(1) << (bit & (ZEND_MM_BITSET_LEN-1)));
599 bitset[bit / ZEND_MM_BITSET_LEN] &= ~(Z_UL(1) << (bit & (ZEND_MM_BITSET_LEN-1)));
607 int pos = start / ZEND_MM_BITSET_LEN;
608 int end = (start + len - 1) / ZEND_MM_BITSET_LEN;
609 int bit = start & (ZEND_MM_BITSET_LEN - 1);
620 end = (start + len - 1) & (ZEND_MM_BITSET_LEN - 1);
622 tmp = (zend_mm_bitset)-1 >> ((ZEND_MM_BITSET_LEN - 1) - end);
625 end = (start + len - 1) & (ZEND_MM_BITSET_LEN - 1);
628 tmp &= (zend_mm_bitset)-1 >> ((ZEND_MM_BITSET_LEN - 1) - end);
639 int pos = start / ZEND_MM_BITSET_LEN;
640 int end = (start + len - 1) / ZEND_MM_BITSET_LEN;
641 int bit = start & (ZEND_MM_BITSET_LEN - 1);
652 end = (start + len - 1) & (ZEND_MM_BITSET_LEN - 1);
654 tmp = (zend_mm_bitset)-1 >> ((ZEND_MM_BITSET_LEN - 1) - end);
657 end = (start + len - 1) & (ZEND_MM_BITSET_LEN - 1);
660 tmp &= (zend_mm_bitset)-1 >> ((ZEND_MM_BITSET_LEN - 1) - end);
671 int pos = start / ZEND_MM_BITSET_LEN;
672 int end = (start + len - 1) / ZEND_MM_BITSET_LEN;
673 int bit = start & (ZEND_MM_BITSET_LEN - 1);
688 end = (start + len - 1) & (ZEND_MM_BITSET_LEN - 1);
690 tmp = (zend_mm_bitset)-1 >> ((ZEND_MM_BITSET_LEN - 1) - end);
693 end = (start + len - 1) & (ZEND_MM_BITSET_LEN - 1);
696 tmp &= (zend_mm_bitset)-1 >> ((ZEND_MM_BITSET_LEN - 1) - end);
907 i += ZEND_MM_BITSET_LEN;
919 i += ZEND_MM_BITSET_LEN;
949 i += ZEND_MM_BITSET_LEN;
966 i += ZEND_MM_BITSET_LEN;