Lines Matching refs:m_mask
313 m_mask = 1; in wrap_mode_repeat_pow2()
314 while(m_mask < size) m_mask = (m_mask << 1) | 1; in wrap_mode_repeat_pow2()
315 m_mask >>= 1; in wrap_mode_repeat_pow2()
319 return m_value = unsigned(v) & m_mask; in operator()
324 if(m_value > m_mask) m_value = 0;
328 unsigned m_mask;
341 m_mask((m_size & (m_size-1)) ? 0 : m_size-1), in wrap_mode_repeat_auto_pow2()
347 if(m_mask) return m_value = unsigned(v) & m_mask; in operator()
360 unsigned m_mask; variable
407 m_mask = 1; in wrap_mode_reflect_pow2()
409 while(m_mask < size) in wrap_mode_reflect_pow2()
411 m_mask = (m_mask << 1) | 1; in wrap_mode_reflect_pow2()
417 m_value = unsigned(v) & m_mask; in operator()
418 if(m_value >= m_size) return m_mask - m_value; in operator()
424 m_value &= m_mask;
425 if(m_value >= m_size) return m_mask - m_value;
430 unsigned m_mask; variable
445 m_mask((m_size2 & (m_size2-1)) ? 0 : m_size2-1), in wrap_mode_reflect_auto_pow2()
451 m_value = m_mask ? unsigned(v) & m_mask : in operator()
468 unsigned m_mask; variable