Home
last modified time | relevance | path

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

123

/PHP-8.3/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 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_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) );
/PHP-8.3/Zend/
H A Dzend_errors.h48 #define E_HAS_ONLY_FATAL_ERRORS(mask) !((mask) & ~E_FATAL_ERRORS) argument
H A Dzend_compile.h1055 …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
1064 return UNEXPECTED((ZEND_ARG_SEND_MODE(&zf->common.arg_info[arg_num]) & mask) != 0); in zend_check_arg_send_type()
1080 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
1081 (zf)->quick_arg_flags |= ((mask) << ((arg_num) - 1) * 2); \
1083 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
1084 (((zf)->quick_arg_flags >> (((arg_num) - 1) * 2)) & (mask))
1086 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
1087 (zf)->quick_arg_flags |= (((mask) << 6) << (arg_num) * 2); \
1089 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
1090 (((zf)->quick_arg_flags >> (((arg_num) + 3) * 2)) & (mask))
/PHP-8.3/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 Dstring.c495 memset(mask, 0, 256); in php_charmask()
525 mask[c]=1; in php_charmask()
542 char mask[256]; in php_trim_int() local
2526 char mask[256]; local
2834 mask = mask & (mask - 1);
2837 if (mask) {
2838 mask = mask - ((mask >> 1) & 0x5555);
2839 mask = (mask & 0x3333) + ((mask >> 2) & 0x3333);
2840 mask = (mask + (mask >> 4)) & 0x0F0F;
2841 mask = (mask + (mask >> 8)) & 0x00ff;
[all …]
H A Dbase64.c588 …const uint64_t mask = _mm512_movepi8_mask(_mm512_or_epi64(str, input)); /* convert MSBs to the mas… in php_base64_decode_ex_avx512_vbmi() local
589 if (mask) { in php_base64_decode_ex_avx512_vbmi()
799 __m256i lut, indices, mask; in php_base64_encode_avx2_translate() local
809 mask = _mm256_cmpgt_epi8(in, _mm256_set1_epi8(25)); in php_base64_encode_avx2_translate()
811 indices = _mm256_sub_epi8(indices, mask); in php_base64_encode_avx2_translate()
855 __m128i mask, indices; in php_base64_encode_ssse3_translate() local
876 mask = _mm_cmpgt_epi8(in, _mm_set1_epi8(25)); in php_base64_encode_ssse3_translate()
879 indices = _mm_sub_epi8(indices, mask); in php_base64_encode_ssse3_translate()
/PHP-8.3/ext/pcntl/tests/
H A D003.phpt13 // Clear mask
27 // Restore previous mask
/PHP-8.3/ext/random/
H A Drandomizer.c417 uint64_t mask = max_offset; in PHP_METHOD() local
422 mask |= mask >> 1; in PHP_METHOD()
423 mask |= mask >> 2; in PHP_METHOD()
424 mask |= mask >> 4; in PHP_METHOD()
435 uint64_t offset = (result >> (i * 8)) & mask; in PHP_METHOD()
/PHP-8.3/ext/opcache/tests/jit/
H A Dgh11917.phpt19 $mask = (1 << $split) - 1;
27 $digit = $val[$i] & $mask;
/PHP-8.3/main/streams/
H A Dphp_stream_context.h45 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-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitNativeARM_32.c1661 sljit_uw mask; in generate_int() local
1667 mask = 0xff000000; in generate_int()
1678 mask >>= 2; in generate_int()
1679 if (mask & 0x3) { in generate_int()
1682 mask = 0xff00; in generate_int()
1693 mask >>= 2; in generate_int()
1694 if (mask & 0x3) in generate_int()
1848 if (argw > mask) { in emit_op_mem()
1858 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem()
1870 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem()
[all …]
/PHP-8.3/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp28 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) argument
/PHP-8.3/ext/mbstring/tests/
H A Dmb_encode_numericentity.phpt33 0, 0, 0, 0, // Only one codepoint, empty mask
49 // Try using mask to remove some bits
/PHP-8.3/sapi/fpm/tests/
H A Dsocket-uds-acl.phpt79 mask::rw-
/PHP-8.3/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()

Completed in 70 milliseconds

123