/PHP-7.0/ext/standard/tests/file/ |
H A D | tempnam_variation6-win32.phpt | 21 $file_name = "tempnam_variation6.tmp"; 24 $file_name = tempnam("$file_path", $file_name); 26 if( file_exists($file_name) ) { 28 print($file_name); 32 $file_dir = dirname($file_name); 45 unlink($file_name);
|
H A D | tempnam_variation6.phpt | 19 $file_name = "tempnam_variation6.tmp"; 22 $file_name = tempnam("$file_path", $file_name); 24 if( file_exists($file_name) ) { 26 print($file_name); 30 $file_dir = dirname($file_name); 43 unlink($file_name);
|
H A D | filesize_basic.phpt | 20 $file_name = $file_path."/filesize_basic.tmp"; 21 $file_handle = fopen($file_name, "w"); 23 var_dump( filesize($file_name) ); 30 $file_name = $file_path."/filesize_basic.tmp"; 31 unlink($file_name);
|
H A D | is_file_basic.phpt | 19 $file_name = $file_path."/is_file_basic.tmp"; 21 var_dump( is_file($file_name) ); 23 fclose( fopen($file_name, "w") ); 24 var_dump( is_file($file_name) ); 35 $file_name = $file_path."/is_file_basic.tmp"; 36 unlink($file_name);
|
H A D | file_get_contents_file_put_contents_basic.phpt | 22 $file_name = "/file_put_contents.tmp"; 24 file_put_contents( $file_path.$file_name, $text_buffer ); 26 var_dump( file_get_contents($file_path.$file_name) ); 30 $file_name = "/file_put_contents1.tmp"; 31 file_put_contents( $file_path.$file_name, ""); 32 var_dump( file_get_contents( $file_path.$file_name ) );
|
H A D | fflush_variation4.phpt | 17 $file_name = "$file_path/fflush_variation4.tmp"; 25 $file_handle = fopen($file_name, "w"); 27 exit("Error:failed to open file $file_name"); 31 $file_handle = fopen($file_name, $mode); 33 exit("Error:failed to open file $file_name"); 37 unlink($file_name);
|
H A D | fileowner_basic.phpt | 19 $file_name = $file_path."/fileowner_basic.tmp"; 20 $file_handle = fopen($file_name, "w"); 23 var_dump( fileowner($file_name) ); 36 $file_name = $file_path."/fileowner_basic.tmp"; 38 unlink($file_name);
|
H A D | filegroup_basic.phpt | 25 $file_name = $file_path."/filegroup_basic.tmp"; 26 $file_handle = fopen($file_name, "w"); 30 var_dump( filegroup($file_name) ); 49 $file_name = $file_path."/filegroup_basic.tmp"; 51 unlink($file_name);
|
H A D | lstat_stat_variation4.phpt | 27 $file_name = "$file_path/lstat_stat_variation4.tmp"; 28 $fp = fopen($file_name, "w"); // temp file 33 $old_stat = stat($file_name); 37 var_dump( touch($file_name) ); 38 $new_stat = stat($file_name);
|
H A D | lstat_stat_variation7.phpt | 23 $file_name = "$file_path/lstat_stat_variation7.tmp"; 24 $fp = fopen($file_name, "w"); // temp file 29 $fh = fopen($file_name,"w"); 30 $old_stat = stat($file_name); 33 $new_stat = stat($file_name);
|
H A D | fpassthru_variation.phpt | 15 $file_name = dirname(__FILE__)."/passthru_variation.tmp"; 16 $file_write = fopen($file_name, "w"); 20 $file_read = fopen($file_name, "r"); 62 $file_read = fopen($file_name, "rb"); 69 unlink($file_name);
|
H A D | tempnam_variation3-win32.phpt | 62 $file_name = tempnam($file_path, $names_arr[$i]); 65 if (file_exists($file_name) && !$res_arr[$i]) { 69 $file_dir = dirname($file_name); 76 if (!is_writable($file_name)) { 77 printf("%o\n", fileperms($file_name) ); 83 @unlink($file_name);
|
H A D | tempnam_variation3.phpt | 40 $file_name = tempnam("$file_path", $names_arr[$i]); 43 if( file_exists($file_name) ) { 45 print($file_name); 49 printf("%o", fileperms($file_name) ); 53 $file_dir = dirname($file_name); 70 unlink($file_name);
|
H A D | tempnam_variation7-win32.phpt | 37 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp"); 39 if( file_exists($file_name) ){ 42 print($file_name); 46 printf("%o", fileperms($file_name) ); 50 $file_dir = dirname($file_name); 60 unlink($file_name);
|
H A D | tempnam_variation7.phpt | 38 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp"); 40 if( file_exists($file_name) ){ 43 print($file_name); 47 printf("%o", fileperms($file_name) ); 51 $file_dir = dirname($file_name); 65 unlink($file_name);
|
H A D | 005_variation.phpt | 75 stat_fn($file_name); 80 chmod($file_name, 0777); 81 stat_fn($file_name); 89 stat_fn($file_name); 97 stat_fn($file_name); 103 stat_fn($file_name); 109 stat_fn($file_name); 115 copy($file_name, $file_copy); 116 stat_fn($file_name); 121 is_file($file_name); [all …]
|
H A D | lstat_stat_variation6.phpt | 35 $file_name = "$file_path/lstat_stat_variation6.tmp"; 36 $fp = fopen($file_name, "w"); // temp file 39 symlink($file_name, $link_name); // temp link 51 $new_stat = stat($file_name);
|
H A D | tempnam_variation8-win32.phpt | 48 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 50 if( file_exists($file_name) ){ 53 print(realpath($file_name)); 57 printf("%o", fileperms($file_name) ); 61 $file_dir = dirname($file_name); 80 unlink($file_name);
|
H A D | tempnam_variation2-win32.phpt | 49 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 51 if( file_exists($file_name) ){ 54 print(realpath($file_name)); 58 printf("%o", fileperms($file_name) ); 62 $file_dir = dirname($file_name); 81 unlink($file_name);
|
H A D | 005_variation-win32.phpt | 70 $file_write_handle = fopen($file_name, "w"); 72 stat_fn($file_name); 77 chmod($file_name, 0777); 78 stat_fn($file_name); 86 stat_fn($file_name); 91 $file_read_handle = fopen($file_name ,"r"); 94 stat_fn($file_name); 100 copy($file_name, $file_copy); 101 stat_fn($file_name); 106 is_file($file_name); [all …]
|
H A D | tempnam_variation2.phpt | 49 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 51 if( file_exists($file_name) ){ 54 print(realpath($file_name)); 58 printf("%o", fileperms($file_name) ); 62 $file_dir = dirname($file_name); 81 unlink($file_name);
|
/PHP-7.0/ext/spl/ |
H A D | spl_directory.c | 88 if (intern->file_name) { in spl_filesystem_object_free_storage() 89 efree(intern->file_name); in spl_filesystem_object_free_storage() 199 if (intern->file_name) { in spl_filesystem_object_get_file_name() 269 intern->file_name = NULL; in spl_filesystem_file_open() 299 intern->file_name = estrndup(intern->file_name, intern->file_name_len); in spl_filesystem_file_open() 344 intern->file_name = estrndup(source->file_name, intern->file_name_len); in spl_filesystem_object_clone() 381 if (intern->file_name) { in spl_filesystem_info_set_filename() 492 intern->file_name = estrndup(source->file_name, source->file_name_len); in spl_filesystem_object_create_type() 518 intern->file_name = source->file_name; in spl_filesystem_object_create_type() 602 if (intern->file_name) { in spl_filesystem_object_get_debug_info() [all …]
|
/PHP-7.0/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 34 if (!self->file_name) { in MYSQLND_METHOD() 38 self->stream = php_stream_open_wrapper(self->file_name, in MYSQLND_METHOD() 474 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD() 475 efree(self->file_name); in MYSQLND_METHOD() 476 self->file_name = NULL; in MYSQLND_METHOD() 506 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD() 507 efree(self->file_name); in MYSQLND_METHOD() 508 self->file_name = NULL; in MYSQLND_METHOD() 539 self->file_name = estrndup(mode + i + 2, j - i - 2); in MYSQLND_METHOD() 543 if (!self->file_name) in MYSQLND_METHOD() [all …]
|
/PHP-7.0/ |
H A D | run-tests.php | 2789 * @param string $file_name 2800 $suite = junit_get_suitename_for($file_name); 2854 function junit_get_timer($file_name) { argument 2865 function junit_start_timer($file_name) { argument 2872 $suite = junit_get_suitename_for($file_name); 2874 $JUNIT['suites'][$suite]['files'][$file_name] = $file_name; 2878 function junit_get_suitename_for($file_name) { argument 2882 function junit_path_to_classname($file_name) { argument 2908 function junit_finish_timer($file_name) { argument 2920 $start = $JUNIT['files'][$file_name]['start']; [all …]
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 81 long file_name; in fpm_php_trace_dump() local 156 file_name = l; in fpm_php_trace_dump() 158 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
|