Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 25 of 46) sorted by path

12

/PHP-5.6/ext/fileinfo/tests/
H A Dfinfo_file_basic.phpt7 /* Prototype : string finfo_file(resource finfo, char *file_name [, int options [, resource contex…
/PHP-5.6/ext/gd/
H A Dgd.c1451 int file_name, hdr_size = sizeof(gdFont) - sizeof(char *); in PHP_FUNCTION() local
1456 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &file, &file_name) == FAILURE) { in PHP_FUNCTION()
/PHP-5.6/ext/gd/libgd/
H A Dgd.h403 void gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtx * out);
H A Dxbm.c174 void gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtx * out) in gdImageXbmCtx() argument
180 name = file_name; in gdImageXbmCtx()
/PHP-5.6/ext/mysqlnd/
H A Dmysqlnd_debug.c43 if (!self->file_name) { in MYSQLND_METHOD()
47 self->stream = php_stream_open_wrapper(self->file_name, in MYSQLND_METHOD()
494 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD()
495 efree(self->file_name); in MYSQLND_METHOD()
496 self->file_name = NULL; in MYSQLND_METHOD()
526 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD()
527 efree(self->file_name); in MYSQLND_METHOD()
528 self->file_name = NULL; in MYSQLND_METHOD()
559 self->file_name = estrndup(mode + i + 2, j - i - 2); in MYSQLND_METHOD()
563 if (!self->file_name) in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_debug.h54 char * file_name; member
/PHP-5.6/ext/phar/
H A Dphar_object.c1519 fname = expand_filepath(intern->file_name, NULL TSRMLS_CC); in phar_build()
/PHP-5.6/ext/spl/internal/
H A Dsplfileobject.inc35 * @param $file_name The name of the stream to open
42 function __construct($file_name, $open_mode = 'r', $use_include_path = false, $context = NULL)
44 $this->fp = fopen($file_name, $open_mode, $use_include_path, $context);
47 throw new RuntimeException("Cannot open file $file_name");
49 $this->fname = $file_name;
/PHP-5.6/ext/spl/
H A Dspl.php859 function __construct($file_name) {/**/} argument
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()
213 if (intern->file_name) { in spl_filesystem_object_get_file_name()
283 intern->file_name = NULL; in spl_filesystem_file_open()
310 intern->file_name = estrndup(intern->file_name, intern->file_name_len); in spl_filesystem_file_open()
356 intern->file_name = estrndup(source->file_name, intern->file_name_len); in spl_filesystem_object_clone()
393 if (intern->file_name) { in spl_filesystem_info_set_filename()
504 intern->file_name = estrndup(source->file_name, source->file_name_len); in spl_filesystem_object_create_type()
529 intern->file_name = source->file_name; in spl_filesystem_object_create_type()
617 if (intern->file_name) { in spl_filesystem_object_get_debug_info()
[all …]
H A Dspl_directory.h69 char *file_name; member
/PHP-5.6/ext/standard/
H A Dbasic_functions.c732 ZEND_ARG_INFO(0, file_name)
737 ZEND_ARG_INFO(0, file_name)
/PHP-5.6/ext/standard/tests/dir/
H A Dscandir_variation8.phpt63 foreach ($content as $file_name) {
65 @unlink($dir_path . $file_name);
/PHP-5.6/ext/standard/tests/file/
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 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 D006_variation1.phpt33 $file_name = dirname(__FILE__)."/006_variation1.tmp";
34 $file_handle = fopen($file_name, "w");
43 var_dump( chmod($file_name, $mode) );
44 printf("%o", fileperms($file_name) );
H A D006_variation2.phpt35 $file_name = dirname(__FILE__)."/006_variation2.tmp";
36 $file_handle = fopen($file_name, "w");
71 var_dump( chmod($file_name, $permission) );
72 printf("%o", fileperms($file_name) );
H A Dfflush_variation1-win32.phpt26 $file_name = "$file_path/fflush_variation1.tmp";
37 $file_handle = fopen($file_name, "w");
39 exit("Error:failed to open file $file_name");
48 $file_handle = fopen($file_name, $mode);
50 exit("Error:failed to open file $file_name");
58 var_dump( readfile($file_name) );
59 unlink($file_name);
H A Dfflush_variation1.phpt26 $file_name = "$file_path/fflush_variation1.tmp";
37 $file_handle = fopen($file_name, "w");
39 exit("Error:failed to open file $file_name");
49 $file_handle = fopen($file_name, $mode);
51 exit("Error:failed to open file $file_name");
59 var_dump( readfile($file_name) );
60 unlink($file_name);
H A Dfflush_variation2.phpt24 $file_name = "$file_path/fflush_variation2.tmp";
35 $file_handle = fopen($file_name, "w");
37 exit("Error:failed to open file $file_name");
47 var_dump( symlink($file_name, $symlink_name) );
61 unlink($file_name);
H A Dfflush_variation3.phpt24 $file_name = "$file_path/fflush_variation3.tmp";
34 $file_handle = fopen($file_name, "w");
36 exit("Error:failed to open file $file_name");
45 var_dump( link($file_name, $link_name) );
61 unlink($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 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 Dfilegroup_basic.phpt25 $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 Dfileowner_basic.phpt19 $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);

Completed in 102 milliseconds

12