/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 | 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_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 | 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/Zend/ |
H A D | zend_errors.h | 48 #define E_HAS_ONLY_FATAL_ERRORS(mask) !((mask) & ~E_FATAL_ERRORS) argument
|
H A D | zend_compile.h | 1078 …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 1087 return UNEXPECTED((ZEND_ARG_SEND_MODE(&zf->common.arg_info[arg_num]) & mask) != 0); in zend_check_arg_send_type() 1103 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument 1104 (zf)->quick_arg_flags |= ((mask) << ((arg_num) - 1) * 2); \ 1106 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument 1107 (((zf)->quick_arg_flags >> (((arg_num) - 1) * 2)) & (mask)) 1109 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument 1110 (zf)->quick_arg_flags |= (((mask) << 6) << (arg_num) * 2); \ 1112 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument 1113 (((zf)->quick_arg_flags >> (((arg_num) + 3) * 2)) & (mask))
|
/php-src/ext/standard/ |
H A D | url.c | 474 __m128i mask; in php_url_encode_impl() local 490 mask = _mm_and_si128(lt, gt); /* upper */ in php_url_encode_impl() 493 mask = _mm_or_si128(mask, _mm_and_si128(lt, gt)); /* lower */ in php_url_encode_impl() 496 mask = _mm_or_si128(mask, _mm_and_si128(lt, gt)); /* number */ in php_url_encode_impl() 497 mask = _mm_or_si128(mask, _mm_cmpeq_epi8(in, dot)); in php_url_encode_impl() 498 mask = _mm_or_si128(mask, _mm_cmpeq_epi8(in, minus)); in php_url_encode_impl() 499 mask = _mm_or_si128(mask, _mm_cmpeq_epi8(in, under)); in php_url_encode_impl() 506 mask = _mm_or_si128(mask, eq); in php_url_encode_impl() 511 mask = _mm_or_si128(mask, _mm_cmpeq_epi8(in, wavy)); in php_url_encode_impl() 513 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 | 12 $mask = [0, 1]; 13 var_dump(pcntl_setcpuaffinity(null, $mask)); 15 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 | 424 uint64_t mask = max_offset; in PHP_METHOD() local 429 mask |= mask >> 1; in PHP_METHOD() 430 mask |= mask >> 2; in PHP_METHOD() 431 mask |= mask >> 4; in PHP_METHOD() 442 uint64_t offset = (result.result >> (i * 8)) & 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/pcntl/ |
H A D | pcntl.c | 1186 sigset_t mask; in pcntl_signal_dispatch() local 1194 sigfillset(&mask); in pcntl_signal_dispatch() 1507 cpu_set_t mask; in PHP_FUNCTION() local 1517 CPU_ZERO(&mask); in PHP_FUNCTION() 1519 if (sched_getaffinity(pid, sizeof(mask), &mask) != 0) { in PHP_FUNCTION() 1542 if (CPU_ISSET(i, &mask)) { in PHP_FUNCTION() 1552 cpu_set_t mask; in PHP_FUNCTION() local 1569 CPU_ZERO(&mask); in PHP_FUNCTION() 1598 if (!CPU_ISSET(cpu, &mask)) { in PHP_FUNCTION() 1599 CPU_SET(cpu, &mask); in PHP_FUNCTION() [all …]
|
/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 | 1725 sljit_uw mask; in compute_imm() local 1730 mask = 0xff000000; in compute_imm() 1742 mask >>= 2; in compute_imm() 1743 if (mask & 0x3) { in compute_imm() 1746 mask = 0xff00; in compute_imm() 1757 mask >>= 2; in compute_imm() 1758 if (mask & 0x3) in compute_imm() 1917 if (argw > mask) { in emit_op_mem() 1927 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem() 1939 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem() [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | mb_encode_numericentity.phpt | 26 0, 0, 0, 0, // Only one codepoint, empty mask 42 // Try using mask to remove some bits
|