Home
last modified time | relevance | path

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

12345678910>>...37

/PHP-5.4/ext/standard/tests/strings/
H A Dvfprintf_variation11_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_variation19.phpt50 if (!($fp = fopen($data_file, 'wt')))
57 fprintf($fp, "\n-- Iteration %d --\n",$counter);
58 vfprintf($fp,$format, $args_array[$counter-1]);
62 fclose($fp);
H A Dvfprintf_variation19_64bit.phpt50 if (!($fp = fopen($data_file, 'wt')))
57 fprintf($fp, "\n-- Iteration %d --\n",$counter);
58 vfprintf($fp,$format, $args_array[$counter-1]);
62 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_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.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_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);
/PHP-5.4/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.4/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.4/ext/standard/tests/file/
H A Dfputcsv_002.phpt10 $fp = fopen($file, 'w');
12 fputcsv($fp, $data);
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.4/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.4/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.4/ext/mysqli/tests/
H A Dmysqli_set_local_infile_handler_closefile.phpt32 function callback_closefile($fp, &$buffer, $buflen, &$error) {
37 if (is_resource($fp))
38 fclose($fp);
H A Dmysqli_set_local_infile_handler_unregister.phpt30 function callback_unregister($fp, &$buffer, $buflen, &$error) {
36 if (is_resource($fp))
37 fclose($fp);
/PHP-5.4/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.4/ext/spl/tests/
H A Dbug62978.phpt23 $fp = fopen(__FILE__, 'r');
24 var_dump($a[$fp]);
26 fclose($fp);
/PHP-5.4/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 …]
/PHP-5.4/main/
H A Dphp_open_temporary_file.c291 FILE *fp; in php_open_temporary_file() local
298 fp = fdopen(fd, "r+b"); in php_open_temporary_file()
299 if (fp == NULL) { in php_open_temporary_file()
303 return fp; in php_open_temporary_file()

Completed in 124 milliseconds

12345678910>>...37