Home
last modified time | relevance | path

Searched refs:mask (Results 26 – 50 of 72) sorted by relevance

123

/php-src/ext/mbstring/tests/
H A Dmb_encode_numericentity.phpt26 0, 0, 0, 0, // Only one codepoint, empty mask
42 // Try using mask to remove some bits
H A Dmb_decode_numericentity.phpt69 0, 0, 0, 0, // Only one codepoint, empty mask
/php-src/ext/standard/
H A Dbase64.c592 …const uint64_t mask = _mm512_movepi8_mask(_mm512_or_epi64(str, input)); /* convert MSBs to the mas… in php_base64_decode_ex_avx512_vbmi() local
593 if (mask) { in php_base64_decode_ex_avx512_vbmi()
803 __m256i lut, indices, mask; in php_base64_encode_avx2_translate() local
813 mask = _mm256_cmpgt_epi8(in, _mm256_set1_epi8(25)); in php_base64_encode_avx2_translate()
815 indices = _mm256_sub_epi8(indices, mask); in php_base64_encode_avx2_translate()
859 __m128i mask, indices; in php_base64_encode_ssse3_translate() local
880 mask = _mm_cmpgt_epi8(in, _mm_set1_epi8(25)); in php_base64_encode_ssse3_translate()
883 indices = _mm_sub_epi8(indices, mask); in php_base64_encode_ssse3_translate()
H A Dstring.c495 memset(mask, 0, 256); in php_charmask()
525 mask[c]=1; in php_charmask()
542 char mask[256]; in php_trim_int() local
2790 char mask[256]; local
3096 mask = mask & (mask - 1);
3099 if (mask) {
3100 mask = mask - ((mask >> 1) & 0x5555);
3101 mask = (mask & 0x3333) + ((mask >> 2) & 0x3333);
3102 mask = (mask + (mask >> 4)) & 0x0F0F;
3103 mask = (mask + (mask >> 8)) & 0x00ff;
[all …]
/php-src/sapi/fpm/tests/
H A Dsocket-uds-acl.phpt79 mask::rw-
/php-src/ext/standard/html_tables/
H A Dhtml_table_gen.php736 $mask = $numelems - 1; variable
739 $hashes[hashfun($e[0]) & $mask][] = $e;
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_jit_neon_inc.h114 sljit_u8 mask = ic.c.c2; in FF_FUN() local
115 vect_t vmask = VDUPQ(mask); in FF_FUN()
/php-src/ext/standard/tests/strings/
H A Dstrspn_variation11.phpt33 // define the array of mask strings
59 // loop through each element of the arrays for str, mask and start argument
63 foreach($mask_array as $mask) {
65 var_dump( strspn($str,$mask,$start) );
H A Dstrcspn_variation11.phpt33 // defining array of mask strings
59 // loop through each element of the arrays for str,mask and start arguments
63 foreach($mask_array as $mask) {
65 var_dump( strcspn($str,$mask,$start) );
H A Dstrcspn_variation12.phpt27 // defining array of mask strings
58 // loop through each element of the arrays for str,mask,start and len arguments
63 foreach($mask_array as $mask) {
66 var_dump( strcspn($str,$mask,$start,$len) );
H A Dstrspn_variation12.phpt27 // define the array of mask strings
63 foreach($mask_array as $mask) {
66 var_dump( strspn($str,$mask,$start,$len) );
/php-src/ext/standard/tests/file/
H A Dumask_variation1.phpt21 for($mask = 0000; $mask <= 0350; $mask++) {
23 echo sprintf('%03o', $mask);
26 umask($mask);
H A Dumask_variation2.phpt21 for($mask = 0351; $mask <= 0777; $mask++) {
23 echo sprintf('%03o', $mask);
26 umask($mask);
H A Dumask_basic.phpt13 for($mask = 0000; $mask <= 0777; $mask++) {
14 echo "-- Setting umask to $mask --\n";
15 var_dump( umask($mask) );
18 if ($mask != umask()) {
/php-src/win32/
H A Dcodepage.c209 const __m128i mask = _mm_set1_epi32(0); in php_win32_cp_conv_ascii_to_w()
213 const __m128i lo = _mm_unpacklo_epi8(block, mask); in php_win32_cp_conv_ascii_to_w()
217 const __m128i hi = _mm_unpackhi_epi8(block, mask); in php_win32_cp_conv_ascii_to_w()
/php-src/ext/opcache/jit/ir/
H A Dir.c1430 tab->mask = (uint32_t)(-(int32_t)hash_size);
1440 uint32_t key = p->key | tab->mask;
1455 tab->mask = (uint32_t)(-(int32_t)hash_size);
1463 uint32_t hash_size = (uint32_t)(-(int32_t)tab->mask);
1510 key |= tab->mask;
1539 uint32_t key = p->key | tab->mask;
1559 tab->mask = (uint32_t)(-(int32_t)hash_size);
1569 uint32_t key = (uint32_t)p->key | tab->mask;
1584 tab->mask = (uint32_t)(-(int32_t)hash_size);
1592 uint32_t hash_size = (uint32_t)(-(int32_t)tab->mask);
[all …]
/php-src/ext/dom/
H A Dhtml5_serializer.c73 const char *mask = attribute_mode ? "&\xC2\"" : "&\xC2<>"; in dom_html5_escape_string() local
76 size_t chunk_length = strcspn(content, mask); in dom_html5_escape_string()
H A Dxml_serializer.c479 const char *mask = attribute_mode ? "&<>\"\t\n\r" : "&<>"; in dom_xml_common_text_serialization() local
482 size_t chunk_length = strcspn(content, mask); in dom_xml_common_text_serialization()
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeS390X.c769 m3 = (sljit_ins)(mask & 0xf) << 12; \
787 m3 = (sljit_ins)(mask & 0xf) << 32; \
825 sljit_ins m1 = (sljit_ins)(mask & 0xf) << 20; in SLJIT_S390X_INSTRUCTION()
832 sljit_ins m1 = (sljit_ins)(mask & 0xf) << 36; in SLJIT_S390X_INSTRUCTION()
3707 sljit_u8 mask = get_cc(compiler, type); in sljit_emit_op_flags() local
3735 #define LEVAL(i) i(loc_r, 1, mask) in sljit_emit_op_flags()
3776 sljit_ins mask; in sljit_emit_select() local
3802 mask = get_cc(compiler, type & ~SLJIT_32); in sljit_emit_select()
4407 sljit_ins mask; in sljit_emit_atomic_store() local
4419 mask = 0xff; in sljit_emit_atomic_store()
[all …]
H A DsljitNativeARM_64.c504 sljit_uw mask, uimm; in logical_imm() local
525 mask = ((sljit_uw)1 << len) - 1; in logical_imm()
526 if ((uimm & mask) != ((uimm >> len) & mask)) in logical_imm()
1586 sljit_sw mask; in sljit_emit_shift_into() local
1603 mask = inv_bits ? 0x1f : 0x3f; in sljit_emit_shift_into()
1604 src3w &= mask; in sljit_emit_shift_into()
1610 src3w = (src3w ^ mask) + 1; in sljit_emit_shift_into()
/php-src/main/
H A Dsnprintf.c378 int mask = (1 << nbits) - 1; in ap_php_conv_p2() local
385 *--p = digits[num & mask]; in ap_php_conv_p2()
/php-src/Zend/
H A DREADME.md57 also you can use ANY mask to disable specialization according operand's op_type.
/php-src/ext/opcache/
H A DZendAccelerator.c1691 int mask = 0; in zend_accel_get_auto_globals() local
1693 mask |= ZEND_AUTOGLOBAL_MASK_SERVER; in zend_accel_get_auto_globals()
1696 mask |= ZEND_AUTOGLOBAL_MASK_ENV; in zend_accel_get_auto_globals()
1699 mask |= ZEND_AUTOGLOBAL_MASK_REQUEST; in zend_accel_get_auto_globals()
1701 return mask; in zend_accel_get_auto_globals()
1704 static void zend_accel_set_auto_globals(int mask) in zend_accel_set_auto_globals() argument
1706 if (mask & ZEND_AUTOGLOBAL_MASK_SERVER) { in zend_accel_set_auto_globals()
1709 if (mask & ZEND_AUTOGLOBAL_MASK_ENV) { in zend_accel_set_auto_globals()
1712 if (mask & ZEND_AUTOGLOBAL_MASK_REQUEST) { in zend_accel_set_auto_globals()
1715 ZCG(auto_globals_mask) |= mask; in zend_accel_set_auto_globals()
/php-src/ext/ffi/
H A Dffi.c643 uint8_t mask; in zend_ffi_bit_field_read() local
648 mask = (1U << field->bits) - 1U; in zend_ffi_bit_field_read()
649 return (*p >> pos) & mask; in zend_ffi_bit_field_read()
655 mask = (1U << num_bits) - 1U; in zend_ffi_bit_field_read()
656 val = (*p++ >> pos) & mask; in zend_ffi_bit_field_read()
669 mask = (1U << num_bits) - 1U; in zend_ffi_bit_field_read()
703 uint8_t mask; in zend_ffi_zval_to_bit_field() local
708 *p = (*p & ~mask) | ((val << pos) & mask); in zend_ffi_zval_to_bit_field()
716 *p = (*p & ~mask) | ((val << pos) & mask); in zend_ffi_zval_to_bit_field()
730 mask = (1U << num_bits) - 1U; in zend_ffi_zval_to_bit_field()
[all …]
/php-src/ext/phar/
H A Dphar_object.c1672 mode_t mask; in phar_build() local
1673 mask = umask(0); in phar_build()
1674 umask(mask); in phar_build()
1675 data->internal_file->flags &= ~mask; in phar_build()
3650 mode_t mask; in phar_add_file() local
3651 mask = umask(0); in phar_add_file()
3652 umask(mask); in phar_add_file()
3653 data->internal_file->flags &= ~mask; in phar_add_file()

Completed in 122 milliseconds

123