Lines Matching refs:mask
657 static inline zend_result php_charmask(const unsigned char *input, size_t len, char *mask) in php_charmask() argument
663 memset(mask, 0, 256); in php_charmask()
668 memset(mask+c, 1, input[3] - c + 1); in php_charmask()
693 mask[c]=1; in php_charmask()
710 char mask[256]; in php_trim_int() local
734 php_charmask((const unsigned char *) what, what_len, mask); in php_trim_int()
738 if (mask[(unsigned char)*start]) { in php_trim_int()
747 if (mask[(unsigned char)*(end-1)]) { in php_trim_int()
2577 char mask[256]; local
2589 php_charmask((const unsigned char *) delims, delims_len, mask);
2596 if (mask[(unsigned char)*r++]) {
2659 __m128i mask = _mm_cmpeq_epi8(src, search); local
2660 if (_mm_movemask_epi8(mask)) {
2666 _mm_and_si128(mask, delta)));
2672 mask = _mm_cmpeq_epi8(src, search);
2675 _mm_and_si128(mask, delta)));
2880 uint32_t mask = _mm_movemask_epi8(_mm_cmpeq_epi8(src, search)); local
2883 while (mask != 0) {
2885 mask = mask & (mask - 1);
2888 if (mask) {
2889 mask = mask - ((mask >> 1) & 0x5555);
2890 mask = (mask & 0x3333) + ((mask >> 2) & 0x3333);
2891 mask = (mask + (mask >> 4)) & 0x0F0F;
2892 mask = (mask + (mask >> 8)) & 0x00ff;
2893 count += mask;