Home
last modified time | relevance | path

Searched refs:w (Results 26 – 50 of 910) sorted by relevance

12345678910>>...37

/PHP-5.5/ext/standard/tests/streams/
H A Dbug46024.phpt11 ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w'))
19 $w = array($pipes[0]);
21 $ret = stream_select($r, $w, $e, 1);
22 var_dump($ret === (count($r) + count($w)));
26 $w = array($pipes[0]);
28 $ret = stream_select($r, $w, $e, 1);
29 var_dump($ret === (count($r) + count($w)));
/PHP-5.5/ext/standard/tests/file/
H A D007_variation3.phpt2 Test fopen and fclose() functions - usage variations - "w" mode
17 /* Test fopen() and fclose(): Opening the file in "w" mode,
20 checking for the file truncation when trying to open an existing file in "w" mode,
26 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 3, "bytes");
30 echo "*** Test fopen() & fclose() functions: with 'w' mode ***\n";
31 $file_handle = fopen($file, "w"); //opening the file "w" mode
43 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w"…
45 fclose( fopen($file, "w") ); //Opening the existing data file again in "w" mode
46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w" …
50 fclose( fopen($file, "w") ); //Opening the non-existing file in "w" mode, which will be created
[all …]
H A D007_variation4.phpt2 Test fopen and fclose() functions - usage variations - "w+" mode
17 /* Test fopen() and fclose(): Opening the file in "w+" mode,
20 checking for the file truncation when trying to open an existing file in "w+" mode,
26 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 4, "bytes");
30 echo "*** Test fopen() & fclose() functions: with 'w+' mode ***\n";
31 $file_handle = fopen($file, "w+"); //opening the file "w+" mode
43 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
45 fclose( fopen($file, "w+") ); //Opening the existing data file again in "w+" mode
46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+"…
50 fclose( fopen($file, "w+") ); //Opening the non-existing file in "w+" mode, which will be created
[all …]
H A D007_variation12-win32.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
22 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
25 checking for the file truncation when trying to open an existing file in "w+t" mode,
31 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes");
35 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
36 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
48 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
50 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
51 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t…
55 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
[all …]
H A D007_variation12.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
22 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
25 checking for the file truncation when trying to open an existing file in "w+t" mode,
31 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes");
35 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
36 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
48 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
50 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
51 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t…
55 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
[all …]
H A D007_variation20.phpt2 Test fopen and fclose() functions - usage variations - "w+b" mode
17 /* Test fopen() and fclose(): Opening the file in "w+b" mode,
20 checking for the file truncation when trying to open an existing file in "w+b" mode,
26 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 20, "bytes");
30 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n";
31 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode
43 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
45 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode
46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+b…
50 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created
[all …]
H A Dis_executable_variation2.phpt10 $fp = fopen($filename, 'w');
40 create_files(dirname(__FILE__), 1, "numeric", 0755, 1, "w", $name_prefix, 1);
41 create_files(dirname(__FILE__), 1, "text", 0755, 1, "w", $name_prefix, 2);
42 create_files(dirname(__FILE__), 1, "empty", 0755, 1, "w", $name_prefix, 3);
43 create_files(dirname(__FILE__), 1, "numeric", 0755, 1, "w", $name_prefix, 4);
44 create_files(dirname(__FILE__), 1, "text", 0222, 1, "w", $name_prefix, 5);
45 create_files(dirname(__FILE__), 1, "numeric", 0711, 1, "w", $name_prefix, 6);
46 create_files(dirname(__FILE__), 1, "text", 0714, 1, "w", $name_prefix, 7);
47 create_files(dirname(__FILE__), 1, "numeric", 0744, 1, "w", $name_prefix, 8);
48 create_files(dirname(__FILE__), 1, "text", 0421, 1, "w", $name_prefix, 9);
[all …]
H A Dis_readable_variation2.phpt10 $fp = fopen($filename, 'w');
39 create_files(dirname(__FILE__), 1, "numeric", 0755, 1, "w", $name_prefix, 1);
40 create_files(dirname(__FILE__), 1, "text", 0755, 1, "w", $name_prefix, 2);
41 create_files(dirname(__FILE__), 1, "empty", 0755, 1, "w", $name_prefix, 3);
42 create_files(dirname(__FILE__), 1, "numeric", 0555, 1, "w", $name_prefix, 4);
43 create_files(dirname(__FILE__), 1, "text", 0222, 1, "w", $name_prefix, 5);
44 create_files(dirname(__FILE__), 1, "numeric", 0711, 1, "w", $name_prefix, 6);
45 create_files(dirname(__FILE__), 1, "text", 0411, 1, "w", $name_prefix, 7);
46 create_files(dirname(__FILE__), 1, "numeric", 0444, 1, "w", $name_prefix, 8);
47 create_files(dirname(__FILE__), 1, "text", 0421, 1, "w", $name_prefix, 9);
[all …]
H A Dis_writable_variation2.phpt10 $fp = fopen($filename, 'w');
43 create_files(dirname(__FILE__), 1, "numeric", 0755, 1, "w", $name_prefix, 1);
44 create_files(dirname(__FILE__), 1, "text", 0755, 1, "w", $name_prefix, 2);
45 create_files(dirname(__FILE__), 1, "empty", 0755, 1, "w", $name_prefix, 3);
46 create_files(dirname(__FILE__), 1, "numeric", 0555, 1, "w", $name_prefix, 4);
47 create_files(dirname(__FILE__), 1, "text", 0222, 1, "w", $name_prefix, 5);
48 create_files(dirname(__FILE__), 1, "numeric", 0711, 1, "w", $name_prefix, 6);
49 create_files(dirname(__FILE__), 1, "text", 0114, 1, "w", $name_prefix, 7);
50 create_files(dirname(__FILE__), 1, "numeric", 0244, 1, "w", $name_prefix, 8);
51 create_files(dirname(__FILE__), 1, "text", 0421, 1, "w", $name_prefix, 9);
[all …]
H A Dfwrite_basic-win32.phpt24 test fwrite with file opened in mode : w,wb,wt,w+,w+b,w+t
27 $file_modes = array( "w", "wb", "wt", "w+", "w+b", "w+t");
82 -- File opened in mode : w --
124 -- File opened in mode : w+ --
138 -- File opened in mode : w+b --
152 -- File opened in mode : w+t --
168 -- File opened in mode : w --
210 -- File opened in mode : w+ --
254 -- File opened in mode : w --
296 -- File opened in mode : w+ --
[all …]
H A Dfwrite_basic.phpt24 test fwrite with file opened in mode : w,wb,wt,w+,w+b,w+t
27 $file_modes = array( "w", "wb", "wt", "w+", "w+b", "w+t");
82 -- File opened in mode : w --
124 -- File opened in mode : w+ --
138 -- File opened in mode : w+b --
152 -- File opened in mode : w+t --
168 -- File opened in mode : w --
210 -- File opened in mode : w+ --
254 -- File opened in mode : w --
296 -- File opened in mode : w+ --
[all …]
/PHP-5.5/ext/pcre/tests/
H A D004.phpt6 …(?:(?:unsigned|struct)\s+)?\w+)(?:\s*(\*+)\s+|\s+(\**))(\w+(?:\[\s*\w*\s*\])?)\s*(?:(=)[^,;]+)?((?…
9 var_dump(preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', '&a, b,…
17 var_dump(preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(…
/PHP-5.5/ext/mbstring/libmbfl/filters/
H A Dmbfilter_sjis_mac.c135 int c1, s, s1, s2, w; in mbfl_filt_conv_sjis_mac_wchar() local
170 w = 0; in mbfl_filt_conv_sjis_mac_wchar()
194 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar()
203 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar()
223 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar()
241 w = s2; in mbfl_filt_conv_sjis_mac_wchar()
252 if (w <= 0) { in mbfl_filt_conv_sjis_mac_wchar()
253 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_mac_wchar()
254 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_mac_wchar()
261 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_mac_wchar()
[all …]
H A Dmbfilter_jis.c119 int c1, s, w; in mbfl_filt_conv_jis_wchar() local
166 w = 0; in mbfl_filt_conv_jis_wchar()
168 if (w <= 0) { in mbfl_filt_conv_jis_wchar()
169 w = (c1 << 8) | c; in mbfl_filt_conv_jis_wchar()
170 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_jis_wchar()
177 w = 0; in mbfl_filt_conv_jis_wchar()
179 if (w <= 0) { in mbfl_filt_conv_jis_wchar()
180 w = (c1 << 8) | c; in mbfl_filt_conv_jis_wchar()
181 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_jis_wchar()
191 w = (c1 << 8) | c; in mbfl_filt_conv_jis_wchar()
[all …]
/PHP-5.5/ext/standard/tests/general_functions/
H A Dphpcredits.phpt25 %wPHP Authors%w
28 %wSAPI Modules%w
31 %wModule Authors%w
34 %wPHP Documentation%w
40 %wWebsites and Infrastructure team%w
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dwintestoutput31 /^[\w]+/
7 /^[\w]+/Lfrench
11 /^[\w]+/
43 /^\w+/
49 /^\w+/Lfrench
81 /\w/IS
88 Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
90 /\w/ISLfrench
97 Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
134 /\w+/Lfrench
[all …]
H A Dtestoutput310 /^[\w]+/
16 /^[\w]+/Lfr_FR
20 /^[\w]+/
52 /^\w+/
58 /^\w+/Lfr_FR
90 /\w/IS
97 Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
99 /\w/ISLfr_FR
106 Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
142 /\w+/Lfr_FR
[all …]
/PHP-5.5/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
11 var_dump(bzopen($fp, "w"));
18 var_dump(bzopen($fp, "w"));
28 var_dump(bzopen($fp, "w"));
34 var_dump(bzopen($fp, "w"));
37 var_dump(bzopen($fp, "w"));
43 var_dump(bzopen($fp, "w"));
49 var_dump(bzopen($fp, "w"));
58 var_dump(bzopen($fp, "w"));
64 var_dump(bzopen($fp, "w"));
[all …]
/PHP-5.5/ext/pdo_oci/
H A Dphp_pdo_oci_int.h90 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__ TS… argument
91 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__ TS… argument
92 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LI… argument
/PHP-5.5/ext/mysqli/tests/
H A D072.phpt18 $w = $mysql->get_warnings();
20 var_dump($w->errno);
21 var_dump($w->message);
22 var_dump($w->sqlstate);
/PHP-5.5/ext/gd/libgd/
H A Dgd2time.c17 int x, y, w, h; in main() local
31 w = atoi (argv[5]); in main()
34 printf ("Extracting %d times from (%d, %d), size is %dx%d\n", c, x, y, w, h); in main()
46 im = gdImageCreateFromGd2Part (in, x, y, w, h); in main()
H A Dgdparttopng.c15 int x, y, w, h; in main() local
31 w = atoi (argv[5]); in main()
34 printf ("Extracting from (%d, %d), size is %dx%d\n", x, y, w, h); in main()
36 im = gdImageCreateFromGd2Part (in, x, y, w, h); in main()
H A Dgdtestft.c11 #define MAX4(x,y,z,w) \ argument
12 ((MAX((x),(y))) > (MAX((z),(w))) ? (MAX((x),(y))) : (MAX((z),(w))))
13 #define MIN4(x,y,z,w) \ argument
14 ((MIN((x),(y))) < (MIN((z),(w))) ? (MIN((x),(y))) : (MIN((z),(w))))
/PHP-5.5/ext/spl/tests/
H A DSplFileObject_fputcsv_variation1.phpt31 "w+", "w+b", "w+t",
112 -- file opened in w+ --
119 -- file opened in w+b --
126 -- file opened in w+t --
196 -- file opened in w+ --
203 -- file opened in w+b --
210 -- file opened in w+t --
280 -- file opened in w+ --
364 -- file opened in w+ --
448 -- file opened in w+ --
[all …]
H A DSplFileObject_fputcsv_variation11.phpt31 "w+", "w+b", "w+t",
112 -- file opened in w+ --
119 -- file opened in w+b --
126 -- file opened in w+t --
196 -- file opened in w+ --
203 -- file opened in w+b --
210 -- file opened in w+t --
280 -- file opened in w+ --
364 -- file opened in w+ --
448 -- file opened in w+ --
[all …]

Completed in 67 milliseconds

12345678910>>...37