/PHP-5.4/ext/standard/tests/strings/ |
H A D | vfprintf_variation11_64bit.phpt | 49 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 D | vfprintf_variation19.phpt | 50 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 D | vfprintf_variation19_64bit.phpt | 50 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 D | vfprintf_variation9.phpt | 45 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 D | vfprintf_variation17.phpt | 38 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 D | sprintf_variation5.phpt | 13 $fp = fopen (__FILE__, "r"); 16 $fp_copy = $fp; 43 fclose($fp);
|
H A D | vfprintf_variation13.phpt | 49 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 D | vfprintf_variation13_64bit.phpt | 49 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 D | 017.phpt | 8 $fp = fopen(__FILE__, "r"); 9 var_dump(get_resource_type($fp)); 10 fclose($fp); 11 var_dump(get_resource_type($fp));
|
H A D | offset_bool.phpt | 16 $fp = fopen(__FILE__, "r"); 17 var_dump($bool[$fp]);
|
H A D | offset_long.phpt | 16 $fp = fopen(__FILE__, "r"); 17 var_dump($long[$fp]);
|
H A D | offset_null.phpt | 16 $fp = fopen(__FILE__, "r"); 17 var_dump($null[$fp]);
|
H A D | bug41421.phpt | 16 $fp = fopen("wrap://...", "r"); 17 feof($fp);
|
/PHP-5.4/ext/mysql/tests/ |
H A D | mysql_free_result.phpt | 31 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 D | fputcsv_002.phpt | 10 $fp = fopen($file, 'w'); 12 fputcsv($fp, $data);
|
H A D | fgetcsv.phpt | 31 $fp = fopen($file, "w"); 32 fwrite($fp, $v . "\n"); 33 fclose($fp);
|
H A D | fgetc_error.phpt | 17 $fp = fopen(__FILE__, "r"); 18 var_dump( fgetc($fp, $fp) ); 19 fclose($fp);
|
/PHP-5.4/sapi/isapi/stresstest/ |
H A D | stresstest.cpp | 157 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 D | save_handler.inc | 31 if ($fp = fopen($session_file, "w")) { 32 $return = fwrite($fp, $session_data); 33 fclose($fp);
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_set_local_infile_handler_closefile.phpt | 32 function callback_closefile($fp, &$buffer, $buflen, &$error) { 37 if (is_resource($fp)) 38 fclose($fp);
|
H A D | mysqli_set_local_infile_handler_unregister.phpt | 30 function callback_unregister($fp, &$buffer, $buflen, &$error) { 36 if (is_resource($fp)) 37 fclose($fp);
|
/PHP-5.4/ext/ereg/regex/ |
H A D | split.c | 20 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 D | bug62978.phpt | 23 $fp = fopen(__FILE__, 'r'); 24 var_dump($a[$fp]); 26 fclose($fp);
|
/PHP-5.4/ext/dba/ |
H A D | dba.c | 419 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 D | php_open_temporary_file.c | 291 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()
|