/PHP-7.4/ext/standard/tests/file/ |
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 | 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 | 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) ); 35 $file_name = $file_path."/fileowner_basic.tmp"; 37 unlink($file_name);
|
H A D | lstat_stat_variation7.phpt | 17 $file_name = "$file_path/lstat_stat_variation7.tmp"; 18 $fp = fopen($file_name, "w"); // temp file 23 $fh = fopen($file_name,"w"); 24 $old_stat = stat($file_name); 28 $new_stat = stat($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) ); 48 $file_name = $file_path."/filegroup_basic.tmp"; 50 unlink($file_name);
|
H A D | lstat_stat_variation4.phpt | 24 $file_name = "$file_path/lstat_stat_variation4.tmp"; 25 $fp = fopen($file_name, "w"); // temp file 30 $old_stat = stat($file_name); 34 var_dump( touch($file_name) ); 35 $new_stat = stat($file_name);
|
H A D | fpassthru_variation.phpt | 15 $file_name = __DIR__."/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 | 64 $file_name = tempnam($file_path, $names_arr[$i]); 67 if (file_exists($file_name) && !$res_arr[$i]) { 71 $file_dir = dirname($file_name); 78 if (!is_writable($file_name)) { 79 printf("%o\n", fileperms($file_name) ); 85 @unlink($file_name);
|
H A D | tempnam_variation3.phpt | 42 $file_name = tempnam("$file_path", $names_arr[$i]); 45 if( file_exists($file_name) ) { 47 print($file_name); 51 printf("%o", fileperms($file_name) ); 55 $file_dir = dirname($file_name); 72 unlink($file_name);
|
H A D | lstat_stat_variation6.phpt | 36 $file_name = "$file_path/lstat_stat_variation6.tmp"; 37 $fp = fopen($file_name, "w"); // temp file 40 symlink($file_name, $link_name); // temp link 52 $new_stat = stat($file_name);
|
H A D | tempnam_variation7.phpt | 40 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp"); 42 if( file_exists($file_name) ){ 45 print($file_name); 49 printf("%o", fileperms($file_name) ); 53 $file_dir = dirname($file_name); 67 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_variation7-win32.phpt | 39 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp"); 41 if( file_exists($file_name) ){ 44 print($file_name); 48 printf("%o", fileperms($file_name) ); 52 $file_dir = dirname($file_name); 62 unlink($file_name);
|
H A D | tempnam_variation8-win32.phpt | 48 $file_name = tempnam($dir_paths[$i], "tempnam_variation8.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 | 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);
|
H A D | fpassthru_basic.phpt | 11 $file_name = __DIR__."/passthru.tmp"; 12 $write_handle = fopen($file_name, "w"); 22 $read_handle = fopen($file_name, "r");
|
/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 120 if (intern->file_name) { in spl_filesystem_object_free_storage() 121 efree(intern->file_name); in spl_filesystem_object_free_storage() 210 if (!intern->file_name) { in spl_filesystem_object_get_file_name() 294 intern->file_name = NULL; in spl_filesystem_file_open() 324 intern->file_name = estrndup(intern->file_name, intern->file_name_len); in spl_filesystem_file_open() 369 intern->file_name = estrndup(source->file_name, intern->file_name_len); in spl_filesystem_object_clone() 405 if (intern->file_name) { in spl_filesystem_info_set_filename() 516 intern->file_name = estrndup(source->file_name, source->file_name_len); in spl_filesystem_object_create_type() 542 intern->file_name = source->file_name; in spl_filesystem_object_create_type() 624 if (intern->file_name) { in spl_filesystem_object_get_debug_info() [all …]
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 33 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.4/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 79 long file_name; in fpm_php_trace_dump() local 154 file_name = l; in fpm_php_trace_dump() 156 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
|
/PHP-7.4/ |
H A D | run-tests.php | 3404 * @param string $file_name 3471 function junit_get_timer($file_name) argument 3483 function junit_start_timer($file_name) argument 3493 $JUNIT['suites'][$suite]['files'][$file_name] = $file_name; 3497 function junit_get_suitename_for($file_name) argument 3502 function junit_path_to_classname($file_name) argument 3513 if (is_file($file_name)) { 3514 $dir = dirname(realpath($file_name)); 3516 $dir = realpath($file_name); 3558 function junit_finish_timer($file_name) argument [all …]
|