/php-src/ext/opcache/jit/ir/ |
H A D | gen_ir_fold_hash.c | 39 return ((mask << r1) - mask) << r2; in hash_shl2() 49 return ir_rol((ir_rol(mask, r1) - mask), r2); in hash_rol2() 74 hash[h] = mask[i]; in find_hash() 81 hash[h] = mask[i]; in find_hash() 102 hash[h] = mask[i]; in find_hash() 109 hash[h] = mask[i]; in find_hash() 141 int op, mask; in parse_rule() local 159 mask = op; in parse_rule() 187 mask |= op << 7; in parse_rule() 218 mask |= op << 14; in parse_rule() [all …]
|
H A D | ir_strtab.c | 45 uint32_t old_hash_size = (uint32_t)(-(int32_t)strtab->mask); in ir_strtab_resize() 55 strtab->mask = (uint32_t)(-(int32_t)hash_size); in ir_strtab_resize() 65 uint32_t h = p->h | strtab->mask; in ir_strtab_resize() 100 strtab->mask = (uint32_t)(-(int32_t)hash_size); in ir_strtab_init() 119 uint32_t pos = ((uint32_t*)data)[(int32_t)(h | strtab->mask)]; in ir_strtab_find() 138 uint32_t pos = ((uint32_t*)data)[(int32_t)(h | strtab->mask)]; in ir_strtab_lookup() 176 h |= strtab->mask; in ir_strtab_lookup() 187 uint32_t pos = ((uint32_t*)data)[(int32_t)(h | strtab->mask)]; in ir_strtab_update() 218 uint32_t hash_size = (uint32_t)(-(int32_t)strtab->mask); in ir_strtab_free()
|
/php-src/ext/standard/tests/strings/ |
H A D | strcspn_basic.phpt | 14 $mask = "es"; 19 var_dump( strcspn($str, $mask, $start, $len) ); 22 var_dump( strcspn($str, $mask, $start) ); 25 var_dump( strcspn($str, $mask) );
|
H A D | strspn_basic.phpt | 14 $mask = "htes "; 19 var_dump( strspn($str, $mask, $start, $len) ); 22 var_dump( strspn($str, $mask, $start) ); 25 var_dump( strspn($str, $mask) );
|
H A D | strcspn_variation6.phpt | 2 Test strcspn() function : usage variations - with heredoc strings, varying mask & default start and… 6 * Testing strcspn() : with heredoc string, varying mask and default start and len arguments 9 echo "*** Testing strcspn() : with different mask strings ***\n"; 56 // defining array of mask strings 71 // loop through each element of the arrays for string and mask arguments 76 foreach($mask_array as $mask) { 77 var_dump( strcspn($str,$mask) ); // with default start and len value 85 *** Testing strcspn() : with different mask strings ***
|
H A D | strspn_variation6.phpt | 2 Test strspn() function : usage variations - with heredoc strings, varying mask & default start and … 6 * Testing strspn() : with heredoc string, varying mask and default start and len arguments 9 echo "*** Testing strspn() : with different mask strings ***\n"; 57 // defining array of different mask strings 72 // loop through each element of the array for different heredoc and mask strings 78 foreach($mask_array as $mask) { 79 var_dump( strspn($str,$mask) ); // with default start and len value 87 *** Testing strspn() : with different mask strings ***
|
H A D | strcspn_variation10.phpt | 2 Test strcspn() function : usage variations - with varying mask & default start and len args 6 * Testing strcspn() : with varying mask and default start and len arguments 9 echo "*** Testing strcspn() : with different mask strings and default start and len arguments ***\n… 32 // defining array of mask strings 47 // loop through each element of the array for mask argument 51 foreach($mask_array as $mask) { 52 var_dump( strcspn($str,$mask) ); 60 *** Testing strcspn() : with different mask strings and default start and len arguments ***
|
H A D | strspn_variation10.phpt | 2 Test strspn() function : usage variations - with varying mask & default start and len args 6 * Testing strspn() : with varying mask and default start and len arguments 9 echo "*** Testing strspn() : with different mask strings and default start and len arguments ***\n"; 33 // define the array of mask strings 48 // loop through each element of the array for mask argument 53 foreach($mask_array as $mask) { 54 var_dump( strspn($str,$mask) ); 62 *** Testing strspn() : with different mask strings and default start and len arguments ***
|
H A D | strspn_variation5.phpt | 5 /* 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. 63 $mask = "sfth12\ne34l567890\0\xaa\100o"; 70 var_dump( strspn($str,$mask) ); // with default start and len values
|
H A D | strcspn_variation5.phpt | 5 /* 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 $mask = "fth12\ne67890\0\xaa\100o"; 70 var_dump( strcspn($str,$mask) ); // with default start and len values
|
H A D | strspn_variation9.phpt | 5 /* 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. 41 $mask = "sfth12\ne34lw56r78d90\0\xaa\100o"; 50 var_dump( strspn($str,$mask) );
|
H A D | strcspn_variation9.phpt | 5 /* 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. 41 $mask = "sft\n34lw56r78d90\0\xaa\100o"; 50 var_dump( strcspn($str,$mask) );
|
/php-src/ext/pcntl/ |
H A D | pcntl.c | 66 #define PCNTL_CPUSET(mask) &mask argument 67 #define PCNTL_CPUSET_SIZE(mask) sizeof(mask) argument 68 #define PCNTL_CPU_ISSET(i, mask) CPU_ISSET(i, &mask) argument 69 #define PCNTL_CPU_SET(i, mask) CPU_SET(i, &mask) argument 70 #define PCNTL_CPU_ZERO(mask) CPU_ZERO(&mask) argument 78 #define PCNTL_CPUSET(mask) mask argument 79 #define PCNTL_CPUSET_SIZE(mask) cpuset_size(mask) argument 80 #define PCNTL_CPU_ISSET(i, mask) cpuset_isset((cpuid_t)i, mask) argument 81 #define PCNTL_CPU_SET(i, mask) cpuset_set((cpuid_t)i, mask) argument 91 #define PCNTL_CPU_DESTROY(mask) cpuset_destroy(mask) argument [all …]
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | str2num.c | 58 int mask = _mm_movemask_epi8(bytes); in bc_count_digits() local 59 if (mask != 0xffff) { in bc_count_digits() 62 return str + __builtin_ctz(~mask); in bc_count_digits() 90 int mask = _mm_movemask_epi8(bytes); in bc_skip_zero_reverse() local 92 if (EXPECTED(mask != 0xffff)) { in bc_skip_zero_reverse()
|
/php-src/Zend/ |
H A D | zend_errors.h | 49 #define E_HAS_ONLY_FATAL_ERRORS(mask) !((mask) & ~E_FATAL_ERRORS) argument
|
H A D | zend_compile.h | 1130 …ways_inline bool zend_check_arg_send_type(const zend_function *zf, uint32_t arg_num, uint32_t mask) in zend_check_arg_send_type() argument 1139 return UNEXPECTED((ZEND_ARG_SEND_MODE(&zf->common.arg_info[arg_num]) & mask) != 0); in zend_check_arg_send_type() 1155 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument 1156 (zf)->quick_arg_flags |= ((mask) << ((arg_num) - 1) * 2); \ 1158 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument 1159 (((zf)->quick_arg_flags >> (((arg_num) - 1) * 2)) & (mask)) 1161 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument 1162 (zf)->quick_arg_flags |= (((mask) << 6) << (arg_num) * 2); \ 1164 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument 1165 (((zf)->quick_arg_flags >> (((arg_num) + 3) * 2)) & (mask))
|
/php-src/ext/standard/ |
H A D | url.c | 462 __m128i mask; in php_url_encode_impl() local 478 mask = _mm_and_si128(lt, gt); /* upper */ in php_url_encode_impl() 481 mask = _mm_or_si128(mask, _mm_and_si128(lt, gt)); /* lower */ in php_url_encode_impl() 484 mask = _mm_or_si128(mask, _mm_and_si128(lt, gt)); /* number */ in php_url_encode_impl() 485 mask = _mm_or_si128(mask, _mm_cmpeq_epi8(in, dot)); in php_url_encode_impl() 486 mask = _mm_or_si128(mask, _mm_cmpeq_epi8(in, minus)); in php_url_encode_impl() 487 mask = _mm_or_si128(mask, _mm_cmpeq_epi8(in, under)); in php_url_encode_impl() 494 mask = _mm_or_si128(mask, eq); in php_url_encode_impl() 499 mask = _mm_or_si128(mask, _mm_cmpeq_epi8(in, wavy)); in php_url_encode_impl() 501 if (((bits = _mm_movemask_epi8(mask)) & 0xffff) == 0xffff) { in php_url_encode_impl()
|
H A D | net.c | 225 ULONG mask; in PHP_FUNCTION() local 228 ConvertLengthToIpv4Mask(u->OnLinkPrefixLength, &mask); in PHP_FUNCTION() 230 sin_mask.sin_addr.s_addr = mask; in PHP_FUNCTION()
|
/php-src/ext/pcntl/tests/ |
H A D | pcntl_cpuaffinity.phpt | 11 $mask = [0, 1]; 12 var_dump(pcntl_setcpuaffinity(null, $mask)); 14 var_dump(array_diff($mask, $act_mask));
|
H A D | 003.phpt | 23 // Clear mask 37 // Restore previous mask
|
/php-src/ext/random/ |
H A D | randomizer.c | 461 uint64_t mask = max_offset; in PHP_METHOD() local 466 mask |= mask >> 1; in PHP_METHOD() 467 mask |= mask >> 2; in PHP_METHOD() 468 mask |= mask >> 4; in PHP_METHOD() 470 mask *= 0x0101010101010101; in PHP_METHOD() 480 uint64_t offsets = result.result & mask; in PHP_METHOD()
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh11917.phpt | 19 $mask = (1 << $split) - 1; 27 $digit = $val[$i] & $mask;
|
/php-src/main/streams/ |
H A D | php_stream_context.h | 45 int mask; member 104 (context)->notifier->mask |= PHP_STREAM_NOTIFIER_PROGRESS; \ 107 … dmax) do { if ((context) && (context)->notifier && ((context)->notifier->mask & PHP_STREAM_NOTIFI…
|
/php-src/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.cpp | 28 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) argument
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeARM_32.c | 1824 sljit_uw mask; in compute_imm() local 1829 mask = 0xff000000; in compute_imm() 1841 mask >>= 2; in compute_imm() 1842 if (mask & 0x3) { in compute_imm() 1845 mask = 0xff00; in compute_imm() 1856 mask >>= 2; in compute_imm() 1857 if (mask & 0x3) in compute_imm() 2016 if (argw > mask) { in emit_op_mem() 2026 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem() 2038 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem() [all …]
|