Home
last modified time | relevance | path

Searched refs:file (Results 176 – 200 of 2054) sorted by last modified time

12345678910>>...83

/PHP-5.6/ext/zip/tests/
H A Doo_properties.phpt12 $file = $dirname . '__property_test.zip';
14 copy($dirname . 'test_with_comment.zip', $file);
17 if (!$zip->open($file)) {
33 unset($zip); //close the file before unlinking
34 @unlink($file);
H A Doo_rename.phpt12 $file = $dirname . '__tmp_oo_rename.zip';
14 @unlink($file);
17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) {
32 if (!$zip->open($file)) {
49 @unlink($file);
H A Doo_setcomment.phpt12 $file = $dirname . '__tmp_oo_set_comment.zip';
14 @unlink($file);
17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) {
42 if (!$zip->open($file)) {
43 @unlink($file);
55 @unlink($file);
H A Doo_stream.phpt11 $file = $dirname . 'test_with_comment.zip';
14 if (!$zip->open($file)) {
H A Dpecl12414.phpt27 echo "zip_readfile could not open stream from zero length file " . $zipname . " : " .$filename;
H A Dstream_meta_data.phpt11 $file = $dirname . 'test_with_comment.zip';
14 if (!$zip->open($file)) {
/PHP-5.6/ext/zlib/tests/
H A D004.phpt21 Warning: gzfile(nonexistent_file_gzfile): failed to open stream: No such file or directory in %s on…
/PHP-5.6/ext/zip/lib/
H A Dzipint.h292 struct zip_file **file; /* opened files within archive */ member
H A Dzip_fclose.c53 if (zf->za->file[i] == zf) { in zip_fclose()
54 zf->za->file[i] = zf->za->file[zf->za->nfile-1]; in zip_fclose()
H A Dzip_fopen_index_encrypted.c77 struct zip_file *zf, **file; in _zip_file_new() local
87 file = (struct zip_file **)realloc(za->file, in _zip_file_new()
89 if (file == NULL) { in _zip_file_new()
95 za->file = file; in _zip_file_new()
98 za->file[za->nfile++] = zf; in _zip_file_new()
H A Dzip_new.c68 za->file = NULL; in _zip_new()
H A Dzip_source_filep.c62 zip_source_filep(struct zip *za, FILE *file, zip_uint64_t start, in zip_source_filep() argument
68 if (file == NULL || len < -1) { in zip_source_filep()
73 return _zip_source_file_or_p(za, NULL, file, start, len, 1, NULL); in zip_source_filep()
79 _zip_source_file_or_p(struct zip *za, const char *fname, FILE *file, in _zip_source_file_or_p() argument
86 if (file == NULL && fname == NULL) { in _zip_source_file_or_p()
104 f->f = file; in _zip_source_file_or_p()
H A Dzip_discard.c71 if (za->file[i]->error.zip_err == ZIP_ER_OK) { in zip_discard()
72 _zip_error_set(&za->file[i]->error, ZIP_ER_ZIPCLOSED, 0); in zip_discard()
73 za->file[i]->za = NULL; in zip_discard()
78 free(za->file); in zip_discard()
/PHP-5.6/ext/zip/
H A Dphp_zip.c163 static int php_zip_extract_file(struct zip * za, char *dest, char *file, int file_len TSRMLS_DC) in php_zip_extract_file() argument
189 virtual_file_ex(&new_state, file, NULL, CWD_EXPAND TSRMLS_CC); in php_zip_extract_file()
196 if (path_cleaned_len >= MAXPATHLEN || zip_stat(za, file, 0, &sb) != 0) { in php_zip_extract_file()
282 zf = zip_fopen(za, file, 0); in php_zip_extract_file()
2722 char *file = (char*)zip_get_name(intern, i, ZIP_FL_UNCHANGED); in ZIPARCHIVE_METHOD() local
2723 if (!file || !php_zip_extract_file(intern, pathto, file, strlen(file) TSRMLS_CC)) { in ZIPARCHIVE_METHOD()
/PHP-5.6/ext/xsl/tests/
H A Dbug53965.phpt2 Bug #53965 (<xsl:include> cannot find files with relative paths when loaded with "file://")
10 $base = 'file://' . dirname(__FILE__) . DIRECTORY_SEPARATOR . '53965';
H A Dbug54446.phpt2 Bug #54446 (Arbitrary file creation via libxslt 'output' extension)
43 print "OK, no file created\n";
54 print "OK, file exists\n";
70 print "OK, no file created\n";
75 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on li…
79 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on li…
82 OK, no file created
83 OK, file exists
85 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on li…
89 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on li…
[all …]
H A Dbug54446_with_ini.phpt2 Bug #54446 (Arbitrary file creation via libxslt 'output' extension with php.ini setting)
43 print "OK, no file created\n";
54 print "OK, file exists\n";
70 print "OK, no file created\n";
81 print "OK, no file created\n";
90 print "OK, file exists\n";
106 OK, no file created
109 OK, file exists
118 OK, no file created
131 OK, no file created
[all …]
H A Dbug71540.phpt61 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line 13 element value-of in %sbug7…
H A Dxslt007.phpt11 $doc = $proc->transformToUri($dom, "file://".dirname(__FILE__)."/out.xml");
/PHP-5.6/ext/xmlwriter/
H A DTODO1 - Fix up config file for PHP 5 to use libxml extension configuration
/PHP-5.6/ext/xmlwriter/tests/
H A D001.phpt2 XMLWriter: libxml2 XML Writer, file buffer, flush
H A D004.phpt2 XMLWriter: libxml2 XML Writer, file buffer, flush
H A D010.phpt10 $file = dirname(__FILE__).'/010.tmp';
12 $xw = xmlwriter_open_uri($file);
25 var_dump(file_get_contents($file));
27 @unlink($file);
H A DOO_001.phpt2 XMLWriter: libxml2 XML Writer, file buffer, flush
H A DOO_004.phpt2 XMLWriter: libxml2 XML Writer, file buffer, flush

Completed in 115 milliseconds

12345678910>>...83