Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 25 of 48) sorted by relevance

12

/PHP-7.1/ext/standard/tests/file/
H A Dtempnam_variation6-win32.phpt21 $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 Dtempnam_variation6.phpt19 $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 Dfilesize_basic.phpt20 $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 Dis_file_basic.phpt19 $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 Dfile_get_contents_file_put_contents_basic.phpt22 $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 Dfflush_variation4.phpt17 $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 Dfileowner_basic.phpt19 $file_name = $file_path."/fileowner_basic.tmp";
20 $file_handle = fopen($file_name, "w");
23 var_dump( fileowner($file_name) );
35 $file_name = $file_path."/fileowner_basic.tmp";
37 unlink($file_name);
H A Dfilegroup_basic.phpt25 $file_name = $file_path."/filegroup_basic.tmp";
26 $file_handle = fopen($file_name, "w");
30 var_dump( filegroup($file_name) );
48 $file_name = $file_path."/filegroup_basic.tmp";
50 unlink($file_name);
H A Dlstat_stat_variation4.phpt27 $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 Dlstat_stat_variation7.phpt23 $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 Dfpassthru_variation.phpt15 $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 Dtempnam_variation3-win32.phpt62 $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 Dtempnam_variation3.phpt40 $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 D005_variation.phpt75 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 Dlstat_stat_variation6.phpt35 $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 D005_variation-win32.phpt70 $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 Dtempnam_variation7-win32.phpt37 $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 Dtempnam_variation7.phpt38 $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 Dtempnam_variation8-win32.phpt48 $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 Dtempnam_variation2-win32.phpt49 $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 Dtempnam_variation2.phpt49 $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.1/ext/spl/
H A Dspl_directory.c88 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.1/ext/mysqlnd/
H A Dmysqlnd_debug.c33 if (!self->file_name) { in MYSQLND_METHOD()
37 self->stream = php_stream_open_wrapper(self->file_name, in MYSQLND_METHOD()
473 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD()
474 efree(self->file_name); in MYSQLND_METHOD()
475 self->file_name = NULL; in MYSQLND_METHOD()
505 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD()
506 efree(self->file_name); in MYSQLND_METHOD()
507 self->file_name = NULL; in MYSQLND_METHOD()
538 self->file_name = estrndup(mode + i + 2, j - i - 2); in MYSQLND_METHOD()
542 if (!self->file_name) in MYSQLND_METHOD()
[all …]
/PHP-7.1/
H A Drun-tests.php2767 * @param string $file_name
2778 $suite = junit_get_suitename_for($file_name);
2832 function junit_get_timer($file_name) { argument
2843 function junit_start_timer($file_name) { argument
2850 $suite = junit_get_suitename_for($file_name);
2852 $JUNIT['suites'][$suite]['files'][$file_name] = $file_name;
2856 function junit_get_suitename_for($file_name) { argument
2860 function junit_path_to_classname($file_name) { argument
2886 function junit_finish_timer($file_name) { argument
2898 $start = $JUNIT['files'][$file_name]['start'];
[all …]
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_php_trace.c80 long file_name; in fpm_php_trace_dump() local
155 file_name = l; in fpm_php_trace_dump()
157 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()

Completed in 40 milliseconds

12