Home
last modified time | relevance | path

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

123

/PHP-7.4/win32/
H A Dcodepage.c178 const __m128i mask = _mm_set1_epi32(0); in php_win32_cp_conv_ascii_to_w() local
183 const __m128i lo = _mm_unpacklo_epi8(block, mask); in php_win32_cp_conv_ascii_to_w()
189 const __m128i hi = _mm_unpackhi_epi8(block, mask); in php_win32_cp_conv_ascii_to_w()
/PHP-7.4/ext/standard/tests/file/
H A Dumask_variation2.phpt11 /* Prototype: int umask ( [int $mask] );
25 for($mask = 0351; $mask <= 0777; $mask++) {
27 echo sprintf('%03o', $mask);
30 umask($mask);
H A Dumask_basic.phpt11 /* Prototype: int umask ( [int $mask] );
17 for($mask = 0000; $mask <= 0777; $mask++) {
18 echo "-- Setting umask to $mask --\n";
19 var_dump( umask($mask) );
22 if ($mask != umask()) {
/PHP-7.4/ext/standard/tests/strings/
H A Dstrspn_variation8.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
64 // defining array of different mask strings
96 // loop through each element of the array for heredoc str, mask str , start values and len values
102 foreach($mask_array as $mask) {
105 var_dump( strspn($str,$mask,$start,$len) );
H A Dstrcspn_variation8.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
63 // defining array of mask strings
100 foreach($mask_array as $mask) {
103 var_dump( strcspn($str,$mask,$start,$len) );
H A Dstrcspn_variation12.phpt5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
34 // defining array of mask strings
65 // loop through each element of the arrays for str,mask,start and len arguments
70 foreach($mask_array as $mask) {
73 var_dump( strcspn($str,$mask,$start,$len) );
H A Dstrspn_variation12.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
34 // define the array of mask strings
70 foreach($mask_array as $mask) {
73 var_dump( strspn($str,$mask,$start,$len) );
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_simd_inc.h894 PCRE2_UCHAR mask = char1 ^ char2; in fast_forward_char_simd() local
895 if (is_powerof2(mask)) in fast_forward_char_simd()
897 ic.c.c1 = char1 | mask; in fast_forward_char_simd()
898 ic.c.c2 = mask; in fast_forward_char_simd()
H A Dpcre2_jit_compile.c5843 PCRE2_UCHAR mask; in fast_forward_first_char2() local
5892 mask = char1 ^ char2; in fast_forward_first_char2()
5893 if (is_powerof2(mask)) in fast_forward_first_char2()
5895 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, SLJIT_IMM, mask); in fast_forward_first_char2()
5896 CMPTO(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, char1 | mask, start); in fast_forward_first_char2()
5930 PCRE2_UCHAR mask; in fast_forward_first_n_chars() local
6102 mask = chars[offset].chars[0] ^ chars[offset].chars[1]; in fast_forward_first_n_chars()
6103 if (is_powerof2(mask)) in fast_forward_first_n_chars()
6105 OP2(SLJIT_OR, TMP1, 0, TMP1, 0, SLJIT_IMM, mask); in fast_forward_first_n_chars()
6106 CMPTO(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, chars[offset].chars[0] | mask, start); in fast_forward_first_n_chars()
/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitNativeARM_T2_32.c2019 sljit_u32 new_offset, mask; in hardfloat_call_with_args() local
2027 mask = 1; in hardfloat_call_with_args()
2029 while (remap & mask) { in hardfloat_call_with_args()
2031 mask <<= 1; in hardfloat_call_with_args()
2033 remap |= mask; in hardfloat_call_with_args()
2043 mask = 3; in hardfloat_call_with_args()
2045 while (remap & mask) { in hardfloat_call_with_args()
2047 mask <<= 2; in hardfloat_call_with_args()
2049 remap |= mask; in hardfloat_call_with_args()
H A DsljitNativeARM_64.c443 sljit_uw mask, uimm; in logical_imm() local
464 mask = ((sljit_uw)1 << len) - 1; in logical_imm()
465 if ((uimm & mask) != ((uimm >> len) & mask)) in logical_imm()
/PHP-7.4/Zend/
H A DREADME.md57 also you can use ANY mask to disable specialization according operand's op_type.
/PHP-7.4/main/
H A Dsnprintf.c481 register int mask = (1 << nbits) - 1; in ap_php_conv_p2() local
488 *--p = digits[num & mask]; in ap_php_conv_p2()
/PHP-7.4/ext/pcntl/
H A Dpcntl.c1491 sigset_t mask; in pcntl_signal_dispatch() local
1499 sigfillset(&mask); in pcntl_signal_dispatch()
1500 sigprocmask(SIG_BLOCK, &mask, &old_mask); in pcntl_signal_dispatch()
/PHP-7.4/ext/standard/
H A Dstring.c725 static inline int php_charmask(const unsigned char *input, size_t len, char *mask) in php_charmask() argument
731 memset(mask, 0, 256); in php_charmask()
736 memset(mask+c, 1, input[3] - c + 1); in php_charmask()
761 mask[c]=1; in php_charmask()
778 char mask[256]; in php_trim_int() local
802 php_charmask((unsigned char*)what, what_len, mask); in php_trim_int()
806 if (mask[(unsigned char)*start]) { in php_trim_int()
815 if (mask[(unsigned char)*(end-1)]) { in php_trim_int()
2884 char mask[256]; local
2896 php_charmask((unsigned char *)delims, delims_len, mask);
[all …]
H A Dfile.c1413 zend_long mask = 0; in PHP_FUNCTION() local
1424 Z_PARAM_LONG(mask) in PHP_FUNCTION()
1430 umask((int) mask); in PHP_FUNCTION()
H A Dbasic_functions.c1152 ZEND_ARG_INFO(0, mask)
2147 ZEND_ARG_INFO(0, mask)
2154 ZEND_ARG_INFO(0, mask)
/PHP-7.4/ext/ffi/
H A Dffi.c561 uint8_t mask; in zend_ffi_bit_field_read() local
566 mask = (1U << field->bits) - 1U; in zend_ffi_bit_field_read()
567 return (*p >> pos) & mask; in zend_ffi_bit_field_read()
574 val = (*p++ >> pos) & mask; in zend_ffi_bit_field_read()
587 mask = (1U << num_bits) - 1U; in zend_ffi_bit_field_read()
588 val |= (*p & mask) << insert_pos; in zend_ffi_bit_field_read()
621 uint8_t mask; in zend_ffi_zval_to_bit_field() local
626 *p = (*p & ~mask) | ((val << pos) & mask); in zend_ffi_zval_to_bit_field()
634 *p = (*p & ~mask) | ((val << pos) & mask); in zend_ffi_zval_to_bit_field()
648 mask = (1U << num_bits) - 1U; in zend_ffi_zval_to_bit_field()
[all …]
/PHP-7.4/ext/phar/
H A Dphar_object.c1693 mode_t mask; in phar_build() local
1694 mask = umask(0); in phar_build()
1695 umask(mask); in phar_build()
1696 data->internal_file->flags &= ~mask; in phar_build()
3697 mode_t mask; in phar_add_file() local
3698 mask = umask(0); in phar_add_file()
3699 umask(mask); in phar_add_file()
3700 data->internal_file->flags &= ~mask; in phar_add_file()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c1070 static void _function_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask) in _function_check_flag() argument
1079 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
3576 static void _class_constant_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask) /* {{{ */ in _class_constant_check_flag() argument
3585 RETURN_BOOL(Z_ACCESS_FLAGS(ref->value) & mask); in _class_constant_check_flag()
4525 static void _class_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask) in _class_check_flag() argument
4534 RETVAL_BOOL(ce->ce_flags & mask); in _class_check_flag()
5393 static void _property_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask) /* {{{ */ in _property_check_flag() argument
5402 RETURN_BOOL(ref->prop.flags & mask); in _property_check_flag()
/PHP-7.4/ext/sodium/
H A Dlibsodium.c3444 volatile unsigned char mask; in PHP_FUNCTION() local
3448 mask = 0U; in PHP_FUNCTION()
3452 tail[-i] = (tail[-i] & mask) | (0x80 & barrier_mask); in PHP_FUNCTION()
3453 mask |= barrier_mask; in PHP_FUNCTION()
/PHP-7.4/sapi/litespeed/
H A Dlsapilib.c3138 sigset_t mask; in lsapi_prefork_server_accept() local
3247 sigemptyset( &mask ); in lsapi_prefork_server_accept()
3248 sigaddset( &mask, SIGCHLD ); in lsapi_prefork_server_accept()
3250 if ( sigprocmask(SIG_BLOCK, &mask, &orig_mask) < 0 ) in lsapi_prefork_server_accept()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c1624 int mask = 0; in zend_accel_get_auto_globals() local
1628 mask |= n; in zend_accel_get_auto_globals()
1632 return mask; in zend_accel_get_auto_globals()
1643 static void zend_accel_set_auto_globals(int mask) in zend_accel_set_auto_globals() argument
1649 if ((mask & n) && !(ZCG(auto_globals_mask) & n)) { in zend_accel_set_auto_globals()
/PHP-7.4/ext/session/
H A Dsession.c273 int mask; in bin_to_readable() local
281 mask = (1 << nbits) - 1; in bin_to_readable()
296 *out++ = hexconvtab[w & mask]; in bin_to_readable()
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます7449 >>>>0x1000 lequad !0x0000000000000000 (mask ROM)
7977 # what follows is a bunch of bit-mask checks on the flags field of the opthdr.
12678 # usual case with lightening mask and skewing mask 5555h~UU
12711 # lightening mask to eliminate pixels, usually 5555h
12712 >62 uleshort !0x5555 \b, lightening mask 0x%x
12713 # skewing mask to determine when to perform additional rotation when skewing, usually 5555h
12714 >64 uleshort !0x5555 \b, skewing mask 0x%x
17069 # Pretend it's 32-bit and mask off the high byte.
25890 # Bit 2 (mask 0x04): Whether raw binary (unescaped 8-bit) values may be present in content
25891 # Bit 1 (mask 0x02): Whether shared String value checking was enabled during encoding, default …
[all …]

Completed in 377 milliseconds

123