Lines Matching refs:mask
489 static inline zend_result php_charmask(const unsigned char *input, size_t len, char *mask) in php_charmask() argument
495 memset(mask, 0, 256); in php_charmask()
500 memset(mask+c, 1, input[3] - c + 1); in php_charmask()
525 mask[c]=1; in php_charmask()
542 char mask[256]; in php_trim_int() local
566 php_charmask((const unsigned char *) what, what_len, mask); in php_trim_int()
570 if (mask[(unsigned char)*start]) { in php_trim_int()
579 if (mask[(unsigned char)*(end-1)]) { in php_trim_int()
2526 char mask[256]; local
2538 php_charmask((const unsigned char *) delims, delims_len, mask);
2545 if (mask[(unsigned char)*r++]) {
2608 __m128i mask = _mm_cmpeq_epi8(src, search); local
2609 if (_mm_movemask_epi8(mask)) {
2615 _mm_and_si128(mask, delta)));
2621 mask = _mm_cmpeq_epi8(src, search);
2624 _mm_and_si128(mask, delta)));
2829 uint32_t mask = _mm_movemask_epi8(_mm_cmpeq_epi8(src, search)); local
2832 while (mask != 0) {
2834 mask = mask & (mask - 1);
2837 if (mask) {
2838 mask = mask - ((mask >> 1) & 0x5555);
2839 mask = (mask & 0x3333) + ((mask >> 2) & 0x3333);
2840 mask = (mask + (mask >> 4)) & 0x0F0F;
2841 mask = (mask + (mask >> 8)) & 0x00ff;
2842 count += mask;