Home
last modified time | relevance | path

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

123

/PHP-7.2/ext/standard/tests/strings/
H A Dstrcspn_variation2.phpt107 -- Iteration with mask value as "0" --
112 -- Iteration with mask value as "1" --
207 -- Iteration with mask value as "" --
212 -- Iteration with mask value as "" --
217 -- Iteration with mask value as "1" --
222 -- Iteration with mask value as "" --
232 -- Iteration with mask value as "" --
237 -- Iteration with mask value as "" --
242 -- Iteration with mask value as "" --
252 -- Iteration with mask value as "" --
[all …]
H A Dstrspn_variation2.phpt107 -- Iteration with mask value as "0" --
112 -- Iteration with mask value as "1" --
207 -- Iteration with mask value as "" --
212 -- Iteration with mask value as "" --
217 -- Iteration with mask value as "1" --
222 -- Iteration with mask value as "" --
232 -- Iteration with mask value as "" --
237 -- Iteration with mask value as "" --
242 -- Iteration with mask value as "" --
252 -- Iteration with mask value as "" --
[all …]
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 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_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_error.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.
25 $mask = 'string_val';
31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) );
H A Dstrcspn_error.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.
25 $mask = 'string_val';
31 var_dump( strcspn($str,$mask,$start,$len, $extra_arg) );
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 Dstrspn_variation1.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 = 'abons1234567890';
95 var_dump( strspn($value,$mask) ); // with default args
96 var_dump( strspn($value,$mask,$start) ); // with default len value
97 var_dump( strspn($value,$mask,$start,$len) ); // with all args
H A Dstrcspn_variation1.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 = 'abons1234567890';
95 var_dump( strcspn($value,$mask) ); // with default args
96 var_dump( strcspn($value,$mask,$start) ); // with default len value
97 var_dump( strcspn($value,$mask,$start,$len) ); // with all args
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 Dstrspn_variation4.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.
22 $mask = 'soibtFTf1234567890';
92 var_dump( strspn($str,$mask,$start,$value) ); // with all args
H A Dstrcspn_variation3.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.
22 $mask = 'soibtFTf1234567890';
92 var_dump( strcspn($str,$mask,$value) ); // with default len value
93 var_dump( strcspn($str,$mask,$value,$len) ); // with all args
H A Dstrspn_variation3.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.
22 $mask = 'soibtFTf1234567890';
92 var_dump( strspn($str,$mask,$value) ); // with default len value
93 var_dump( strspn($str,$mask,$value,$len) ); // with all args
/PHP-7.2/ext/zip/lib/
H A Dzip_source_filep.c180 mode_t mask; in create_temp_output() local
189 mask = umask(_SAFE_MASK); in create_temp_output()
192 umask(mask); in create_temp_output()
196 umask(mask); in create_temp_output()
241 mode_t mask; in read_file() local
252 mask = umask(022); in read_file()
253 umask(mask); in read_file()
255 (void)chmod(ctx->fname, 0666&~mask); in read_file()
H A Dzip_source_crc.c167 zip_int64_t mask = zip_source_supports(src); in crc_read() local
169 if (mask < 0) { in crc_read()
174 …return mask & ~zip_source_make_command_bitmap(ZIP_SOURCE_BEGIN_WRITE, ZIP_SOURCE_COMMIT_WRITE, ZIP… in crc_read()
/PHP-7.2/main/streams/
H A Dphp_stream_context.h49 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-7.2/Zend/
H A Dzend_compile.h920 …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
929 return UNEXPECTED((zf->common.arg_info[arg_num].pass_by_reference & mask) != 0); in zend_check_arg_send_type()
945 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
946 (zf)->quick_arg_flags |= ((mask) << ((arg_num) - 1) * 2); \
948 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
949 (((zf)->quick_arg_flags >> (((arg_num) - 1) * 2)) & (mask))
951 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
952 (zf)->quick_arg_flags |= (((mask) << 6) << (arg_num) * 2); \
954 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
955 (((zf)->quick_arg_flags >> (((arg_num) + 3) * 2)) & (mask))

Completed in 37 milliseconds

123