Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/standard/tests/strings/
H A Dstrcspn_basic.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.
21 $mask = "es";
26 var_dump( strcspn($str, $mask, $start, $len) );
29 var_dump( strcspn($str, $mask, $start) );
32 var_dump( strcspn($str, $mask) );
H A Dstrspn_basic.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.
21 $mask = "htes ";
26 var_dump( strspn($str, $mask, $start, $len) );
29 var_dump( strspn($str, $mask, $start) );
32 var_dump( strspn($str, $mask) );
H A Dstrcspn_variation6.phpt2 Test strcspn() function : usage variations - with heredoc strings, varying mask & default start and…
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.
13 * Testing strcspn() : with heredoc string, varying mask and default start and len arguments
16 echo "*** Testing strcspn() : with different mask strings ***\n";
63 // defining array of mask strings
78 // loop through each element of the arrays for string and mask arguments
83 foreach($mask_array as $mask) {
84 var_dump( strcspn($str,$mask) ); // with default start and len value
92 *** Testing strcspn() : with different mask strings ***
H A Dstrspn_variation6.phpt2 Test strspn() function : usage variations - with heredoc strings, varying mask & default start and …
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.
13 * Testing strspn() : with heredoc string, varying mask and default start and len arguments
16 echo "*** Testing strspn() : with different mask strings ***\n";
64 // defining array of different mask strings
79 // loop through each element of the array for different heredoc and mask strings
85 foreach($mask_array as $mask) {
86 var_dump( strspn($str,$mask) ); // with default start and len value
94 *** Testing strspn() : with different mask strings ***
H A Dstrcspn_variation10.phpt2 Test strcspn() function : usage variations - with varying mask & default start and len args
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.
13 * Testing strcspn() : with varying mask and default start and len arguments
16 echo "*** Testing strcspn() : with different mask strings and default start and len arguments ***\n…
39 // defining array of mask strings
54 // loop through each element of the array for mask argument
58 foreach($mask_array as $mask) {
59 var_dump( strcspn($str,$mask) );
67 *** 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
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.
13 * Testing strspn() : with varying mask and default start and len arguments
16 echo "*** Testing strspn() : with different mask strings and default start and len arguments ***\n";
40 // define the array of mask strings
55 // loop through each element of the array for mask argument
60 foreach($mask_array as $mask) {
61 var_dump( strspn($str,$mask) );
69 *** Testing strspn() : with different mask strings and default start and len arguments ***
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_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_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) );
H A Dstrcspn_variation7.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.
64 // defining array of mask strings
91 // loop through each element of the arrays for str, mask and start arguments
96 foreach($mask_array as $mask) {
98 var_dump( strcspn($str,$mask,$start) ); // with default len value
H A Dstrspn_variation7.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.
64 // defining array of different mask strings
90 // loop through each element of the array for heredoc strings, mask strings and start values
96 foreach($mask_array as $mask) {
98 var_dump( strspn($str,$mask,$start) ); // with default len value
H A Dstrcspn_variation11.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.
40 // defining array of mask strings
66 // loop through each element of the arrays for str,mask and start arguments
70 foreach($mask_array as $mask) {
72 var_dump( strcspn($str,$mask,$start) );
H A Dstrspn_variation11.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.
40 // define the array of mask strings
66 // loop through each element of the arrays for str, mask and start argument
70 foreach($mask_array as $mask) {
72 var_dump( strspn($str,$mask,$start) );
/PHP-7.4/ext/pcntl/tests/
H A D003.phpt12 // Clear mask
26 // Restore previous mask
/PHP-7.4/main/streams/
H A Dphp_stream_context.h47 int mask; member
102 (context)->notifier->mask |= PHP_STREAM_NOTIFIER_PROGRESS; \
105 …, dmax) do { if ((context) && (context)->notifier && (context)->notifier->mask & PHP_STREAM_NOTIFI…
/PHP-7.4/Zend/
H A Dzend_compile.h945 …lways_inline int zend_check_arg_send_type(const zend_function *zf, uint32_t arg_num, uint32_t mask) in zend_check_arg_send_type() argument
954 return UNEXPECTED((zf->common.arg_info[arg_num].pass_by_reference & mask) != 0); in zend_check_arg_send_type()
970 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
971 (zf)->quick_arg_flags |= ((mask) << ((arg_num) - 1) * 2); \
973 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
974 (((zf)->quick_arg_flags >> (((arg_num) - 1) * 2)) & (mask))
976 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
977 (zf)->quick_arg_flags |= (((mask) << 6) << (arg_num) * 2); \
979 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
980 (((zf)->quick_arg_flags >> (((arg_num) + 3) * 2)) & (mask))
/PHP-7.4/ext/standard/
H A Dnet.c226 ULONG mask; in PHP_FUNCTION() local
229 ConvertLengthToIpv4Mask(u->OnLinkPrefixLength, &mask); in PHP_FUNCTION()
231 sin_mask.sin_addr.s_addr = mask; in PHP_FUNCTION()
H A Dbase64.c500 __m256i lut, indices, mask; in php_base64_encode_avx2_translate() local
510 mask = _mm256_cmpgt_epi8(in, _mm256_set1_epi8(25)); in php_base64_encode_avx2_translate()
512 indices = _mm256_sub_epi8(indices, mask); in php_base64_encode_avx2_translate()
556 __m128i mask, indices; in php_base64_encode_ssse3_translate() local
577 mask = _mm_cmpgt_epi8(in, _mm_set1_epi8(25)); in php_base64_encode_ssse3_translate()
580 indices = _mm_sub_epi8(indices, mask); in php_base64_encode_ssse3_translate()
/PHP-7.4/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp30 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) argument
/PHP-7.4/sapi/fpm/tests/
H A Dsocket-uds-acl.phpt79 mask::rw-
/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitNativeARM_32.c1228 sljit_uw mask; in generate_int() local
1234 mask = 0xff000000; in generate_int()
1245 mask >>= 2; in generate_int()
1249 mask = 0xff00; in generate_int()
1260 mask >>= 2; in generate_int()
2356 mask = 1; in hardfloat_call_with_args()
2360 mask <<= 1; in hardfloat_call_with_args()
2362 remap |= mask; in hardfloat_call_with_args()
2372 mask = 3; in hardfloat_call_with_args()
2376 mask <<= 2; in hardfloat_call_with_args()
[all …]
/PHP-7.4/ext/standard/html_tables/
H A Dhtml_table_gen.php740 $mask = $numelems - 1; variable
743 $hashes[hashfun($e[0]) & $mask][] = $e;
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_neon_inc.h105 sljit_u8 mask = ic.c.c2; in FF_FUN() local
106 vect_t vmask = VDUPQ(mask); in FF_FUN()
/PHP-7.4/ext/standard/tests/file/
H A Dumask_variation1.phpt11 /* Prototype: int umask ( [int $mask] );
25 for($mask = 0000; $mask <= 0350; $mask++) {
27 echo sprintf('%03o', $mask);
30 umask($mask);

Completed in 58 milliseconds

123