Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 56) sorted by relevance

123

/PHP-8.1/ext/standard/tests/strings/
H A Dstrcspn_basic.phpt14 $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 Dstrspn_basic.phpt14 $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 Dstrcspn_variation6.phpt2 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 Dstrspn_variation6.phpt2 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 Dstrcspn_variation10.phpt2 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 Dstrspn_variation10.phpt2 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 Dstrspn_variation5.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.
63 $mask = "sfth12\ne34l567890\0\xaa\100o";
70 var_dump( strspn($str,$mask) ); // with default start and len values
H A Dstrcspn_variation5.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 $mask = "fth12\ne67890\0\xaa\100o";
70 var_dump( strcspn($str,$mask) ); // with default start and len values
H A Dstrspn_variation9.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.
41 $mask = "sfth12\ne34lw56r78d90\0\xaa\100o";
50 var_dump( strspn($str,$mask) );
H A Dstrcspn_variation9.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.
41 $mask = "sft\n34lw56r78d90\0\xaa\100o";
50 var_dump( strcspn($str,$mask) );
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) );
/PHP-8.1/Zend/
H A Dzend_errors.h48 #define E_HAS_ONLY_FATAL_ERRORS(mask) !((mask) & ~E_FATAL_ERRORS) argument
H A Dzend_compile.h1000 …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
1009 return UNEXPECTED((ZEND_ARG_SEND_MODE(&zf->common.arg_info[arg_num]) & mask) != 0); in zend_check_arg_send_type()
1025 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
1026 (zf)->quick_arg_flags |= ((mask) << ((arg_num) - 1) * 2); \
1028 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
1029 (((zf)->quick_arg_flags >> (((arg_num) - 1) * 2)) & (mask))
1031 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
1032 (zf)->quick_arg_flags |= (((mask) << 6) << (arg_num) * 2); \
1034 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
1035 (((zf)->quick_arg_flags >> (((arg_num) + 3) * 2)) & (mask))
/PHP-8.1/ext/standard/
H A Durl.c474 __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 Dnet.c228 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 Dbase64.c501 __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()
/PHP-8.1/ext/pcntl/tests/
H A D003.phpt13 // Clear mask
27 // Restore previous mask
/PHP-8.1/ext/opcache/tests/jit/
H A Dgh11917.phpt19 $mask = (1 << $split) - 1;
27 $digit = $val[$i] & $mask;
/PHP-8.1/main/streams/
H A Dphp_stream_context.h45 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.1/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp28 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) argument
/PHP-8.1/ext/pcre/pcre2lib/sljit/
H A DsljitNativeARM_32.c1307 sljit_uw mask; in generate_int() local
1313 mask = 0xff000000; in generate_int()
1324 mask >>= 2; in generate_int()
1328 mask = 0xff00; in generate_int()
1339 mask >>= 2; in generate_int()
2439 mask = 1; in hardfloat_call_with_args()
2443 mask <<= 1; in hardfloat_call_with_args()
2445 remap |= mask; in hardfloat_call_with_args()
2455 mask = 3; in hardfloat_call_with_args()
2459 mask <<= 2; in hardfloat_call_with_args()
[all …]
/PHP-8.1/sapi/fpm/tests/
H A Dsocket-uds-acl.phpt79 mask::rw-
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_jit_neon_inc.h109 sljit_u8 mask = ic.c.c2; in FF_FUN() local
110 vect_t vmask = VDUPQ(mask); in FF_FUN()
/PHP-8.1/ext/standard/html_tables/
H A Dhtml_table_gen.php736 $mask = $numelems - 1; variable
739 $hashes[hashfun($e[0]) & $mask][] = $e;

Completed in 66 milliseconds

123