Home
last modified time | relevance | path

Searched refs:fp (Results 226 – 250 of 909) sorted by relevance

12345678910>>...37

/PHP-5.5/ext/standard/tests/strings/
H A Dvfprintf_variation3.phpt49 if (!($fp = fopen($data_file, 'wt')))
54 fprintf($fp, "\n-- Iteration %d --\n",$counter);
55 vfprintf($fp, $format, $args_array[$counter-1]);
59 fclose($fp);
H A Dvfprintf_variation9.phpt45 if (!($fp = fopen($data_file, 'wt')))
52 fprintf($fp, "\n-- Iteration %d --\n",$counter);
53 vfprintf($fp, $format, $args_array[$counter-1]);
57 fclose($fp);
H A Dvfprintf_variation15.phpt42 if (!($fp = fopen($data_file, 'wt')))
49 fprintf($fp, "\n-- Iteration %d --\n",$counter);
50 vfprintf($fp, $format, $args_array[$counter-1]);
54 fclose($fp);
H A Dvfprintf_variation15_64bit.phpt42 if (!($fp = fopen($data_file, 'wt')))
49 fprintf($fp, "\n-- Iteration %d --\n",$counter);
50 vfprintf($fp, $format, $args_array[$counter-1]);
54 fclose($fp);
H A Dvfprintf_variation5.phpt46 if (!($fp = fopen($data_file, 'wt')))
53 fprintf($fp, "\n-- Iteration %d --\n",$counter);
54 vfprintf($fp, $format, $args_array[$counter-1]);
58 fclose($fp);
H A Dvfprintf_variation17.phpt38 if (!($fp = fopen($data_file, 'wt')))
45 fprintf($fp, "\n-- Iteration %d --\n",$counter);
46 vfprintf($fp, $format, $args_array[$counter-1]);
50 fclose($fp);
H A Dsprintf_variation5.phpt13 $fp = fopen (__FILE__, "r");
16 $fp_copy = $fp;
43 fclose($fp);
H A Dvfprintf_variation13_64bit.phpt49 if (!($fp = fopen($data_file, 'wt')))
56 fprintf($fp, "\n-- Iteration %d --\n",$counter);
57 vfprintf($fp, $format, $args_array[$counter-1]);
61 fclose($fp);
H A Dvfprintf_variation13.phpt49 if (!($fp = fopen($data_file, 'wt')))
56 fprintf($fp, "\n-- Iteration %d --\n",$counter);
57 vfprintf($fp, $format, $args_array[$counter-1]);
61 fclose($fp);
/PHP-5.5/Zend/tests/
H A D017.phpt8 $fp = fopen(__FILE__, "r");
9 var_dump(get_resource_type($fp));
10 fclose($fp);
11 var_dump(get_resource_type($fp));
H A Doffset_bool.phpt16 $fp = fopen(__FILE__, "r");
17 var_dump($bool[$fp]);
H A Doffset_long.phpt16 $fp = fopen(__FILE__, "r");
17 var_dump($long[$fp]);
H A Doffset_null.phpt16 $fp = fopen(__FILE__, "r");
17 var_dump($null[$fp]);
H A Dbug41421.phpt16 $fp = fopen("wrap://...", "r");
17 feof($fp);
/PHP-5.5/ext/standard/tests/file/
H A Dfseek_ftell_rewind_error1.phpt23 $fp = fopen(__FILE__, "r");
24 var_dump( fseek($fp) );
25 var_dump( fseek($fp, 10, $fp,10) );
45 fclose($fp);
46 var_dump(fseek($fp,10));
H A Dfgetcsv.phpt31 $fp = fopen($file, "w");
32 fwrite($fp, $v . "\n");
33 fclose($fp);
H A Dfgetc_error.phpt17 $fp = fopen(__FILE__, "r");
18 var_dump( fgetc($fp, $fp) );
19 fclose($fp);
/PHP-5.5/ext/mysqli/tests/
H A Dlocal_infile_tools.inc53 if (!$fp = fopen($file, 'w')) {
63 if (!fwrite($fp, (binary)"'97';'x';\n") ||
64 !fwrite($fp, (binary)"'98';'y';\n") ||
65 !fwrite($fp, (binary)"99;'z';\n")) {
71 if (!fwrite($fp, "97;'x';\n") ||
72 !fwrite($fp, "98;'y';\n") ||
73 !fwrite($fp, "99;'z';\n")) {
80 fclose($fp);
/PHP-5.5/ext/session/tests/
H A Dsave_handler.inc31 if ($fp = fopen($session_file, "w")) {
32 $return = fwrite($fp, $session_data);
33 fclose($fp);
/PHP-5.5/sapi/isapi/stresstest/
H A Dstresstest.cpp157 FILE *fp; in CompareStringWithFile() local
179 if (feof(fp)) { in CompareStringWithFile()
184 fclose(fp); in CompareStringWithFile()
195 if (fp) { in ReadGlobalEnvironment()
205 fclose(fp); in ReadGlobalEnvironment()
214 FILE *fp = fopen(filelist, "r"); in ReadFileList() local
215 if (!fp) { in ReadFileList()
247 fclose(fp); in ReadFileList()
308 FILE *fp = fopen(filename, "rb"); in ParseTestFile() local
313 if (fp && ft && fe) { in ParseTestFile()
[all …]
/PHP-5.5/ext/ereg/regex/
H A Dsplit.c20 register char **fp = fields; local
44 *fp++ = p;
68 *fp++ = p;
72 if (trimtrail && **(fp-1) == '\0')
112 *fp++ = p;
/PHP-5.5/ext/mysql/tests/
H A Dmysql_free_result.phpt31 if ($fp = fopen($tmpname, 'w')) {
32 if (false !== ($tmp = @mysql_free_result($fp)))
34 fclose($fp);
/PHP-5.5/ext/opcache/tests/
H A Dphp_cli_server.inc27 while (($i++ < 30) && !($fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT))) {
31 if ($fp) {
32 fclose($fp);
/PHP-5.5/ext/spl/tests/
H A Dbug62978.phpt23 $fp = fopen(__FILE__, 'r');
24 var_dump($a[$fp]);
26 fclose($fp);
/PHP-5.5/ext/dba/
H A Ddba.c419 if (info->fp && info->fp!=info->lock.fp) { in dba_close()
421 php_stream_pclose(info->fp); in dba_close()
423 php_stream_close(info->fp); in dba_close()
426 if (info->lock.fp) { in dba_close()
430 php_stream_close(info->lock.fp); in dba_close()
845 if (!info->lock.fp) { in php_dba_open()
859 if (!info->lock.fp) { in php_dba_open()
861 if (info->lock.fp) { in php_dba_open()
879 if (!info->lock.fp) { in php_dba_open()
896 info->fp = info->lock.fp; /* use the same stream for locking and database access */ in php_dba_open()
[all …]

Completed in 31 milliseconds

12345678910>>...37