Home
last modified time | relevance | path

Searched refs:mask (Results 26 – 50 of 61) sorted by relevance

123

/PHP-7.2/ext/standard/tests/strings/
H A Dstrcspn_variation4.phpt7 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
8 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
24 $mask = 'soibtFTf1234567890';
94 var_dump( strcspn($str,$mask,$start,$value) ); // with all args
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) );
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_variation8.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
96 // loop through each element of the array for heredoc str, mask str , start values and len values
102 foreach($mask_array as $mask) {
105 var_dump( strspn($str,$mask,$start,$len) );
H A Dstrcspn_variation8.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 // defining array of mask strings
100 foreach($mask_array as $mask) {
103 var_dump( strcspn($str,$mask,$start,$len) );
H A Dstrcspn_variation12.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.
34 // defining array of mask strings
65 // loop through each element of the arrays for str,mask,start and len arguments
70 foreach($mask_array as $mask) {
73 var_dump( strcspn($str,$mask,$start,$len) );
H A Dstrspn_variation12.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.
34 // define the array of mask strings
70 foreach($mask_array as $mask) {
73 var_dump( strspn($str,$mask,$start,$len) );
/PHP-7.2/ext/standard/tests/file/
H A Dumask_error.phpt11 /* Prototype: int umask ( [int $mask] );
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);
H A Dumask_variation3.phpt14 /* Prototype : int umask([int mask])
108 // loop through each element of the array for mask
H A Dumask_variation2.phpt11 /* Prototype: int umask ( [int $mask] );
25 for($mask = 0351; $mask <= 0777; $mask++) {
27 echo sprintf('%03o', $mask);
30 umask($mask);
H A Dumask_basic.phpt11 /* Prototype: int umask ( [int $mask] );
17 for($mask = 0000; $mask <= 0777; $mask++) {
18 echo "-- Setting umask to $mask --\n";
19 var_dump( umask($mask) );
22 if ($mask != umask()) {
/PHP-7.2/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp30 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) argument
/PHP-7.2/sapi/fpm/tests/
H A Dsocket-uds-acl.phpt79 mask::rw-
/PHP-7.2/ext/standard/html_tables/
H A Dhtml_table_gen.php741 $mask = $numelems - 1; variable
744 $hashes[hashfun($e[0]) & $mask][] = $e;
/PHP-7.2/Zend/
H A Dzend_builtin_functions.c1721 uint32_t mask = va_arg(args, uint32_t); in copy_class_or_interface_name() local
1723 uint32_t comply_mask = (comply)? mask:0; in copy_class_or_interface_name()
1726 && (comply_mask == (ce->ce_flags & mask))) { in copy_class_or_interface_name()
1742 uint32_t mask = ZEND_ACC_TRAIT; in ZEND_FUNCTION() local
1750 …apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mask, comply); in ZEND_FUNCTION()
1758 uint32_t mask = ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT; in ZEND_FUNCTION() local
1766 …apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mask, comply); in ZEND_FUNCTION()
1774 uint32_t mask = ZEND_ACC_INTERFACE; in ZEND_FUNCTION() local
1782 …apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mask, comply); in ZEND_FUNCTION()
H A DREADME.ZEND_VM26 you can use ANY mask to disable specialization according operand's op_type.
H A DOBJECTS2_HOWTO81 should set right type, function name and parameter mask for the
/PHP-7.2/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_32.c1193 sljit_uw mask; in generate_int() local
1199 mask = 0xff000000; in generate_int()
1202 if (!(imm & mask)) { in generate_int()
1210 mask >>= 2; in generate_int()
1211 if (mask & 0x3) { in generate_int()
1214 mask = 0xff00; in generate_int()
1217 if (!(imm & mask)) { in generate_int()
1225 mask >>= 2; in generate_int()
1226 if (mask & 0x3) in generate_int()
/PHP-7.2/main/
H A Dsnprintf.c488 register int mask = (1 << nbits) - 1; in ap_php_conv_p2() local
495 *--p = digits[num & mask]; in ap_php_conv_p2()
/PHP-7.2/ext/pcntl/
H A Dpcntl.c1432 sigset_t mask; in pcntl_signal_dispatch() local
1440 sigfillset(&mask); in pcntl_signal_dispatch()
1441 sigprocmask(SIG_BLOCK, &mask, &old_mask); in pcntl_signal_dispatch()
/PHP-7.2/ext/standard/
H A Dstring.c751 static inline int php_charmask(unsigned char *input, size_t len, char *mask) in php_charmask() argument
757 memset(mask, 0, 256); in php_charmask()
762 memset(mask+c, 1, input[3] - c + 1); in php_charmask()
787 mask[c]=1; in php_charmask()
804 char mask[256]; in php_trim_int() local
828 php_charmask((unsigned char*)what, what_len, mask); in php_trim_int()
832 if (mask[(unsigned char)*start]) { in php_trim_int()
841 if (mask[(unsigned char)*(end-1)]) { in php_trim_int()
2856 char mask[256]; local
2868 php_charmask((unsigned char *)delims, delims_len, mask);
[all …]
H A Dfile.c1413 zend_long mask = 0; in PHP_FUNCTION() local
1424 Z_PARAM_LONG(mask) in PHP_FUNCTION()
1430 umask((int) mask); in PHP_FUNCTION()
/PHP-7.2/ext/opcache/
H A DZendAccelerator.c1502 int mask = 0; in zend_accel_get_auto_globals() local
1506 mask |= n; in zend_accel_get_auto_globals()
1510 return mask; in zend_accel_get_auto_globals()
1521 static void zend_accel_set_auto_globals(int mask) in zend_accel_set_auto_globals() argument
1527 if ((mask & n) && !(ZCG(auto_globals_mask) & n)) { in zend_accel_set_auto_globals()
/PHP-7.2/ext/phar/
H A Dphar_object.c1726 mode_t mask; in phar_build() local
1727 mask = umask(0); in phar_build()
1728 umask(mask); in phar_build()
1729 data->internal_file->flags &= ~mask; in phar_build()
3745 mode_t mask; in phar_add_file() local
3746 mask = umask(0); in phar_add_file()
3747 umask(mask); in phar_add_file()
3748 data->internal_file->flags &= ~mask; in phar_add_file()

Completed in 115 milliseconds

123