/PHP-7.0/ext/standard/tests/strings/ |
H A D | strcspn_variation2.phpt | 107 -- 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 D | strspn_variation2.phpt | 107 -- 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 D | strcspn_basic.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. 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 D | strspn_basic.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. 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 D | strcspn_variation6.phpt | 2 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 D | strspn_variation6.phpt | 2 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 D | strcspn_variation10.phpt | 2 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 D | strspn_variation10.phpt | 2 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 D | strcspn_error.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. 25 $mask = 'string_val'; 31 var_dump( strcspn($str,$mask,$start,$len, $extra_arg) );
|
H A D | strspn_error.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. 25 $mask = 'string_val'; 31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) );
|
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_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_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_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_variation1.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. 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 D | strspn_variation1.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. 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 D | strcspn_variation7.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. 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 D | strspn_variation7.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. 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 D | strspn_variation4.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. 22 $mask = 'soibtFTf1234567890'; 92 var_dump( strspn($str,$mask,$start,$value) ); // with all args
|
H A D | strcspn_variation3.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. 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 D | strspn_variation3.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. 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.0/ext/zip/lib/ |
H A D | zip_source_filep.c | 180 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 D | zip_source_crc.c | 167 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.0/main/streams/ |
H A D | php_stream_context.h | 49 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.0/Zend/ |
H A D | zend_compile.h | 895 …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 904 return UNEXPECTED((zf->common.arg_info[arg_num].pass_by_reference & mask) != 0); in zend_check_arg_send_type() 920 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument 921 *(uint32_t*)&(zf)->type |= ((mask) << ((arg_num) - 1) * 2); \ 923 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument 924 (((*((uint32_t*)&((zf)->type))) >> (((arg_num) - 1) * 2)) & (mask)) 926 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument 927 *(uint32_t*)&(zf)->type |= (((mask) << 6) << (arg_num) * 2); \ 929 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument 930 (((*(uint32_t*)&(zf)->type) >> (((arg_num) + 3) * 2)) & (mask))
|