/PHP-8.2/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) );
|
H A D | strspn_variation11.phpt | 33 // 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) );
|
/PHP-8.2/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 | 1035 …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 1044 return UNEXPECTED((ZEND_ARG_SEND_MODE(&zf->common.arg_info[arg_num]) & mask) != 0); in zend_check_arg_send_type() 1060 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument 1061 (zf)->quick_arg_flags |= ((mask) << ((arg_num) - 1) * 2); \ 1063 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument 1064 (((zf)->quick_arg_flags >> (((arg_num) - 1) * 2)) & (mask)) 1066 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument 1067 (zf)->quick_arg_flags |= (((mask) << 6) << (arg_num) * 2); \ 1069 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument 1070 (((zf)->quick_arg_flags >> (((arg_num) + 3) * 2)) & (mask))
|
/PHP-8.2/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 | 228 ULONG mask; in PHP_FUNCTION() local 231 ConvertLengthToIpv4Mask(u->OnLinkPrefixLength, &mask); in PHP_FUNCTION() 233 sin_mask.sin_addr.s_addr = mask; in PHP_FUNCTION()
|
H A D | base64.c | 501 __m256i lut, indices, mask; in php_base64_encode_avx2_translate() local 511 mask = _mm256_cmpgt_epi8(in, _mm256_set1_epi8(25)); in php_base64_encode_avx2_translate() 513 indices = _mm256_sub_epi8(indices, mask); in php_base64_encode_avx2_translate() 557 __m128i mask, indices; in php_base64_encode_ssse3_translate() local 578 mask = _mm_cmpgt_epi8(in, _mm_set1_epi8(25)); in php_base64_encode_ssse3_translate() 581 indices = _mm_sub_epi8(indices, mask); in php_base64_encode_ssse3_translate()
|
H A D | string.c | 663 memset(mask, 0, 256); in php_charmask() 693 mask[c]=1; in php_charmask() 710 char mask[256]; in php_trim_int() local 2577 char mask[256]; local 2885 mask = mask & (mask - 1); 2888 if (mask) { 2889 mask = mask - ((mask >> 1) & 0x5555); 2890 mask = (mask & 0x3333) + ((mask >> 2) & 0x3333); 2891 mask = (mask + (mask >> 4)) & 0x0F0F; 2892 mask = (mask + (mask >> 8)) & 0x00ff; [all …]
|
/PHP-8.2/ext/pcntl/tests/ |
H A D | 003.phpt | 13 // Clear mask 27 // Restore previous mask
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | gh11917.phpt | 19 $mask = (1 << $split) - 1; 27 $digit = $val[$i] & $mask;
|
/PHP-8.2/main/streams/ |
H A D | php_stream_context.h | 45 int mask; member 100 (context)->notifier->mask |= PHP_STREAM_NOTIFIER_PROGRESS; \ 103 … dmax) do { if ((context) && (context)->notifier && ((context)->notifier->mask & PHP_STREAM_NOTIFI…
|
/PHP-8.2/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.cpp | 28 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) argument
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_encode_numericentity.phpt | 33 0, 0, 0, 0, // Only one codepoint, empty mask 49 // Try using mask to remove some bits
|
/PHP-8.2/sapi/fpm/tests/ |
H A D | socket-uds-acl.phpt | 79 mask::rw-
|
/PHP-8.2/ext/standard/html_tables/ |
H A D | html_table_gen.php | 736 $mask = $numelems - 1; variable 739 $hashes[hashfun($e[0]) & $mask][] = $e;
|
/PHP-8.2/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_neon_inc.h | 109 sljit_u8 mask = ic.c.c2; in FF_FUN() local 110 vect_t vmask = VDUPQ(mask); in FF_FUN()
|