Home
last modified time | relevance | path

Searched refs:oldfile (Results 1 – 4 of 4) sorted by relevance

/PHP-5.5/ext/phar/
H A Dtar.c1117 oldfile = phar->fp; in phar_tar_flush()
1119 php_stream_rewind(oldfile); in phar_tar_flush()
1131 php_stream_close(oldfile); in phar_tar_flush()
1136 pass.old = oldfile; in phar_tar_flush()
1147 php_stream_close(oldfile); in phar_tar_flush()
1163 php_stream_close(oldfile); in phar_tar_flush()
1182 php_stream_close(oldfile); in phar_tar_flush()
1202 php_stream_close(oldfile); in phar_tar_flush()
1235 php_stream_close(oldfile); in phar_tar_flush()
1248 php_stream_close(oldfile); in phar_tar_flush()
[all …]
H A Dphar.c2620 oldfile = phar->fp;
2622 php_stream_rewind(oldfile);
2633 php_stream_close(oldfile);
2676 php_stream_close(oldfile);
2693 php_stream_close(oldfile);
2721 php_stream_close(oldfile);
2836 php_stream_close(oldfile);
2859 php_stream_close(oldfile);
2962 php_stream_close(oldfile);
2983 php_stream_close(oldfile);
[all …]
H A Dzip.c1165 php_stream *stubfile, *oldfile; in phar_zip_flush() local
1354 oldfile = phar->fp; in phar_zip_flush()
1356 php_stream_rewind(oldfile); in phar_zip_flush()
1358 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_zip_flush()
1359 closeoldfile = oldfile != NULL; in phar_zip_flush()
1363 pass.old = oldfile; in phar_zip_flush()
1369 php_stream_close(oldfile); in phar_zip_flush()
1418 php_stream_close(oldfile); in phar_zip_flush()
1497 php_stream_close(oldfile); in phar_zip_flush()
1512 php_stream_close(oldfile); in phar_zip_flush()
H A Dphar_object.c3436 char *oldfile, *newfile, *error; in PHP_METHOD() local
3443 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &oldfile, &oldfile_len, &newfile, &newf… in PHP_METHOD()
3449 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3453 if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3456 …"file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile,… in PHP_METHOD()
3463 …"file \"%s\" cannot be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfi… in PHP_METHOD()
3467 …bj->arc.archive->manifest, oldfile, (uint) oldfile_len) || SUCCESS != zend_hash_find(&phar_obj->ar… in PHP_METHOD()
3469 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3476 …"file \"%s\" cannot be copied to file \"%s\", file must not already exist in phar %s", oldfile, ne… in PHP_METHOD()
3493 zend_hash_find(&phar_obj->arc.archive->manifest, oldfile, (uint) oldfile_len, (void**)&oldentry); in PHP_METHOD()
[all …]

Completed in 49 milliseconds